High Low of Indicators in real time intrabar

 

Is there a way to capture the high/lows of an indicator value during the formation of a new bar similar to what we

already available for prices: High[0], Low[0] ?

I wonder if there is some function already for it on MT4.

I am not talking about high/lows of the price, I am talking about high/lows of the calculated value of the indicator in real time.

Such call would look for Moving Averages something like MA_High[0], MA_Low[0], etc.and would be something calculated during the formation of the current bar.

The functions avaialable like iCustom or iMA do not resolve this issue, they use a timeframe input that can return

a single point for a calculated indicator value per bar. (with minimum 1 min).

Any suggestions very mucah appreciated.


 
cmarconetti:


The functions avaialable like iCustom or iMA do not resolve this issue, they use a timeframe input that can return

a single point for a calculated indicator value per bar. (with minimum 1 min).


No they don't.

While the bar is open they return the value at that time.

Obviously when getting it for a closed bar, there can only be one value.

 
Keith Watford #:

No they don't.

While the bar is open they return the value at that time.

Obviously when getting it for a closed bar, there can only be one value.

Correct. I resolved this by checking ICustom, iMa tick by tick and then static variables. Thx