OPEN-SOURCE SCRIPT
已更新 Dual Supertrend Pro|ask2maniish

Dual Supertrend | ask2maniish
🔍 Overview
The Dual Supertrend indicator overlays two distinct Supertrend layers (Main & Fast) to deliver enhanced trend detection, signal filtering, and trade management. It combines traditional ATR-based trend logic with an optional dynamic risk model and visual trade tracking tools — ideal for intraday scalping, swing trading, or institutional-style strategies.
⚙️ Key Features
🔁 Dual Supertrend Logic: Combines a Main and Fast Supertrend for multi-layer confirmation.
🧠 Smart Entry Signals: Generates buy/sell signals only when both layers agree (combined confirmation).
🎯 Dynamic Trade Management:
Entry/SL/Target logic using ATR.
Auto Breakeven, Trailing SL, and Exit after Target 3.
📊 Trade State Dashboard:
On-chart table showing live status, targets, and trade side.
Visual labels for entry, SL hit, and each target.
🧾 Tooltip for SL Settings: Detailed ATR configurations based on strategy style (Scalping, Swing, Institutional, etc.).
🧠 Use Cases
Strategy Type ATR Period Multiplier Notes
Conservative Trading 14 1.0 – 1.5× Balanced, avoids whipsaws, better R:R
Volatile Markets 21 1.5 – 2.5× For crypto, indices, strong trends
Intraday Scalping 5 – 10 0.5 – 1.0× Tighter SLs for rapid trades
Swing Trades 14 – 21 1.5 – 3.0× Handles spikes, rides long trends
Institutional Logic Dynamic 1.5× below OB SL below CHoCH or Order Block structure zones
You can view this tooltip in the Trade Management group inputs.
🧰 Inputs
📌 Supertrend (Main)
ATR Period
ATR Multiplier
ATR Method (SMA/True Range)
Signal Toggle
Highlight Toggle
⚡ Supertrend (Fast)
ATR Period (Shorter)
ATR Multiplier (Smaller)
ATR Method (SMA/True Range)
Signal Toggle
Highlight Toggle
🎯 Trade Management
SL & Target ATR Period
Target Multiplier
Auto Exit after Target 3
Entry/Exit Label Toggle
Target Hit Label Toggle
Show SL/Target Lines
🧮 Trend State Table
Location Selectable
Combined Trend Label: Strong Up 🔼 / Down 🔽 / Mixed ⚠️
📈 Signals & Alerts
Trigger alerts for all the following:
Main Supertrend Buy/Sell
Fast Supertrend Buy/Sell
Confirmed Combined Buy/Sell when both layers align
📊 Visualization
📉 Supertrend bands with optional background fill
✅ Entry label with trend direction
🎯 Target hit labels with color-coded levels
🧾 Trade Dashboard with real-time trade info
📌 Best Practices
Use combined signals (CB, CS) for filtered trend entries.
Adjust ATR multiplier based on market volatility.
Use in confluence with SMC, OB, or CHoCH zones for higher accuracy.
Enable trade table for real-time tracking of SL and targets.
👨💻 Credits
Script developed by ask2maniish, with adaptive trade logic and dual-layer Supertrend logic optimized for precision entries and automated exits.
🔍 Overview
The Dual Supertrend indicator overlays two distinct Supertrend layers (Main & Fast) to deliver enhanced trend detection, signal filtering, and trade management. It combines traditional ATR-based trend logic with an optional dynamic risk model and visual trade tracking tools — ideal for intraday scalping, swing trading, or institutional-style strategies.
⚙️ Key Features
🔁 Dual Supertrend Logic: Combines a Main and Fast Supertrend for multi-layer confirmation.
🧠 Smart Entry Signals: Generates buy/sell signals only when both layers agree (combined confirmation).
🎯 Dynamic Trade Management:
Entry/SL/Target logic using ATR.
Auto Breakeven, Trailing SL, and Exit after Target 3.
📊 Trade State Dashboard:
On-chart table showing live status, targets, and trade side.
Visual labels for entry, SL hit, and each target.
🧾 Tooltip for SL Settings: Detailed ATR configurations based on strategy style (Scalping, Swing, Institutional, etc.).
🧠 Use Cases
Strategy Type ATR Period Multiplier Notes
Conservative Trading 14 1.0 – 1.5× Balanced, avoids whipsaws, better R:R
Volatile Markets 21 1.5 – 2.5× For crypto, indices, strong trends
Intraday Scalping 5 – 10 0.5 – 1.0× Tighter SLs for rapid trades
Swing Trades 14 – 21 1.5 – 3.0× Handles spikes, rides long trends
Institutional Logic Dynamic 1.5× below OB SL below CHoCH or Order Block structure zones
You can view this tooltip in the Trade Management group inputs.
🧰 Inputs
📌 Supertrend (Main)
ATR Period
ATR Multiplier
ATR Method (SMA/True Range)
Signal Toggle
Highlight Toggle
⚡ Supertrend (Fast)
ATR Period (Shorter)
ATR Multiplier (Smaller)
ATR Method (SMA/True Range)
Signal Toggle
Highlight Toggle
🎯 Trade Management
SL & Target ATR Period
Target Multiplier
Auto Exit after Target 3
Entry/Exit Label Toggle
Target Hit Label Toggle
Show SL/Target Lines
🧮 Trend State Table
Location Selectable
Combined Trend Label: Strong Up 🔼 / Down 🔽 / Mixed ⚠️
📈 Signals & Alerts
Trigger alerts for all the following:
Main Supertrend Buy/Sell
Fast Supertrend Buy/Sell
Confirmed Combined Buy/Sell when both layers align
📊 Visualization
📉 Supertrend bands with optional background fill
✅ Entry label with trend direction
🎯 Target hit labels with color-coded levels
🧾 Trade Dashboard with real-time trade info
📌 Best Practices
Use combined signals (CB, CS) for filtered trend entries.
Adjust ATR multiplier based on market volatility.
Use in confluence with SMC, OB, or CHoCH zones for higher accuracy.
Enable trade table for real-time tracking of SL and targets.
👨💻 Credits
Script developed by ask2maniish, with adaptive trade logic and dual-layer Supertrend logic optimized for precision entries and automated exits.
發行說明
Minor Update發行說明
Minor Update- TSL開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。