OPEN-SOURCE SCRIPT
Multi-Timeframe Levels (Daily & Weekly)

// ═══════════════════════════════════════════════════════════════════════════════
// 📊 MULTI-TIMEFRAME LEVELS INDICATOR
// ═══════════════════════════════════════════════════════════════════════════════
//
// ┌─────────────────────────────────────────────────────────────────────────────┐
// │ 🎯 LEVEL COLORS & MEANING │
// ├─────────────────────────────────────────────────────────────────────────────┤
// │ 🟡 YELLOW (PDH/PDL) = Previous Day High/Low - PRIMARY intraday S/R │
// │ 🟣 PURPLE (PD2H/PD2L) = 2 Days Ago High/Low - SECONDARY confluence │
// │ 🔴 RED (PWH/PWL) = Previous Week High/Low - MAJOR swing levels │
// └─────────────────────────────────────────────────────────────────────────────┘
//
// ═══════════════════════════════════════════════════════════════════════════════
// ⚡ SCALPING STRATEGY (1-5 min charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 ENTRY ZONES:
// • Look for price entering 🟡 YELLOW zones (PDH/PDL)
// • Best setups: Price rejects from zone with strong candle pattern
// • Extra confirmation: Zone overlaps with 🟣 PURPLE (confluence)
//
// ✅ BUY SCALP:
// 1. Price touches PDL zone (yellow) from above
// 2. Wait for bullish rejection candle (hammer, engulfing)
// 3. Enter long with stop below the zone
// 4. Target: Mid-range or PDH zone
//
// ❌ SELL SCALP:
// 1. Price touches PDH zone (yellow) from below
// 2. Wait for bearish rejection candle (shooting star, engulfing)
// 3. Enter short with stop above the zone
// 4. Target: Mid-range or PDL zone
//
// 💡 SCALP TIPS:
// • Avoid trading THROUGH zones - wait for rejection
// • Tighter stops when trading during high volume (9:30-11:00 AM)
// • Skip setups if price is choppy inside the zone
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📈 SWING TRADING STRATEGY (15min - Daily charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 HIGH PROBABILITY ZONES:
// • 🔴 RED zones (PWH/PWL) = Primary swing entries
// • Best setups: 🔴 RED + 🟡 YELLOW confluence (weekly + daily align)
// • Monster setups: All 3 colors stack at same price area
//
// ✅ SWING LONG:
// 1. Price drops into PWL zone (red) - weekly support
// 2. Bonus: PDL (yellow) is nearby = confluence
// 3. Wait for daily/4H bullish reversal pattern
// 4. Enter with stop below the zone cluster
// 5. Target: PWH or next major resistance
//
// ❌ SWING SHORT:
// 1. Price rallies into PWH zone (red) - weekly resistance
// 2. Bonus: PDH (yellow) is nearby = confluence
// 3. Wait for daily/4H bearish reversal pattern
// 4. Enter with stop above the zone cluster
// 5. Target: PWL or next major support
//
// 💡 SWING TIPS:
// • Weekly levels (red) have highest reversal probability
// • More confluence = higher win rate, use larger position
// • Let winners run when breaking through weekly levels
//
// ═══════════════════════════════════════════════════════════════════════════════
// 🚀 BREAKOUT STRATEGY
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 BREAKOUT SIGNALS:
// • Price closes ABOVE PDH/PWH with volume = Bullish breakout
// • Price closes BELOW PDL/PWL with volume = Bearish breakout
//
// ✅ TRADING BREAKOUTS:
// 1. Wait for candle CLOSE beyond the level (not just wick)
// 2. Volume should be above average
// 3. Enter on retest of broken level (now becomes support/resistance)
// 4. Stop: Below/above the breakout candle
//
// ⚠️ AVOID FALSE BREAKOUTS:
// • Don't chase - wait for pullback to broken level
// • Skip if breakout happens on low volume
// • Be cautious of breakouts into higher timeframe zones
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📋 QUICK REFERENCE
// ═══════════════════════════════════════════════════════════════════════════════
//
// │ Level │ Color │ Best For │ Hold Time │ Stop Size │
// ├──────────┼────────┼─────────────────┼──────────────┼─────────────┤
// │ PDH/PDL │ 🟡 │ Scalps/Day │ Minutes-Hours│ Tight │
// │ PD2H/PD2L│ 🟣 │ Confluence │ Hours │ Medium │
// │ PWH/PWL │ 🔴 │ Swings │ Days-Weeks │ Wide │
//
// 🔥 GOLDEN RULE: Never fight the weekly level (red) - it's the boss!
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📊 MULTI-TIMEFRAME LEVELS INDICATOR
// ═══════════════════════════════════════════════════════════════════════════════
//
// ┌─────────────────────────────────────────────────────────────────────────────┐
// │ 🎯 LEVEL COLORS & MEANING │
// ├─────────────────────────────────────────────────────────────────────────────┤
// │ 🟡 YELLOW (PDH/PDL) = Previous Day High/Low - PRIMARY intraday S/R │
// │ 🟣 PURPLE (PD2H/PD2L) = 2 Days Ago High/Low - SECONDARY confluence │
// │ 🔴 RED (PWH/PWL) = Previous Week High/Low - MAJOR swing levels │
// └─────────────────────────────────────────────────────────────────────────────┘
//
// ═══════════════════════════════════════════════════════════════════════════════
// ⚡ SCALPING STRATEGY (1-5 min charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 ENTRY ZONES:
// • Look for price entering 🟡 YELLOW zones (PDH/PDL)
// • Best setups: Price rejects from zone with strong candle pattern
// • Extra confirmation: Zone overlaps with 🟣 PURPLE (confluence)
//
// ✅ BUY SCALP:
// 1. Price touches PDL zone (yellow) from above
// 2. Wait for bullish rejection candle (hammer, engulfing)
// 3. Enter long with stop below the zone
// 4. Target: Mid-range or PDH zone
//
// ❌ SELL SCALP:
// 1. Price touches PDH zone (yellow) from below
// 2. Wait for bearish rejection candle (shooting star, engulfing)
// 3. Enter short with stop above the zone
// 4. Target: Mid-range or PDL zone
//
// 💡 SCALP TIPS:
// • Avoid trading THROUGH zones - wait for rejection
// • Tighter stops when trading during high volume (9:30-11:00 AM)
// • Skip setups if price is choppy inside the zone
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📈 SWING TRADING STRATEGY (15min - Daily charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 HIGH PROBABILITY ZONES:
// • 🔴 RED zones (PWH/PWL) = Primary swing entries
// • Best setups: 🔴 RED + 🟡 YELLOW confluence (weekly + daily align)
// • Monster setups: All 3 colors stack at same price area
//
// ✅ SWING LONG:
// 1. Price drops into PWL zone (red) - weekly support
// 2. Bonus: PDL (yellow) is nearby = confluence
// 3. Wait for daily/4H bullish reversal pattern
// 4. Enter with stop below the zone cluster
// 5. Target: PWH or next major resistance
//
// ❌ SWING SHORT:
// 1. Price rallies into PWH zone (red) - weekly resistance
// 2. Bonus: PDH (yellow) is nearby = confluence
// 3. Wait for daily/4H bearish reversal pattern
// 4. Enter with stop above the zone cluster
// 5. Target: PWL or next major support
//
// 💡 SWING TIPS:
// • Weekly levels (red) have highest reversal probability
// • More confluence = higher win rate, use larger position
// • Let winners run when breaking through weekly levels
//
// ═══════════════════════════════════════════════════════════════════════════════
// 🚀 BREAKOUT STRATEGY
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 BREAKOUT SIGNALS:
// • Price closes ABOVE PDH/PWH with volume = Bullish breakout
// • Price closes BELOW PDL/PWL with volume = Bearish breakout
//
// ✅ TRADING BREAKOUTS:
// 1. Wait for candle CLOSE beyond the level (not just wick)
// 2. Volume should be above average
// 3. Enter on retest of broken level (now becomes support/resistance)
// 4. Stop: Below/above the breakout candle
//
// ⚠️ AVOID FALSE BREAKOUTS:
// • Don't chase - wait for pullback to broken level
// • Skip if breakout happens on low volume
// • Be cautious of breakouts into higher timeframe zones
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📋 QUICK REFERENCE
// ═══════════════════════════════════════════════════════════════════════════════
//
// │ Level │ Color │ Best For │ Hold Time │ Stop Size │
// ├──────────┼────────┼─────────────────┼──────────────┼─────────────┤
// │ PDH/PDL │ 🟡 │ Scalps/Day │ Minutes-Hours│ Tight │
// │ PD2H/PD2L│ 🟣 │ Confluence │ Hours │ Medium │
// │ PWH/PWL │ 🔴 │ Swings │ Days-Weeks │ Wide │
//
// 🔥 GOLDEN RULE: Never fight the weekly level (red) - it's the boss!
//
// ═══════════════════════════════════════════════════════════════════════════════
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Get exclusive indicators & Alerts: scalping-algo.com
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Get exclusive indicators & Alerts: scalping-algo.com
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.