Indicator does not update current value

 

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