Larry Williams' WILL VAL oscillator.
It has six input parameters:
Calculation:
WV = 100.0 * (Value - Min) / (Max-Min)
where:
Value = MA1-MA2 MA1 - EMA(Price, First EMA period) MA2 - EMA(Price, Second EMA period) Max, Min - maximum and minimum 'Value' values in the Period range Price = Close(Current Instrument) / Close(Instrument)
Keep in mind that the indicator needs to upload history data of a selected instrument during the first launch or when changing 'Instrument'. If the re-drawing does not occur quickly or the indicator is displayed incorrectly, simply switch the chart timeframe to accelerate the process and obtain a correct display.

Fig. 1. Calculation relative to EURJPY

Fig. 2. Calculation relative to XAUDUSD

Fig. 3. Calculation relative to USDRUB
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/22099
MA_Rounding_Candle_HTF
MA_Rounding_Candle_HTF indicator with the timeframe selection option available in input parameters
Ketty
Working with Buy stop and Sell stop pending orders.