OPEN-SOURCE SCRIPT
Quant Master Supertrend [Regime + Z-Score Exits]

The Quant Master Supertrend is a professional tool that tells you when to enter, what the market is doing, and when to take profit. It combines three powerful concepts into clear visual signals.
The Three Layers of Protection (The Indicator's Power)
This indicator uses three checks to ensure you only take high-quality trades. Think of these as a 3-step filter:
Core Trend (The Supertrend): Is the price moving up or down? (Green line or Red line).
Market Weather (The Regime Filter): Is the market safe to trade? (Only enter if it's Trending or Volatile).
Institutional Anchor (VWAP Filter): Are large market players supporting your trade? (Only enter if price is on the correct side of the VWAP).
The Three Layers of Protection (The Indicator's Power)
This indicator uses three checks to ensure you only take high-quality trades. Think of these as a 3-step filter:
Core Trend (The Supertrend): Is the price moving up or down? (Green line or Red line).
Market Weather (The Regime Filter): Is the market safe to trade? (Only enter if it's Trending or Volatile).
Institutional Anchor (VWAP Filter): Are large market players supporting your trade? (Only enter if price is on the correct side of the VWAP).
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.