Thank you very much for replying but the indicator I'm looking for assistance on is based on the formula I mentioned, for instance the values for today on EURUSD M30 should be 1.16552 and 1.16196.
This is how the values were calculated based on the 1st 2 M30 candles: