Indicators
Median Price (HL2) Indicator Explained
How the HL2 median price source smooths single-tick noise, and when to feed HL2 into other indicators in Setup.Cash.
Featured image placeholder
/og/setup-cash-og.svg
HL2 (Median Price) is the midpoint of each bar: (high + low) / 2. It's less an indicator than a better input — a price source that represents the bar's center of gravity instead of the close's last-second print.
How It Works
- Each bar contributes (high + low) / 2.
- Close-based whipsaw (a late spike that reverses next bar) is halved in impact.
- Any indicator accepting a source input can run on HL2 instead of close.
How to Trade It
Feed HL2 into moving averages, RSI, or custom Indicators Lab formulas when close-noise causes false triggers — the signals fire on nearly the same bars but skip some one-tick fakeouts. It's a free robustness upgrade worth testing on volatile symbols.
Building It in Setup.Cash
Add Median Price (HL2) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. Siblings: HLC3 typical price and OHLC4 average price. For the full category overview, see the advanced trend library guide.
Trend tools reward patience: pick one, pair it with a volatility or regime filter, and backtest before trading it live.
Related Posts
View allIndicators
Average Price (OHLC4) Indicator Explained
How the OHLC4 average price incorporates the open for gap-aware smoothing, and when to use it as a source in Setup.Cash.
1 min read · 191 words
Indicators
Typical Price (HLC3) Indicator Explained
How the HLC3 typical price weights the close alongside the range, and why indicators like CCI and MFI are built on it — in Setup.Cash.
1 min read · 195 words
Indicators
Weighted Close Price Indicator Explained
How the Weighted Close price doubles the close's weight against the range, and when to prefer it as an indicator source in Setup.Cash.
1 min read · 191 words
Indicators
AlphaTrend Indicator Explained
How the AlphaTrend indicator combines ATR bands with momentum gating for a self-filtering trend line in Setup.Cash.
2 min read · 207 words
Start here
Build your trading bot workflow with structure
Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.