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
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.