Forum

forward testing is different from optimized back testing results...why?

i have made an ea which is showing very low drawdawn in backtesting with huge profits, but in forward testing with same inputs, its giving different results why so? how to properly backtest, i have done optimization too, but the in real live market the results are very different from backtesting can

close all position

can we code bulk orders->close all position i dont want the for loop, i want to close all positions instantly same as we can do manually by right click->bulk order->close all positions

Very small ea to understand syntax related to deal

Just write an ea where u extract latest deal type deal reason and check deal type==sell&& deal reason==deal_reason_sl if condition meets print on screen "check" The ea will make me understand how to use dealinfo