OPEN-SOURCE SCRIPT
DT 20 200 VWAP Combo v2

DT 20 200 VWAP Combo is a simple trend and bias tool that combines three core pieces of context on one chart
• Short term momentum with the 20 EMA
• Higher time frame trend with the 200 EMA
• Value with a flexible anchored VWAP
Use it to quickly answer three questions
What is the bigger picture trend
Where is price trading relative to value
Is my entry idea trading with or against that structure
What this indicator does
Plots a 20 EMA for short term momentum
Plots a 200 EMA for overall trend bias
Plots a VWAP that you can anchor in different ways
Session
Daily
Weekly
Monthly
Yearly
Colors the background when price and EMAs agree with the selected VWAP
Bull zone when 20 EMA is above 200 EMA and price is above VWAP
Bear zone when 20 EMA is below 200 EMA and price is below VWAP
Optionally prints labels when
20 EMA crosses above or below 200 EMA
Price crosses above or below the chosen VWAP
How to use it in your process
Set your VWAP anchor
Session if you are intraday focused
Daily or Weekly if you want a cleaner swing bias
Monthly or Yearly for longer swing context
Use the 200 EMA and anchored VWAP as your higher time frame filter
Only look for longs when price is above both
Only look for shorts when price is below both
Use the 20 EMA as your timing tool
Look for entries in the direction of the background color
Avoid trades that fight both EMAs and VWAP at the same time
This is not a complete trading system by itself
It is a context and confluence tool that works best when combined with your own price action and liquidity model such as structure shifts, sweeps, or a pattern based entry
Nothing in this script is financial advice
Always test and refine any idea in a demo environment and in a written plan before risking real capital
• Short term momentum with the 20 EMA
• Higher time frame trend with the 200 EMA
• Value with a flexible anchored VWAP
Use it to quickly answer three questions
What is the bigger picture trend
Where is price trading relative to value
Is my entry idea trading with or against that structure
What this indicator does
Plots a 20 EMA for short term momentum
Plots a 200 EMA for overall trend bias
Plots a VWAP that you can anchor in different ways
Session
Daily
Weekly
Monthly
Yearly
Colors the background when price and EMAs agree with the selected VWAP
Bull zone when 20 EMA is above 200 EMA and price is above VWAP
Bear zone when 20 EMA is below 200 EMA and price is below VWAP
Optionally prints labels when
20 EMA crosses above or below 200 EMA
Price crosses above or below the chosen VWAP
How to use it in your process
Set your VWAP anchor
Session if you are intraday focused
Daily or Weekly if you want a cleaner swing bias
Monthly or Yearly for longer swing context
Use the 200 EMA and anchored VWAP as your higher time frame filter
Only look for longs when price is above both
Only look for shorts when price is below both
Use the 20 EMA as your timing tool
Look for entries in the direction of the background color
Avoid trades that fight both EMAs and VWAP at the same time
This is not a complete trading system by itself
It is a context and confluence tool that works best when combined with your own price action and liquidity model such as structure shifts, sweeps, or a pattern based entry
Nothing in this script is financial advice
Always test and refine any idea in a demo environment and in a written plan before risking real capital
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.