The DZP Trend indicator displays the market state as a detrended oscillator, i.e. the trend component is removed from the price, thus showing a clearer picture of the price movement.
There are four input parameters:
DZP = 100*(A-B)
A = (Price - Price(Shift)) / Price(Shift) B = (MA - MA(Shift)) / MA(Shift) Price - SMA(Applied price, 1) Price(Shift) - SMA(Applied price, 1) Shift bars back MA - EMA(Applied price, Period) MA(Shift) - EMA(Applied price, Period) Shift bars back
Fig. 1. Displayed as a line
Fig. 2. Displayed as a histogram
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/21643
A scalping Expert Advisor based on the "Market Capture" strategy.RSI_Histogram_Vol_HTF
The RSI_Histogram_Vol indicator with the ability to change the timeframe using input parameters.