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