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.
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.