Market Weather Price MA Cross

Category: volatility, market_structure

Quantifies recent market 'turbulence' by counting the number of times price has crossed a Simple Moving Average (SMA) within a rolling lookback window.

Formula

C_t = \sum_{i=t}^{t+CountPeriods-1} [ (MA_{i+1} \geq Close_{i+1} \text{ and } MA_i < Close_i) \text{ or } (MA_{i+1} \leq Close_{i+1} \text{ and } MA_i > Close_i) ]

Inputs

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home