OPEN-SOURCE SCRIPT
Cập nhật SMC Toolkit - CHoCH, BoS, FVG, P/D [AvantCoin]

SMC Toolkit - CHoCH, BoS, FVG, P/D
A focused market structure indicator covering the four foundational SMC concepts in a single, configurable tool.
What it shows
CHoCH (Change of Character): marks the first break that reverses the prevailing trend.
BoS (Break of Structure): marks continuation breaks in the direction of the current trend.
FVG (Fair Value Gaps): highlights 3-candle imbalance zones, with automatic tracking of mitigation, time expiry, and structural invalidation.
Premium / Discount: plots the equilibrium of the current swing range, with optional zone shading to identify where price sits relative to the range.
**Settings**
Independent visibility toggles for CHoCH, BoS, FVG, and Premium/Discount, show only what you need.
Swing lookback and break confirmation mode (close or wick) for structure detection.
FVG mitigation mode (first touch or full fill), max extension in bars, and option to hide inactive gaps.
Fully customizable colors, line styles, and opacity for every element.
Built-in alerts for bullish and bearish CHoCH and BoS events.
Design principles
Every rule the indicator uses is documented in the script header. Pivots do not repaint, swings are consumed once broken, and signals are drawn on the bar of confirmation, what you see live is what you see in backtest.
Designed for clarity on any timeframe and any market.
A focused market structure indicator covering the four foundational SMC concepts in a single, configurable tool.
What it shows
CHoCH (Change of Character): marks the first break that reverses the prevailing trend.
BoS (Break of Structure): marks continuation breaks in the direction of the current trend.
FVG (Fair Value Gaps): highlights 3-candle imbalance zones, with automatic tracking of mitigation, time expiry, and structural invalidation.
Premium / Discount: plots the equilibrium of the current swing range, with optional zone shading to identify where price sits relative to the range.
**Settings**
Independent visibility toggles for CHoCH, BoS, FVG, and Premium/Discount, show only what you need.
Swing lookback and break confirmation mode (close or wick) for structure detection.
FVG mitigation mode (first touch or full fill), max extension in bars, and option to hide inactive gaps.
Fully customizable colors, line styles, and opacity for every element.
Built-in alerts for bullish and bearish CHoCH and BoS events.
Design principles
Every rule the indicator uses is documented in the script header. Pivots do not repaint, swings are consumed once broken, and signals are drawn on the bar of confirmation, what you see live is what you see in backtest.
Designed for clarity on any timeframe and any market.
Phát hành các Ghi chú
SMC Toolkit - CHoCH, BoS, FVG, P/DA focused market structure indicator covering the four foundational SMC concepts in a single, configurable tool.
What it shows
CHoCH (Change of Character): marks the first break that reverses the prevailing trend.
BoS (Break of Structure): marks continuation breaks in the direction of the current trend.
FVG (Fair Value Gaps): highlights 3-candle imbalance zones, with automatic tracking of mitigation, time expiry, and structural invalidation.
Premium / Discount: plots the equilibrium of the current swing range, with optional zone shading to identify where price sits relative to the range.
**Settings**
Independent visibility toggles for CHoCH, BoS, FVG, and Premium/Discount, show only what you need.
Swing lookback and break confirmation mode (close or wick) for structure detection.
FVG mitigation mode (first touch or full fill), max extension in bars, and option to hide inactive gaps.
Fully customizable colors, line styles, and opacity for every element.
Built-in alerts for bullish and bearish CHoCH and BoS events.
Design principles
Every rule the indicator uses is documented in the script header. Pivots do not repaint, swings are consumed once broken, and signals are drawn on the bar of confirmation, what you see live is what you see in backtest.
Designed for clarity on any timeframe and any market.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.