Advance/Decline Ratio (Bars)
Category: momentum, market_structure
Calculates the ratio of bullish 'up' bars to bearish 'down' bars over a specified lookback period.
Formula
\text{ADR\_B} = \frac{\sum_{i=0}^{n-1} [C_i \ge O_i]}{\max(1, \sum_{i=0}^{n-1} [C_i < O_i])}
Inputs
- length (default: 9)
See signal primitives and every published strategy that uses Advance/Decline Ratio (Bars) on WOBR StrategyVerse.