Oscillator indicating the cyclic changes in the market.
It has seven adjustable parameters:
if AvgDec != 0 RS = AvgInc / AvgDec otherwise RS = 0 AvgDec = EMA(Dec, RSI Period) AvgInc = EMA(Inc, RSI Period) If Z3 > PrevZ3 Inc = Z3 - PrevZ3, Dec = 0 If Z3 < PrevZ3 Dec = PrevZ3 - Z3, Inc = 0
Avg2MA3 = EMA(AvgMA3, Smoothing period) AvgMA3 = EMA((Z1 - Z2), Smoothing period) Z2 = 2.0 * MA2 - AvgMA2 Z1 = 2.0 * MA1 - AvgMA1 AvgMA2 = EMA(MA2, First MA period) AvgMA1 = EMA(MA1, First MA period) MA2 = EMA(Applied price, Second MA period) MA1 = EMA(Applied price, First MA period)
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/21047
the indicator performs an inverse mathematical transform of oscillator RSI into price and helps assume, at which approximate level the close price of the next day will be, if RSI reaches a certain value.VAMA_MACD
Indicator Volume Adjusted MA MACD.