Moving average cloud strategyHi folks!
Here a script uses the moving average cloud. A sma (50, aqua) and a sma (200, olive) are plotted on the cart. When both sma go up the cloud is green. When both sma go down the cloud is red. When sma (200, olive) goes down and sma (50, aqua) goes up the cloud is orange. When sma (200, olive) goes up and sma (50, aqua) goes down the cloud is lime.
There three entry points in this strategy.
Long
Aggressive: When the cloud turns orange and price closes above the sma (200).
Neutral: When the both sma make the golden cross.
Cautious: When the cloud is green and price closes sma (200) after searching for support. So not when there's a great distance between them.
In case you missed the entry point you can jump in when price CLOSES above sma (50). So after it searched for support on that line. The cloud has to be green at that moment.
Short
Aggressive: When the cloud turns lime and price CLOSES below the sma (200).
Neutral: When the both sma make the death cross.
Cautious: When the cloud is green and price is above the sma (200).
In case you missed the entry point you can jump in when price CLOSES above sma (50). So after it searched for support on that line.
There are also two exit points in this strategy.
Cautious: When price closes on the other side of the sma (50).
Neutral: When the cloud changes color.
Aggressive: When price closes on the other side of the sma (200). There's always the opportunity that the price searches for support at the sma (200) line and goes from that moment in the direction you want.
Don't wait for the cross of the both sma. Very usually you give a huge part of your profit away at that point.
Remember: Above the cloud is bullish area, never go short there. Below the cloud is bearish area, never go long there.
Remember 2: When the clouds changes rapidly from color we're not in a trend. The sma (200) will be almost flat at those situations. It's a sign not to go into a trade since the market doesn't know in which direction it will go.
Search in scripts for "科创50成分股"
Forex Master v2.0 (EUR/USD)This is version 2 of my Forex Master algorithm originally posted here:
BACKTEST CONDITIONS:
Initial equity = $100,000 (no leverage)
Order size = 100% of equity
Pyramiding = disabled
TRADING RULES:
Long entry = EMA5(RSI20) cross> 50
Profit limit = 50 pips
Stop loss = 50 pips
Short entry = EMA5(RSI20) cross< 50
Profit limit = 50 pips
Stop loss = 50 pips
Long entry = Short exit
Short entry = long exit
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.
Forex Master (EUR/USD)ATTENTION:
This is a symmetrical algorithm designed only for trading EUR/USD on the 1h time frame. For other currency pairs and time frames, you need to re-calibrate the RSI-EMAs as well as the profit targets and stop losses.
BACKTEST CONDITIONS:
Initial equity = $100,000 (no leverage)
Order size = 100% of equity
Pyramiding = disabled
TRADING RULES:
Long entry = EMA20(RSI10) cross> 50
Profit limit = 50 pips
Stop loss = 50 pips
Short entry = EMA30(RSI30) cross< 50
Profit limit = 50 pips
Stop loss = 50 pips
Long entry = Short exit
Short entry = long exit
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.
SNIPER ORB V2# 🎯 SNIPER ORB TRADING CHEAT SHEET
## Quick Reference Guide for Live Trading
---
## 📊 VISUAL IDENTIFICATION GUIDE
```
═══════════════════════════════════════════════════════════════════
YOUR CHART AT A GLANCE
═══════════════════════════════════════════════════════════════════
🔵 BRIGHT BLUE LINES (3px) → 5min ORB High/Low
🔷 CYAN LINES (2px) → 15min ORB High/Low
🟣 PURPLE LINES (2px) → 30min ORB High/Low (PRIMARY)
🟢 GREEN DASHED LINES (1px) → Upside targets (1x, 2x, 3x from 30min ORB)
🔴 RED DASHED LINES (1px) → Downside targets (1x, 2x, 3x from 30min ORB)
🟡 GOLD LINE (2px) → Anchored VWAP (9:30 AM anchor for NY, 3:00 AM for London)
📋 INFO TABLE (top-right) → Shows live ORB ranges, VWAP price, status
═══════════════════════════════════════════════════════════════════
```
**KEY DIFFERENCE FROM OTHER ORB INDICATORS:**
- You see **ALL 3 ORB PERIODS SIMULTANEOUSLY** (5min, 15min, 30min)
- Targets calculated from **30min ORB ONLY** (not 5min or 15min)
- **NO BOX FILLS** - clean line-only display for sniper precision
- Auto-disappears at session end (no clutter from old sessions)
---
## 🔘 NEW FEATURE: ORB DISPLAY TOGGLES
**You now have FULL CONTROL over which ORB periods to display!**
```
In indicator settings → "ORB Display" section:
☑ Show 5min ORB → Toggle blue lines ON/OFF
☑ Show 15min ORB → Toggle cyan lines ON/OFF
☑ Show 30min ORB → Toggle purple lines ON/OFF
USE CASES:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. FOCUS MODE (30min only)
☐ 5min ☐ 15min ☑ 30min
→ Clean chart, just your primary trading range
→ Best for beginners or minimalist traders
2. EARLY WARNING MODE (5min + 30min)
☑ 5min ☐ 15min ☑ 30min
→ See early breaks with 5min, trade 30min confirmation
→ Reduces visual noise from 15min
3. CONFLUENCE MODE (all 3 ORBs)
☑ 5min ☑ 15min ☑ 30min
→ Maximum information, all alignment signals
→ For advanced traders seeking highest probability
4. INTRADAY SCALP MODE (5min only)
☑ 5min ☐ 15min ☐ 30min
→ Ultra-fast entries on 5min breaks
→ High-risk, high-frequency approach
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 PRO TIP: Start with 30min only, then add 5min/15min as you gain experience
```
---
## 🎯 FIXED: ANCHORED VWAP (TIMESTAMP-BASED)
**The VWAP now anchors with SURGICAL PRECISION to the exact session start candle!**
```
LONDON SESSION:
• Anchors at the EXACT 3:00 AM ET candle
• Uses timestamp checking: hour == 3 AND minute == 0
• Resets every morning at London Open
NEW YORK SESSION:
• Anchors at the EXACT 9:30 AM ET candle
• Uses timestamp checking: hour == 9 AND minute == 30
• Resets every day at NY Open
WHAT THIS MEANS:
✅ VWAP starts accumulating from the first tick of the session
✅ No more "off by one bar" errors
✅ Institutional-grade VWAP anchoring
✅ Perfect alignment with your ORB start times
HOW TO VERIFY IT'S WORKING:
1. Load indicator on 1min or 5min chart
2. Find the exact 9:30 AM candle (NY) or 3:00 AM candle (London)
3. VWAP should START appearing from that exact bar
4. Not the bar before, not the bar after - THAT EXACT BAR
```
---
## ⏰ SESSION TIMING MATRIX
| Session | Start Time | 5min Complete | 15min Complete | 30min Complete | Session End |
|---------|-----------|---------------|----------------|----------------|-------------|
| **London** | 3:00 AM ET | 3:05 AM | 3:15 AM | 3:30 AM | 9:30 AM ET (disappears) |
| **New York** | 9:30 AM ET | 9:35 AM | 9:45 AM | 10:00 AM | 5:00 PM ET (disappears) |
**💡 GOLDEN RULES:**
1. **WAIT FOR 30MIN ORB TO COMPLETE** before trading targets (10:00 AM NY / 3:30 AM London)
2. Use 5min and 15min ORBs as **early warning signals** only
3. All ORB lines + VWAP **auto-delete** at session end (clean chart)
---
## 🎯 THE 3-ORB SYSTEM: HOW IT WORKS
### **Hierarchical ORB Structure**
```
TIME: 9:30 AM ─────────────────────────────────> 10:00 AM ──────> 5:00 PM
↓ ↓
SESSION START 30min ORB COMPLETE
(all 3 ORBs begin forming) (targets appear)
📍 5min ORB (9:30-9:35 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: EARLY breakout signal, fastest-moving boundary
📍 15min ORB (9:30-9:45 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: MID-TERM institutional reference level
📍 30min ORB (9:30-10:00 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: PRIMARY TRADING RANGE - all targets calculated from this
🎯 TARGETS (10:00 AM onward): ▪ ▪ ▪ ▪ ▪ (1x, 2x, 3x from 30min ORB)
Purpose: Profit-taking levels based on 30min range
```
**Why 3 ORBs Instead of 1?**
- **5min ORB**: Captures early institutional positioning (first 5 minutes)
- **15min ORB**: Confirms directional bias (more stable than 5min)
- **30min ORB**: Full market digestion of overnight news + opening orders
- **Confluence = Higher Win Rate**: When all 3 align, breakouts are extremely reliable
---
## 🎯 THE 5 HIGH-PROBABILITY SETUPS
### **SETUP #1: TRIPLE ORB BREAKOUT CONFLUENCE** ⭐⭐⭐⭐⭐
```
CONDITIONS:
✅ 30min ORB complete (10:00 AM NY / 3:30 AM London)
✅ Price breaks ALL 3 ORBs simultaneously:
• 5min high/low (blue line)
• 15min high/low (cyan line)
• 30min high/low (purple line)
✅ VWAP confirms direction (below price = bullish, above = bearish)
✅ Volume spike on breakout candle
ENTRY: Close of breakout candle (must close beyond ALL 3 ORBs)
STOP: Inside 30min ORB at 30m low (long) or 30m high (short)
TARGET 1: First green/red dashed line (0.5x 30m range)
TARGET 2: Second target (1x 30m range)
TARGET 3: Third target (1.5x 30m range)
WIN RATE: 75-85% | R:R = 1:2.5 minimum
NOTES: When all 3 ORBs align, institutional order flow is unanimous
```
---
### **SETUP #2: 5MIN EARLY BREAKOUT → 30MIN CONFIRMATION** ⭐⭐⭐⭐
```
CONDITIONS:
✅ Price breaks 5min ORB first (blue line crossed)
✅ 15min ORB holds initially (cyan line not crossed yet)
✅ After 30min ORB completes, price breaks 30min boundary (purple)
✅ VWAP alignment confirms direction
✅ All 3 ORBs now broken in same direction
ENTRY: When 30min ORB breaks (purple line) + 5min/15min already broken
STOP: 30min ORB opposite boundary
TARGET 1-3: Standard targets from 30min ORB
WIN RATE: 70-80% | R:R = 1:2+
NOTES: 5min gave early warning, 30min confirms institutional commitment
```
---
### **SETUP #3: FALSE 5MIN BREAKOUT → 30MIN REVERSAL** ⭐⭐⭐⭐⭐
```
CONDITIONS:
✅ Price breaks 5min ORB (blue line)
✅ Fails to break 15min or 30min ORBs (cyan/purple lines hold)
✅ Price reverses back inside 5min ORB
✅ Then breaks OPPOSITE side of 30min ORB (purple line)
✅ VWAP flips to confirm new direction
ENTRY: When 30min ORB breaks in OPPOSITE direction of failed 5min break
STOP: Failed 5min breakout high/low (now a liquidity grab zone)
TARGET 1-3: Standard targets
WIN RATE: 80-90% | R:R = 1:3+ (trapped traders forced to exit)
NOTES: Most profitable setup - 5min breakout was liquidity hunt
```
---
### **SETUP #4: TIGHT COMPRESSION → EXPLOSION** ⭐⭐⭐⭐
```
CONDITIONS:
✅ All 3 ORBs tightly overlapping (5m, 15m, 30m within 50 points on YM)
✅ Range < 0.3% of price (very tight consolidation)
✅ VWAP sitting in middle of compression
✅ 30min ORB complete, price still inside all 3
ENTRY: Simultaneous break of ALL 3 ORBs + VWAP cross
STOP: Middle of compression zone
TARGET: 2x-4x normal targets (volatility expansion)
WIN RATE: 65-75% | R:R = 1:5+ (explosive breakout)
NOTES: Low volatility → high volatility shift, institutions coiling spring
```
---
### **SETUP #5: VWAP BOUNCE WITHIN 30MIN ORB** ⭐⭐⭐⭐
```
CONDITIONS:
✅ Price stayed inside 30min ORB for 1+ hours post-formation
✅ VWAP acting as dynamic support (long) or resistance (short)
✅ Price bouncing between VWAP and 30min ORB boundaries
✅ Clear rejection candles at VWAP
ENTRY: When price bounces off VWAP toward 30min ORB boundary
• Long: VWAP bounce up toward 30m high (purple)
• Short: VWAP rejection down toward 30m low (purple)
STOP: Beyond VWAP by 20 points
TARGET: 30min ORB opposite boundary
WIN RATE: 70-80% | R:R = 1:1.5-2
NOTES: Range-bound play, NOT for breakout traders
```
---
## 🛡️ RISK MANAGEMENT RULES
### **Position Sizing by ORB Range**
```
30min ORB Range | Stop Distance | Risk $500 (1%) | YM Contracts
-----------------|------------------|-----------------|-------------
< 50 points | 50 pts | $500 ÷ $250 = | 2 contracts
50-100 points | 100 pts | $500 ÷ $500 = | 1 contract
100-150 points | 150 pts | $500 ÷ $750 = | 0.66 (use 1)
150-200 points | 200 pts | $500 ÷ $1000 = | 0.5 (use 1)
> 200 points | Don't trade | Too wide | Skip setup
Formula: Risk $ ÷ (Stop Distance × $5 per YM point) = Max Contracts
```
### **The 3-Strike Rule (MANDATORY)**
```
✅ Trade 1: Full position size (based on 30m ORB range)
❌ Stop hit → Trade 2: HALF position size
❌ Stop hit → Trade 3: QUARTER position size
❌ Stop hit → DONE FOR THE DAY (no exceptions)
```
### **Profit Taking Ladder**
```
TARGET 1 (0.5x 30m range): Take 50% off, move stop to breakeven
TARGET 2 (1.0x 30m range): Take 30% off, trail stop by 25 points
TARGET 3 (1.5x 30m range): Take 15% off, let 5% run with 50pt trail
```
---
## ⚠️ DO NOT TRADE IF...
```
🚫 30min ORB incomplete (< 10:00 AM NY / < 3:30 AM London)
🚫 30min ORB range < 40 points YM (too tight, likely chop)
🚫 30min ORB range > 250 points YM (too wide, unpredictable)
🚫 All 3 ORBs wildly divergent (5m=100pts, 15m=180pts, 30m=240pts)
🚫 Major news release within 30 minutes (wait for ORB to reform)
🚫 You've hit 3 losses in the session (3-strike rule)
🚫 You're tired, emotional, revenge trading, or distracted
🚫 Time > 12:00 PM ET (lunch, avoid until 1:00 PM)
🚫 Time > 3:00 PM ET unless Power Hour (3:00-4:00 PM) momentum
```
---
## 🔍 PRE-SESSION CHECKLIST
**15 Minutes Before London (2:45 AM ET) or NY (9:15 AM ET):**
```
□ Check economic calendar (FOMC? NFP? CPI? → extra caution)
□ Review previous session's ORB ranges (context for today's volatility)
□ Load SNIPER ORB on 1min or 5min chart
□ Select correct session: "London" or "New York"
□ Verify indicator settings:
• Number of Targets: 3
• Target % of 30min Range: 50%
• Show Anchored VWAP: ON
□ Set TradingView alerts:
• 30min ORB complete (10:00 AM or 3:30 AM)
• Price crossing 30min high/low
• VWAP crosses
□ Prepare bracket orders mentally (entry, stop, 3 targets)
□ Review yesterday's P&L and lessons learned
□ Set phone to "Do Not Disturb" mode
```
---
## 🎨 INDICATOR SETTINGS GUIDE
### **Core Settings (Updated with Toggles)**
```
SESSION SETTINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Active Session: "London" or "New York"
ORB DISPLAY (NEW!):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☑ Show 5min ORB (toggle blue lines)
☑ Show 15min ORB (toggle cyan lines)
☑ Show 30min ORB (toggle purple lines)
💡 Turn OFF any ORB to declutter your chart!
TARGET SETTINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Number of Targets: 3 (default)
• Target % of 30min Range: 50% (default)
VWAP SETTINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☑ Show Anchored VWAP
• VWAP Color: Gold (#FFC107)
• VWAP Width: 2px
```
### **Color Customization (Optimized for Dark Charts)**
```
DEFAULT COLORS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5min ORB: Bright Blue (#2196F3) - 3px wide
15min ORB: Cyan (#00BCD4) - 2px wide
30min ORB: Purple (#9C27B0) - 2px wide
Upside Targets: Green (#4CAF50) - 1px dashed
Downside Targets: Red (#F44336) - 1px dashed
VWAP: Gold (#FFC107) - 2px solid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THESE COLORS?
• Blue family (5m/15m) = short-term, high-frequency
• Purple (30m) = primary, institutional level
• Green/Red = universal up/down
• Gold VWAP = fair value anchor (stands out)
```
### **Settings by Trading Style**
**BEGINNER (Clean & Simple):**
```
ORB Display:
☐ Show 5min ORB
☐ Show 15min ORB
☑ Show 30min ORB (30min only - focus mode)
Number of Targets: 2-3
Target % of 30min Range: 50%
Chart Timeframe: 5-minute
```
**SCALPER (5-15 min holds):**
```
ORB Display:
☑ Show 5min ORB (early signals)
☐ Show 15min ORB
☑ Show 30min ORB (confirmation)
Number of Targets: 5
Target % of 30min Range: 30-40%
Label Size: Tiny
Chart Timeframe: 1-minute
```
**DAY TRADER (30-90 min holds):**
```
ORB Display:
☑ Show 5min ORB
☑ Show 15min ORB
☑ Show 30min ORB (all 3 - confluence mode)
Number of Targets: 3
Target % of 30min Range: 50%
Label Size: Small
Chart Timeframe: 5-minute (RECOMMENDED)
```
**SWING TRADER (2-4 hour holds):**
```
ORB Display:
☐ Show 5min ORB (too noisy for swings)
☑ Show 15min ORB
☑ Show 30min ORB
Number of Targets: 2-3
Target % of 30min Range: 75-100%
Label Size: Normal
Chart Timeframe: 15-minute
```
---
## 📈 TIMEFRAME SELECTION GUIDE
| Your Timeframe | What You See | Best For |
|---------------|--------------|----------|
| **1-minute** | Every tick, high noise | Scalping, precision entries |
| **5-minute** | Balanced clarity | Day trading (RECOMMENDED) |
| **15-minute** | Clean structure | Swing positions |
| **30-minute** | Too compressed | Not recommended (can't see ORB form) |
**💡 PRO TIP:**
- **Primary chart: 5-minute** (for entries and monitoring)
- **Secondary chart: 1-minute** (for precise timing)
- **Never go above 15-minute** (ORBs won't form properly)
---
## 🧠 READING THE 3-ORB STRUCTURE
### **Bullish Alignment Patterns**
```
PATTERN 1: "Staircase Expansion"
5min: ━━━━ (tight, 60 pts)
15min: ━━━━━━ (wider, 90 pts)
30min: ━━━━━━━━ (widest, 120 pts)
→ Bullish expansion, expect upside breakout
PATTERN 2: "Nested Compression"
5min: ━━ (30 pts)
15min: ━━━ (35 pts)
30min: ━━━━ (40 pts)
→ All tight, explosive breakout likely
PATTERN 3: "Early Commitment"
5min: ━━━━━━ (100 pts, already broken up)
15min: ━━━━━ (80 pts, holding)
30min: ━━━━━ (110 pts, about to break)
→ 5min led the way, 30min confirmation coming
```
### **Bearish Alignment Patterns**
```
PATTERN 1: "Waterfall Setup"
5min: ━━━━ (50 pts, broke down)
15min: ━━━━━ (70 pts, broke down)
30min: ━━━━━━ (90 pts, about to break)
→ Sequential breakdown, strong bearish momentum
PATTERN 2: "Failed Highs"
5min: ━━━━━━ (upper wick rejections)
15min: ━━━━━━ (couldn't break)
30min: ━━━━━━━ (topped out)
→ All 3 rejecting highs, bearish reversal likely
```
### **Neutral/Chop Patterns (AVOID TRADING)**
```
PATTERN 1: "Wide Divergence"
5min: ━━ (30 pts)
15min: ━━━━━━━ (120 pts)
30min: ━━━━━━━━━━━ (200 pts)
→ No consensus, unpredictable, skip
PATTERN 2: "Whipsaw City"
• Price breaking 5min up, then down, then up again
• 15min and 30min not aligned
• VWAP getting crossed every 5 minutes
→ Chop day, step aside, wait for clarity
```
---
## 📊 INTEGRATION WITH YM ULTIMATE SNIPER v8.1
**The 2-System Confluence Method:**
```
┌─────────────────────────────────────────────────────────────┐
│ STEP 1: SNIPER ORB → Defines "Zones That Matter" │
│ • 30min ORB = primary institutional range │
│ • VWAP = fair value anchor │
│ • Targets = profit zones │
│ • 5min/15min = early warning signals │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ STEP 2: YM ULTIMATE SNIPER → Triggers precise entry │
│ • Wait for GOD MODE signal AT 30min ORB boundary │
│ • 6-gate filter: Score ≥9, fat body ≥70%, delta ≥70% │
│ • Candle Dominance Index (CDI) ≥7 │
│ • Intrabar pressure consistent throughout formation │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ STEP 3: EXECUTE TRADE │
│ • ORB breakout + GOD MODE = MAXIMUM PROBABILITY │
│ • Enter ONLY when BOTH systems align │
│ • This is TRUE "sniper" trading (2-5 trades/day max) │
└─────────────────────────────────────────────────────────────┘
```
**Confluence Scoring for Combined System:**
```
SNIPER ORB Criteria:
□ 30min ORB complete (10:00 AM+) +2 points
□ All 3 ORBs broken in same direction +2 points
□ VWAP alignment (below=bull, above=bear) +1 point
□ Volume spike on breakout candle +1 point
□ Tight 3-ORB compression (<100pt divergence) +1 point
YM ULTIMATE SNIPER Criteria:
□ GOD MODE signal at ORB boundary +3 points
□ Score ≥9.0 (tier classification) +1 point
□ Candle Dominance Index (CDI) ≥8 +1 point
TOTAL POSSIBLE: 12 points
TRADE EXECUTION RULES:
• 10-12 points = MAX SIZE (this is the holy grail setup)
• 8-9 points = FULL SIZE (high probability)
• 6-7 points = HALF SIZE (moderate probability)
• <6 points = NO TRADE (wait for better alignment)
```
---
## 💡 COMMON MISTAKES & FIXES
```
❌ MISTAKE: Trading before 30min ORB completes
✅ FIX: Wait until 10:00 AM (NY) or 3:30 AM (London), NO EXCEPTIONS
❌ MISTAKE: Ignoring 5min and 15min ORBs (only watching 30min)
✅ FIX: Use all 3 for confluence - they're your early warning system
❌ MISTAKE: Chasing breakouts 100+ points beyond 30min ORB
✅ FIX: Wait for pullback to VWAP or 30min boundary for re-entry
❌ MISTAKE: Not adjusting target % for market conditions
✅ FIX: Volatile day (ORB >200pts)? Use 75-100% targets
Calm day (ORB <80pts)? Use 30-40% targets
❌ MISTAKE: Trading when all 3 ORBs are wildly different sizes
✅ FIX: Skip the day if 5m/15m/30m diverge by >100pts - no consensus
❌ MISTAKE: Forgetting VWAP position
✅ FIX: VWAP MUST confirm bias:
• Long: price > VWAP
• Short: price < VWAP
• If VWAP contradicts, skip the trade
❌ MISTAKE: Not respecting the 3-strike rule
✅ FIX: 3 losses = DONE for the session, no rationalization
❌ MISTAKE: Trading during lunch (12:00-1:00 PM ET)
✅ FIX: Volume dies, ORBs lose relevance, false signals increase
```
---
## 🔔 ALERT SETUP (ESSENTIAL)
**TradingView Alerts You MUST Set:**
```
ALERT 1: "30min ORB Complete"
• Type: Time-based
• Trigger: 10:00 AM ET (NY) or 3:30 AM ET (London)
• Message: "🎯 30min ORB complete - targets now active"
ALERT 2: "30min ORB High Breakout"
• Type: Crossing Up
• Value 1: Close
• Value 2: 30min ORB High (purple line)
• Message: "🚀 30m ORB HIGH broken - check for long setup"
ALERT 3: "30min ORB Low Breakdown"
• Type: Crossing Down
• Value 1: Close
• Value 2: 30min ORB Low (purple line)
• Message: "📉 30m ORB LOW broken - check for short setup"
ALERT 4: "VWAP Cross"
• Type: Crossing
• Value 1: Close
• Value 2: VWAP
• Message: "⚡ VWAP crossed - check institutional bias shift"
ALERT 5: "Target 1 Hit"
• Type: Crossing
• Value 1: High (for longs) or Low (for shorts)
• Value 2: First target line
• Message: "🎯 Target 1 hit - take 50% off, move stop to BE"
```
---
## 📱 MOBILE TRADING WORKFLOW
**TradingView Mobile App Setup:**
```
1. SAVE LAYOUT
• Chart: 5-minute timeframe
• SNIPER ORB indicator loaded
• YM Ultimate SNIPER v8.1 loaded (if using)
• Save as "SNIPER ORB - YM"
2. ENABLE NOTIFICATIONS
• Settings → Notifications → Push Alerts: ON
• All 5 alerts above configured
3. QUICK ACCESS
• Add YM futures to Watchlist: "MYM" or "YM1!"
• Pin SNIPER ORB layout to favorites
4. EXECUTION READY
• Broker app (TastyTrade, NinjaTrader, etc.) logged in
• Preset bracket orders:
- Entry: market order
- Stop: 30m ORB opposite boundary
- Targets: 3 levels (50%, 30%, 20% of position)
5. BATTERY & CONNECTIVITY
• Phone charged 100% before session
• Stable WiFi or LTE connection
• Backup power bank available
```
---
## 🎓 DAILY PERFORMANCE JOURNAL
**After Each Trading Session (MANDATORY):**
```
═══════════════════════════════════════════════════════════════
DATE: __________ SESSION: □ London □ New York
═══════════════════════════════════════════════════════════════
ORB DATA:
• 5min ORB Range: ______ points
• 15min ORB Range: ______ points
• 30min ORB Range: ______ points
• Alignment: □ Tight □ Moderate □ Wide (skip if wide)
VWAP BEHAVIOR:
• Opening position: □ Above price □ Below price □ Mixed
• Did VWAP act as support/resistance? □ Yes □ No
TRADES TAKEN:
Total Setups Identified: _____
Trades Executed: _____
Win/Loss Record: _____ W / _____ L
Win Rate: _____%
Gross P&L: $_______
Net P&L (after commissions): $_______
BEST TRADE:
• Setup: ____________________ (which of the 5 setups?)
• Entry Price: ______ Exit Price: ______
• Profit: $_______
• What went RIGHT: _________________________________
_________________________________________________
WORST TRADE:
• Setup: ____________________
• Entry Price: ______ Exit Price: ______
• Loss: $_______
• What went WRONG: _________________________________
_________________________________________________
• Lesson Learned: ___________________________________
3-STRIKE RULE STATUS:
□ No losses (great day)
□ 1 loss (still in game)
□ 2 losses (caution, half size)
□ 3 losses (stopped for day, as required)
TOMORROW'S ADJUSTMENTS:
□ _________________________________________________
□ _________________________________________________
□ _________________________________________________
EMOTIONAL STATE TODAY:
□ Calm & focused (optimal)
□ Anxious/rushed (need to work on patience)
□ Overconfident (dial back position size)
□ Fearful (review winning trades to build confidence)
═══════════════════════════════════════════════════════════════
```
---
## 🚀 YOUR FIRST LIVE TRADE WALKTHROUGH
**Step-by-Step for New York Session (Most Common):**
```
⏰ 9:15 AM ET - PREPARATION
□ Load SNIPER ORB on YM 5-minute chart
□ Select "New York" session in indicator settings
□ Verify VWAP is showing (gold line)
□ Check economic calendar (any big news at 9:30?)
□ Prepare mentally: "I will wait for 30min ORB to complete"
⏰ 9:30 AM ET - SESSION OPENS
□ Watch 3 ORBs begin forming:
• Blue lines (5min) will lock in at 9:35 AM
• Cyan lines (15min) will lock in at 9:45 AM
• Purple lines (30min) will lock in at 10:00 AM
□ Observe VWAP anchoring at 9:30 AM candle
□ DO NOT TRADE YET - just observe
⏰ 9:35 AM - 5MIN ORB COMPLETE
□ Note 5min high/low (blue lines locked)
□ Check info table: "5m Range = XX points"
□ If 5min ORB breaks early, note direction but DON'T ENTER
⏰ 9:45 AM - 15MIN ORB COMPLETE
□ Note 15min high/low (cyan lines locked)
□ Compare to 5min ORB: Aligned? Expanding?
□ Still waiting... patience pays
⏰ 10:00 AM - 30MIN ORB COMPLETE (TARGETS APPEAR!)
□ Purple lines locked (30m high/low)
□ Green/red dashed target lines appear automatically
□ Info table shows "Status: ✓ Complete"
□ NOW you can trade breakouts
⏰ 10:00 AM - 11:30 AM - TRADING WINDOW
□ Wait for price to break purple line (30m ORB high or low)
□ Confirm:
1. All 3 ORBs broken in same direction?
2. VWAP confirming (below=bullish, above=bearish)?
3. Volume spike visible?
4. YM SNIPER GOD MODE signal? (if using)
□ If all YES → ENTER TRADE:
• Market order at breakout close
• Stop at 30m ORB opposite boundary
• Targets at green/red dashed lines
⏰ TARGET MANAGEMENT
□ Price hits first target (1x) → Take 50% off, move stop to BE
□ Price hits second target (2x) → Take 30% off, trail stop
□ Price hits third target (3x) → Take 15% off, let 5% run
⏰ 12:00 PM - LUNCH (AVOID TRADING)
□ Volume dies down
□ ORBs become less relevant
□ Take a break, review morning trades
⏰ 1:00 PM - 3:00 PM - AFTERNOON SESSION
□ ORBs still valid but less reliable
□ Consider waiting for Power Hour (3:00-4:00 PM)
⏰ 5:00 PM - SESSION END
□ All ORB lines disappear automatically
□ VWAP disappears automatically
□ Chart cleans itself - ready for tomorrow
□ Fill out daily journal
```
---
## 🏆 WINNING MINDSET AFFIRMATIONS
Read these BEFORE each trading session:
```
"I trade ORBs, not chaos. Structure gives me edge."
"3 high-quality trades beat 20 mediocre ones."
"The 30min ORB is my anchor. I wait for it. Every. Single. Time."
"When all 3 ORBs align, institutions are unified. I follow."
"VWAP is my institutional compass. I respect its guidance."
"3 strikes and I'm out. Discipline > Ego."
"I am a SNIPER, not a machine gunner. Precision wins."
"My edge is patience. Let the ORBs complete."
"I don't predict. I react to proven structure."
"One perfect setup is worth waiting all morning."
```
---
## 📞 TROUBLESHOOTING
**"ORB lines not showing on chart!"**
→ Check timeframe: Must be 1min-30min (not daily/weekly)
→ Verify session time: Must be during London (3AM-9:30AM) or NY (9:30AM-5PM)
→ Check indicator status: Should say "⏳ Forming" or "✓ Complete" in table
**"Targets not appearing!"**
→ 30min ORB must be complete (10:00 AM NY / 3:30 AM London)
→ Check "Number of Targets" setting (must be ≥1)
→ Verify "Target % of 30min Range" is set (default 50%)
**"VWAP disappeared!"**
→ Normal behavior: VWAP auto-deletes at session end (5PM NY / 9:30AM London)
→ Toggle "Show Anchored VWAP" OFF then ON to reset
→ Check if you're viewing chart outside session hours
**"All 3 ORBs look the same!"**
→ This is actually GOOD - means tight alignment (high-probability setup)
→ If they're diverging wildly (>100pts difference), that's a skip signal
**"Info table blocking my view!"**
→ Info table is in top-right corner by default
→ Drag it to a different position (TradingView allows moving)
→ Or minimize it by clicking the small arrow
**"Colors are hard to see on my chart!"**
→ Go to indicator settings:
• "5min ORB", "15min ORB", "30min ORB" color pickers
• "Upside Targets", "Downside Targets" color pickers
• Recommended: Use contrasting colors vs your chart background
---
## 📚 ADVANCED INTEGRATION TECHNIQUES
### **Combining with Market Profile**
```
• Use Volume Profile to identify Value Area High (VAH) and Low (VAL)
• If 30min ORB aligns with VAH/VAL → extra confluence
• POC (Point of Control) acts similar to VWAP
```
### **Combining with Cumulative Delta**
```
• Check if delta is positive on 30min ORB high break (bullish confirmation)
• Negative delta on low break confirms bearish institutional flow
• Your YM SNIPER already tracks this - use together!
```
### **Combining with Options Flow**
```
• Large call buying near 30min ORB high? Institutions positioning for breakout
• Large put buying near 30min ORB low? Smart money hedging/shorting
• Tools: Unusual Whales, Cheddar Flow, OptionStrat
```
---
## 🎯 FINAL PRE-LIVE CHECKLIST
**DO NOT GO LIVE UNTIL ALL CHECKED:**
```
□ Practiced on TradingView Replay for 2+ weeks
□ Can identify all 5 setups by pattern recognition
□ Understand why targets come from 30min ORB only
□ Know difference between 5min/15min/30min roles
□ Risk management rules memorized (position sizing, 3-strike)
□ YM Ultimate SNIPER v8.1 loaded (optional but recommended)
□ All 5 TradingView alerts configured
□ Broker platform tested with demo account
□ Stop/target orders can be placed in <10 seconds
□ Daily journal template prepared
□ Emotional state: calm, patient, focused
□ Account size: Minimum $10,000 recommended
□ Understand auto-disappear behavior (ORBs delete at session end)
□ Know NOT to trade before 30min ORB complete
□ Comfortable with looking at chart and seeing 6+ lines (3 ORBs + targets)
IF ALL CHECKED → YOU'RE READY TO SNIPE! 🎯
IF ANY UNCHECKED → KEEP PRACTICING, DON'T RUSH
```
---
## 💎 THE CORE PRINCIPLE
```
╔═══════════════════════════════════════════════════════════╗
║ ║
║ "The ORB doesn't predict the market. ║
║ The ORB reveals where institutions are positioned. ║
║ ║
║ When you see all 3 ORBs align and break, ║
║ you're not guessing direction— ║
║ you're following the billion-dollar order flow." ║
║ ║
║ THAT'S YOUR EDGE. ║
║ ║
╚═══════════════════════════════════════════════════════════╝
```
**🎯 Good luck, stay patient, and happy sniping! 🎯**
═══════════════════════════════════════════════════════════════════
END OF SNIPER ORB TRADING CHEAT SHEET v1.0
═══════════════════════════════════════════════════════════════════
SNIPER ORB v1# 🎯 SNIPER ORB TRADING CHEAT SHEET
## Quick Reference Guide for Live Trading
---
## 📊 VISUAL IDENTIFICATION GUIDE
```
═══════════════════════════════════════════════════════════════════
YOUR CHART AT A GLANCE
═══════════════════════════════════════════════════════════════════
🔵 BRIGHT BLUE LINES (3px) → 5min ORB High/Low
🔷 CYAN LINES (2px) → 15min ORB High/Low
🟣 PURPLE LINES (2px) → 30min ORB High/Low (PRIMARY)
🟢 GREEN DASHED LINES (1px) → Upside targets (1x, 2x, 3x from 30min ORB)
🔴 RED DASHED LINES (1px) → Downside targets (1x, 2x, 3x from 30min ORB)
🟡 GOLD LINE (2px) → Anchored VWAP (9:30 AM anchor for NY, 3:00 AM for London)
📋 INFO TABLE (top-right) → Shows live ORB ranges, VWAP price, status
═══════════════════════════════════════════════════════════════════
```
**KEY DIFFERENCE FROM OTHER ORB INDICATORS:**
- You see **ALL 3 ORB PERIODS SIMULTANEOUSLY** (5min, 15min, 30min)
- Targets calculated from **30min ORB ONLY** (not 5min or 15min)
- **NO BOX FILLS** - clean line-only display for sniper precision
- Auto-disappears at session end (no clutter from old sessions)
---
## ⏰ SESSION TIMING MATRIX
| Session | Start Time | 5min Complete | 15min Complete | 30min Complete | Session End |
|---------|-----------|---------------|----------------|----------------|-------------|
| **London** | 3:00 AM ET | 3:05 AM | 3:15 AM | 3:30 AM | 9:30 AM ET (disappears) |
| **New York** | 9:30 AM ET | 9:35 AM | 9:45 AM | 10:00 AM | 5:00 PM ET (disappears) |
**💡 GOLDEN RULES:**
1. **WAIT FOR 30MIN ORB TO COMPLETE** before trading targets (10:00 AM NY / 3:30 AM London)
2. Use 5min and 15min ORBs as **early warning signals** only
3. All ORB lines + VWAP **auto-delete** at session end (clean chart)
---
## 🎯 THE 3-ORB SYSTEM: HOW IT WORKS
### **Hierarchical ORB Structure**
```
TIME: 9:30 AM ─────────────────────────────────> 10:00 AM ──────> 5:00 PM
↓ ↓
SESSION START 30min ORB COMPLETE
(all 3 ORBs begin forming) (targets appear)
📍 5min ORB (9:30-9:35 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: EARLY breakout signal, fastest-moving boundary
📍 15min ORB (9:30-9:45 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: MID-TERM institutional reference level
📍 30min ORB (9:30-10:00 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: PRIMARY TRADING RANGE - all targets calculated from this
🎯 TARGETS (10:00 AM onward): ▪ ▪ ▪ ▪ ▪ (1x, 2x, 3x from 30min ORB)
Purpose: Profit-taking levels based on 30min range
```
**Why 3 ORBs Instead of 1?**
- **5min ORB**: Captures early institutional positioning (first 5 minutes)
- **15min ORB**: Confirms directional bias (more stable than 5min)
- **30min ORB**: Full market digestion of overnight news + opening orders
- **Confluence = Higher Win Rate**: When all 3 align, breakouts are extremely reliable
---
## 🎯 THE 5 HIGH-PROBABILITY SETUPS
### **SETUP #1: TRIPLE ORB BREAKOUT CONFLUENCE** ⭐⭐⭐⭐⭐
```
CONDITIONS:
✅ 30min ORB complete (10:00 AM NY / 3:30 AM London)
✅ Price breaks ALL 3 ORBs simultaneously:
• 5min high/low (blue line)
• 15min high/low (cyan line)
• 30min high/low (purple line)
✅ VWAP confirms direction (below price = bullish, above = bearish)
✅ Volume spike on breakout candle
ENTRY: Close of breakout candle (must close beyond ALL 3 ORBs)
STOP: Inside 30min ORB at 30m low (long) or 30m high (short)
TARGET 1: First green/red dashed line (0.5x 30m range)
TARGET 2: Second target (1x 30m range)
TARGET 3: Third target (1.5x 30m range)
WIN RATE: 75-85% | R:R = 1:2.5 minimum
NOTES: When all 3 ORBs align, institutional order flow is unanimous
```
---
### **SETUP #2: 5MIN EARLY BREAKOUT → 30MIN CONFIRMATION** ⭐⭐⭐⭐
```
CONDITIONS:
✅ Price breaks 5min ORB first (blue line crossed)
✅ 15min ORB holds initially (cyan line not crossed yet)
✅ After 30min ORB completes, price breaks 30min boundary (purple)
✅ VWAP alignment confirms direction
✅ All 3 ORBs now broken in same direction
ENTRY: When 30min ORB breaks (purple line) + 5min/15min already broken
STOP: 30min ORB opposite boundary
TARGET 1-3: Standard targets from 30min ORB
WIN RATE: 70-80% | R:R = 1:2+
NOTES: 5min gave early warning, 30min confirms institutional commitment
```
---
### **SETUP #3: FALSE 5MIN BREAKOUT → 30MIN REVERSAL** ⭐⭐⭐⭐⭐
```
CONDITIONS:
✅ Price breaks 5min ORB (blue line)
✅ Fails to break 15min or 30min ORBs (cyan/purple lines hold)
✅ Price reverses back inside 5min ORB
✅ Then breaks OPPOSITE side of 30min ORB (purple line)
✅ VWAP flips to confirm new direction
ENTRY: When 30min ORB breaks in OPPOSITE direction of failed 5min break
STOP: Failed 5min breakout high/low (now a liquidity grab zone)
TARGET 1-3: Standard targets
WIN RATE: 80-90% | R:R = 1:3+ (trapped traders forced to exit)
NOTES: Most profitable setup - 5min breakout was liquidity hunt
```
---
### **SETUP #4: TIGHT COMPRESSION → EXPLOSION** ⭐⭐⭐⭐
```
CONDITIONS:
✅ All 3 ORBs tightly overlapping (5m, 15m, 30m within 50 points on YM)
✅ Range < 0.3% of price (very tight consolidation)
✅ VWAP sitting in middle of compression
✅ 30min ORB complete, price still inside all 3
ENTRY: Simultaneous break of ALL 3 ORBs + VWAP cross
STOP: Middle of compression zone
TARGET: 2x-4x normal targets (volatility expansion)
WIN RATE: 65-75% | R:R = 1:5+ (explosive breakout)
NOTES: Low volatility → high volatility shift, institutions coiling spring
```
---
### **SETUP #5: VWAP BOUNCE WITHIN 30MIN ORB** ⭐⭐⭐⭐
```
CONDITIONS:
✅ Price stayed inside 30min ORB for 1+ hours post-formation
✅ VWAP acting as dynamic support (long) or resistance (short)
✅ Price bouncing between VWAP and 30min ORB boundaries
✅ Clear rejection candles at VWAP
ENTRY: When price bounces off VWAP toward 30min ORB boundary
• Long: VWAP bounce up toward 30m high (purple)
• Short: VWAP rejection down toward 30m low (purple)
STOP: Beyond VWAP by 20 points
TARGET: 30min ORB opposite boundary
WIN RATE: 70-80% | R:R = 1:1.5-2
NOTES: Range-bound play, NOT for breakout traders
```
---
## 🛡️ RISK MANAGEMENT RULES
### **Position Sizing by ORB Range**
```
30min ORB Range | Stop Distance | Risk $500 (1%) | YM Contracts
-----------------|------------------|-----------------|-------------
< 50 points | 50 pts | $500 ÷ $250 = | 2 contracts
50-100 points | 100 pts | $500 ÷ $500 = | 1 contract
100-150 points | 150 pts | $500 ÷ $750 = | 0.66 (use 1)
150-200 points | 200 pts | $500 ÷ $1000 = | 0.5 (use 1)
> 200 points | Don't trade | Too wide | Skip setup
Formula: Risk $ ÷ (Stop Distance × $5 per YM point) = Max Contracts
```
### **The 3-Strike Rule (MANDATORY)**
```
✅ Trade 1: Full position size (based on 30m ORB range)
❌ Stop hit → Trade 2: HALF position size
❌ Stop hit → Trade 3: QUARTER position size
❌ Stop hit → DONE FOR THE DAY (no exceptions)
```
### **Profit Taking Ladder**
```
TARGET 1 (0.5x 30m range): Take 50% off, move stop to breakeven
TARGET 2 (1.0x 30m range): Take 30% off, trail stop by 25 points
TARGET 3 (1.5x 30m range): Take 15% off, let 5% run with 50pt trail
```
---
## ⚠️ DO NOT TRADE IF...
```
🚫 30min ORB incomplete (< 10:00 AM NY / < 3:30 AM London)
🚫 30min ORB range < 40 points YM (too tight, likely chop)
🚫 30min ORB range > 250 points YM (too wide, unpredictable)
🚫 All 3 ORBs wildly divergent (5m=100pts, 15m=180pts, 30m=240pts)
🚫 Major news release within 30 minutes (wait for ORB to reform)
🚫 You've hit 3 losses in the session (3-strike rule)
🚫 You're tired, emotional, revenge trading, or distracted
🚫 Time > 12:00 PM ET (lunch, avoid until 1:00 PM)
🚫 Time > 3:00 PM ET unless Power Hour (3:00-4:00 PM) momentum
```
---
## 🔍 PRE-SESSION CHECKLIST
**15 Minutes Before London (2:45 AM ET) or NY (9:15 AM ET):**
```
□ Check economic calendar (FOMC? NFP? CPI? → extra caution)
□ Review previous session's ORB ranges (context for today's volatility)
□ Load SNIPER ORB on 1min or 5min chart
□ Select correct session: "London" or "New York"
□ Verify indicator settings:
• Number of Targets: 3
• Target % of 30min Range: 50%
• Show Anchored VWAP: ON
□ Set TradingView alerts:
• 30min ORB complete (10:00 AM or 3:30 AM)
• Price crossing 30min high/low
• VWAP crosses
□ Prepare bracket orders mentally (entry, stop, 3 targets)
□ Review yesterday's P&L and lessons learned
□ Set phone to "Do Not Disturb" mode
```
---
## 🎨 INDICATOR SETTINGS GUIDE
### **Color Customization (Optimized for Dark Charts)**
```
DEFAULT COLORS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5min ORB: Bright Blue (#2196F3) - 3px wide
15min ORB: Cyan (#00BCD4) - 2px wide
30min ORB: Purple (#9C27B0) - 2px wide
Upside Targets: Green (#4CAF50) - 1px dashed
Downside Targets: Red (#F44336) - 1px dashed
VWAP: Gold (#FFC107) - 2px solid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THESE COLORS?
• Blue family (5m/15m) = short-term, high-frequency
• Purple (30m) = primary, institutional level
• Green/Red = universal up/down
• Gold VWAP = fair value anchor (stands out)
```
### **Settings by Trading Style**
**SCALPER (5-15 min holds):**
```
Number of Targets: 5
Target % of 30min Range: 30-40%
Label Size: Tiny
Chart Timeframe: 1-minute
```
**DAY TRADER (30-90 min holds):**
```
Number of Targets: 3
Target % of 30min Range: 50%
Label Size: Small
Chart Timeframe: 5-minute
```
**SWING TRADER (2-4 hour holds):**
```
Number of Targets: 2-3
Target % of 30min Range: 75-100%
Label Size: Normal
Chart Timeframe: 15-minute
```
---
## 📈 TIMEFRAME SELECTION GUIDE
| Your Timeframe | What You See | Best For |
|---------------|--------------|----------|
| **1-minute** | Every tick, high noise | Scalping, precision entries |
| **5-minute** | Balanced clarity | Day trading (RECOMMENDED) |
| **15-minute** | Clean structure | Swing positions |
| **30-minute** | Too compressed | Not recommended (can't see ORB form) |
**💡 PRO TIP:**
- **Primary chart: 5-minute** (for entries and monitoring)
- **Secondary chart: 1-minute** (for precise timing)
- **Never go above 15-minute** (ORBs won't form properly)
---
## 🧠 READING THE 3-ORB STRUCTURE
### **Bullish Alignment Patterns**
```
PATTERN 1: "Staircase Expansion"
5min: ━━━━ (tight, 60 pts)
15min: ━━━━━━ (wider, 90 pts)
30min: ━━━━━━━━ (widest, 120 pts)
→ Bullish expansion, expect upside breakout
PATTERN 2: "Nested Compression"
5min: ━━ (30 pts)
15min: ━━━ (35 pts)
30min: ━━━━ (40 pts)
→ All tight, explosive breakout likely
PATTERN 3: "Early Commitment"
5min: ━━━━━━ (100 pts, already broken up)
15min: ━━━━━ (80 pts, holding)
30min: ━━━━━ (110 pts, about to break)
→ 5min led the way, 30min confirmation coming
```
### **Bearish Alignment Patterns**
```
PATTERN 1: "Waterfall Setup"
5min: ━━━━ (50 pts, broke down)
15min: ━━━━━ (70 pts, broke down)
30min: ━━━━━━ (90 pts, about to break)
→ Sequential breakdown, strong bearish momentum
PATTERN 2: "Failed Highs"
5min: ━━━━━━ (upper wick rejections)
15min: ━━━━━━ (couldn't break)
30min: ━━━━━━━ (topped out)
→ All 3 rejecting highs, bearish reversal likely
```
### **Neutral/Chop Patterns (AVOID TRADING)**
```
PATTERN 1: "Wide Divergence"
5min: ━━ (30 pts)
15min: ━━━━━━━ (120 pts)
30min: ━━━━━━━━━━━ (200 pts)
→ No consensus, unpredictable, skip
PATTERN 2: "Whipsaw City"
• Price breaking 5min up, then down, then up again
• 15min and 30min not aligned
• VWAP getting crossed every 5 minutes
→ Chop day, step aside, wait for clarity
```
---
## 📊 INTEGRATION WITH YM ULTIMATE SNIPER v8.1
**The 2-System Confluence Method:**
```
┌─────────────────────────────────────────────────────────────┐
│ STEP 1: SNIPER ORB → Defines "Zones That Matter" │
│ • 30min ORB = primary institutional range │
│ • VWAP = fair value anchor │
│ • Targets = profit zones │
│ • 5min/15min = early warning signals │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ STEP 2: YM ULTIMATE SNIPER → Triggers precise entry │
│ • Wait for GOD MODE signal AT 30min ORB boundary │
│ • 6-gate filter: Score ≥9, fat body ≥70%, delta ≥70% │
│ • Candle Dominance Index (CDI) ≥7 │
│ • Intrabar pressure consistent throughout formation │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ STEP 3: EXECUTE TRADE │
│ • ORB breakout + GOD MODE = MAXIMUM PROBABILITY │
│ • Enter ONLY when BOTH systems align │
│ • This is TRUE "sniper" trading (2-5 trades/day max) │
└─────────────────────────────────────────────────────────────┘
```
**Confluence Scoring for Combined System:**
```
SNIPER ORB Criteria:
□ 30min ORB complete (10:00 AM+) +2 points
□ All 3 ORBs broken in same direction +2 points
□ VWAP alignment (below=bull, above=bear) +1 point
□ Volume spike on breakout candle +1 point
□ Tight 3-ORB compression (<100pt divergence) +1 point
YM ULTIMATE SNIPER Criteria:
□ GOD MODE signal at ORB boundary +3 points
□ Score ≥9.0 (tier classification) +1 point
□ Candle Dominance Index (CDI) ≥8 +1 point
TOTAL POSSIBLE: 12 points
TRADE EXECUTION RULES:
• 10-12 points = MAX SIZE (this is the holy grail setup)
• 8-9 points = FULL SIZE (high probability)
• 6-7 points = HALF SIZE (moderate probability)
• <6 points = NO TRADE (wait for better alignment)
```
---
## 💡 COMMON MISTAKES & FIXES
```
❌ MISTAKE: Trading before 30min ORB completes
✅ FIX: Wait until 10:00 AM (NY) or 3:30 AM (London), NO EXCEPTIONS
❌ MISTAKE: Ignoring 5min and 15min ORBs (only watching 30min)
✅ FIX: Use all 3 for confluence - they're your early warning system
❌ MISTAKE: Chasing breakouts 100+ points beyond 30min ORB
✅ FIX: Wait for pullback to VWAP or 30min boundary for re-entry
❌ MISTAKE: Not adjusting target % for market conditions
✅ FIX: Volatile day (ORB >200pts)? Use 75-100% targets
Calm day (ORB <80pts)? Use 30-40% targets
❌ MISTAKE: Trading when all 3 ORBs are wildly different sizes
✅ FIX: Skip the day if 5m/15m/30m diverge by >100pts - no consensus
❌ MISTAKE: Forgetting VWAP position
✅ FIX: VWAP MUST confirm bias:
• Long: price > VWAP
• Short: price < VWAP
• If VWAP contradicts, skip the trade
❌ MISTAKE: Not respecting the 3-strike rule
✅ FIX: 3 losses = DONE for the session, no rationalization
❌ MISTAKE: Trading during lunch (12:00-1:00 PM ET)
✅ FIX: Volume dies, ORBs lose relevance, false signals increase
```
---
## 🔔 ALERT SETUP (ESSENTIAL)
**TradingView Alerts You MUST Set:**
```
ALERT 1: "30min ORB Complete"
• Type: Time-based
• Trigger: 10:00 AM ET (NY) or 3:30 AM ET (London)
• Message: "🎯 30min ORB complete - targets now active"
ALERT 2: "30min ORB High Breakout"
• Type: Crossing Up
• Value 1: Close
• Value 2: 30min ORB High (purple line)
• Message: "🚀 30m ORB HIGH broken - check for long setup"
ALERT 3: "30min ORB Low Breakdown"
• Type: Crossing Down
• Value 1: Close
• Value 2: 30min ORB Low (purple line)
• Message: "📉 30m ORB LOW broken - check for short setup"
ALERT 4: "VWAP Cross"
• Type: Crossing
• Value 1: Close
• Value 2: VWAP
• Message: "⚡ VWAP crossed - check institutional bias shift"
ALERT 5: "Target 1 Hit"
• Type: Crossing
• Value 1: High (for longs) or Low (for shorts)
• Value 2: First target line
• Message: "🎯 Target 1 hit - take 50% off, move stop to BE"
```
---
## 📱 MOBILE TRADING WORKFLOW
**TradingView Mobile App Setup:**
```
1. SAVE LAYOUT
• Chart: 5-minute timeframe
• SNIPER ORB indicator loaded
• YM Ultimate SNIPER v8.1 loaded (if using)
• Save as "SNIPER ORB - YM"
2. ENABLE NOTIFICATIONS
• Settings → Notifications → Push Alerts: ON
• All 5 alerts above configured
3. QUICK ACCESS
• Add YM futures to Watchlist: "MYM" or "YM1!"
• Pin SNIPER ORB layout to favorites
4. EXECUTION READY
• Broker app (TastyTrade, NinjaTrader, etc.) logged in
• Preset bracket orders:
- Entry: market order
- Stop: 30m ORB opposite boundary
- Targets: 3 levels (50%, 30%, 20% of position)
5. BATTERY & CONNECTIVITY
• Phone charged 100% before session
• Stable WiFi or LTE connection
• Backup power bank available
```
---
## 🎓 DAILY PERFORMANCE JOURNAL
**After Each Trading Session (MANDATORY):**
```
═══════════════════════════════════════════════════════════════
DATE: __________ SESSION: □ London □ New York
═══════════════════════════════════════════════════════════════
ORB DATA:
• 5min ORB Range: ______ points
• 15min ORB Range: ______ points
• 30min ORB Range: ______ points
• Alignment: □ Tight □ Moderate □ Wide (skip if wide)
VWAP BEHAVIOR:
• Opening position: □ Above price □ Below price □ Mixed
• Did VWAP act as support/resistance? □ Yes □ No
TRADES TAKEN:
Total Setups Identified: _____
Trades Executed: _____
Win/Loss Record: _____ W / _____ L
Win Rate: _____%
Gross P&L: $_______
Net P&L (after commissions): $_______
BEST TRADE:
• Setup: ____________________ (which of the 5 setups?)
• Entry Price: ______ Exit Price: ______
• Profit: $_______
• What went RIGHT: _________________________________
_________________________________________________
WORST TRADE:
• Setup: ____________________
• Entry Price: ______ Exit Price: ______
• Loss: $_______
• What went WRONG: _________________________________
_________________________________________________
• Lesson Learned: ___________________________________
3-STRIKE RULE STATUS:
□ No losses (great day)
□ 1 loss (still in game)
□ 2 losses (caution, half size)
□ 3 losses (stopped for day, as required)
TOMORROW'S ADJUSTMENTS:
□ _________________________________________________
□ _________________________________________________
□ _________________________________________________
EMOTIONAL STATE TODAY:
□ Calm & focused (optimal)
□ Anxious/rushed (need to work on patience)
□ Overconfident (dial back position size)
□ Fearful (review winning trades to build confidence)
═══════════════════════════════════════════════════════════════
```
---
## 🚀 YOUR FIRST LIVE TRADE WALKTHROUGH
**Step-by-Step for New York Session (Most Common):**
```
⏰ 9:15 AM ET - PREPARATION
□ Load SNIPER ORB on YM 5-minute chart
□ Select "New York" session in indicator settings
□ Verify VWAP is showing (gold line)
□ Check economic calendar (any big news at 9:30?)
□ Prepare mentally: "I will wait for 30min ORB to complete"
⏰ 9:30 AM ET - SESSION OPENS
□ Watch 3 ORBs begin forming:
• Blue lines (5min) will lock in at 9:35 AM
• Cyan lines (15min) will lock in at 9:45 AM
• Purple lines (30min) will lock in at 10:00 AM
□ Observe VWAP anchoring at 9:30 AM candle
□ DO NOT TRADE YET - just observe
⏰ 9:35 AM - 5MIN ORB COMPLETE
□ Note 5min high/low (blue lines locked)
□ Check info table: "5m Range = XX points"
□ If 5min ORB breaks early, note direction but DON'T ENTER
⏰ 9:45 AM - 15MIN ORB COMPLETE
□ Note 15min high/low (cyan lines locked)
□ Compare to 5min ORB: Aligned? Expanding?
□ Still waiting... patience pays
⏰ 10:00 AM - 30MIN ORB COMPLETE (TARGETS APPEAR!)
□ Purple lines locked (30m high/low)
□ Green/red dashed target lines appear automatically
□ Info table shows "Status: ✓ Complete"
□ NOW you can trade breakouts
⏰ 10:00 AM - 11:30 AM - TRADING WINDOW
□ Wait for price to break purple line (30m ORB high or low)
□ Confirm:
1. All 3 ORBs broken in same direction?
2. VWAP confirming (below=bullish, above=bearish)?
3. Volume spike visible?
4. YM SNIPER GOD MODE signal? (if using)
□ If all YES → ENTER TRADE:
• Market order at breakout close
• Stop at 30m ORB opposite boundary
• Targets at green/red dashed lines
⏰ TARGET MANAGEMENT
□ Price hits first target (1x) → Take 50% off, move stop to BE
□ Price hits second target (2x) → Take 30% off, trail stop
□ Price hits third target (3x) → Take 15% off, let 5% run
⏰ 12:00 PM - LUNCH (AVOID TRADING)
□ Volume dies down
□ ORBs become less relevant
□ Take a break, review morning trades
⏰ 1:00 PM - 3:00 PM - AFTERNOON SESSION
□ ORBs still valid but less reliable
□ Consider waiting for Power Hour (3:00-4:00 PM)
⏰ 5:00 PM - SESSION END
□ All ORB lines disappear automatically
□ VWAP disappears automatically
□ Chart cleans itself - ready for tomorrow
□ Fill out daily journal
```
---
## 🏆 WINNING MINDSET AFFIRMATIONS
Read these BEFORE each trading session:
```
"I trade ORBs, not chaos. Structure gives me edge."
"3 high-quality trades beat 20 mediocre ones."
"The 30min ORB is my anchor. I wait for it. Every. Single. Time."
"When all 3 ORBs align, institutions are unified. I follow."
"VWAP is my institutional compass. I respect its guidance."
"3 strikes and I'm out. Discipline > Ego."
"I am a SNIPER, not a machine gunner. Precision wins."
"My edge is patience. Let the ORBs complete."
"I don't predict. I react to proven structure."
"One perfect setup is worth waiting all morning."
```
---
## 📞 TROUBLESHOOTING
**"ORB lines not showing on chart!"**
→ Check timeframe: Must be 1min-30min (not daily/weekly)
→ Verify session time: Must be during London (3AM-9:30AM) or NY (9:30AM-5PM)
→ Check indicator status: Should say "⏳ Forming" or "✓ Complete" in table
**"Targets not appearing!"**
→ 30min ORB must be complete (10:00 AM NY / 3:30 AM London)
→ Check "Number of Targets" setting (must be ≥1)
→ Verify "Target % of 30min Range" is set (default 50%)
**"VWAP disappeared!"**
→ Normal behavior: VWAP auto-deletes at session end (5PM NY / 9:30AM London)
→ Toggle "Show Anchored VWAP" OFF then ON to reset
→ Check if you're viewing chart outside session hours
**"All 3 ORBs look the same!"**
→ This is actually GOOD - means tight alignment (high-probability setup)
→ If they're diverging wildly (>100pts difference), that's a skip signal
**"Info table blocking my view!"**
→ Info table is in top-right corner by default
→ Drag it to a different position (TradingView allows moving)
→ Or minimize it by clicking the small arrow
**"Colors are hard to see on my chart!"**
→ Go to indicator settings:
• "5min ORB", "15min ORB", "30min ORB" color pickers
• "Upside Targets", "Downside Targets" color pickers
• Recommended: Use contrasting colors vs your chart background
---
## 📚 ADVANCED INTEGRATION TECHNIQUES
### **Combining with Market Profile**
```
• Use Volume Profile to identify Value Area High (VAH) and Low (VAL)
• If 30min ORB aligns with VAH/VAL → extra confluence
• POC (Point of Control) acts similar to VWAP
```
### **Combining with Cumulative Delta**
```
• Check if delta is positive on 30min ORB high break (bullish confirmation)
• Negative delta on low break confirms bearish institutional flow
• Your YM SNIPER already tracks this - use together!
```
### **Combining with Options Flow**
```
• Large call buying near 30min ORB high? Institutions positioning for breakout
• Large put buying near 30min ORB low? Smart money hedging/shorting
• Tools: Unusual Whales, Cheddar Flow, OptionStrat
```
---
## 🎯 FINAL PRE-LIVE CHECKLIST
**DO NOT GO LIVE UNTIL ALL CHECKED:**
```
□ Practiced on TradingView Replay for 2+ weeks
□ Can identify all 5 setups by pattern recognition
□ Understand why targets come from 30min ORB only
□ Know difference between 5min/15min/30min roles
□ Risk management rules memorized (position sizing, 3-strike)
□ YM Ultimate SNIPER v8.1 loaded (optional but recommended)
□ All 5 TradingView alerts configured
□ Broker platform tested with demo account
□ Stop/target orders can be placed in <10 seconds
□ Daily journal template prepared
□ Emotional state: calm, patient, focused
□ Account size: Minimum $10,000 recommended
□ Understand auto-disappear behavior (ORBs delete at session end)
□ Know NOT to trade before 30min ORB complete
□ Comfortable with looking at chart and seeing 6+ lines (3 ORBs + targets)
IF ALL CHECKED → YOU'RE READY TO SNIPE! 🎯
IF ANY UNCHECKED → KEEP PRACTICING, DON'T RUSH
```
---
## 💎 THE CORE PRINCIPLE
```
╔═══════════════════════════════════════════════════════════╗
║ ║
║ "The ORB doesn't predict the market. ║
║ The ORB reveals where institutions are positioned. ║
║ ║
║ When you see all 3 ORBs align and break, ║
║ you're not guessing direction— ║
║ you're following the billion-dollar order flow." ║
║ ║
║ THAT'S YOUR EDGE. ║
║ ║
╚═══════════════════════════════════════════════════════════╝
```
**🎯 Good luck, stay patient, and happy sniping! 🎯**
═══════════════════════════════════════════════════════════════════
END OF SNIPER ORB TRADING CHEAT SHEET v1.0
═══════════════════════════════════════════════════════════════════
Custom RSI & Volume Condition//@version=5
indicator("Custom RSI & Volume Condition", overlay=true)
// دوال مساعدة
crossUp(src, level) =>
ta.crossover(src, level)
riseByPercent(src, percent, bars) =>
src > src * (1 + percent/100)
// حساب RSI
rsi = ta.rsi(close, 14)
// الشرط الأول: اختراق RSI لمستوى 45 أو 50
cond1 = crossUp(rsi, 45) or crossUp(rsi, 50)
// الشرط الثاني: RSI > 50 مع اختراق مستوى 55 أو 60
cond2 = (rsi > 50 and crossUp(rsi, 55)) or (rsi > 50 and crossUp(rsi, 60))
// الشرط الثالث: ارتفاع السعر بنسبة 2% مقارنة بالشمعة السابقة
cond3 = riseByPercent(close, 2, 1)
// الشرط الرابع: حجم التداول أكبر من حجم الشمعة السابقة
cond4 = volume > volume
// التجميع النهائي
signal = (cond1 or cond2) and cond3 and cond4
// عرض إشارة على الرسم
plotshape(signal, title="Buy Signal", style=shape.labelup, color=color.green, text="BUY")
RV − IV Spread Alert (SPY vs VIX)Realized vs Implied Volatility Spread (RV − IV) for the S&P 500 / SPY.
Plots the daily difference between 30-day realized volatility (SPY) and implied volatility (VIX) in basis points.
Key insight from the research: when the spread turns and stays above ≈ +50 bps, forward returns historically degrade and volatility of returns rises sharply — a useful early-warning regime flag.
Features:
- Clean daily plot of RV − IV in bps
- Horizontal lines at 0, −50 bps and +50 bps
- Red background when spread > +50 bps
- Built-in alert condition that fires once per bar close when spread closes above +50 bps
- Optional “all-clear” alert when it drops back below
Use on SPY or ES1! daily chart. Perfect for anyone wanting a simple notification when the market enters the “risk-on” volatility regime highlighted by Machina Quanta and the original Bali & Hovakimian (2007) paper.
Luxy VWAP Magic - MTF Projection EngineThis indicator transforms the classic VWAP into a comprehensive trading system. Instead of switching between multiple indicators, you get everything in one place: multi-timeframe analysis, statistical bands, momentum detection, volume profiling, session tracking, and divergence signals.
What Makes This Different
Traditional VWAP indicators show a single line. This tool treats VWAP as a foundation for complete market analysis. The indicator automatically detects your asset type (stocks, crypto, forex, futures) and adjusts its behavior accordingly. Crypto traders get 24/7 session tracking. Stock traders get proper market hours handling. Everyone gets institutional-grade analytics.
Anchor Period Options
The anchor period determines when VWAP resets and recalculates. You have three categories of options:
Time-Based Anchors:
Session - Resets at market open. Best for intraday stock trading where you want fresh VWAP each day.
Day - Resets at midnight UTC. Standard option for most traders.
Week / Month / Quarter / Year - Longer reset periods for swing traders and position traders who want broader context.
Rolling Window Anchors:
Rolling 5D - A sliding 5-day window that never resets. Solves the Monday problem where weekly VWAP equals daily VWAP on first day of week.
Rolling 21D - Approximately one month of trading data in continuous calculation. Excellent for crypto and forex markets that trade 24/7 without clear session breaks.
Event-Based Anchors:
Dividends - Resets on ex-dividend dates. Track institutional cost basis from dividend events.
Splits - Resets on stock split dates. Useful for analyzing post-split trading behavior.
Earnings - Resets on earnings report dates. See where volume-weighted trading occurred since last quarterly report.
Standard Deviation Bands
Three sets of bands surround the main VWAP line:
Band 1 (Aqua) - Plus and minus one standard deviation. Approximately 68% of price action occurs within this range under normal distribution. Touches suggest minor extension.
Band 2 (Fuchsia) - Plus and minus two standard deviations. Only 5% of trading should occur outside this range statistically. Touches here indicate significant overextension and high probability of mean reversion.
Band 3 (Purple) - Plus and minus three standard deviations. Touches are rare (0.3% probability) and represent extreme conditions. Often marks climax moves or panic selling/buying.
Each band can be toggled independently. Most traders show Band 1 by default and add Band 2 and 3 for specific setups or volatile instruments.
Multi-Timeframe VWAP System
The MTF section plots previous period VWAPs as horizontal support and resistance levels:
Daily VWAP - Previous day's final VWAP value. Key intraday reference level.
Weekly VWAP - Previous week's final VWAP. Important for swing traders.
Monthly VWAP - Previous month's final VWAP. Institutional benchmark level.
Quarterly VWAP - Previous quarter's final VWAP. Major support/resistance for position traders.
Previous Day VWAP - Yesterday's closing VWAP specifically, separate from current daily calculation.
The Confluence Zone percentage setting determines how close multiple VWAPs must be to trigger a confluence alert. When two or more timeframe VWAPs converge within this threshold, you get a high-probability support/resistance zone.
Session VWAPs for Global Markets
For forex, crypto, and futures traders who operate in 24/7 markets, the indicator tracks three major global sessions:
Asia Session - UTC 21:00 to 08:00. Gold colored line. Typically lower volatility, range-bound action that sets overnight levels.
London Session - UTC 08:00 to 17:00. Orange colored line. Often determines daily direction with high volume European participation.
New York Session - UTC 13:00 to 22:00. Blue colored line. Highest volume session globally. Sharp directional moves common.
Previous session VWAP values display as horizontal lines when each session closes, acting as intraday support and resistance. The table shows which sessions are currently active with checkmarks.
On-Chart Labels and Signals
The indicator plots several types of labels directly on price action when significant events occur:
Volume Spike Labels
Fire when current bar volume exceeds configurable thresholds relative to both the previous bar and the 20-bar average. Default settings require 300% of previous bar AND 200% of average volume. Green labels indicate bullish candles. Red labels indicate bearish candles. These spikes often mark institutional entry points.
Momentum Shift Labels
Appear when VWAP acceleration changes direction. The Slowing label warns when an active trend loses steam, often preceding reversal. The Accelerating label confirms trend continuation or potential bottom during downtrends. Filters available to show only reversal signals in existing trends.
VWAP Squeeze Labels
Detect when standard deviation bands contract relative to ATR (Average True Range). Low volatility compression often precedes explosive breakout moves. When the squeeze fires (releases), a label appears with directional prediction based on VWAP slope.
Divergence Labels
Mark price/volume divergences using CVD (Cumulative Volume Delta) analysis:
Bullish divergence: Price makes lower low, but CVD makes higher low. Hidden accumulation despite price weakness.
Bearish divergence: Price makes higher high, but CVD makes lower high. Hidden distribution despite price strength.
Dynamic VWAP Coloring
The main VWAP line changes color based on its slope direction:
Green - VWAP is rising. Institutional buying pressure. Volume-weighted price increasing.
Red - VWAP is falling. Institutional selling pressure. Volume-weighted price decreasing.
Gray - VWAP is flat. Consolidation or balance between buyers and sellers.
This coloring can be disabled for a static blue line if you prefer cleaner visuals. The VWAP label next to the line shows the current trend direction and delta percentage.
Calculated Projection Cone
One of the most powerful features is the Calculated Projection Cone. Unlike traditional extrapolation methods that simply extend a trend line forward, this system analyzes what actually happened in similar market conditions throughout the chart's history.
How It Works:
The system classifies each bar into one of 27 unique market states:
Z-Score Level - LOW (oversold), MID (fair value), or HIGH (overbought) based on configurable thresholds
Trend Direction - DOWN, FLAT, or UP based on VWAP slope
Volume Profile - LOW (below 80%), NORMAL (80-150%), or HIGH (above 150%) relative volume
When you look at the current bar, the indicator:
1. Identifies the current market state (e.g., LOW Z-Score + UP Trend + HIGH Volume)
2. Searches through all historical bars on the chart that had the same state
3. Calculates what happened in those bars X bars later (where X is your projection horizon)
4. Shows you the probability of up/down and the average move size
Visual Elements:
Probability Cone - Colored green (bullish probability above 55%), red (bearish below 45%), or gold (neutral). The cone width represents the historical range of outcomes (roughly the 20th to 80th percentile).
Center Line - Shows the average expected price based on historical outcomes in similar conditions.
Probability Label - Displays direction probability and average move. Example: "67% UP (+0.8%)" means 67% of similar past cases moved up, averaging 0.8% gain.
Fallback System:
When the exact 27-state match has insufficient historical data:
First fallback: Uses Z-Score plus Trend only (9 broader states, ignoring volume)
Second fallback: Uses Z-Score only (3 states)
When fallback is active, confidence automatically adjusts
Settings:
Projection Horizon - How many bars forward to analyze outcomes (5, 10, 15, or 20 bars, default 10)
Lookback Period - Historical data window in days (30-252, default 60)
Minimum Samples - Cases needed before using fallback (5-30, default 10)
Z-Score Threshold - Bucket boundary for LOW/MID/HIGH classification (1.0, 1.5, or 2.0 sigma)
Cloud Transparency - Adjust visibility (50-95%)
Colors - Customize bullish, bearish, and neutral cone colors
Confidence Levels:
HIGH - 30 or more similar historical cases found
MEDIUM - 15-29 similar cases
LOW - Fewer than 15 cases (more uncertainty)
IMPORTANT DISCLAIMER:
The Calculated Projection is based on past patterns only. It is NOT a price prediction or financial advice. Similar market states in the past do not guarantee similar outcomes in the future. The probability shown is historical frequency, not a guarantee. Always combine with other analysis and never rely solely on projections for trading decisions.
Alert Conditions
The indicator includes over 20 pre-built alert conditions:
Price vs VWAP:
Price crosses above VWAP
Price crosses below VWAP
Band Touches:
Price touches plus or minus one sigma band
Price touches plus or minus two sigma band (extreme)
Price touches plus or minus three sigma band (very extreme)
Z-Score Extremes:
Z-Score crosses above plus two (overbought extreme)
Z-Score crosses below minus two (oversold extreme)
Momentum and Trend:
Momentum slowing
Momentum accelerating
Trend turns bullish/bearish/neutral
Volume:
Volume spike detected
CVD Direction:
Buyers take control
Sellers take control
High Probability Signals:
Bullish reversal signal (oversold plus accelerating momentum)
Bearish reversal signal (overbought plus slowing momentum)
MTF and Special:
MTF confluence zone entry
VWAP squeeze fired
Bullish/Bearish divergence detected
Any significant signal (catch-all)
All signals use confirmed bar data to prevent false alerts from incomplete candles.
Settings Overview
Settings are organized into logical groups:
VWAP Settings
Anchor Period selection
Show/Hide VWAP line
Dynamic coloring toggle
VWAP label visibility
Bands Visibility
Toggle each of three bands independently
Info Table
Show/Hide table
Table position (9 options)
Text size
Volume spike label settings with adjustable thresholds
Momentum label settings with filters
Signal labels limited to 5 most recent (auto-managed)
Probability engine lookback period
Multi-Timeframe VWAP
Enable/Disable MTF system
Show MTF in table
Show MTF lines on chart
Individual timeframe toggles
Confluence zone threshold
Squeeze detection toggle
Session VWAPs
Enable/Disable session tracking
Apply to all assets option
Show session labels
Divergence Detection
Enable/Disable divergence
Pivot lookback period
Show divergence labels
Calculated Projection
Enable/Disable projection cone
Projection horizon (5, 10, 15, or 20 bars)
Lookback period in days (30-252)
Minimum samples threshold
Z-Score classification threshold (1.0, 1.5, or 2.0 sigma)
Cloud transparency adjustment
Bullish, bearish, and neutral colors
The Info Table - Your Trading Dashboard
The right side of your chart displays a compact table with up to twelve metrics.
Row-by-Row Breakdown:
Asset and Period - Shows what the indicator detected (US Stock, Crypto, Forex, etc.) and your selected anchor period. The detection happens automatically based on exchange data, so VWAP resets and calculations match your actual trading instrument.
Delta Percentage - How far current price sits from VWAP, expressed as a percentage. Positive means price trades above fair value. Negative means below. Large delta values (beyond 1-2%) often precede mean reversion moves. Day traders watch this for overextension.
Z-Score - Statistical deviation from VWAP measured in standard deviations. Unlike raw delta, Z-Score accounts for volatility. A 2% move in a volatile biotech stock differs from 2% in a stable utility. Z-Score normalizes this. Values beyond plus or minus two sigma occur only 5% of the time statistically.
Trend Direction - Whether VWAP itself is rising, falling, or flat. Rising VWAP means the volume-weighted average price is increasing, which indicates institutional accumulation. Falling VWAP suggests distribution. This differs from price trend since it weights by volume.
Momentum State - Is the trend accelerating or slowing down? This measures the rate of change in VWAP slope. When an uptrend shows slowing momentum, it often precedes reversal. Accelerating momentum in a downtrend can signal capitulation and potential bottom.
Relative Volume - Current bar volume compared to the 20-bar average, shown as percentage. Values above 150% indicate above-average activity. Spikes above 200-300% often mark institutional involvement. Low volume (below 80%) warns of potential fake moves.
MTF Bias - Four checkmarks or X marks showing whether price sits above or below Daily, Weekly, Monthly, and Quarterly VWAP. Four checkmarks means strong bullish alignment across all timeframes. Four X marks indicates bearish alignment. Mixed readings suggest consolidation or transition.
Band Probabilities - Historical statistics showing how often price touched each standard deviation band over your lookback period. This helps you understand if mean reversion or trend following works better for your specific instrument.
Session Status - Which global trading sessions are currently active (Asia, London, New York). Shows checkmarks for active sessions. Important for forex and crypto traders who need to know when major liquidity windows open and close.
Divergence State - Whether the indicator detects bullish or bearish divergence between price and cumulative volume delta. Bullish divergence occurs when price makes lower lows but buying pressure (CVD) makes higher lows, suggesting hidden accumulation.
Confidence Score - A weighted composite of all factors displayed as a progress bar and percentage. Combines MTF alignment, Z-Score, trend direction, volume delta, momentum, and relative volume into a single 0-100 score. Higher scores indicate stronger conviction setups.
Calculated Projection - When the Projection Cone is enabled, shows the historical probability of price direction and expected move. For example: "▲ 67% (+0.8%)" means in similar market states historically, price moved up 67% of the time with an average gain of 0.8%. The system analyzes 27 unique market states based on Z-Score, Trend, and Volume conditions.
Recommended Use Cases
Day Trading Stocks:
Use Session anchor with Band 1 visible. Watch for price returning to VWAP after morning move. Volume spikes near VWAP often mark institutional accumulation zones.
Swing Trading:
Use Weekly or Rolling 21D anchor. Enable MTF lines for Daily and Weekly levels. Trade pullbacks to these levels in direction of MTF bias.
Crypto and Forex:
Enable Session VWAPs. Use Rolling anchors to avoid artificial resets. Monitor session transitions for breakout opportunities.
Mean Reversion:
Focus on Z-Score reaching plus or minus two. Add Band 2 visibility. Combine with slowing momentum for highest probability reversals.
Trend Following:
Watch MTF bias alignment. Four checkmarks plus accelerating momentum plus high volume confirms trend continuation setups.
Projection Planning:
Enable the Calculated Projection to see what happened historically in similar market conditions. Use 5-10 bars for intraday setups, 15-20 bars for swing trade planning. Focus on high probability readings (above 60%) with HIGH confidence (30 or more samples). The cone shows the probable range of outcomes based on actual historical data. Combine with other factors like MTF alignment and volume for higher conviction setups.
Important Notes
The indicator does not repaint. MTF values use previous period's confirmed data.
Rolling VWAP works best on 15-minute timeframes and above due to bar lookback requirements.
Session VWAPs apply to global markets by default (forex, crypto, futures). Enable the all-assets option for stocks if desired.
Volume data for forex represents tick volume, not actual traded volume.
All alert conditions fire only on confirmed (closed) bars to prevent false signals.
The Calculated Projection updates each bar as market state changes. This is expected behavior. The projection shows probabilities based on similar past conditions, not a fixed prediction.
Q AND A
Q: Does this indicator repaint?
A: No. The main VWAP calculation uses standard TradingView VWAP methodology. Multi-timeframe values use previous period's confirmed data with appropriate lookahead settings. All alert signals require bar confirmation.
Q: Why does my Rolling VWAP look different on 1-minute versus 15-minute charts?
A: Rolling VWAP calculates across a fixed number of trading days. On very short timeframes, the bar lookback may hit TradingView limits. For best Rolling VWAP accuracy, use 15-minute or higher timeframes.
Q: Can I use this on any instrument?
A: Yes. The indicator automatically detects asset type and adjusts behavior. Stocks use standard market hours. Crypto uses 24/7 calculations. Forex uses tick volume. Everything adapts automatically.
Q: What does the Confidence Score actually measure?
A: The score combines six weighted factors: MTF alignment (25%), Z-Score position (20%), Trend direction (20%), CVD pressure (15%), Momentum state (10%), and Relative volume (10%). Higher scores indicate more factors aligned in one direction.
Q: Why are Session VWAPs not showing on my stock chart?
A: Session VWAPs apply to 24-hour markets by default (forex, crypto, futures). For stocks, enable the Use for All Assets option in Session VWAP settings.
Q: The Divergence labels appear delayed. Is this a bug?
A: Divergence detection requires pivot confirmation, which needs bars on both sides of the pivot point. The label appears at the actual pivot location (several bars back) once confirmed. This is intentional and prevents false signals.
Q: Can I change the band colors?
A: Yes. Each of the three bands has its own color input setting. You can customize Band 1, Band 2, and Band 3 colors to match your preferences. The defaults are Aqua, Fuchsia, and Purple. The main VWAP line color adapts dynamically based on slope direction or can be set to static blue.
Q: How do I set up alerts?
A: Right-click on the chart, select Add Alert, choose this indicator, and select your desired condition from the dropdown. All conditions include descriptive alert messages with relevant data.
Q: What is the Probability Engine lookback period?
A: This setting determines how many trading days the indicator analyzes to calculate band touch rates and mean reversion statistics. Default is 60 days (approximately 3 months). Longer periods provide more stable statistics but may miss recent behavior changes.
Q: Why do I see fewer labels than expected?
A: Signal labels (Volume, Momentum, Squeeze, Divergence) are limited to 5 most recent labels on the chart to keep it clean. When a new label appears, the oldest one is automatically removed. Additionally, momentum labels have several filters: check the slope multiplier setting (higher values require stronger trends) and the Only Reversal Signals option (when enabled, labels only appear for potential reversals, not trend confirmations).
Q: What is the Calculated Projection and how accurate is it?
A: The Calculated Projection analyzes what happened in past market conditions similar to the current state. It classifies each bar by Z-Score level, Trend direction, and Volume profile (27 unique states), then shows the historical probability of up vs down and the average move size. It is NOT a price prediction or guarantee. The probability shown is how often similar conditions led to up/down moves historically, not a future guarantee. Always use it as one input among many.
Q: Why does the Projection probability change?
A: The projection updates on each bar as market state changes. If Z-Score moves from LOW to MID, or trend shifts from UP to FLAT, the system looks up a different historical category. This is expected behavior. The projection shows what happened in similar past conditions to the current bar's state.
Q: The Projection shows LOW confidence. What does that mean?
A: Confidence levels indicate sample size: HIGH means 30 or more historical cases found, MEDIUM means 15-29 cases, LOW means fewer than 15 cases. When sample size is low, the system uses a fallback: first aggregating by Z-Score plus Trend only (ignoring volume), then by Z-Score only. LOW confidence means less statistical reliability, so weight other factors more heavily in your decision.
Q: Why does the cone sometimes show 50/50 probability?
A: A 50/50 reading means that in similar past market states, price moved up roughly half the time and down half the time. This indicates a neutral or balanced condition where historical patterns provide no directional edge. Consider waiting for a higher probability setup or using other analysis methods.
CREDITS AND ACKNOWLEDGMENTS
Methodology Foundation:
VWAP (Volume Weighted Average Price) - Standard institutional benchmark calculation, widely used since the 1980s for algorithmic execution and fair value assessment
Standard Deviation Bands - Statistical volatility measurement applying normal distribution principles to price deviation from mean
Z-Score Analysis - Classic statistical normalization technique for comparing values across different volatility regimes
Cumulative Volume Delta (CVD) - Order flow analysis concept measuring aggressive buying versus selling pressure
Concept Integration:
Mean reversion probability engine - Custom historical statistics tracking for band touch rates
Momentum acceleration detection - Second derivative analysis of VWAP slope changes
VWAP Squeeze - Volatility compression concept adapted from TTM Squeeze methodology applied to VWAP bands versus ATR
Confidence scoring system - Weighted composite scoring combining multiple technical factors
Calculated Projection Cone - Probability-based projection using 27-state market classification (Z-Score, Trend, Volume) with historical outcome analysis and weighted fallback system
All calculations use standard public domain formulas and TradingView built-in functions. No proprietary third-party code was used.
For questions, feedback, or feature requests, please comment below or send a private message.
Happy Trading!
Grok/Claude AI Neural Fusion Pro V2AI Neural Fusion Pro V2 - New Features
Overview
Version 2 of AI Neural Fusion Pro introduces two complementary protection systems designed to preserve capital during market extremes. The first prevents over-buying during violent crashes. The second prevents over-selling during powerful rallies. Together, they transform a reactive trading system into one that adapts intelligently to market conditions.
Feature 1: Cascade Protection
Purpose
Cascade Protection prevents capital destruction during violent market crashes by implementing two independent safeguards that must both pass before any buy signal can fire.
The Problem It Solves
During market crashes, several dangerous conditions occur simultaneously. Volatility spikes to extreme levels, indicators scream "oversold," and each dip looks like the bottom. Traditional systems fire buy after buy, depleting capital reserves while price continues falling. By the time the actual bottom forms, there's no capital left to capture it.
How It Works
Layer 1: BBWP Freeze
Bollinger Band Width Percentile measures current volatility relative to historical volatility. When BBWP exceeds 92%, it indicates the market is experiencing abnormal volatility—typically during liquidation cascades or panic selling. During these periods, all buy signals are frozen regardless of how oversold conditions appear. This is an absolute freeze with no exceptions.
Layer 2: Consecutive Buy Counter
This layer limits the maximum number of buy orders that can execute without an intervening sell. The default limit is 3 consecutive buys. Once reached, additional buy signals are blocked until a sell signal fires and resets the counter. This prevents the common scenario where a bot keeps averaging down position after position during an extended decline.
Configuration
SettingDefaultDescriptionEnable Cascade ProtectionONMaster toggle for entire featureBBWP Length7Period for Bollinger Band calculationBBWP Lookback100Historical period for percentile rankingBBWP Freeze Level92%Threshold above which buys freezeMax Consecutive Buys3Maximum buys before forced pause
Panel Display
The info panel shows real-time protection status with color-coded feedback:
BBWP row: Shows current percentage and status (OK in green, FROZEN in red)
Buy Counter row: Shows current count versus maximum (green when available, orange approaching limit, red when blocked)
Key Behavior
Sell signals are never affected by cascade protection
The buy counter resets to zero after any sell signal fires
BBWP freeze is absolute—even extreme oversold conditions cannot bypass it
Feature 2: Dynamic Cooldown
Purpose
Dynamic Cooldown prevents over-selling during powerful rallies by automatically extending the minimum time between signals when the market enters a strong trend.
The Problem It Solves
During strong rallies, traditional indicators repeatedly hit overbought conditions, triggering sell after sell as price climbs. A trader might execute 10-15 sells during a sustained move from $86K to $93K, selling away their position piece by piece instead of letting profits run. Each sell captures a small gain while missing the larger move.
How It Works
The system monitors ADX (Average Directional Index) to detect trend strength. When ADX exceeds 50 and is rising, the market has entered a powerful trending phase. During these conditions, the cooldown period between signals automatically increases from 5 bars to 10 bars.
This means signals fire less frequently during strong trends, allowing positions more time to develop before the next potential exit. The extended cooldown applies equally to both buy and sell signals, though the primary benefit is reducing premature sells during rallies.
Normal Market (ADX < 50 or falling):
Cooldown = 5 bars (25 minutes on 5-minute chart)
Standard signal frequency
Strong Trend (ADX > 50 and rising):
Cooldown = 10 bars (50 minutes on 5-minute chart)
Reduced signal frequency to let trends develop
Configuration
SettingDefaultDescriptionEnable Dynamic CooldownONMaster toggle for featureSignal Cooldown5 barsStandard cooldown between signalsStrong Trend ADX Threshold50ADX level that triggers extended cooldownStrong Trend Cooldown10 barsExtended cooldown during strong trends
Panel Display
The info panel provides visual indication of current cooldown state:
ADX row: Shows value with arrow indicator (ADX ↑) when in strong trend mode, blue background when above threshold
Cooldown row: Shows active cooldown period with arrow indicator (Cooldown ↑) when extended, blue background during strong trends
Key Behavior
Cooldown applies to both buy and sell signals equally
Transition between modes is automatic based on ADX conditions
ADX must be both above threshold AND rising to trigger extended cooldown
When ADX stops rising or drops below threshold, cooldown returns to normal immediately
Combined Effect
These two features work together to create a more intelligent trading system:
During Crashes:
BBWP spikes above 92% → Buys frozen
System waits for volatility to normalize
When BBWP drops, limited buys (3 max) capture the actual bottom
Capital preserved for recovery
During Rallies:
ADX rises above 50 → Cooldown extends to 10 bars
Fewer sell signals fire during the move
Positions held longer, capturing more of the trend
Profits allowed to run
During Normal Markets:
Standard 5-bar cooldown
No BBWP restrictions
Full signal frequency for active trading
Summary
Version 2 transforms AI Neural Fusion Pro from a purely reactive indicator into an adaptive system that recognizes market extremes and adjusts its behavior accordingly. Cascade Protection guards against buying into crashes. Dynamic Cooldown guards against selling out of rallies. Together, they help preserve capital during adverse conditions while allowing full participation when markets behave normally.
Z-EMA Fusion BandsDesigned with crypto markets in mind, particularly Bitcoin , it builds on the concept that the 1-Week 50 EMA often serves as a long-term bull/bear market threshold — an area where institutional bias, momentum shifts, and cyclical rotations tend to occur.
🔹 Core Components & Synergies:
1. 1W 50 EMA (Higher Timeframe)
- This EMA is calculated on a weekly timeframe, regardless of your current chart.
- In crypto, price above the 1W 50 EMA typically aligns with long-term bull market phases, while extended periods below can signify bearish macro structure.
- The slope of the EMA is also analyzed to add directional confidence to trend strength.
2. ±1 Standard Deviation Bands
- Surrounding the 50 EMA, these bands visualize normal price dispersion relative to trend.
- When price consistently hugs or breaks outside these bands, it often reflects market expansion, volatility events, or mean-reversion opportunity.
3. Z-Score Gradient Fill
- The area between the bands is filled using a Z-score-based gradient, which dynamically adjusts color based on how far price is from the EMA (in terms of standard deviations).
- Color shifts from aqua (near EMA) to fuchsia (far from EMA) help you spot price compression, equilibrium, or overextension at a glance.
- The fill also uses transparency scaling, making it fade as price stretches further, emphasizing the core structure.
4. Directional EMA Coloring
- The EMA line itself is colored based on:
- The slope of the EMA (rising/falling)
- Whether the HTF candle is bullish or bearish
- This provides intuitive color-coded confirmation of momentum alignment or potential exhaustion.
5. Price/EMA Divergence Detection
- The script detects bullish and bearish divergence between price and the EMA (rather than using a traditional oscillator).
- Bullish Divergence: Price makes a lower low, EMA makes a higher low.
- Bearish Divergence: Price makes a higher high, EMA makes a lower high.
- These signals often mark transitional zones where momentum fades before a trend reversal or correction.
📊 Suggested Uses:
🔸 Swing and Position Trading:
- Use the 1W 50 EMA as a macro-trend anchor.
- Stay long-biased when price is above with positive slope, and short-biased when below.
- Consider entries near band edges for mean-reversion plays, especially if confluence forms with divergence signals.
🔸 Volatility-Based Filtering:
- Use the Z-score fill to identify volatility compression (near EMA) or expansion (edge of bands).
- Combine this with breakout strategies or dynamic position sizing.
🔸 Divergence Confirmation:
- Combine divergence markers with HTF EMA slope for high-probability setups.
- Bullish div + EMA flattening/rising can signal the start of accumulation after a macro dip.
🔸 Multi-Timeframe Analysis:
- Works well as a structural overlay on intraday charts (1H, 4H, 1D).
- Use this indicator to track long-term bias while executing lower timeframe trades.
⚠️ Disclaimer:
This indicator is designed for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset.
Always use proper risk management, and combine with your own analysis, tools, and strategy. Performance in past market conditions does not guarantee future results.
Smart Adaptive Double Patterns [The_lurker]Smart Adaptive Double Patterns
This is an advanced technical indicator that combines two of the strongest and most renowned classical price reversal patterns:
✅ Double Bottom Pattern — a bullish reversal pattern that forms after a downtrend
✅ Double Top Pattern — a bearish reversal pattern that forms after an uptrend
The indicator does not merely detect patterns — it provides a fully integrated, intelligent system that includes:
✅ Precise quality scoring for each pattern using 5 technical criteria
✅ Automatic price target calculation at three levels (Conservative, Balanced, Aggressive)
✅ Multi-layer dynamic filtering to avoid false signals
✅ Live pattern tracking from formation to target achievement or failure
✅ Comprehensive alert system covering all possible trading scenarios
🎯 Why Is This Indicator Unique?
1️⃣ High Detection Accuracy
Unlike traditional indicators that rely on simple rules, this one applies 5 strict structural conditions to confirm pattern validity:
A clear trend must precede the pattern
High symmetry between the two bottoms or two tops
No break of critical price levels during formation
Logical spacing between key points
Technical confirmation from ADX, ATR, and Volume
2️⃣ Advanced Quality Scoring System
Each pattern is scored out of 100 based on 5 weighted criteria:
Symmetry (30%): How closely the two bottoms or tops match
Trend Strength (20%): Strength of the prior trend
Volume Behavior (20%): Trading activity at critical points
Pattern Depth (15%): Vertical distance between neckline and bottom/top
Structural Integrity (15%): Full compliance with structural rules
3️⃣ Smart Target Management
Separate targets for bullish (Double Bottom) and bearish (Double Top) patterns
Separate projections for success and failure cases
Multiple options: Conservative (0.618) / Balanced (1.0) / Aggressive (1.618)
Live tracking with dynamic moving lines
4️⃣ Professional Failure Handling
Failed patterns are not ignored — they are turned into counter-trend opportunities:
Failed Double Bottom → triggers a bearish signal with downside targets
Failed Double Top → triggers a bullish signal with upside targets
Automatic color change for clear visual distinction
5️⃣ Full Customization Flexibility
Enable/disable each pattern independently
22+ adjustable settings
Unique colors for each pattern and quality level
Full bilingual support (Arabic / English)
📐 Pattern Details
🟦 Double Bottom Pattern
Sequence of points:
🔹 Point 1: Peak marking the start of a strong downtrend
🔹 Point 2 (Bottom 1): First low — first key bounce
🔹 Point 3: Intermediate high — forms the neckline (resistance)
🔹 Point 4 (Bottom 2): Second low — should closely match Bottom 1
🔹 Point 5: Breakout point — pattern confirmation
Mandatory Conditions:
✅ Clear downtrend before Point 2
✅ Bottoms 2 & 4 nearly identical (≤1.5% difference by default)
✅ Point 3 higher than both bottoms
✅ Neither bottom is broken during formation
✅ Sufficient time between points (≥10 candles by default)
✅ Success Scenario
→ Price breaks above the neckline (Point 3)
→ Point 5 is plotted at breakout candle
→ Dashed vertical line drawn from Point 5 to target
→ Horizontal dashed line tracks price toward target
→ Dashboard shows: Pattern Type | Quality | Rating | Target | Status
→ When target hits: line turns green + ✅ appears
🎯 Target Calculation
Pattern Height = Point 3 − Point 4
• Conservative: Point 3 + (Height × 0.618 × Quality Factor)
• Balanced: Point 3 + (Height × 1.0 × Quality Factor)
• Aggressive: Point 3 + (Height × 1.618 × Quality Factor)
❌ Failure Scenario
→ Price breaks below both Bottom 1 or Bottom 2 before neckline breakout
Visual Changes:
All lines turn red
Red ✖ appears at breakdown candle
Neckline stops expanding
Red dashed vertical line from breakdown point to bearish target
Red horizontal tracking line follows price
Dashboard updates to:
⚠ Failed Bottom – Bearish
→ Shows new bearish target
→ Indicates target mode for failure case
→ Status: Bearish Reversal
→ Fully red display
🟥 Double Top Pattern
Sequence of points:
🔹 Point 1: Trough marking the start of a strong uptrend
🔹 Point 2 (Top 1): First peak — first key resistance
🔹 Point 3: Intermediate low — forms the neckline (support)
🔹 Point 4 (Top 2): Second peak — should closely match Top 1
🔹 Point 5: Breakdown point — pattern confirmation
Mandatory Conditions:
✅ Clear uptrend before Point 2
✅ Tops 2 & 4 nearly identical (≤1.5% difference by default)
✅ Point 3 lower than both tops
✅ Neither top is breached during formation
✅ Sufficient time between points (≥10 candles by default)
✅ Success Scenario
→ Price breaks below the neckline (Point 3)
→ Point 5 is plotted at breakdown candle
→ Dashed vertical line drawn to target
→ Horizontal tracking line moves with price
→ Dashboard updates accordingly
→ Green line + ✅ on hit
🎯 Target Calculation
Pattern Height = Point 4 − Point 3
• Conservative: Point 3 − (Height × 0.618 × Quality Factor)
• Balanced: Point 3 − (Height × 1.0 × Quality Factor)
• Aggressive: Point 3 − (Height × 1.618 × Quality Factor)
❌ Failure Scenario
→ Price breaks above either Top 1 or Top 2 before neckline breakdown
Visual Changes:
All lines turn cyan (light blue)
Cyan ✖ appears at breakout candle
Neckline stops expanding
Cyan dashed vertical line to bullish target
Cyan horizontal tracking line follows price
Dashboard updates to:
⚠ Failed Top – Bullish
→ Shows new bullish target
→ Indicates target mode for failure case
→ Status: Bullish Reversal
→ Fully cyan display
🎯 Upside Target (after Double Top failure)
Max Top = max(Point 2, Point 4)
Height = Max Top − Point 3
• Conservative: Max Top + (Height × 0.618)
• Balanced: Max Top + (Height × 1.0)
• Aggressive: Max Top + (Height × 1.618)
📊 Quality Scoring System (0–100)
1️⃣ Symmetry (30%)
Measures price match between the two bottoms or two tops.
High score (25–30): Near-perfect symmetry → very strong pattern
Medium (15–24): Good match → reliable signal
Low (5–14): Weak symmetry → use caution
Zero: No symmetry → invalid pattern
2️⃣ Trend Strength (20%)
Uses ADX and DI indicators.
20 pts: Strong trend confirmed (e.g., ADX ≥ 20 + correct DI alignment)
10 pts: Trend filter disabled
6 pts: Weak or sideways trend
3️⃣ Volume Behavior (20%)
Declining volume on second touch is a positive sign (shows exhaustion).
15–20 pts: Clear volume drop → strong signal
10 pts: Neutral volume
6 pts: Rising volume → higher risk of continuation
4️⃣ Pattern Depth (15%)
Deeper patterns = stronger reversals.
12–15 pts: Deep → high reversal power
8–11 pts: Medium → acceptable
<8 pts: Shallow → weak signal
5️⃣ Structural Integrity (15%)
Checks logical structure (e.g., Point 1 > Point 3 in Double Bottom).
12–15 pts: Ideal structure
8–11 pts: Minor flaws
<8 pts: Poor setup
📈 Final Quality Rating & Colors
• 85–100 → ⭐ Excellent
→ Double Bottom: Cyan #00BCD4
→ Double Top: Light Red #FF5252
• 75–84 → ✨ Very Good
• 65–74 → ✓ Good
• 60–64 → ○ Acceptable
→ All use Amber #FFC107
• <60 → ❌ Rejected (not shown)
→ Gray #9E9E9E
🔧 Dynamic Filters
1️⃣ ATR Filter (Volatility Check)
Rejects patterns in abnormally high volatility periods.
→ If current ATR > 1.8 × 50-period ATR MA → pattern rejected
✅ Recommended for crypto, small caps
❌ Optional for calm markets (gold, bonds)
2️⃣ ADX Filter (Trend Confirmation)
Ensures a real trend exists before the pattern.
→ If ADX < 14 (70% of default 20) → pattern rejected
✅ Strongly recommended (keep ON)
3️⃣ Volume Filter (Behavior Validation)
Not used to reject patterns, but strongly affects quality score.
✅ Best for liquid markets (Forex majors, large stocks)
❌ Optional for illiquid assets
⚙️ Key Settings Explained
🔘 General Settings
• Language: Arabic / English
• Show Previous Patterns: Yes / No
→ “No” keeps chart clean; “Yes” for historical review
🔘 Pattern Selection
• Enable Double Bottom: ✅ / ❌
• Enable Double Top: ✅ / ❌
→ Use combinations:
✅✅ → Full reversal scanning
✅❌ → Long setups only
❌✅ → Short setups only
❌❌ → Indicator OFF
🔘 Detection Parameters
• Pivots Left (1–20): Higher = more reliable, fewer patterns
• Pivots Right (1–20): Lower = faster signals
• Min Width (5–100): Min candles between Bottom/Top 1 & 2
• Tolerance % (0.1%–5%): Max allowed price difference
• Min Arm (5–50): Min candles between pivot & neckline
• Min Trend (5–50): Min candles in prior trend
• Trend Lookback (50–500): How far back to detect trend start
• Extension Multiplier (1.0–5.0): How long to wait for breakout
🔘 Quality Settings
• Min Quality Score (0–100):
→ Conservative: 75–85
→ Balanced: 60–70
→ Flexible: 50–55
• Custom Weights: Adjust based on market (e.g., increase Volume weight in Forex)
🔘 Target Settings
• Bottom Bullish Target: Conservative / Balanced / Aggressive
• Bottom Bearish Target: (used on failure)
• Top Bearish Target: Conservative / Balanced / Aggressive
• Top Bullish Target: (used on failure)
🔘 Visual Settings
• Label Size: Small / Normal / Large / Huge
• Pattern Colors: Fully customizable
• Table: Show/Hide + Size (Small/Normal/Large) + Position (Top-Right / Top-Left / Bottom-Right / Bottom-Left)
• Fill Transparency: 70%–95% (default: 85%)
🔔 Alert System (8 Independent Alerts)
📌 Double Bottom Alerts
Bullish Breakout → “Double Bottom Breakout – Bullish!”
Bullish Target Hit → “Bullish Target Achieved!”
Failure (Bearish) → “Double Bottom Failed – Bearish!”
Bearish Target Hit → “Bearish Target Achieved (Failure)!”
📌 Double Top Alerts
Bearish Breakdown → “Double Top Breakdown – Bearish!”
Bearish Target Hit → “Bearish Target Achieved!”
Failure (Bullish) → “Double Top Failed – Bullish!”
Bullish Target Hit → “Bullish Target Achieved (Failure)!”
Each alert can be enabled/disabled independently and supports pop-ups, emails, or webhooks.
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
Multi-Timeframe EMA & SMA Scanner - Price Level LabelsOverview
A powerful multi-timeframe moving average scanner that displays EMA and SMA levels from up to 8 different timeframes simultaneously on your chart. Perfect for identifying key support/resistance levels, confluence zones, and multi-timeframe trend analysis.
Key Features
📊 Multi-Timeframe Analysis
Monitor up to 8 different timeframes simultaneously (5m, 10m, 15m, 30m, 1H, 4H, 1D, 1W)
Each timeframe can be independently enabled/disabled
Fully customizable timeframe selection
📈 Comprehensive Moving Averages
5 configurable EMA periods (default: 8, 21, 50, 100, 200)
2 configurable SMA periods (default: 200, 400)
All periods are fully customizable to match your trading strategy
🎯 Smart Price Level Labels
Labels positioned at actual price levels (not in a list)
Color-coded labels for easy identification
Dynamic text color: Green when price is above, Red when below
Compact notation: E8-5m means EMA 8 on 5-minute timeframe
Adjustable label offset from current price
📉 Optional Horizontal Lines
Dotted reference lines at each MA level
Color-matched to corresponding MA type
Can be toggled on/off independently
📋 Comprehensive Data Table
Shows all MA values organized by timeframe
Displays percentage distance from current price
Trend indicator (Strong Up/Up/Neutral/Down/Strong Down)
EMA alignment status (Bullish/Bearish/Mixed)
Color-coded cells for quick visual analysis
🎨 Full Customization
Individual color settings for each MA type
Adjustable table size (Tiny/Small/Normal/Large)
Choose table position (Left/Right)
Toggle any MA or timeframe on/off
🔔 Built-in Alerts
Golden Cross detection (EMA 50 crosses above EMA 200)
Death Cross detection (EMA 50 crosses below EMA 200)
Price crossing major EMAs
Available for multiple timeframes
How to Use
For Day Traders:
Enable lower timeframes (5m, 10m, 15m, 30m)
Focus on faster EMAs (8, 21, 50)
Watch for confluence zones where multiple timeframe MAs cluster
For Swing Traders:
Enable higher timeframes (1H, 4H, 1D)
Use all EMAs plus SMAs for broader perspective
Look for alignment across timeframes for high-probability setups
For Position Traders:
Focus on daily and weekly timeframes
Emphasize 100, 200 EMAs and 200, 400 SMAs
Use for long-term trend confirmation
Understanding the Labels
Label Format: E8-5m 45250.50
E8 = EMA with period 8
5m = 5-minute timeframe
45250.50 = Current price level
Green text = Price is currently above this level (potential support)
Red text = Price is currently below this level (potential resistance)
For SMAs: S200-1D 44500.00
S200 = SMA with period 200
1D = Daily timeframe
Trading Applications
Support/Resistance Identification
MAs act as dynamic support and resistance levels
Multiple timeframe MAs create stronger zones
Confluence Trading
When multiple MAs from different timeframes cluster together, it creates high-probability zones
These areas often result in strong reactions
Trend Analysis
Check the Alignment column: Bullish alignment = all EMAs in ascending order
Trend column shows overall price position relative to all MAs
Entry/Exit Timing
Use lower timeframe MAs for precise entries
Use higher timeframe MAs for trend direction and exits
Settings Guide
Timeframes Section:
Select and enable/disable up to 8 timeframes
Default: 5m, 10m, 15m, 30m, 1H, 4H, 1D, 1W
MA Periods Section:
Customize all EMA and SMA periods
Default EMAs: 8, 21, 50, 100, 200
Default SMAs: 200, 400
Display Section:
Toggle price labels and horizontal lines
Adjust label offset (distance from right edge)
Show/hide data table
Choose table position and size
Colors Section:
Customize colors for each MA type
Each MA has independent color control
Pro Tips
✅ Start with default settings and adjust based on your trading style
✅ Disable timeframes/MAs you don't use to reduce chart clutter
✅ Use the data table for quick overview, labels for precise levels
✅ Look for "confluence clusters" where multiple MAs from different timeframes align
✅ Green labels = potential support, Red labels = potential resistance
✅ Set alerts on key crossovers for automated notifications
Technical Specifications
Pine Script v6
Overlay indicator (displays on main chart)
Maximum 500 labels supported
Real-time updates on each bar close
Compatible with all instruments and timeframes
Perfect For:
Day traders seeking multi-timeframe confirmation
Swing traders looking for high-probability setups
Position traders monitoring long-term trends
Anyone using moving averages as part of their strategy
Note: This indicator does not provide buy/sell signals. It's a tool for analysis and should be used in conjunction with your trading strategy and risk management rules.
able zone# able zone
## 📋 Overview
**able zone** is an advanced Support & Resistance zone detection indicator optimized for **15-minute timeframe trading**. It combines Price Action, Volume Profile, and intelligent zone analysis to identify high-probability trading areas with precise entry and exit points.
## 🎯 Core Features
### 1. **Zone Detection Methods**
- **Auto Detect**: Automatically finds the best zones using combined analysis
- **Price Action**: Based on pivot points and price structure
- **Volume Profile**: Identifies High Volume Nodes (HVN) where most trading occurred
- **Combined**: Uses all methods together for comprehensive analysis
### 2. **Zone Types & Colors**
- 🟢 **Support Zones** (Green): Price tends to bounce up from these areas
- 🔴 **Resistance Zones** (Red): Price tends to reverse down from these areas
- 🟣 **HVN Zones** (Purple): High volume areas from Volume Profile
- **Strong Zones**: Darker colors indicate zones with more touches (higher reliability)
### 3. **Zone Strength Indicators**
- **Labels**: "S3" = Support with 3 touches, "R5" = Resistance with 5 touches
- **Touch Count**: More touches = stronger zone
- **Min Touch Count Setting**: Adjust to filter weak zones (default: 3)
## ⚙️ Settings Guide
### **Zone Detection Settings**
- **Detection Method**: Choose your preferred analysis method
- **Lookback Period** (50-500): How many bars to analyze (default: 200)
- For 15min: 200 bars = ~50 hours of data
- Shorter = Recent zones only
- Longer = Historical zones included
- **Min Touch Count** (2-10): Minimum touches to qualify as a zone (default: 3)
- **Zone Thickness %** (0.1-2.0): How thick the zones appear (default: 0.5)
- Based on ATR for dynamic sizing on 15min chart
### **Zone Colors**
Fully customizable colors for:
- Support Zone (default: Green)
- Resistance Zone (default: Red)
- Strong Support/Resistance (darker shades)
- Volume Profile Zone (default: Purple)
### **Zone Touch Detection**
- **Enable Touch Alerts**: Get notifications when price enters zones
- **Touch Distance %** (0.1-1.0): How close to zone counts as "touch" (default: 0.3%)
- On 15min chart, this gives early warning signals
- **Show Touch Markers**: Visual indicators when price touches zones
- 🔺 = Support touch (potential buy)
- 🔻 = Resistance touch (potential sell)
- 💎 = HVN touch (watch for breakout/rejection)
### **Volume Profile Integration**
- **Show VP Zones**: Display high volume node zones
- **VP Resolution** (20-50): Number of price levels analyzed (default: 30)
- **POC Line** (orange): Point of Control - highest volume price level
- **POC Width**: Line thickness (1-3)
- **Show HVN**: Display High Volume Node zones
- **HVN Threshold** (0.5-0.9): Volume % to qualify as HVN (default: 0.7)
### **Display Options**
- **Zone Labels**: Show S/R labels with touch count
- **Zone Border Lines**: Dotted lines at zone boundaries
- **Extend Zones Right**: Project zones into future
- **Max Visible Zones** (5-50): Maximum number of zones displayed (default: 20)
- Adjust based on chart clarity needs
- **Info Table**: Real-time information dashboard
## 📊 Info Table Explained
The info table (top-right corner) provides real-time zone analysis:
### **Row 1: ZONE Header**
- Shows current timeframe (15m)
- Total active zones
- "able" branding
### **Row 2: 🎯 TOUCH Status**
- **RES**: Currently touching resistance (⚠️ potential reversal down)
- **SUP**: Currently touching support (🚀 potential bounce up)
- **HVN**: Currently in high volume area (⚡ watch for direction)
- **FREE**: Not near any zone (⏳ wait for setup)
- Progress bar shows proximity strength
- Arrows indicate zone type
### **Row 3: 🟢 SUP - Support Zones**
- Number of active support zones below current price
- Progress bar shows relative quantity
- More support = stronger floor
### **Row 4: 🔴 RES - Resistance Zones**
- Number of active resistance zones above current price
- Progress bar shows relative quantity
- More resistance = stronger ceiling
### **Row 5: 🟣 HVN - High Volume Nodes**
- Number of HVN zones (from Volume Profile)
- These are areas where most trading activity occurred
- Often act as magnets for price
### **Row 6: 📍 NEAR - Nearest Zone**
- Shows closest zone type (SUP/RES/HVN)
- Distance in % to nearest zone
- Arrow shows if zone is above or below
### **Row 7: POSITION - Price Position**
- **HIGH**: Price near range top (70%+) - watch for resistance
- **MID**: Price in middle range (30-70%) - neutral zone
- **LOW**: Price near range bottom (<30%) - watch for support
- Shows exact position % in lookback range
### **Row 8: ═ SIGNAL ═**
- **🚀 BUY**: Touching support zone (entry opportunity)
- **⚠️ SELL**: Touching resistance zone (exit/short opportunity)
- **⚡ WATCH**: At HVN (prepare for breakout or rejection)
- **⏳ WAIT**: No clear setup (be patient)
## 🎓 Trading Strategy for 15-Minute Timeframe
### **Basic Setup**
1. Set timeframe to **15 minutes**
2. Use **Auto Detect** or **Combined** method
3. Set **Lookback Period**: 200 bars (~50 hours)
4. Set **Min Touch Count**: 3 (proven zones)
### **Entry Signals**
#### **Long Entry (Buy)**
- Price touches green support zone
- Table shows "🚀 BUY" signal
- Look for bullish candle pattern (hammer, engulfing)
- Volume increases on bounce
- **Best Entry**: Bottom of support zone
- **Stop Loss**: Below support zone (1-2 ATR)
- **Target**: Next resistance zone or 2:1 RR
#### **Short Entry (Sell)**
- Price touches red resistance zone
- Table shows "⚠️ SELL" signal
- Look for bearish candle pattern (shooting star, engulfing)
- Volume increases on rejection
- **Best Entry**: Top of resistance zone
- **Stop Loss**: Above resistance zone (1-2 ATR)
- **Target**: Next support zone or 2:1 RR
#### **HVN Breakout Strategy**
- Price approaches purple HVN zone
- Table shows "⚡ WATCH"
- Wait for breakout with strong volume
- **If breaks up**: Go long, target next resistance
- **If breaks down**: Go short, target next support
### **Zone Strength Rules**
- **S5+ or R5+**: Very strong zones (high probability)
- **S3-S4 or R3-R4**: Reliable zones (good setups)
- **S2 or R2**: Weak zones (use caution)
### **Best Trading Times (15min)**
- **London Open**: 08:00-12:00 GMT (high volume)
- **NY Open**: 13:00-17:00 GMT (high volatility)
- **Overlap**: 13:00-16:00 GMT (best setups)
- **Avoid**: Asian session low volatility periods
### **Risk Management**
- Never risk more than 1-2% per trade
- Use stop loss ALWAYS (place outside zones)
- Take partial profits at 1:1, let rest run to 2:1 or 3:1
- If price consolidates in zone > 3 candles, exit
## ⚠️ Important Notes
### **When Zones Work Best**
✅ Clear trending markets
✅ After significant price movements
✅ At session opens (London/NY)
✅ When multiple zones align
✅ Strong zone with 5+ touches
### **When to Be Cautious**
❌ During major news releases (use economic calendar)
❌ Very low volume periods
❌ Price consolidating inside zone
❌ Weak zones with only 2 touches
❌ Conflicting signals from multiple indicators
### **15-Minute Specific Tips**
- **Lookback 200**: Captures 2-3 trading days of zones
- **Touch Distance 0.3%**: Early signals on 15min moves
- **Max Zones 20**: Keeps chart clean but comprehensive
- **Watch POC**: Often acts as pivot on 15min
- **Volume spike + zone touch** = high probability setup
## 🔧 Recommended Settings for 15min
### **Conservative Trader**
- Detection Method: Combined
- Min Touch Count: 4
- Max Zones: 15
- Touch Distance: 0.2%
### **Aggressive Trader**
- Detection Method: Auto Detect
- Min Touch Count: 2
- Max Zones: 25
- Touch Distance: 0.5%
### **Volume Profile Focused**
- Detection Method: Volume Profile
- Show HVN: Yes
- HVN Threshold: 0.6
- Show POC: Yes
## 📈 Example Trade Scenario (15min)
**Setup**: BTC/USD on 15-minute chart
1. Price approaching green support zone at $42,000
2. Zone label shows "S4" (touched 4 times)
3. Table shows "🚀 BUY" signal
4. Volume increasing on approach
5. Bullish hammer candle forms
**Entry**: $42,050 (bottom of zone)
**Stop Loss**: $41,900 (below zone)
**Target 1**: $42,350 (2:1 RR)
**Target 2**: Next resistance at $42,650
**Result**: Price bounces, hits Target 1 in 3 candles (~45min)
## 💡 Pro Tips
1. **Combine with trend**: Trade in direction of higher timeframe trend
2. **Multiple touches**: Zones with 5+ touches are highest probability
3. **Volume confirmation**: Always check volume on zone touch
4. **POC magnet**: Price often returns to POC line
5. **False breakouts**: If price barely breaks zone and returns = strong signal
6. **Zone-to-zone**: Trade from support to resistance, resistance to support
7. **Time of day**: Best setups occur during peak volume hours
8. **Chart timeframe**: Use 1H to confirm trend, 15min for entry
9. **News avoidance**: Close trades before high-impact news
10. **Zone clusters**: Multiple zones together = strong area
---
**Created by able** | Optimized for 15-minute trading
**Version**: 1.0 | Compatible with TradingView Pine Script v5
For support and updates, enable alerts and monitor the info table in real-time!
Smart RSI Composite [DotGain]Summary
Do you want to know the "True Direction" of the market without getting distracted by noise on a single timeframe?
The Smart RSI Composite simplifies market analysis by aggregating momentum data from 10 different timeframes (5m to 12M) into a single, easy-to-read Histogram.
Instead of looking at 10 separate charts or dots, this indicator calculates the Average RSI of the entire market structure. It answers one simple question: "Is the market predominantly Bullish or Bearish right now?"
⚙️ Core Components and Logic
This indicator works like a consensus mechanism for momentum:
Data Aggregation: It pulls RSI values from 10 customizable slots (Default: 5m, 15m, 1h, 4h, 1D, 1W, 1M, 3M, 6M, 12M). All slots are enabled by default.
Smart Averaging: It calculates the arithmetic mean of all active timeframes. If the 5m chart is bearish but the Monthly chart is bullish, this indicator balances them out to show you the net result.
Histogram Visualization: The result is plotted as a histogram centered around the 50-line (Neutral).
🚦 How to Read the Histogram
The histogram bars indicate the aggregate strength of the trend based on the Average RSI:
🟩 DARK GREEN (Strong Bullish)
Condition: Average RSI > 60.
Meaning: The market is in a strong uptrend across most timeframes. Momentum is firmly on the buyers' side.
🟢 LIGHT GREEN (Weak Bullish)
Condition: Average RSI between 50 and 60.
Meaning: Slight bullish bias. The bulls are in control, but momentum is not yet extreme.
🔴 LIGHT RED (Weak Bearish)
Condition: Average RSI between 40 and 50.
Meaning: Slight bearish bias. The bears are taking control.
🟥 DARK RED (Strong Bearish)
Condition: Average RSI < 40.
Meaning: The market is in a strong downtrend across most timeframes. Momentum is firmly on the sellers' side.
Visual Elements
Center Line (50): This acts as the Zero-Line. Above 50 is bullish, below 50 is bearish.
Zone Lines (30/70): Dashed lines indicate the traditional Overbought/Oversold levels applied to the aggregate average.
Key Benefit
The Smart RSI Composite acts as a powerful Macro Trend Filter .
Pro Tip: Never go long if the Histogram is Dark Red, and avoid shorting when it is Dark Green. Use this tool to align your trades with the overall market momentum.
Have fun :)
Disclaimer
This "Smart RSI Composite" indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
The signals generated by this tool (both "Buy" and "Sell" indications) are the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset. All trading and investing in financial markets involves substantial risk of loss. You can lose all of your invested capital.
Past performance is not indicative of future results. The signals generated may produce false or losing trades. The creator (© DotGain) assumes no liability for any financial losses or damages you may incur as a result of using this indicator.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR) and consider your personal risk tolerance before making any trades.
Smart Money Flow - Exchange & TVL Composite# Smart Money Flow - Exchange & TVL Composite Indicator
## Overview
The **Smart Money Flow (SMF)** indicator combines two powerful on-chain metrics - **Exchange Flows** and **Total Value Locked (TVL)** - to create a composite index that tracks institutional and "smart money" movement in the cryptocurrency market. This indicator helps traders identify accumulation and distribution phases by analyzing where capital is flowing.
## What It Does
This indicator normalizes and combines:
- **Exchange Net Flow** (from IntoTheBlock): Tracks Bitcoin/Ethereum movement to and from exchanges
- **Total Value Locked** (from DefiLlama): Measures capital locked in DeFi protocols
The composite index is displayed on a 0-100 scale with clear zones for overbought/oversold conditions.
## Core Concept
### Exchange Flows
- **Negative Flow (Outflows)** = Bullish Signal
- Coins moving OFF exchanges → Long-term holding/accumulation
- Indicates reduced selling pressure
- **Positive Flow (Inflows)** = Bearish Signal
- Coins moving TO exchanges → Preparation for selling
- Indicates potential distribution phase
### Total Value Locked (TVL)
- **Rising TVL** = Bullish Signal
- Capital flowing into DeFi protocols
- Increased ecosystem confidence
- **Falling TVL** = Bearish Signal
- Capital exiting DeFi protocols
- Decreased ecosystem confidence
### Combined Signals
**🟢 Strong Bullish (70-100):**
- Exchange outflows + Rising TVL
- Smart money accumulating and deploying capital
**🔴 Strong Bearish (0-30):**
- Exchange inflows + Falling TVL
- Smart money preparing to sell and exiting positions
**⚪ Neutral (40-60):**
- Mixed or balanced flows
## Key Features
### ✅ Auto-Detection
- Automatically detects chart symbol (BTC/ETH)
- Uses appropriate exchange flow data for each asset
### ✅ Weighted Composite
- Customizable weights for Exchange Flow and TVL components
- Default: 50/50 balance
### ✅ Normalized Scale
- 0-100 index scale
- Configurable lookback period for normalization (default: 90 days)
### ✅ Signal Zones
- **Overbought**: 70+ (Strong bullish pressure)
- **Oversold**: 30- (Strong bearish pressure)
- **Extreme**: 85+ / 15- (Very strong signals)
### ✅ Clean Interface
- Minimal visual clutter by default
- Only main index line and MA visible
- Optional elements can be enabled:
- Background color zones
- Divergence signals
- Trend change markers
- Info table with detailed metrics
### ✅ Divergence Detection
- Identifies when price diverges from smart money flows
- Potential reversal warning signals
### ✅ Alerts
- Extreme overbought/oversold conditions
- Trend changes (crossing 50 line)
- Bullish/bearish divergences
## How to Use
### 1. Trend Confirmation
- Index above 50 = Bullish trend
- Index below 50 = Bearish trend
- Use with price action for confirmation
### 2. Reversal Signals
- **Extreme readings** (>85 or <15) suggest potential reversal
- Look for divergences between price and indicator
### 3. Accumulation/Distribution
- **70+**: Accumulation phase - smart money buying/holding
- **30-**: Distribution phase - smart money selling
### 4. DeFi Health
- Monitor TVL component for DeFi ecosystem strength
- Combine with exchange flows for complete picture
## Settings
### Data Sources
- **Exchange Flow**: IntoTheBlock real-time data
- **TVL**: DefiLlama aggregated DeFi TVL
- **Manual Mode**: For testing or custom data
### Indicator Settings
- **Smoothing Period (MA)**: Default 14 periods
- **Normalization Lookback**: Default 90 days
- **Exchange Flow Weight**: Adjustable 0-100%
- **Overbought/Oversold Levels**: Customizable thresholds
### Visual Options
- Show/Hide Moving Average
- Show/Hide Zone Lines
- Show/Hide Background Colors
- Show/Hide Divergence Signals
- Show/Hide Trend Markers
- Show/Hide Info Table
## Data Requirements
⚠️ **Important Notes:**
- Uses **daily data** from IntoTheBlock and DefiLlama
- Works on any chart timeframe (data updates daily)
- Auto-switches between BTC and ETH based on chart
- All other crypto charts default to BTC exchange flow data
## Best Practices
1. **Use on Daily+ Timeframes**
- On-chain data is daily, most effective on D/W/M charts
2. **Combine with Price Action**
- Use as confirmation, not standalone signals
3. **Watch for Divergences**
- Price making new highs while indicator falling = warning
4. **Monitor Extreme Zones**
- Sustained readings >85 or <15 indicate strong conviction
5. **Context Matters**
- Consider broader market conditions and fundamentals
## Calculation
1. **Exchange Net Flow** = Inflows - Outflows (inverted for index)
2. **TVL Rate of Change** = % change over smoothing period
3. **Normalize** both metrics to 0-100 scale
4. **Composite Index** = (ExchangeFlow × Weight) + (TVL × Weight)
5. **Smooth** with moving average
## Disclaimer
This indicator uses on-chain data for analysis. While valuable, it should not be used as the sole basis for trading decisions. Always combine with other technical analysis tools, fundamental analysis, and proper risk management.
On-chain data reflects blockchain activity but may lag price action. Use this indicator as part of a comprehensive trading strategy.
---
## Credits
**Data Sources:**
- IntoTheBlock: Exchange flow metrics
- DefiLlama: Total Value Locked data
**Indicator by:** @iCD_creator
**Version:** 1.0
**Pine Script™ Version:** 6
---
## Updates & Support
For questions, suggestions, or bug reports, please comment below or message the author.
**Like this indicator? Leave a 👍 and share your feedback!**
Triple 9 Bias filter Triple 9 Bias – Precision Multi-Timeframe Directional Filter
Technical Overview
The Triple 9 Bias is a precision multi-timeframe directional filter built exclusively for 5-minute (and lower) trading.
It stacks three EMA-9 trend directions (4H + 1H + 15m) as Primary confluence and uses only the 4H RSI-14 as Secondary confirmation.
Integrity Check: Zero repaint · Zero lookahead · Works identically on any chart timeframe.
The Trading Rule (Simple)
Long Trades: Only trade longs when all three EMA-9s are UP + 4H RSI > 50
Short Trades: Only trade shorts when all three EMA-9s are DOWN + 4H RSI < 50
Otherwise — stand aside.
Display Components
A. Plotted Higher-Timeframe EMAs (No Repainting)
All values are pulled from closed higher-timeframe bars.
4H EMA 9 (Red step-line)
1H EMA 9 (Purple step-line)
15m EMA 9 (Orange step-line)
B. Locked Dashboard (Bottom-Right)
Clean table split into Primary and Secondary sections for instant bias reading.
Colour Logic:
🟢 Lime = UP / BUY
🔴 Red = DOWN / SELL
Background Logic:
Full Green: Only when all three EMA-9s are UP
Full Red: Only when all three EMA-9s are DOWN
Gray: Otherwise = no trade
Indicator Breakdown
3.1. Primary Confluence – EMA 9 Slope
4H EMA 9 direction (compared 10 bars back)
1H EMA 9 direction (compared 6 bars back)
15m EMA 9 direction (compared 6 bars back)
3.2. Secondary Confluence
4H RSI-14 vs 50 level (BUY if >50, SELL if <50)
High-Probability Signal: When Primary = all three “UP” and Secondary = “BUY” → highest-probability bullish bias (and vice-versa for bearish).
XAUUSD Multi-Timeframe Bias Scanner🎯 Purpose & Overview
This is a sophisticated trading indicator that analyzes XAUUSD (Gold) across 5 different timeframes simultaneously to determine market bias and trend direction.
⚙️ Core Components
2. Bias Calculation Engine
The heart of the indicator uses 5 technical factors to score each timeframe:
Technical Factors (Weighted):
Moving Average Alignment (30 points)
Bullish: EMA(9) > EMA(21) > EMA(50)
Bearish: EMA(9) < EMA(21) < EMA(50)
Price vs MA Position (20 points)
Score increases when price above MAs
Score decreases when price below MAs
RSI Momentum (20 points)
Bullish: RSI > 60 or > 50
Bearish: RSI < 40 or < 50
MACD Signals (15 points)
Bullish: MACD line > Signal line AND > 0
Bearish: MACD line < Signal line AND < 0
Volume Confirmation (15 points)
Volume spikes with price movement add confirmation
📊 Timeframe Analysis
Five Timeframes Monitored:
5-minute - Short-term noise (10% weight)
15-minute - Intraday direction (15% weight)
1-hour - Key intraday bias (25% weight)
4-hour - Primary directional bias (30% weight)
1-day - Overall trend context (20% weight)
Bias Scoring System:
0-100 Scale (50 = Neutral)
STRONG BULLISH: ≥70 (Green)
BULLISH: 55-69 (Lime)
NEUTRAL: 46-54 (Gray)
BEARISH: 31-45 (Orange)
STRONG BEARISH: ≤30 (Red)
🎨 Visual Features
1. Comprehensive Table Display
pinescript
var table biasTable = table.new(position.top_right, 3, 7, ...)
Shows a color-coded table with:
Timeframe name
Numerical bias score (0-100)
Strength description with color coding
2. Chart Visual Indicators
Background coloring based on overall bias
Label markers for strong bullish/bearish conditions
Real-time label showing all timeframe scores
3. Alert System
Triggers when overall bias crosses 70 (bullish) or 30 (bearish)
Configurable with sound options
🔄 How It Processes Data
Data Flow:
Requests security data for each timeframe using request.security()
Calculates technical indicators for each TF separately
Scores each TF based on 5 technical factors
Computes weighted overall bias
Updates visual displays and checks alert conditions
💡 Trading Applications
Bullish Scenarios:
Multiple timeframes show bullish alignment
Higher timeframe bias supports lower timeframe direction
Overall score > 70 indicates strong bullish conviction
Bearish Scenarios:
Multiple timeframes show bearish alignment
Higher timeframe bias confirms lower timeframe moves
Overall score < 30 indicates strong bearish conviction
Conflict Detection:
When timeframes show conflicting biases
Caution required - market may be consolidating
Wait for alignment before taking trades
🎚️ Customization Options
Users can modify:
Timeframe weights
Technical indicator parameters
Alert thresholds
Visual display preferences
Scoring sensitivity
📈 XAUUSD Specific Optimizations
The indicator considers Gold's unique characteristics:
High volatility periods
ATR-based volatility adjustments
Volume confirmation for breakouts
Multiple timeframe confirmation for trend reliability
This creates a powerful tool for identifying high-probability trade setups in XAUUSD by ensuring traders have a complete multi-timeframe perspective before entering positions.
Nifty50 Sector Weightage PerformanceNifty50 Sector Weightage Performance is a comprehensive market analysis indicator that visualizes the composition and daily performance of all 15 sectors in the Nifty 50 index. This powerful tool provides real-time insights into sector movements, helping traders and investors identify market trends, understand sector rotation, and make informed trading decisions.
The indicator combines sector weightage data with daily percentage changes to calculate a weighted market sentiment score, displayed through an intuitive visual progress bar that indicates whether the market is moving towards bullish or bearish territory.
Comprehensive Sector Coverage
- Tracks all 15 sectors of the Nifty 50 index. Some broad indices because of request limit on Tradingview.
- Displays real-time sector weights and daily percentage changes
- Color-coded visualization for quick performance assessment
Complete Sector Breakdown
1. Financial Services (36.76%)
- Symbol: NSE:BANKNIFTY
- Largest sector in Nifty 50
- Uses Bank Nifty index for comprehensive financial sector representation
2. Oil, Gas & Consumable Fuels (10.26%)
- Individual Stocks(weighted average):
- RELIANCE (8.71%)
- ONGC (0.81%)
- COALINDIA (0.74%)
3. Information Technology (9.98%)
- Symbol: NSE:CNXIT
- Represents IT sector performance through CNX IT index
4. Automobile & Auto Components (6.83%)
- Individual Stocks (weighted average):
- M&M (Mahindra & Mahindra) - 2.77%
- BAJAJ_AUTO (Bajaj Auto) - 0.84%
- EICHERMOT (Eicher Motors) - 0.79%
- MARUTI (Maruti Suzuki) - 1.77%
- TATAMOTORS (Tata Motors) - 0.66%
5. Fast Moving Consumer Goods (6.52%)
- Symbol: NSE:CNXFMCG
- Uses CNX FMCG index for consumer goods sector
6. Telecommunication (4.96%)
- Symbol: NSE:BHARTIARTL
- Uses Bharti Airtel as representative stock
7. Healthcare (4.27%)
- Symbol: NSE:CNXPHARMA
- Pharmaceutical sector represented by CNX Pharma index
8. Construction (3.98%)
- Symbol: NSE:LT
- Uses Larsen & Toubro as representative stock
9. Metals & Mining (3.64%)
- Symbol: NSE:CNXMETAL
- Metals sector through CNX Metal index
10. Consumer Services (2.63%)
- Individual Stocks (weighted average):
- ETERNAL (Eternal) - 1.8%
- TRENT (Trent) - 0.82%
11. Consumer Durables (2.47%)
- Individual Stocks (weighted average):
- TITAN (Titan Company) - 1.36%
- ASIANPAINT (Asian Paints) - 1.11%
12. Power (2.37%)
- Individual Stocks (weighted average):
- NTPC (NTPC Limited) - 1.32%
- POWERGRID (Power Grid Corporation) - 1.05%
13. Construction Materials (2.07%)
- Individual Stocks (weighted average):
- ULTRACEMCO (UltraTech Cement) - 1.18%
- GRASIM (Grasim Industries) - 0.89%
14. Services (2.00%)
- Individual Stocks (weighted average):
- INDIGO (Interglobe Aviation) - 1.06%
- ADANIPORTS (Adani Ports) - 0.93%
15. Capital Goods (1.28%)
- Individual Stock:
- BEL (Bharat Electronics) - 1.28%
Sector Performance Calculation
- Single Index Sectors: Uses direct index/symbol percentage change
- Multi-Stock Sectors: Calculates weighted average based on individual stock weights and their percentage changes
- Formula: Weighted Average = Σ(Stock Weight × Stock % Change) / Total Sector Weight
Data Source
Nifty 50 Index: www.niftyindices.com
Delta Volume RSI1. Introduction
The Delta Volume RSI (Relative Strength Index based on Volume Delta) indicator provides a unique perspective on market momentum by analyzing the average gains and losses of the volume delta —the difference between buying and selling volume—over a specified period. Unlike traditional RSI, which focuses on price changes, this indicator evaluates shifts in market participation intensity, helping traders detect periods of accumulation and distribution through volume action.
2. Key Features
- Volume-Based Calculation: Computes RSI using the average gains and losses of delta volume rather than price changes, offering insights into buying/selling pressure.
- Dynamic Color Coding: Paints the indicator line green when above the 50 level, and red when below, enabling quick visual identification of momentum shifts around neutrality.
- Reference Levels: Clearly displays overbought (70), neutral (50), and oversold (30) lines for context on volume-driven market extremes.
- Customizable Period: Users can set the period for RSI calculation to fit their trading style and timeframe preferences.
3. How to Use
1. Interpret Colors: The indicator line turns green when volume delta momentum is bullish (above 50) and red when bearish (below 50). Overbought and oversold zones (above 70 or below 30) may highlight exhaustion in volume-driven pushes.
2. Adjustment: Modify the RSI period in the settings to tailor responsiveness.
3. Reference Line: Use the dashed gray line at 50 as a core threshold for detecting transitions between buyer and seller dominance.
How It Differs From Standard RSI
The standard RSI uses changes in closing price to calculate market momentum. In contrast, this indicator calculates RSI using the average gains and losses of the delta volume , capturing underlying shifts in buying and selling activity—even when price is flat. This makes the Delta Volume RSI especially useful for identifying divergence between volume flow and price movement, potentially signaling strong accumulation/distribution or market reversals not visible on price-based RSI alone.
High Volume Zones with Signals – HVZ█ OVERVIEW
"High Volume Zones with Signals – HVZ" is a technical analysis indicator that identifies High Volume Zones (HVZ) on the chart and draws them as fully customizable boxes. Perfect for traders using price action, ICT, and Smart Money Concepts. The indicator highlights key volume-based support/resistance levels, detects potential consolidation zones (very large candles), and generates precise breakout and exit signals. Flexible volume filters, ATR filter, and visual styling options ensure a clean and highly effective chart.
█ CONCEPTS
The indicator detects candles with volume significantly above the average (default ≥ 2× SMA of volume over 20 periods). Such candles often signal institutional activity and create strong supply/demand zones.
The ATR filter additionally identifies very large candles – frequently a sign of market capitulation (panic buying/selling). Within the range of such a candle, prolonged consolidation often occurs, especially on higher timeframes (e.g., 4H and above).
Why are HVZ important? High-volume zones are areas where the market has left a large number of orders – institutions return there to “refresh” liquidity before the next move. A breakout against the zone’s character triggers a Break signal:
- Bullish HVZ broken downward (close below the lower boundary) → Break Down (sell),
- Bearish HVZ broken upward (close above the upper boundary) → Break Up (buy).
Note: The indicator requires real exchange volume – it will not work correctly on instruments without reported volume (e.g., certain CFDs or forex).
█ FEATURES
- HVZ Detection: Automatic identification of high-volume zones with Volume SMA Length and Volume Multiplier filters; historical initialization up to 500 candles back.
- ATR Filter: Optional detection of very large candles (potential consolidation/capitulation) using - ATR Length and ATR Multiplier; three action modes:
Skip Zone – large candle creates no zone,
Separate Color – zone is drawn in a distinct style (gray by default),
Normal Zone – treated like a regular HVZ.
- Gray zones (large candles, Separate Color): generate exactly the same Break signals as regular zones – based solely on the original candle direction (bullish → Break Down on lower break, bearish → Break Up on upper break). Gray color is only a visual marker for potential consolidation/capitulation zones.
- Customizable Boxes: Separate styles for bullish and bearish zones (border color, background gradient, line thickness and style); adjustable background and 50 % midline transparency.
- Break & Exit Signals:
Break Up/Down – green/red triangle after a candle closes outside the zone (zone disappears, triangle remains as a trace).
Exit Up/Down – green/red circle when price leaves the zone without a full breakout.
Signal Type option: Break, Exit, or Both.
- Midline: Automatic dashed line at the 50 % zone level with independent transparency control.
- Chart Cleanup: Automatic removal of inactive zones older than 500 candles (max_boxes_count=500).
- Alerts: Built-in alerts for Break Up and Break Down with clear messages.
█ HOW TO USE
Add to Chart: Paste the script in Pine Editor or find it in TradingView’s indicator library.
Configure Settings:
- Volume Filter: Volume SMA Length (default 20) and Volume Multiplier (default 2.0) – higher multiplier = fewer but stronger zones.
- ATR Filter: Enable/disable, set ATR Length (14) and ATR Multiplier (3.5); choose action for very large candles (Skip Zone / Separate Color / Normal Zone).
- Box Style: Background transparency (90) and midline transparency (70).
- Bull/Bear Box Style: Border and gradient colors, line thickness (1-5).
- ATR Style: Separate colors for large-candle zones (gray by default).
- Signal Settings: Choose Signal Type (Break/Exit/Both) and signal colors.
Signal Interpretation:
- Break Up (green triangle below bar): Bearish HVZ broken upward → buy signal, continuation of uptrend.
- Break Down (red triangle above bar): Bullish HVZ broken downward → sell signal, continuation of downtrend.
- Exit Up/Down (circles): Price leaves zone without breakout – may signal end of correction or reversal setup.
- HVZ Zones: Price often returns to high-volume zones to clear orders. An unfilled zone remains a price magnet.
- 50 % Level (midline): Ideal target for partial take-profit or reaction point inside the zone.
Combine signals with other tools (e.g., RSI, MACD, higher timeframes) for higher confidence.
█ APPLICATIONS
- Price Action & ICT: HVZ act as dynamic S/R; in an uptrend look for buys after breaking a bearish HVZ, in a downtrend look for sells after breaking a bullish HVZ. If you trade retests instead of breakouts, increase Volume Multiplier to 2.5-3.0 – fewer zones but much stronger. Note that after breaking a very strong zone, price often pulls back deeply before continuing.
- Breakout Strategies: For maximum Break signals, lower Volume Multiplier to 1.5-1.8 – gives many high-quality entries in trending markets. Always trade in the direction of the prevailing trend (e.g., only longs in uptrends). Enter after a Break signal with confirmation from volume or momentum (MACD above zero, RSI >50 for longs, <50 for shorts).
█ NOTES
- The indicator requires real exchange volume – it will not function properly on instruments without reported volume (e.g., certain CFDs, forex).
- Always confirm signals with additional context (market structure, higher timeframe).
SJ Fx Session RangeSJ Fx Session Range Indicator
A Professional Forex Session Tracking Tool with Opening Range Analysis
Overview
The SJ Fx Session Range indicator is a comprehensive tool designed to help forex traders visualize major trading sessions (Asia, Europe+London, and New York) along with their first 15-minute opening ranges. Built with Pine Script v5, this indicator provides clear session boundaries, high/low ranges, and customizable opening range analysis to enhance your trading decisions.
Key Features
1. Trading Session Boxes
- Three major forex sessions: Asia, Europe+London, and New York
- Color-coded session boxes with transparent backgrounds for easy visualization
- Automatic session high/low tracking
- Session labels displayed inside boxes for quick identification
- Displays up to 50 historical sessions for pattern analysis
2. Opening Range Analysis
- Tracks first 15-minute opening range for Europe, London, and NY sessions
- Plots high, low, and mid-range levels
- Customizable line colors for each session's opening range
- Background highlights during the first 15 minutes of each session
- Helps identify potential breakout or reversal zones
3. Daylight Saving Time Support
- Built-in DST toggle for easy seasonal adjustment
- Automatically adjusts all session timings by 1 hour when enabled
- Clear tooltip instructions for when to enable/disable DST
- Default timings configured for IST timezone (Asia/Kolkata)
4. User-Friendly Design
- Clean input interface organized by session categories
- Fixed optimal settings for boxes and lines (50-day history)
- All session times are easily customizable with helpful tooltips
- Warning tooltips to prevent accidental timing changes
Default Session Times (when DST is disabled)
- Asia Session: 04:00 - 12:30 IST
- Europe + London Session: 12:30 - 20:00 IST
- New York Session: 20:00 - 02:30 IST
How to Use
1. Add to Chart: Apply the indicator to any forex pair chart
2. Adjust DST: Enable the "Start Daylight Saving Time Change" checkbox on the second Sunday in March; disable on the first Sunday in November
3. Customize Sessions: Toggle individual sessions on/off based on your trading preference
4. Opening Range Colors: Customize the opening range line colors for better visibility
5. Session Times: Default times are optimized for IST; modify only if trading from a different timezone
Technical Specifications
- Version: Pine Script v5
- Overlay: Yes (draws directly on price chart)
- Maximum Objects: 500 boxes, 500 lines
- History: 50 days of session data
- Timezone: Asia/Kolkata (IST) - customizable in code
Use Cases
- Identify high-liquidity trading periods
- Track session volatility patterns
- Monitor opening range breakouts/breakdowns
- Analyze session-specific price action
- Plan entries around major session opens
- Avoid trading during low-liquidity periods
Performance
Optimized for efficient rendering with:
- Fixed 50-day history limit for optimal performance
- Automatic cleanup of old session boxes and lines
- Lightweight code structure for fast chart loading
Customization Options
Available Inputs:
- Enable/disable individual sessions
- Adjust session timings (with safety tooltips)
- Toggle DST on/off
- Show/hide opening range analysis
- Customize opening range line colors for each session
Fixed for Optimal Performance:
- Session box colors (Asia: Aqua, Europe: Green, NY: Red)
- 50-day historical display
- Line width and style
- Mid-range line always displayed
Educational Value
This indicator helps traders:
- Understand forex market structure and session overlaps
- Recognize high-probability trading times
- Develop session-based trading strategies
- Improve timing of trade entries and exits
Open Source License
This script is published under Mozilla Public License 2.0, allowing you to:
- Use freely for personal trading
- Modify and adapt to your needs
- Learn from the code structure
- Share improvements with the community
Credits
Developed by Shantanu Joshi
- Designed for forex traders focusing on session-based strategies
- Built with clean, well-documented Pine Script v5 code
- Regular updates and improvements based on user feedback
Support & Feedback
If you find this indicator useful:
- Give it a thumbs up
- Share your trading results in the comments
- Suggest improvements or new features
- Report any issues for quick resolution
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always conduct your own research and risk management before making trading decisions. Past performance does not guarantee future results.
Compatible with: CFDs of forex pairs, commodities, indices, and crypto.
Best used on: 5-minutes
Recommended chart type: Candlestick charts
Volatility-Targeted Momentum Portfolio [BackQuant]Volatility-Targeted Momentum Portfolio
A complete momentum portfolio engine that ranks assets, targets a user-defined volatility, builds long, short, or delta-neutral books, and reports performance with metrics, attribution, Monte Carlo scenarios, allocation pie, and efficiency scatter plots. This description explains the theory and the mechanics so you can configure, validate, and deploy it with intent.
Table of contents
What the script does at a glance
Momentum, what it is, how to know if it is present
Volatility targeting, why and how it is done here
Portfolio construction modes: Long Only, Short Only, Delta Neutral
Regime filter and when the strategy goes to cash
Transaction cost modelling in this script
Backtest metrics and definitions
Performance attribution chart
Monte Carlo simulation
Scatter plot analysis modes
Asset allocation pie chart
Inputs, presets, and deployment checklist
Suggested workflow
1) What the script does at a glance
Pulls a list of up to 15 tickers, computes a simple momentum score on each over a configurable lookback, then volatility-scales their bar-to-bar return stream to a target annualized volatility.
Ranks assets by raw momentum, selects the top 3 and bottom 3, builds positions according to the chosen mode, and gates exposure with a fast regime filter.
Accumulates a portfolio equity curve with risk and performance metrics, optional benchmark buy-and-hold for comparison, and a full alert suite.
Adds visual diagnostics: performance attribution bars, Monte Carlo forward paths, an allocation pie, and scatter plots for risk-return and factor views.
2) Momentum: definition, detection, and validation
Momentum is the tendency of assets that have performed well to continue to perform well, and of underperformers to continue underperforming, over a specific horizon. You operationalize it by selecting a horizon, defining a signal, ranking assets, and trading the leaders versus laggards subject to risk constraints.
Signal choices . Common signals include cumulative return over a lookback window, regression slope on log-price, or normalized rate-of-change. This script uses cumulative return over lookback bars for ranking (variable cr = price/price - 1). It keeps the ranking simple and lets volatility targeting handle risk normalization.
How to know momentum is present .
Leaders and laggards persist across adjacent windows rather than flipping every bar.
Spread between average momentum of leaders and laggards is materially positive in sample.
Cross-sectional dispersion is non-trivial. If everything is flat or highly correlated with no separation, momentum selection will be weak.
Your validation should include a diagnostic that measures whether returns are explained by a momentum regression on the timeseries.
Recommended diagnostic tool . Before running any momentum portfolio, verify that a timeseries exhibits stable directional drift. Use this indicator as a pre-check: It fits a regression to price, exposes slope and goodness-of-fit style context, and helps confirm if there is usable momentum before you force a ranking into a flat regime.
3) Volatility targeting: purpose and implementation here
Purpose . Volatility targeting seeks a more stable risk footprint. High-vol assets get sized down, low-vol assets get sized up, so each contributes more evenly to total risk.
Computation in this script (per asset, rolling):
Return series ret = log(price/price ).
Annualized volatility estimate vol = stdev(ret, lookback) * sqrt(tradingdays).
Leverage multiplier volMult = clamp(targetVol / vol, 0.1, 5.0).
This caps sizing so extremely low-vol assets don’t explode weight and extremely high-vol assets don’t go to zero.
Scaled return stream sr = ret * volMult. This is the per-bar, risk-adjusted building block used in the portfolio combinations.
Interpretation . You are not levering your account on the exchange, you are rescaling the contribution each asset’s daily move has on the modeled equity. In live trading you would reflect this with position sizing or notional exposure.
4) Portfolio construction modes
Cross-sectional ranking . Assets are sorted by cr over the chosen lookback. Top and bottom indices are extracted without ties.
Long Only . Averages the volatility-scaled returns of the top 3 assets: avgRet = mean(sr_top1, sr_top2, sr_top3). Position table shows per-asset leverages and weights proportional to their current volMult.
Short Only . Averages the negative of the volatility-scaled returns of the bottom 3: avgRet = mean(-sr_bot1, -sr_bot2, -sr_bot3). Position table shows short legs.
Delta Neutral . Long the top 3 and short the bottom 3 in equal book sizes. Each side is sized to 50 percent notional internally, with weights within each side proportional to volMult. The return stream mixes the two sides: avgRet = mean(sr_top1,sr_top2,sr_top3, -sr_bot1,-sr_bot2,-sr_bot3).
Notes .
The selection metric is raw momentum, the execution stream is volatility-scaled returns. This separation is deliberate. It avoids letting volatility dominate ranking while still enforcing risk parity at the return contribution stage.
If everything rallies together and dispersion collapses, Long Only may behave like a single beta. Delta Neutral is designed to extract cross-sectional momentum with low net beta.
5) Regime filter
A fast EMA(12) vs EMA(21) filter gates exposure.
Long Only active when EMA12 > EMA21. Otherwise the book is set to cash.
Short Only active when EMA12 < EMA21. Otherwise cash.
Delta Neutral is always active.
This prevents taking long momentum entries during obvious local downtrends and vice versa for shorts. When the filter is false, equity is held flat for that bar.
6) Transaction cost modelling
There are two cost touchpoints in the script.
Per-bar drag . When the regime filter is active, the per-bar return is reduced by fee_rate * avgRet inside netRet = avgRet - (fee_rate * avgRet). This models proportional friction relative to traded impact on that bar.
Turnover-linked fee . The script tracks changes in membership of the top and bottom baskets (top1..top3, bot1..bot3). The intent is to charge fees when composition changes. The template counts changes and scales a fee by change count divided by 6 for the six slots.
Use case: increase fee_rate to reflect taker fees and slippage if you rebalance every bar or trade illiquid assets. Reduce it if you rebalance less often or use maker orders.
Practical advice .
If you rebalance daily, start with 5–20 bps round-trip per switch on liquid futures and adjust per venue.
For crypto perp microcaps, stress higher cost assumptions and add slippage buffers.
If you only rotate on lookback boundaries or at signals, use alert-driven rebalances and lower per-bar drag.
7) Backtest metrics and definitions
The script computes a standard set of portfolio statistics once the start date is reached.
Net Profit percent over the full test.
Max Drawdown percent, tracked from running peaks.
Annualized Mean and Stdev using the chosen trading day count.
Variance is the square of annualized stdev.
Sharpe uses daily mean adjusted by risk-free rate and annualized.
Sortino uses downside stdev only.
Omega ratio of sum of gains to sum of losses.
Gain-to-Pain total gains divided by total losses absolute.
CAGR compounded annual growth from start date to now.
Alpha, Beta versus a user-selected benchmark. Beta from covariance of daily returns, Alpha from CAPM.
Skewness of daily returns.
VaR 95 linear-interpolated 5th percentile of daily returns.
CVaR average of the worst 5 percent of daily returns.
Benchmark Buy-and-Hold equity path for comparison.
8) Performance attribution
Cumulative contribution per asset, adjusted for whether it was held long or short and for its volatility multiplier, aggregated across the backtest. You can filter to winners only or show both sides. The panel is sorted by contribution and includes percent labels.
9) Monte Carlo simulation
The panel draws forward equity paths from either a Normal model parameterized by recent mean and stdev, or non-parametric bootstrap of recent daily returns. You control the sample length, number of simulations, forecast horizon, visibility of individual paths, confidence bands, and a reproducible seed.
Normal uses Box-Muller with your seed. Good for quick, smooth envelopes.
Bootstrap resamples realized returns, preserving fat tails and volatility clustering better than a Gaussian assumption.
Bands show 10th, 25th, 75th, 90th percentiles and the path mean.
10) Scatter plot analysis
Four point-cloud modes, each plotting all assets and a star for the current portfolio position, with quadrant guides and labels.
Risk-Return Efficiency . X is risk proxy from leverage, Y is expected return from annualized momentum. The star shows the current book’s composite.
Momentum vs Volatility . Visualizes whether leaders are also high vol, a cue for turnover and cost expectations.
Beta vs Alpha . X is a beta proxy, Y is risk-adjusted excess return proxy. Useful to see if leaders are just beta.
Leverage vs Momentum . X is volMult, Y is momentum. Shows how volatility targeting is redistributing risk.
11) Asset allocation pie chart
Builds a wheel of current allocations.
Long Only, weights are proportional to each long asset’s current volMult and sum to 100 percent.
Short Only, weights show the short book as positive slices that sum to 100 percent.
Delta Neutral, 50 percent long and 50 percent short books, each side leverage-proportional.
Labels can show asset, percent, and current leverage.
12) Inputs and quick presets
Core
Portfolio Strategy . Long Only, Short Only, Delta Neutral.
Initial Capital . For equity scaling in the panel.
Trading Days/Year . 252 for stocks, 365 for crypto.
Target Volatility . Annualized, drives volMult.
Transaction Fees . Per-bar drag and composition change penalty, see the modelling notes above.
Momentum Lookback . Ranking horizon. Shorter is more reactive, longer is steadier.
Start Date . Ensure every symbol has data back to this date to avoid bias.
Benchmark . Used for alpha, beta, and B&H line.
Diagnostics
Metrics, Equity, B&H, Curve labels, Daily return line, Rolling drawdown fill.
Attribution panel. Toggle winners only to focus on what matters.
Monte Carlo mode with Normal or Bootstrap and confidence bands.
Scatter plot type and styling, labels, and portfolio star.
Pie chart and labels for current allocation.
Presets
Crypto Daily, Long Only . Lookback 25, Target Vol 50 percent, Fees 10 bps, Regime filter on, Metrics and Drawdown on. Monte Carlo Bootstrap with Recent 200 bars for bands.
Crypto Daily, Delta Neutral . Lookback 25, Target Vol 50 percent, Fees 15–25 bps, Regime filter always active for this mode. Use Scatter Risk-Return to monitor efficiency and keep the star near upper left quadrants without drifting rightward.
Equities Daily, Long Only . Lookback 60–120, Target Vol 15–20 percent, Fees 5–10 bps, Regime filter on. Use Benchmark SPX and watch Alpha and Beta to keep the book from becoming index beta.
13) Suggested workflow
Universe sanity check . Pick liquid tickers with stable data. Thin assets distort vol estimates and fees.
Check momentum existence . Run on your timeframe. If slope and fit are weak, widen lookback or avoid that asset or timeframe.
Set risk budget . Choose a target volatility that matches your drawdown tolerance. Higher target increases turnover and cost sensitivity.
Pick mode . Long Only for bull regimes, Short Only for sustained downtrends, Delta Neutral for cross-sectional harvesting when index direction is unclear.
Tune lookback . If leaders rotate too often, lengthen it. If entries lag, shorten it.
Validate cost assumptions . Increase fee_rate and stress Monte Carlo. If the edge vanishes with modest friction, refine selection or lengthen rebalance cadence.
Run attribution . Confirm the strategy’s winners align with intuition and not one unstable outlier.
Use alerts . Enable position change, drawdown, volatility breach, regime, momentum shift, and crash alerts to supervise live runs.
Important implementation details mapped to code
Momentum measure . cr = price / price - 1 per symbol for ranking. Simplicity helps avoid overfitting.
Volatility targeting . vol = stdev(log returns, lookback) * sqrt(tradingdays), volMult = clamp(targetVol / vol, 0.1, 5), sr = ret * volMult.
Selection . Extract indices for top1..top3 and bot1..bot3. The arrays rets, scRets, lev_vals, and ticks_arr track momentum, scaled returns, leverage multipliers, and display tickers respectively.
Regime filter . EMA12 vs EMA21 switch determines if the strategy takes risk for Long or Short modes. Delta Neutral ignores the gate.
Equity update . Equity multiplies by 1 + netRet only when the regime was active in the prior bar. Buy-and-hold benchmark is computed separately for comparison.
Tables . Position tables show current top or bottom assets with leverage and weights. Metric table prints all risk and performance figures.
Visualization panels . Attribution, Monte Carlo, scatter, and pie use the last bars to draw overlays that update as the backtest proceeds.
Final notes
Momentum is a portfolio effect. The edge comes from cross-sectional dispersion, adequate risk normalization, and disciplined turnover control, not from a single best asset call.
Volatility targeting stabilizes path but does not fix selection. Use the momentum regression link above to confirm structure exists before you size into it.
Always test higher lag costs and slippage, then recheck metrics, attribution, and Monte Carlo envelopes. If the edge persists under stress, you have something robust.
MTF EMA Trading SystemHere's a comprehensive description and usage guide for publishing your MTF EMA Trading System indicator on TradingView:
MTF EMA Trading System - Pro Edition
📊 Indicator Overview
The MTF EMA Trading System is an advanced multi-timeframe exponential moving average indicator designed for traders seeking high-probability setups with multiple confirmations. Unlike simple EMA crossover systems, this indicator combines trend alignment, momentum, volume analysis, and previous day confluence to generate reliable long and short signals with optimal risk-reward ratios.
✨ Key Features
1. Multi-Timeframe EMA Analysis
Configure 5 independent EMAs (default: 9, 21, 50, 100, 200)
Each EMA can pull data from ANY timeframe (5m, 15m, 1H, 4H, 1D, etc.)
Color-coded lines with customizable widths
End-of-line labels showing EMA period and timeframe (e.g., "EMA200 ")
Perfect for analyzing higher timeframe trends on lower timeframe charts
2. Advanced Signal Generation (Beyond Simple Crosses)
The system requires MULTIPLE confirmations before generating a signal:
LONG Signals Require:
✅ Price action trigger (EMA cross, bounce from key EMA, or pullback setup)
✅ Bullish EMA alignment (EMAs in proper ascending order)
✅ Volume spike confirmation (configurable threshold)
✅ RSI momentum confirmation (bullish but not overbought)
✅ Sufficient EMA separation (avoids choppy/whipsaw conditions)
✅ Price above previous day's low (confluence with support)
SHORT Signals Require:
✅ Price action trigger (EMA cross, rejection from key EMA, or pullback setup)
✅ Bearish EMA alignment (EMAs in proper descending order)
✅ Volume spike confirmation
✅ RSI momentum confirmation (bearish but not oversold)
✅ Sufficient EMA separation
✅ Price below previous day's high (confluence with resistance)
3. Real-Time Dashboard
Displays critical market conditions at a glance:
Overall trend direction (Bullish/Bearish/Neutral)
Price position relative to all EMAs
Volume status (spike or normal)
RSI momentum reading
EMA confluence strength
EMA separation quality
Current ATR value
Previous day high/low levels
Current signal status (LONG/SHORT/WAIT)
Risk-reward ratio
4. Clean Visual Design
Large, clear trade signal markers (green triangles for LONG, red triangles for SHORT)
No chart clutter - only essential information displayed
Customizable signal sizes
Professional color-coded dashboard
5. Built-In Risk Management
ATR-based calculations for stop loss placement
1:2 risk-reward ratio by default
All levels displayed in dashboard for easy reference
🎯 How to Use This Indicator
Step 1: Initial Setup
Add the indicator to your TradingView chart
Configure your preferred timeframes for each EMA:
EMA 9: Leave blank (uses chart timeframe) - Fast reaction to price
EMA 21: Leave blank or set to 15m - Key pivot level
EMA 50: Set to 1H - Intermediate trend
EMA 100: Set to 4H - Major trend filter
EMA 200: Set to 1D - Overall market bias
Adjust signal settings based on your trading style:
Conservative: Keep all confirmations enabled
Aggressive: Disable volume or momentum requirements
Scalping: Reduce min EMA separation to 0.2-0.3%
Step 2: Reading the Dashboard
Before taking any trade, check the dashboard:
Trend: Only take LONG signals in bullish trends, SHORT signals in bearish trends
Position: Confirm price is on the correct side of EMAs
Volume: Green spike = strong confirmation
RSI: Avoid extremes (>70 or <30)
Confluence: "Strong" = high probability setup
Separation: "Good" = trending market, avoid "Low" separation
Step 3: Trade Entry
For LONG Trades:
Wait for green triangle to appear below price
Verify dashboard shows:
Bullish or Neutral trend
Volume spike (preferred)
RSI between 50-70
Good separation
Enter at market or on next bar
Set stop loss at: Entry - (ATR × 2)
Set target at: Entry + (ATR × 4)
For SHORT Trades:
Wait for red triangle to appear above price
Verify dashboard shows:
Bearish or Neutral trend
Volume spike (preferred)
RSI between 30-50
Good separation
Enter at market or on next bar
Set stop loss at: Entry + (ATR × 2)
Set target at: Entry - (ATR × 4)
Step 4: Trade Management
Use the ATR values from dashboard for position sizing
Trail stops using the fastest EMA (EMA 9) as price moves in your favor
Exit partial position at 1:1 risk-reward, let remainder run to target
Exit immediately if dashboard trend changes against your position
💡 Best Practices
Timeframe Recommendations:
Scalping: 1m-5m chart with 5m, 15m, 1H, 4H, 1D EMAs
Day Trading: 5m-15m chart with 15m, 1H, 4H, 1D EMAs
Swing Trading: 1H-4H chart with 4H, 1D, 1W EMAs
Position Trading: 1D chart with 1D, 1W, 1M EMAs
Market Conditions:
Best in: Trending markets with clear direction
Avoid: Tight consolidation, low volume periods, major news events
Filter trades: Only take signals aligned with higher timeframe trend
Risk Management:
Never risk more than 1-2% per trade
Use ATR from dashboard to calculate position size
Respect the stop loss levels
Don't force trades when dashboard shows weak conditions
⚙️ Customization Options
EMA Settings (for each of 5 EMAs):
Length (period)
Timeframe (multi-timeframe capability)
Color
Line width
Show/hide toggle
Signal Settings:
Volume confirmation (on/off)
Volume spike threshold (1.0-3.0x)
Momentum confirmation (on/off)
RSI overbought/oversold levels
Minimum EMA separation percentage
ATR period and stop multiplier
Display Settings:
Show/hide EMA labels
Show/hide trade signals
Signal marker size (tiny/small/normal/large)
Show/hide dashboard
🔔 Alert Setup
The indicator includes 4 alert conditions:
LONG Signal - Fires when all long confirmations are met
SHORT Signal - Fires when all short confirmations are met
Bullish Setup - Early warning when trend aligns bullish with volume
Bearish Setup - Early warning when trend aligns bearish with volume
To set up alerts:
Right-click on chart → Add Alert
Select "MTF EMA Trading System"
Choose your desired alert condition
Configure notification method (popup, email, SMS, webhook)
📈 Performance Tips
Increase Win Rate:
Only trade in direction of higher timeframe trend
Wait for volume spike confirmation
Avoid trades during first 30 minutes and last 15 minutes of session
Skip trades when separation is "Low"
Reduce False Signals:
Increase minimum EMA separation to 0.7-1.0%
Enable all confirmation requirements
Only trade when confluence shows "Strong"
Combine with support/resistance levels
Optimize for Your Market:
Stocks: Use 9, 21, 50, 100, 200 EMAs
Forex: Consider 8, 13, 21, 55, 89 EMAs (Fibonacci)
Crypto: May need wider ATR multiplier (2.5-3.0x) for volatility
⚠️ Important Notes
This indicator is designed to reduce false signals by requiring multiple confirmations
No indicator is 100% accurate - always use proper risk management
Backtesting recommended before live trading
Market conditions change - adjust settings as needed
Works best in liquid markets with clear price action
🎓 Conclusion
The MTF EMA Trading System transforms simple moving average analysis into a sophisticated, multi-confirmation trading strategy. By combining trend alignment, momentum, volume, and confluence, it helps traders identify high-probability setups while filtering out noise and false signals. The clean interface and comprehensive dashboard make it suitable for both beginners and experienced traders across all markets and timeframes.






















