How to find lowest and highest value from indicator x-candles?
-
Is there any way to find lowest and highest value from indicator during x-candles and get this valuse + candle ID?
For example Accelerator Oscillator i need to find lowest and highest valuse during up to 10 candles back.

0 - is candle 0
1 - the lowest value I need to find it and get the value of AO and Candle ID
2 - Highest value I need to find it and get the value of AO and Candle ID -
Only for custom indicators, in "More settings" there are extra settings and I think this is available there.
-
Thx for answer, i am done with loop on this

-
@fxDreema is there a way to get the candle ID of the Highest High in a custom indicator buffer range? Currently what we can get is only the value of the highest high or lowest low. It would be nice to be able to get the candle ID as well.
-
I'm not sure. I guess it will depend on the info of that buffer. In general I would say you will need a custom loop to find that value.