Advance/Decline Ratio (Bars)
Category: market_structure, momentum
Calculates the ratio of bars closing higher than their open vs bars closing lower than their open over a 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, usage in published strategies and more on WOBR StrategyVerse.