OPEN-SOURCE SCRIPT
已更新

Chandelier Exit Flip Zones [AGPro Series]

1 228
Chandelier Exit Flip Zones [AGPro Series]

Chandelier Exit Flip Zones [AGPro Series] is a premium ATR trailing-stop and exit-state engine built for traders who want more than a simple stop line on the chart.

The script takes the classic Chandelier Exit concept and turns it into a structured decision layer:

Chandelier trail -> trail-side flip -> flip quality -> continuation state -> exit-pressure awareness

The result is a clean public-free tool for reading trend continuation, trailing-stop pressure, and Chandelier flip transitions without turning the chart into a crowded signal board.

📌 Why This Script Exists

Chandelier Exit is one of the most practical and searched trailing-stop concepts because it connects trend direction with volatility. Many traders use it to trail positions, judge when momentum is still holding, or identify when price is starting to lose distance from its active stop area.

Most Chandelier tools stop at the line.

This script adds the missing context:

- Which side of the Chandelier trail is active?
- How far is price from the trail in ATR terms?
- Was the latest trail flip strong or weak?
- Is the market still in continuation mode?
- Is price compressing back into an exit-watch area?
- Did the transition create a clean forward flip zone?

That extra layer is what makes the script more useful than a standard ATR trailing-stop overlay.

⚡ What Makes It Different From Standard Chandelier Exit Indicators

Most public Chandelier Exit indicators are visually simple. They usually plot a long stop, a short stop, and sometimes a basic flip marker.

Chandelier Exit Flip Zones [AGPro Series] is built around a stronger reading model.

It evaluates each trail flip through a quality score that combines:

- Trail-break strength
- EMA trend agreement
- Range expansion
- Candle close location
- Optional volume participation

This means the script does not treat every flip equally. A weak flip inside chop is not presented with the same weight as a cleaner transition with better structure, stronger expansion, and better directional agreement.

The script also uses quality-filtered Flip Zones. These boxes are not generic support and resistance areas. They are drawn around the Chandelier transition area where price breaks the previous trail and establishes a new active side. The purpose is to mark the actual trail-flip area, not to fill the chart with unrelated levels.

🧭 How It Is Different From Other AGProLabs Scripts

This script was intentionally kept in a narrow Chandelier Exit lane so it does not overlap with other AGProLabs public releases.

It is not a SuperTrend script. SuperTrend logic is built around a different volatility-band mechanism, while this tool is built around Chandelier high/low structure anchors and ATR trail distance.

It is not an ATR compression or ATR breakout script. Those concepts focus on volatility contraction, breakout pressure, or expansion behavior. This script focuses on the active trailing-stop side, distance from the Chandelier trail, and exit-state awareness.

It is not a generic trend dashboard. The panel is compact and centered on trail side, ATR multiple, distance, flip quality, and continuation or exit-watch state.

It is not a support/resistance zone engine. The only zones are concept-native Flip Zones created from qualified Chandelier trail transitions.

This keeps the script differentiated, practical, and publication-safe inside the AGPro Series catalog.

✅ Core Features

- Chandelier Exit trail based on ATR distance and recent structure anchors
- Long-side and short-side trail state
- Bullish and bearish trail-flip detection
- Flip quality score from 0 to 100
- Prime, qualified, and developing flip classifications
- ATR distance from the active trail
- Percentage distance from the active trail
- Continuation, control, and exit-watch state logic
- Quality-filtered forward Flip Zones
- Optional exit-watch labels, disabled by default for a cleaner public view
- Label cooldown and maximum label controls
- Maximum visible zone control
- Adjustable label font size
- Adjustable panel font size
- Adjustable panel location
- Dark, light, and auto panel theme options
- AGPro-style panel with a single merged blue header row
- Alerts for bullish flips, bearish flips, prime flips, and exit-watch conditions

📊 Panel Readout

The panel is designed to give a fast read without visual overload:

Trail Side
Shows whether the active Chandelier trail is currently long-side or short-side.

ATR Multiple
Shows the volatility multiple used by the current trail.

Distance
Shows how far price is from the active trail in both ATR and percentage terms.

Flip Quality
Displays the most recent flip score and classification.

State
Classifies the current condition as continuation, control, or exit watch.

🎯 How To Read It

A strong Chandelier flip means price has crossed the prior active trail with enough quality to deserve attention. The score helps separate cleaner transitions from weaker flips in noisy conditions.

A continuation state means price has moved far enough from the active trail and still has trend agreement behind it. This is the cleaner trend-following condition.

