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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน