Trend-following Slope Direction Line / Moving Average confirmation bars signal indicator is an equivalent of Slope Direction Line / Moving Average confirmation candles indicator. It compares direction of two moving averages: Moving Average and Slope Direction Line and displays colored signal pointers in a separate window. Their colors correspond to the match/mismatch of Slope Direction Line and Moving Average lines direction.
It has six input parameters:
Slope Direction Line indicator is not required - it is calculated by the indicator independently.

Fig. 1. Slope Direction Line / Moving Average confirmation bars

Fig. 2. Slope Direction Line / Moving Average confirmation bars + Slope Direction Line / Moving Average confirmation candles
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/22946
VGridLine_Custom
The indicator plots one vertical line per day in a specified moment of time
ColorRSI_X20
RSI_X20 indicator is able to color each line depending on its position relative to overbought and oversold areas
Slope_MA_Confirmation
Slope Direction Line / Moving Average confirmation candles indicator
Moving Average applied price
Now you can test the indicator and select the price type from the ENUM_APPLIED_PRICE enumeration