Forum

Pause after close order

My idea is make a some pause in EA after close order - but no Sleep. It is section in line 38-57 in the atached file. It work well in demo - but in optimalization i Tester - NO. Yet I could not find my mistake - problematic is maybe instruction while .... datetime time_Lo, time_Cu;

How to add a string to the opened order when closing.

I have some EA. In this EA is several different conditions to open and few different conditions for close trade. Each condition for open has a different string for Comment in order. ... This I can . ======= And now ... When EA close the opened order on the basis one of the specific conditions - I

backtest in Tester with all with zero value results

My EA in backtest on specific symbols - typical borse indexes Germany30, Moscow50, Spain35, USA30, USA2000, Swiss20 share SAB Miller, Amazon, Outputs are only zero value records 50 0.00 0 0.00 0.00 0.00 0.00% 0.00000000 StopLoss=5000 MagicNumber=10001 Lots=0.1 TakeProfit=5000 TrailingStop=0