Download MetaTrader 5
To add comments, please log in or register
Are you accustomed to using the standard library? MQL5 has one!
David Mkheidze
183
David Mkheidze 2014.06.03 09:43 

Hello, I have such a problem:

 Im trying to test an EA on backtest. And I have such a code:

double average = iMA(Symbol(), Period(), 100, 0, 0, 0, 0);
Comment(average);

 when I run the test, it gives me only the first value like this: 1.3729.... but it does not get updated on new ticks or bars.

 Any ideas?

 Thanks 

/
To add comments, please log in or register