Trend Levels [ChartPrime]

Category: trend

Tracks trend segments defined by new local highs/lows and measures internal strength by calculating the percentage of bars closing above/below the mid-range of the current trend leg.

Formula

\begin{cases} \text{Trend} = \text{Bullish} & \text{if } High = \text{Highest}(Length) \\ \text{Trend} = \text{Bearish} & \text{if } Low = \text{Lowest}(Length) \end{cases} \\ \\ H_{leg} = \max(High, \text{bars since Trend change}) \\ L_{leg} = \min(Low, \text{bars since Trend change}) \\ M_{leg} = \frac{H_{leg} + L_{leg}}{2} \\ \\ \text{Delta\%} = \frac{\sum(\text{Close} > M_{leg}) - \sum(\text{Close} < M_{leg})}{\text{Total bars in leg}} \times 100

Inputs

See signal primitives and every published strategy that uses Trend Levels [ChartPrime] on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home