OPEN-SOURCE SCRIPT
supertrend long

📌 Supertrend Short Strategy — Bear Trend Filter
This strategy focuses on short entries during bearish conditions using Supertrend direction as a trend filter.
🔍 Core Logic
Detects bearish trend using Supertrend calculation.
Only executes entries in the direction of the main trend.
Trade signal occurs when a breakdown happens below short-term structure or after continuation momentum.
Stop Loss and Take Profit levels are automatically calculated using previous volatility.
🎯 Best Use Case
Recommended timeframes: 1H / 4H
Works on crypto, FX and index futures charts.
Designed for momentum continuation and retest failures, not for reversal trading.
🛡 Risk Management & Features
Automatic dynamic SL/TP placement
No repaint on historical signals
Provides alert conditions for automation usage (Webhook / Bot)
⚠ This script is not financial advice. It is a technical research tool intended for educational and testing purposes.
This strategy focuses on short entries during bearish conditions using Supertrend direction as a trend filter.
🔍 Core Logic
Detects bearish trend using Supertrend calculation.
Only executes entries in the direction of the main trend.
Trade signal occurs when a breakdown happens below short-term structure or after continuation momentum.
Stop Loss and Take Profit levels are automatically calculated using previous volatility.
🎯 Best Use Case
Recommended timeframes: 1H / 4H
Works on crypto, FX and index futures charts.
Designed for momentum continuation and retest failures, not for reversal trading.
🛡 Risk Management & Features
Automatic dynamic SL/TP placement
No repaint on historical signals
Provides alert conditions for automation usage (Webhook / Bot)
⚠ This script is not financial advice. It is a technical research tool intended for educational and testing purposes.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.