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
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.