zmdfwh001 / Publications
Forum
Can anyone look into this code and find out why it doesn't work out after it's inserted?
extern double Profit== 0.005 int cnt; total= OrdersTotal (); //Close all if ( AccountProfit ()/ AccountBalance () >= Profit){ for (cnt=total- 1 ;cnt>= 0 ;cnt--) { OrderSelect (cnt, SELECT_BY_POS , MODE_TRADES ); if ( OrderType ()== OP_SELL ) {