A control state means price is on one side of the trail, but the continuation profile is not yet strong enough to classify as a high-conviction continuation read.

An exit-watch state means price has compressed back toward the active Chandelier trail. This does not make the script a prediction tool. It simply highlights that the active trend has less distance from its trailing-stop structure and deserves closer attention.

💎 Why Traders May Like It

The script is useful because it keeps the original simplicity of Chandelier Exit while adding the context traders usually have to judge manually.

It can help users read:

- Trend-following continuation quality
- ATR trailing-stop distance
- Trail-side transitions
- Cleaner Chandelier flip zones
- Exit-pressure areas near the active trail
- Strong versus weak flip behavior

The default view is intentionally restrained. Exit-watch labels are available, but disabled by default so the first chart impression stays cleaner. Flip labels and zones are also filtered by score so the chart does not get flooded during sideways periods.

🛠 Suggested Use Cases

- Trend-following exit management
- Swing-trading trail awareness
- Crypto trend continuation tracking
- Forex and index trailing-stop context
- Stock trend-state monitoring
- Identifying stronger Chandelier trail transitions
- Monitoring when price compresses back toward the active trail

⚙️ Recommended Default Style

The defaults are tuned for a public-free premium view:

- ATR Length: 22
- Structure Lookback: 22
- ATR Multiple: 3.0
- Flip Zones: enabled
- Minimum Zone Score: 50
- Minimum Flip Label Score: 45
- Exit Labels: disabled by default
- Label Font Size: Normal
- Panel Font Size: Normal
- Panel Theme: Dark

These settings keep the tool immediately usable while preserving a clean chart presentation.

🔹 In One Sentence

Chandelier Exit Flip Zones [AGPro Series] turns a classic ATR trailing stop into a cleaner Chandelier trail, flip-quality, continuation-state, and exit-pressure map built for serious chart reading without unnecessary clutter.
版本注释
UPDATE NOTES - V1.1

This update focuses on visual structure, zone readability, panel standardization, and controlled chart density.

The core purpose of the script remains unchanged.
This release improves how the existing Chandelier trail, flip quality, and exit-pressure logic are presented on the chart.

This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.


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

* Preserved the original Chandelier Exit engine.
The ATR trail, structure anchor, flip detection, trend alignment, volume participation, quality scoring, continuation state, exit watch state, and alerts remain intact.

* Added centered flip-zone badges.
Flip zones now receive separate centered ownership badges such as BULL FLIP / ZONE Q xx and BEAR FLIP / ZONE Q xx. The badges are separate label objects, not embedded box text.

* Added zone badge controls.
Show Centered Zone Badges, Show Zone Badge Score, and Zone Badge Anchor were added so zone ownership can be tuned without changing the engine.

* Reduced default visual crowding.
The default Maximum Visible Zones, Maximum Visible Labels, Minimum Zone Score, Minimum Flip Label Score, Flip Label Cooldown, and label offset were adjusted for a cleaner publication look.

* Added optional fast EMA visibility control.
The trend EMA can now be hidden while preserving the Chandelier trail as the dominant visual line.


------------------------
Visual Improvements
------------------------

* Improved chart readability by making each flip zone visibly owned by a centered badge.

* Reduced label clustering by raising default cooldown and score thresholds.

* Improved label placement by increasing the default ATR offset from candles.

* Kept flip-zone boxes subtle while making the zone identity clearer.

* Preserved the strong bull/bear Chandelier trail color language.


------------------------
Interface & Usability
------------------------

* Rebuilt panel options around the current AGPro standard.

* Added Elite Dark, Slate, and Clean Light panel themes.

* Expanded panel locations to include top, middle, and bottom center positions.

* Added live panel repositioning through table.set_position.

* Added Huge support for label and panel font-size controls.

* Panel header now follows the AGPro render order: table.clear -> table.merge_cells -> header.

* Panel header remains a single merged blue row with only the script name.


------------------------
Behavior Notes
------------------------

This update does not change the core analytical logic of the script.

The Chandelier trail, flip score, continuation state, exit watch state, and alert conditions should be interpreted the same way as before.

The goal is to improve clarity and usability, not to introduce new predictive behavior.


------------------------
Limitations Reminder
------------------------

The script remains a rule-based analytical tool.

Market conditions such as volatility, liquidity, timeframe differences, and volume availability may affect how flip quality, continuation state, and exit watch labels appear.

Outputs should always be interpreted within broader market context.


------------------------
Risk Reminder
------------------------

This script is for educational and analytical purposes only.

It does not provide financial advice or guaranteed trading outcomes.

Users remain responsible for their own decisions.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。