PROTECTED SOURCE SCRIPT

[DEM] Momentum Bars

31
[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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.