Profitable SuperTrend

Hello friends,
This script is a powerful, non-repainting optimizer for the classic SuperTrend indicator — one of the most popular tools for trend-following and volatility-based trading. It automatically finds and applies the most profitable SuperTrend settings for each instrument and timeframe, removing the need for manual parameter tuning or guesswork.
🛠 How It Works
The indicator evaluates over 1,400 combinations of ATR Periods and Multipliers using a decision tree–based optimization algorithm.
Each configuration is backtested across the instrument's full history, and when a more profitable setup is identified, the indicator automatically switches to those values in real time — while preserving the standard SuperTrend logic.
It also supports commission customization for more realistic backtesting and includes an alert system that notifies you whenever a better parameter set is found.
This adaptive approach keeps the SuperTrend continuously tuned to evolving market conditions without repainting or distorting past data.
💡 Integrated Versions Explained
This all-in-one tool merges 3 complementary indicators:
• Profitable SuperTrend — A dedicated optimizer that runs in a separate window below your chart. It doesn’t produce buy/sell signals directly but analyzes your asset and timeframe to find optimal ATR settings. Results are visualized as two lines (purple and orange), with optional labels displaying the best parameter values. You can then manually apply these values to your standard SuperTrend.
• Self-Adjusting SuperTrend — A real-time overlay version that behaves like the standard SuperTrend but dynamically adjusts its parameters on the fly. It requires no manual setup and can be paired with the Profitable SuperTrend for full transparency over which values are currently active.
• Compact Self-Adjusting SuperTrend — A minimalist oscillator version that uses simple binary outputs: -1 for Sell and 1 for Buy. This format is ideal for filtering or integrating the adaptive logic into other trading systems.
Together, they form a complete adaptive suite that combines automation, flexibility, and precision — suitable for both discretionary and systematic traders.
🔥 Key Features
👋 Good luck and happy trading!
This script is a powerful, non-repainting optimizer for the classic SuperTrend indicator — one of the most popular tools for trend-following and volatility-based trading. It automatically finds and applies the most profitable SuperTrend settings for each instrument and timeframe, removing the need for manual parameter tuning or guesswork.
🛠 How It Works
The indicator evaluates over 1,400 combinations of ATR Periods and Multipliers using a decision tree–based optimization algorithm.
Each configuration is backtested across the instrument's full history, and when a more profitable setup is identified, the indicator automatically switches to those values in real time — while preserving the standard SuperTrend logic.
It also supports commission customization for more realistic backtesting and includes an alert system that notifies you whenever a better parameter set is found.
This adaptive approach keeps the SuperTrend continuously tuned to evolving market conditions without repainting or distorting past data.
💡 Integrated Versions Explained
This all-in-one tool merges 3 complementary indicators:
• Profitable SuperTrend — A dedicated optimizer that runs in a separate window below your chart. It doesn’t produce buy/sell signals directly but analyzes your asset and timeframe to find optimal ATR settings. Results are visualized as two lines (purple and orange), with optional labels displaying the best parameter values. You can then manually apply these values to your standard SuperTrend.
• Self-Adjusting SuperTrend — A real-time overlay version that behaves like the standard SuperTrend but dynamically adjusts its parameters on the fly. It requires no manual setup and can be paired with the Profitable SuperTrend for full transparency over which values are currently active.
• Compact Self-Adjusting SuperTrend — A minimalist oscillator version that uses simple binary outputs: -1 for Sell and 1 for Buy. This format is ideal for filtering or integrating the adaptive logic into other trading systems.
Together, they form a complete adaptive suite that combines automation, flexibility, and precision — suitable for both discretionary and systematic traders.
🔥 Key Features
- Adaptive optimization powered by a decision tree–based algorithm
- Real-time switching to the most profitable SuperTrend parameters
- Commission customization for realistic backtesting
- Direction filter (Longs | Shorts | Longs & Shorts)
- Optional analysis start date for focused historical testing
- Smart alert when better settings are detected
- Optional buy/sell labels and compact trend output
- Clean and organized UI with improved workflow
👋 Good luck and happy trading!
Có sẵn trong Gói trả phí
Chỉ báo này chỉ dành cho người đăng ký Trading Toolkit. Tham gia ngay để truy cập chỉ báo này và các tập lệnh khác của everget.
👨🏻💻 Coding services -> Telegram: @alex_everget
🆓 List of my FREE indicators: bit.ly/2S7EPuN
💰 List of my PREMIUM indicators: bit.ly/33MA81f
Join Bybit and get up to $6,045 in bonuses!
bybit.com/invite?ref=56ZLQ0Z
🆓 List of my FREE indicators: bit.ly/2S7EPuN
💰 List of my PREMIUM indicators: bit.ly/33MA81f
Join Bybit and get up to $6,045 in bonuses!
bybit.com/invite?ref=56ZLQ0Z
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.
Có sẵn trong Gói trả phí
Chỉ báo này chỉ dành cho người đăng ký Trading Toolkit. Tham gia ngay để truy cập chỉ báo này và các tập lệnh khác của everget.
👨🏻💻 Coding services -> Telegram: @alex_everget
🆓 List of my FREE indicators: bit.ly/2S7EPuN
💰 List of my PREMIUM indicators: bit.ly/33MA81f
Join Bybit and get up to $6,045 in bonuses!
bybit.com/invite?ref=56ZLQ0Z
🆓 List of my FREE indicators: bit.ly/2S7EPuN
💰 List of my PREMIUM indicators: bit.ly/33MA81f
Join Bybit and get up to $6,045 in bonuses!
bybit.com/invite?ref=56ZLQ0Z
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.