OPEN-SOURCE SCRIPT
Aggiornato 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.
Note di rilascio
Minor UpdateNote di rilascio
Minor Update- TSLScript open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.