OPEN-SOURCE SCRIPT

SuperTrend_5M_HighWinrate

120
SuperTrend Simple - Multi-Filter Trend Following Indicator

A powerful SuperTrend-based indicator with multiple confirmation filters and built-in performance statistics.

🔹 Core Features:

SuperTrend Engine – Uses ATR-based trend detection (Default: Period 46, Factor 2.9)
Visual BUY/SELL Signals – Clear labels on every confirmed trend flip
Trend Fill – Color-coded area between price and SuperTrend line
Real-Time Statistics – Win/Loss tracking, Winrate, Avg Win/Loss, and Profit Factor
🔹 Available Filters (all toggleable):

HTF Confirmation – Only trade when higher timeframe trend aligns (Default: 60min)
EMA Filter – Long signals only above EMA, Short signals only below (Default: 200 EMA)
RSI Filter – Long only when RSI > threshold, Short only when RSI < threshold (Default: 50)
Volume Filter – Only trade when volume exceeds moving average
ADX Filter – Only trade when ADX indicates strong trend (Default: > 20)
🔹 How It Works:

SuperTrend detects trend direction changes (flips)
Each flip is validated against all active filters
Only signals passing ALL enabled filters are displayed
Statistics table tracks historical performance in real-time
🔹 Alerts:

BUY Alert – Triggers on confirmed bullish flip
SELL Alert – Triggers on confirmed bearish flip
🔹 Best Use Cases:

Trend following strategies
Swing trading with multi-timeframe confirmation
Filtering out low-probability setups in choppy markets
⚙️ Customization: All filters can be enabled/disabled independently. Adjust parameters to match your trading style and timeframe.

Disclaimer

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.