I have tested successfully in Trategy tester but while uploading the EA below error occurs .Expert please help me , My EA runs on M5 time frame test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations
void CloseLast() { OrdersTotal ()== 11 ; // 10 trades of 0.05 lots in one direction with distance of 150 and 1 trade of 0.5 lots in opposite direction ( i.e Hedge trade) int total = OrdersTotal (); for ( int i= OrdersTotal ()- 1 ;i>= 0 ; i--) { if ( OrderSelect
Hi guys, I was hoping someone could help me out. I am till learning mql codes and trying to make EA for mt4 I'm taking 10 number of trades in one direction with same lot size let's say Buy with 0.01 Lot and all are in loss .Now I open one trade in opposite direction ie Sell with 0.1 Lot (Sum of 10