OPEN-SOURCE SCRIPT
已更新

Hull MA Trend Zones [AGPro Series]

4 149
Hull MA Trend Zones [AGPro Series]

📌 Overview

Hull MA Trend Zones [AGPro Series] is a premium HMA trend overlay built for traders who want a cleaner way to read Hull Moving Average direction, slope quality, and pullback behavior.

The script is centered on one clear idea: a strong HMA trend should not only move above or below a moving average; it should show measurable slope, orderly ribbon structure, and controlled pullback behavior around the active HMA path.

Instead of presenting a crowded moving average wall, the script uses a focused three-line HMA structure, a subtle pullback band, and concept-native trend zones that are tied directly to the active Hull MA state.

⚙️ How It Works

The engine calculates a fast HMA, an anchor HMA, and a slow HMA.

The anchor HMA is the main decision line. Its slope is normalized with ATR so the script can judge whether the current Hull MA movement is weak, transitional, or directional.

The ribbon structure then checks whether the fast, anchor, and slow HMA lines are aligned. This separates clean trend movement from mixed or unstable movement.

Finally, the pullback layer evaluates whether price is extending away from the HMA, testing the HMA zone, holding the HMA zone, rejecting from the HMA zone, or failing the active trend path.

🧭 What The Script Shows

- HMA ribbon for clean trend direction.
- ATR-based HMA pullback band around the anchor HMA.
- Rectangular HMA slope zones created from active directional states.
- Confirmed, quality-gated Bull Turn and Bear Turn labels.
- Optional Hold and Reject labels for pullback events.
- A compact AGPro panel with HMA State, Slope Strength, Pullback Status, and Quality Score.

📊 AGPro Panel

The panel is designed for fast scanning without taking over the chart.

HMA State shows whether the active read is bullish, bearish, transitional, or neutral.

Slope Strength converts the anchor HMA slope into a clear percentage-style reading.

Pullback Status explains whether price is extending, testing, holding, rejecting, or failing the HMA trend zone.

Quality Score combines slope strength, ribbon alignment, and pullback behavior into a single 0-100 reading.

🎯 What Makes It Different

Hull MA Trend Zones is not a generic moving average ribbon, not a ribbon compression map, and not a broad support/resistance tool.

Its focus is narrower and more practical: HMA slope, HMA trend-zone behavior, and pullback-to-HMA quality.

The rectangular zones are not drawn as generic support or resistance. They are HMA slope zones created from the active trend state and the ATR-sized HMA pullback area. This keeps the script visually useful while avoiding overlap with broader zone, corridor, or compression-style indicators.

The default visual design is intentionally restrained. Pullback labels are optional, turn labels require confirmation and a minimum quality score, and old zones are capped so the chart keeps a cleaner premium look on both intraday and higher-timeframe charts.

🔧 Key Settings

Fast HMA Length controls the responsive side of the ribbon.

Anchor HMA Length controls the main trend path, slope state, pullback band, and panel logic.

Slow HMA Length helps identify whether the HMA ribbon is aligned or still transitional.

Slope Lookback and Trend Slope Threshold control how selective the HMA state engine is.

Zone Width ATR controls the height of the HMA pullback band and slope-zone area.

Zone Forward Bars controls how far the active slope zone projects while the same trend state remains valid.

Turn Confirmation and Minimum Turn Label Score control how selective the default turn labels are.

Label Cooldown Bars, Max Visible Labels, and Label Offset ATR keep chart density suitable for publication-quality screenshots.

Panel Location, Panel Theme, Label Font Size, and Panel Font Size are adjustable.

✅ Suggested Use

Use Hull MA Trend Zones to study trend continuation, Hull MA pullback quality, HMA slope transitions, and cleaner moving-average trend behavior.

It is especially useful when you want an HMA-focused overlay that remains readable on active charts and avoids the clutter of large multi-average systems.

The script is designed as a public-free AGPro Series tool with a clean visual identity, a focused HMA concept, and a TradingView-safe publication structure.
發行說明
UPDATE NOTES - v2.0

This update focuses on empirical transparency and decision clarity. The core purpose of the script is unchanged: it remains an analytical trend-context tool, not a prediction engine.

------------------------
What Changed
------------------------

* Turn Follow-Through engine (cumulative, non-repaint)
Every confirmed HMA turn now opens one tracking episode, with the turn close and ATR frozen at the event bar. The episode resolves as a hit when price travels the Follow-Through Target distance in the new trend direction, and as a miss when a confirmed opposite turn arrives first or the window expires. The panel reports the cumulative Follow-Through rate with its sample size for this chart and timeframe, so the turn concept is no longer just labeled - it is measured.

* Honest sample gating
The Follow-Through rate is color-coded only once the sample reaches n >= 8 confirmed turns; below that it stays neutral, so a small sample never implies confidence. Episodes open and resolve on confirmed bars only, which means the statistic never changes after the fact. All confirmed turns are tracked, including those filtered off the chart by the label quality threshold, so the statistic reflects the engine rather than the display.

* Next-action line
The panel now closes with one clear action that always matches the HMA state and pullback status: ride a quality hold, watch a zone test, wait through an extension, stand aside when a trend is failing, or wait for a turn in neutral conditions.

* New inputs and alert
Follow-Through Target ATR and Follow-Through Window are exposed in the Core Engine group, so the measured claim is fully transparent and adjustable. A new "Turn Follow-Through Hit" alert fires when a tracked turn reaches its target.

------------------------
Interface
------------------------

* The panel was restructured: trend context rows first, then the Turn Proof block, closing with the action line. Ribbon, zones, labels, and existing alerts behave exactly as before.

------------------------
Limitations & Risk
------------------------

Follow-Through statistics are measured on the current chart, timeframe, and settings only and will differ elsewhere. Read rates together with their n value.

This script is for educational and analytical purposes only. It does not provide financial advice or guaranteed outcomes. Users remain responsible for their own decisions.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。