I am programming a strategy that must work in realtime, that is, with CalculateOnBarClose = false; In my strategy I use for example the value of the volume, like this:
double volumentrading = EMA(VOL(),10)[0];
and then I print it in the screen with:
DrawTextFixed("Text", "\nVolumen: "+volumentrading, TextPosition.TopRight);
If I use the same in an indicator this value is continuously changing (updating), but in a strategy with COBC=false; it remains fixed all time.
Any idea about this behaviour?
Thanks in advance

Comment