PROTECTED SOURCE SCRIPT
Advanced Market Structure Pro

Advanced Market Structure Pro (AMS-Pro) is a comprehensive price action-based indicator that intelligently detects Break of Structure (BoS) and Change of Character (CHoCH) events using swing highs and lows. It provides real-time structure-based signals, alerts, and entry zones designed for traders who rely on institutional price flow, market structure shifts, and smart risk-reward positioning.
🔍 Core Features:
✅ Automatic Detection of BoS & CHoCH:
Highlights bullish and bearish structure breaks with labeled signals.
Detects trend confirmation (BoS) and potential reversals (CHoCH) using pivots and breakout validation logic.
📊 Trend Identification:
Confirms trends using swing-based price structure.
Displays live trend status (Bullish, Bearish, Neutral) in an on-chart dashboard.
📈 Entry Signal System (Optional):
Provides high-probability Long/Short entry signals based on confluence of:
Volume & structure
Momentum retests
Swing failure patterns
Supports signal cooldown to reduce noise.
⚠️ Reversal Watch Labels:
Warns of potential structure shifts via adaptive CHoCH/BoS Watch Zones
ATR-based sensitivity to identify early invalidation areas.
📐 Smart SL/TP Zones:
Automatically calculates and plots Stop Loss (SL) and Take Profit (TP) zones based on the breakout level and customizable Risk:Reward ratios.
Visualized using semi-transparent dashed lines.
🔔 Configurable Alerts System:
Alerts available for:
Bullish/Bearish BoS
Bullish/Bearish CHoCH
Long/Short Entry Signals
Reversal Watch Warnings
🧼 Dynamic Label Cleanup:
All signals and watch zone labels are automatically cleaned up after a few bars to maintain a clear chart view.
⚙️ Fully Customizable Inputs:
Swing sensitivity (length)
Break confirmation (volume + candle size)
Risk/reward for SL/TP zones
Entry signal logic (enable/disable each confluence type)
Individual toggle for alerts, labels, and visuals
Trend table visibility
📌 Use Cases:
Scalpers & intraday traders can use BOS/CHoCH with SL/TP zones to structure entries and exits.
Swing traders can wait for high-confluence entry signals with built-in volume and momentum logic.
Price action & ICT traders benefit from CHoCH-based trend shifts and real-time label visualization.
📎 Notes:
This tool does not repaint.
Designed for any market: Forex, Crypto, Indices, Stocks.
Works best on timeframes M15 and above.
Use it alongside your strategy or price action concepts.
🧠 Pro Tip:
Combine BoS/CHoCH + Reversal Watch + Entry Signal = Precision Entry.
Use this structure-based confirmation layer before entering trades based on other tools (FVG, OTE, OB, etc.).
🔍 Core Features:
✅ Automatic Detection of BoS & CHoCH:
Highlights bullish and bearish structure breaks with labeled signals.
Detects trend confirmation (BoS) and potential reversals (CHoCH) using pivots and breakout validation logic.
📊 Trend Identification:
Confirms trends using swing-based price structure.
Displays live trend status (Bullish, Bearish, Neutral) in an on-chart dashboard.
📈 Entry Signal System (Optional):
Provides high-probability Long/Short entry signals based on confluence of:
Volume & structure
Momentum retests
Swing failure patterns
Supports signal cooldown to reduce noise.
⚠️ Reversal Watch Labels:
Warns of potential structure shifts via adaptive CHoCH/BoS Watch Zones
ATR-based sensitivity to identify early invalidation areas.
📐 Smart SL/TP Zones:
Automatically calculates and plots Stop Loss (SL) and Take Profit (TP) zones based on the breakout level and customizable Risk:Reward ratios.
Visualized using semi-transparent dashed lines.
🔔 Configurable Alerts System:
Alerts available for:
Bullish/Bearish BoS
Bullish/Bearish CHoCH
Long/Short Entry Signals
Reversal Watch Warnings
🧼 Dynamic Label Cleanup:
All signals and watch zone labels are automatically cleaned up after a few bars to maintain a clear chart view.
⚙️ Fully Customizable Inputs:
Swing sensitivity (length)
Break confirmation (volume + candle size)
Risk/reward for SL/TP zones
Entry signal logic (enable/disable each confluence type)
Individual toggle for alerts, labels, and visuals
Trend table visibility
📌 Use Cases:
Scalpers & intraday traders can use BOS/CHoCH with SL/TP zones to structure entries and exits.
Swing traders can wait for high-confluence entry signals with built-in volume and momentum logic.
Price action & ICT traders benefit from CHoCH-based trend shifts and real-time label visualization.
📎 Notes:
This tool does not repaint.
Designed for any market: Forex, Crypto, Indices, Stocks.
Works best on timeframes M15 and above.
Use it alongside your strategy or price action concepts.
🧠 Pro Tip:
Combine BoS/CHoCH + Reversal Watch + Entry Signal = Precision Entry.
Use this structure-based confirmation layer before entering trades based on other tools (FVG, OTE, OB, etc.).
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。