OPEN-SOURCE SCRIPT
Trifecta Supertrend

Indicator Description: Triple Supertrend + EMAs + VWAP + Signals
This indicator combines trend-following and momentum filters to identify high-probability buy and sell signals:
Triple Supertrend Lines:
Fast (10,1), Medium (11,2), Slow (12,3)
Green = bullish, Red = bearish
Signals are generated only when all three Supertrends align, reducing false entries.
EMAs:
9 EMA (white) – short-term momentum
21 EMA (light blue) – medium-term trend
200 EMA (dark red) – long-term trend reference
VWAP (blue):
Auto-anchored, provides dynamic support/resistance
Ensures trades align with intraday value zone
Buy Signal Conditions:
All three Supertrend lines are green
9 EMA > 21 EMA (short-term momentum confirming trend)
Price above VWAP
Sell Signal Conditions:
All three Supertrend lines are red
9 EMA < 21 EMA
Price below VWAP
Dynamic Take Profit (TP) and Stop Loss (SL):
SL: Just beyond slowest Supertrend line (12,3) ± 1 ATR
TP: 1.5 × SL distance from entry, plotted for visual guidance
Visual SL = red line, TP = green line
Allows risk:reward = 1:1.5 per trade
This indicator combines trend-following and momentum filters to identify high-probability buy and sell signals:
Triple Supertrend Lines:
Fast (10,1), Medium (11,2), Slow (12,3)
Green = bullish, Red = bearish
Signals are generated only when all three Supertrends align, reducing false entries.
EMAs:
9 EMA (white) – short-term momentum
21 EMA (light blue) – medium-term trend
200 EMA (dark red) – long-term trend reference
VWAP (blue):
Auto-anchored, provides dynamic support/resistance
Ensures trades align with intraday value zone
Buy Signal Conditions:
All three Supertrend lines are green
9 EMA > 21 EMA (short-term momentum confirming trend)
Price above VWAP
Sell Signal Conditions:
All three Supertrend lines are red
9 EMA < 21 EMA
Price below VWAP
Dynamic Take Profit (TP) and Stop Loss (SL):
SL: Just beyond slowest Supertrend line (12,3) ± 1 ATR
TP: 1.5 × SL distance from entry, plotted for visual guidance
Visual SL = red line, TP = green line
Allows risk:reward = 1:1.5 per trade
Open-source script
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.
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.
Open-source script
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.
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.