OPEN-SOURCE SCRIPT

Bullish/Bearish Movement Sum

96
This indicator calculates and displays the cumulative sum of bullish and bearish price movements over a specified period.

Features:
- Green line: Cumulative sum of all bullish movements
- Red line: Cumulative sum of all bearish movements (absolute value)
- Blue area: Net difference (bullish - bearish)
- Information table showing current values and bull/bear ratio

Settings:
- Calculation Period: Choose rolling window size (default: 100 bars) or 0 for cumulative from start
- Calculation Mode: Choose between "Points" (absolute price changes) or "Percentage" (% changes)

Use Cases:
- Identify market directional strength
- Compare bullish vs bearish pressure
- Spot divergences between price and directional momentum
- Ratio > 1 indicates more bullish than bearish movement

Developed with assistance from Claude (Anthropic)

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.