OPEN-SOURCE SCRIPT
Effort vs Result [Wyckoff]

Wyckoff's "effort vs result," quantified. Effort = volume (how much trading took place). Result = how far price actually travelled. When a bar shows heavy effort but little result, supply/demand is being absorbed — a battle worth marking.
HOW IT WORKS
Effort and result are turned into z-scores over a rolling window, so "high" and "low" mean high/low for this symbol on this timeframe — not a fixed number.
Absorption (high effort, low result) does not give direction — it only marks an important area where effort got absorbed. The indicator draws that area as a zone and waits. The zone develops, growing to include every following bar. The moment price closes beyond the developing range — either side, any volume — the level has given way. That break, in its own direction, is the signal.
1) Absorption seeds a zone (its high–low)
2) Each following bar expands the range
3) A close beyond the range = breakout (within N bars), otherwise the zone is discarded
HOW TO READ
- Grey dashed box: a developing absorption zone (directionless).
- Green triangle below a bar: bullish breakout (closed above the zone) — box turns green.
- Red triangle above a bar: bearish breakout (closed below the zone) — box turns red.
Zones that time out or get breached without a clean close disappear, so only meaningful areas remain.
INPUTS
- Z-Score Lookback — window for the rolling mean / standard deviation.
- Divergence Threshold (σ) — how extreme a bar must be to count as absorption. Higher = fewer, stronger zones.
- Result Source — Range (high−low), Body (|close−open|), or True Range (gap-aware).
- Detection Mode — Score (combined divergence, looser) or Strict (both legs extreme).
- Max Bars: Absorption → Breakout — how long a zone waits before being discarded.
- Visuals — show/hide zones, arrows, labels, colours.
ALERTS
Two separate conditions: Bullish Breakout and Bearish Breakout (use "Once Per Bar Close").
NOTES & LIMITS
Volume reliability depends on the symbol/feed — on spot FX it is tick volume, not real contracts; no volume = no signals. This is a statistical observation, not a forecast: a z-score flags an unusual bar, a breakout shows a level gave way — neither guarantees what price does next. No repaint, no lookahead: all calculations are on closed bars; z-scores use past bars only.
HOW IT WORKS
Effort and result are turned into z-scores over a rolling window, so "high" and "low" mean high/low for this symbol on this timeframe — not a fixed number.
Absorption (high effort, low result) does not give direction — it only marks an important area where effort got absorbed. The indicator draws that area as a zone and waits. The zone develops, growing to include every following bar. The moment price closes beyond the developing range — either side, any volume — the level has given way. That break, in its own direction, is the signal.
1) Absorption seeds a zone (its high–low)
2) Each following bar expands the range
3) A close beyond the range = breakout (within N bars), otherwise the zone is discarded
HOW TO READ
- Grey dashed box: a developing absorption zone (directionless).
- Green triangle below a bar: bullish breakout (closed above the zone) — box turns green.
- Red triangle above a bar: bearish breakout (closed below the zone) — box turns red.
Zones that time out or get breached without a clean close disappear, so only meaningful areas remain.
INPUTS
- Z-Score Lookback — window for the rolling mean / standard deviation.
- Divergence Threshold (σ) — how extreme a bar must be to count as absorption. Higher = fewer, stronger zones.
- Result Source — Range (high−low), Body (|close−open|), or True Range (gap-aware).
- Detection Mode — Score (combined divergence, looser) or Strict (both legs extreme).
- Max Bars: Absorption → Breakout — how long a zone waits before being discarded.
- Visuals — show/hide zones, arrows, labels, colours.
ALERTS
Two separate conditions: Bullish Breakout and Bearish Breakout (use "Once Per Bar Close").
NOTES & LIMITS
Volume reliability depends on the symbol/feed — on spot FX it is tick volume, not real contracts; no volume = no signals. This is a statistical observation, not a forecast: a z-score flags an unusual bar, a breakout shows a level gave way — neither guarantees what price does next. No repaint, no lookahead: all calculations are on closed bars; z-scores use past bars only.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
"No-hype tools for serious chart traders — no profit promises, just clean tools that show their work."
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
"No-hype tools for serious chart traders — no profit promises, just clean tools that show their work."
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.