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. קרא עוד ב־תנאי השימוש.