PROTECTED SOURCE SCRIPT

[DEM] Momentum Bars

27
[DEM] Momentum Bars is designed to color price bars based on a combination of Aroon oscillator analysis and RSI momentum to identify periods of strong directional bias and filter out choppy or indecisive market conditions. The indicator calculates the Aroon Up and Aroon Down values over a configurable period (default 20) to determine which direction has more recent strength, then combines this with RSI analysis using the same period to confirm momentum alignment. Bars are colored green when Aroon Up exceeds Aroon Down (indicating recent highs dominate) and RSI is above 50 (confirming bullish momentum), red when Aroon Down exceeds Aroon Up (indicating recent lows dominate) and RSI is below 50 (confirming bearish momentum), and purple for all other conditions where the Aroon and RSI signals are conflicting or neutral, providing traders with immediate visual feedback about when price momentum and recent high/low activity are aligned versus when market conditions are mixed.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.