OPEN-SOURCE SCRIPT
Shadow Mode Simulator ELITE

🎮 SHADOW MODE SIMULATOR — FEATURE GUIDE
Think of this as GTA with rules instead of random driving.
🏆 1. A / A+ SETUP GRADING (QUALITY CONTROL)
Every entry is graded automatically:
✅ A+ Setup (best XP)
Must have:
• HTF trend aligned
• Liquidity sweep OR perfect pullback
• High confidence (4–5)
✅ A Setup (acceptable)
Must have:
• HTF trend aligned
• ONE valid strategy condition
⚠️ B Setup (allowed but low reward)
Everything else
❌ Invalid
Bad RR or no strategy → XP penalty
👉 This trains selectivity (most traders fail here)
🗺️ 2. AUTO SESSION HEATMAP
Background turns green during your trading session.
This teaches:
✔ When liquidity is real
✔ When NOT to trade
No more random midnight scalping.
😵 3. TILT DETECTOR
Triggers when:
• 2 losses in a row
• Or cooldown active
Shows:
⚠️ TILT WARNING
This is your psychology guardian.
(Pros stop trading here. Retail blows accounts here.)
🧠 4. STRATEGY-SPECIFIC VALIDATORS
You can toggle:
✅ Liquidity sweep trades
✅ Trend pullback trades
If you enter without one → ❌ punished.
This builds:
➡️ mechanical discipline
➡️ no random clicking
⏳ 5. EMOTIONAL COOLDOWN SYSTEM
After a loss:
• You are “locked” for X candles
• No rushing back in
This rewires revenge trading.
📊 6. LIVE PERFORMANCE ENGINE
Tracks:
• XP
• Level
• Win rate
• Win/loss streak
• Trade count
• Tilt state
• HTF bias
• Setup grade
You level up by:
👉 discipline — not profit
📈 LEVEL MEANING (IMPORTANT)
Level Skill State
1–2 Impulsive
3–4 Learning patience
5–6 Controlled
7–8 Consistent
9+ Pro-ready
You should NOT trade real money seriously before level 7.
🧪 FULL LIVE TUTORIAL — HOW TO USE IT
STEP 1 — SETUP
Open TradingView
Open chart you scalp (NIFTY/BTC/etc)
Add the Shadow Mode indicator
Set:
• Session time
• HTF timeframe
• Max trades
STEP 2 — MARKET OPENS
Your job first 10–15 mins:
❌ Do nothing
👀 Just watch structure
(This alone fixes overtrading)
STEP 3 — WHEN YOU SEE A SETUP
Ask:
✔ HTF aligned?
✔ Liquidity sweep or pullback?
✔ RR good?
If yes:
👉 Click 📥 ENTRY
You’ll see:
• Grade (A / A+)
• Entry marker
STEP 4 — MANAGE LIKE A ROBOT
Do NOT interfere.
Let:
• TP
• SL
• or invalidation happen
STEP 5 — EXIT
Click:
📤 EXIT when trade is done
System:
• Awards XP
• Updates streaks
• Tracks win rate
STEP 6 — IF YOU MESSED UP
Click:
❌ RULE BREAK
(Takes XP + activates cooldown)
This hurts — on purpose.
📆 PERFECT TRAINING DAY LOOKS LIKE:
✅ 1–2 A/A+ trades
✅ maybe 1 loss
✅ stop after cooldown
✅ XP positive
Even if P&L is flat.
That’s winning.
🚫 COMMON MISTAKES (DON’T DO THESE)
❌ Clicking entry emotionally
❌ Ignoring HTF bias
❌ Overtrading
❌ Chasing candles
❌ Skipping cooldown
The simulator is designed to punish these.
🧠 WHY THIS WORKS (SCIENCE SIDE)
This trains:
• Pattern recognition
• impulse control
• delayed gratification
• process over money
Same principles used in pilot & athlete simulators.
🎯 OPTIONAL HARD MODE (WHEN READY)
• Max 1 trade/day
• Only A+ setups
• Higher RR minimum
This accelerates mastery.
Think of this as GTA with rules instead of random driving.
🏆 1. A / A+ SETUP GRADING (QUALITY CONTROL)
Every entry is graded automatically:
✅ A+ Setup (best XP)
Must have:
• HTF trend aligned
• Liquidity sweep OR perfect pullback
• High confidence (4–5)
✅ A Setup (acceptable)
Must have:
• HTF trend aligned
• ONE valid strategy condition
⚠️ B Setup (allowed but low reward)
Everything else
❌ Invalid
Bad RR or no strategy → XP penalty
👉 This trains selectivity (most traders fail here)
🗺️ 2. AUTO SESSION HEATMAP
Background turns green during your trading session.
This teaches:
✔ When liquidity is real
✔ When NOT to trade
No more random midnight scalping.
😵 3. TILT DETECTOR
Triggers when:
• 2 losses in a row
• Or cooldown active
Shows:
⚠️ TILT WARNING
This is your psychology guardian.
(Pros stop trading here. Retail blows accounts here.)
🧠 4. STRATEGY-SPECIFIC VALIDATORS
You can toggle:
✅ Liquidity sweep trades
✅ Trend pullback trades
If you enter without one → ❌ punished.
This builds:
➡️ mechanical discipline
➡️ no random clicking
⏳ 5. EMOTIONAL COOLDOWN SYSTEM
After a loss:
• You are “locked” for X candles
• No rushing back in
This rewires revenge trading.
📊 6. LIVE PERFORMANCE ENGINE
Tracks:
• XP
• Level
• Win rate
• Win/loss streak
• Trade count
• Tilt state
• HTF bias
• Setup grade
You level up by:
👉 discipline — not profit
📈 LEVEL MEANING (IMPORTANT)
Level Skill State
1–2 Impulsive
3–4 Learning patience
5–6 Controlled
7–8 Consistent
9+ Pro-ready
You should NOT trade real money seriously before level 7.
🧪 FULL LIVE TUTORIAL — HOW TO USE IT
STEP 1 — SETUP
Open TradingView
Open chart you scalp (NIFTY/BTC/etc)
Add the Shadow Mode indicator
Set:
• Session time
• HTF timeframe
• Max trades
STEP 2 — MARKET OPENS
Your job first 10–15 mins:
❌ Do nothing
👀 Just watch structure
(This alone fixes overtrading)
STEP 3 — WHEN YOU SEE A SETUP
Ask:
✔ HTF aligned?
✔ Liquidity sweep or pullback?
✔ RR good?
If yes:
👉 Click 📥 ENTRY
You’ll see:
• Grade (A / A+)
• Entry marker
STEP 4 — MANAGE LIKE A ROBOT
Do NOT interfere.
Let:
• TP
• SL
• or invalidation happen
STEP 5 — EXIT
Click:
📤 EXIT when trade is done
System:
• Awards XP
• Updates streaks
• Tracks win rate
STEP 6 — IF YOU MESSED UP
Click:
❌ RULE BREAK
(Takes XP + activates cooldown)
This hurts — on purpose.
📆 PERFECT TRAINING DAY LOOKS LIKE:
✅ 1–2 A/A+ trades
✅ maybe 1 loss
✅ stop after cooldown
✅ XP positive
Even if P&L is flat.
That’s winning.
🚫 COMMON MISTAKES (DON’T DO THESE)
❌ Clicking entry emotionally
❌ Ignoring HTF bias
❌ Overtrading
❌ Chasing candles
❌ Skipping cooldown
The simulator is designed to punish these.
🧠 WHY THIS WORKS (SCIENCE SIDE)
This trains:
• Pattern recognition
• impulse control
• delayed gratification
• process over money
Same principles used in pilot & athlete simulators.
🎯 OPTIONAL HARD MODE (WHEN READY)
• Max 1 trade/day
• Only A+ setups
• Higher RR minimum
This accelerates mastery.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.