OPEN-SOURCE SCRIPT
SPY 0DTE Confluence Scalper

• Plots VWAP, 9/20 EMA, opening range, prior day high/low, and premarket high/low
• Signals a long when: EMA9>EMA20, RSI(2) snaps up from oversold, price is above VWAP, volume spike confirms, and price is near a key level (VWAP/OR/PDH/PDL) — short is the mirror image
• Exit hints trigger on RSI crossing back through 50 or an opposing EMA cross
• Fires alertcondition()s for entries/exits so you can set up TradingView alerts (webhook-ready for future automation)
• Includes a rough on-chart win-rate table (checks price direction N bars after each signal) so you can gauge accuracy before trusting it
• Signals a long when: EMA9>EMA20, RSI(2) snaps up from oversold, price is above VWAP, volume spike confirms, and price is near a key level (VWAP/OR/PDH/PDL) — short is the mirror image
• Exit hints trigger on RSI crossing back through 50 or an opposing EMA cross
• Fires alertcondition()s for entries/exits so you can set up TradingView alerts (webhook-ready for future automation)
• Includes a rough on-chart win-rate table (checks price direction N bars after each signal) so you can gauge accuracy before trusting it
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.