Unexpected result in Strategy Tester
Dear Alvo,
Would you please advice me, where the links is, if I want to learn MQL4, too. I thank you in advance.
Dear Alvo,
Would you please advice me, where the links is, if I want to learn MQL4, too. I thank you in advance.
You agree to website policy and terms of use
Hi,
I'm just starting to learn MQL4.
I want to make the classic example of looking for EMA crosses:
I run it on GBPUSD on the daily chart and it detects the crosses well but the output in the Journal tab is pretty weird. For example there is a cross on 2007.07.27 and this is what I see in the Journal (it is the same at any other cross as well): I have no intention to use this code to execute any order but if I did would it execute 18 orders???How can I fix this to have only one single entry for each cross?
Thanks for your help!
Alvo