das Leo / Publications
Forum
Backtesting result problems
Hi everyone I wrote a trend following strategy. It was firstly tested on python, the results looks good. But when I wrote it in mql5 and the results seems different and bad. The backtesting plots shows entries of trade on places that it never traded in the past. It is way above the high and low. Can
MQL5 Possible loss of data due to type conversion
Hi everyone, below is my code, I dont understand why it shows such error. How do I fix it? int handlEma_indicator = iMA(_Symbol, _Period, ma_reference, 0, MODE_EMA, PRICE_CLOSE); double EmaArray[5]; CopyBuffer(handlEma_indicator,0,1,5,EmaArray);