Awesome Oscillator, Momentum, And Heikin Ashi
oscillator, momentum, heikin ashi body pct.">
What SteadyEdge calculates
This page documents the exact runtime calculation for the listed filter IDs. Formula symbols use O , H , L , C , and V for the current candle open, high, low, close, and volume; p is the configured lookback.
- Registry filter IDs: awesome_oscillator , momentum , heikin_ashi_body_pct
Exact formula
AO = SMA((H+L)/2, fast_length) - SMA((H+L)/2, slow_length)
Momentum = C_t - C_(t-p)
HA_close = (O+H+L+C)/4
HA_open_0 = (O_0+C_0)/2; HA_open_t = (HA_open_(t-1)+HA_close_(t-1))/2
HA body % = 100 * (HA_close - HA_open) / HA_open
Parameters, defaults, and bounds
- fast_length : default 5 ; 1–100
- slow_length : default 34 ; 2–200
- period : default 10 ; 1–500
How the rule passes
above requires a strict > comparison.
below requires a strict < comparison.
cross_above requires the previous value below the threshold and the current value at or above it.
cross_below requires the previous value above the threshold and the current value at or below it.
Data, timing, and warm-up
Candle filters use the rule timeframe and the latest candle at or before the evaluation time. A non-finite calculated value does not pass.
Every rule in the same filter set must pass. Test Filters and a backtest validate the complete set.
Related articles
- Filters Reference
- How Entry Filters Work
- Timeframe, Operator, Value, And Params