PROTECTED SOURCE SCRIPT

Smart TP Manager - FREE Edition

98
📘 Smart TP Manager - User Guide
🎯 Parameter Adaptation by Timeframe
IMPORTANT: Default parameters are optimized for M5 (5 minutes). If you trade on other timeframes, you MUST adapt the parameters for better results.

📊 Recommended Settings Table
M1 (1 minute) - Ultra Scalping
ATR SL Multiplier: 1.5 - 1.8
Number of TPs: 3 - 4
Base RR: 0.4 - 0.5
Confirmation Bars: 2
Cooldown: 3 - 5 bars
Breakeven: Enable after TP1
Profile: Very fast trades, immediate exits, tight SL

M5 (5 minutes) - Scalping ✅ DEFAULT
ATR SL Multiplier: 1.8 - 2.0
Number of TPs: 4 - 5
Base RR: 0.5 - 0.6
Confirmation Bars: 2 - 3
Cooldown: 5 - 8 bars
Breakeven: Enable after TP1 or TP2
Profile: Standard scalping, balance between speed and security

M15 (15 minutes) - Intraday
ATR SL Multiplier: 2.0 - 2.2
Number of TPs: 5 - 6
Base RR: 0.6 - 0.8
Confirmation Bars: 3
Cooldown: 8 - 10 bars
Breakeven: Enable after TP2
Profile: Intraday trading, 3-8 trades per day

H1 (1 hour) - Swing
ATR SL Multiplier: 2.2 - 2.5
Number of TPs: 5 - 6
Base RR: 0.8 - 1.0
Confirmation Bars: 3 - 4
Cooldown: 10 - 15 bars
Breakeven: Enable after TP2 or TP3
Profile: Swing trading, 1-3 trades per day

H4 (4 hours) - Position
ATR SL Multiplier: 2.5 - 3.0
Number of TPs: 6
Base RR: 1.0 - 1.2
Confirmation Bars: 4 - 5
Cooldown: 15 - 20 bars
Breakeven: Enable after TP3
Profile: Position trading, multi-day trades

🔍 Adaptation Logic
General Rule:
LOWER Timeframe → TIGHTER Parameters
HIGHER Timeframe → WIDER Parameters
Why Adapt?
1. ATR SL Multiplier

M1: Very volatile market, fast moves → Tight SL (1.5-1.8)
H4: Slow moves, breathing room needed → Wide SL (2.5-3.0)

2. Number of TPs

M1: Quick exits before reversal → 3-4 TPs
H4: Let profits run → 6 TPs

3. Base RR

M1: Close targets, quick exits → 0.4-0.5
H4: Ambitious targets, patience → 1.0-1.2

4. Confirmation Bars

M1: Fast entry, 2 candles enough
H4: Strong confirmation needed, 4-5 candles

5. Cooldown

M1: Multiple trades per hour possible → 3-5 bars
H4: Important spacing between trades → 15-20 bars

6. Breakeven

M1: Immediate protection after TP1
H4: Let trade breathe, BE after TP3


💡 Real Examples
Example 1: Gold M1 Scalping
Goal: 10-20 trades/day, ultra-fast exits

Recommended Parameters:
- ATR SL: 1.6
- TPs: 4
- Base RR: 0.5
- Confirmation: 2
- Cooldown: 5
- BE: ON after TP1

Expected Results:
- Winrate: 40-50%
- Net P/L: +3 to +6R per day
- SL: 10-15 pips
- TP1: 5-8 pips (quick exit)

Example 2: Gold M15 Day Trading
Goal: 3-6 trades/day, let it breathe

Recommended Parameters:
- ATR SL: 2.1
- TPs: 5
- Base RR: 0.7
- Confirmation: 3
- Cooldown: 10
- BE: ON after TP2

Expected Results:
- Winrate: 50-60%
- Net P/L: +5 to +10R per day
- SL: 20-30 pips
- TP1: 14-21 pips

Example 3: Gold H1 Swing Trading
Goal: 1-2 trades/day, maximum patience

Recommended Parameters:
- ATR SL: 2.4
- TPs: 6
- Base RR: 0.9
- Confirmation: 4
- Cooldown: 12
- BE: ON after TP2

Expected Results:
- Winrate: 55-65%
- Net P/L: +8 to +15R per week
- SL: 40-60 pips
- TP1: 36-54 pips

⚠️ Common Mistakes to Avoid
❌ MISTAKE #1: Using same parameters on all timeframes
M1 with ATR SL 2.5 → SL too wide, huge losses
H4 with ATR SL 1.5 → SL too tight, constant stop outs
❌ MISTAKE #2: Too many TPs on low timeframe
M1 with 6 TPs → Impossible to reach all TPs
❌ MISTAKE #3: Too long confirmation on M1
M1 with 5 confirmation bars → Misses all fast moves
❌ MISTAKE #4: Too short cooldown on H4
H4 with 3 bars cooldown → Overtrading, too many poor-quality trades

🎯 Testing Methodology
Step 1: Start with recommended values
Use the table above according to your timeframe
Step 2: Backtest on minimum 100 trades
Observe:

Winrate
Net P/L in R
Number of BE hits
Trade frequency

Step 3: Adjust based on results
If too many SL hits:

↑ Increase ATR SL Multiplier by +0.2
↑ Increase Confirmation Bars by +1

If not enough trades:

↓ Reduce Cooldown by -2
↓ Reduce Confirmation Bars by -1

If TPs never reached:

↓ Reduce Number of TPs by -1
↓ Reduce Base RR by -0.1

If too many BE but no real wins:

↑ Increase Base RR by +0.1
Disable BE temporarily


📈 Performance Tracking
Key indicators by timeframe:
TFTrades/DayMin WinrateNet P/L/DayAvg SL (pips)M110-2040%+3R10-15M55-1245%+4R15-20M153-850%+5R20-30H11-455%+3R40-60H40.5-260%+2R80-120

🚀 Final Advice
DO NOT USE THE SAME PARAMETERS ON DIFFERENT TIMEFRAMES!
Each timeframe has its own dynamics. Adapting parameters is not optional, it's MANDATORY for optimal results.
Different timeframe = Different parameters = Different results
Quick Reference Chart
M1 → AGGRESSIVE (tight SL, few TPs, quick BE)
M5 → BALANCED (default settings)
M15 → MODERATE (wider SL, more TPs)
H1 → PATIENT (wide SL, max TPs, late BE)
H4 → CONSERVATIVE (very wide SL, all TPs, very late BE)

📝 Best Practices

Always backtest on your specific timeframe before live trading
Start conservative - use higher ATR multipliers first
Track your stats - Wins, Losses, BE, Net P/L
Adjust gradually - change one parameter at a time
Respect your timeframe - don't force H4 parameters on M1
Use breakeven wisely - protect profits but don't choke trades
Monitor cooldown - too many trades = lower quality


🎓 Understanding the Strategy
EMA 9/21 Crossover

BUY: EMA9 crosses above EMA21
SELL: EMA9 crosses below EMA21

RSI Filter

Avoids overbought (>70) for longs
Avoids oversold (<30) for shorts

Confirmation System

Requires X consecutive candles meeting conditions
Reduces false signals

Take Profit Structure

Non-linear TP levels
TP1: 0.5R (default)
TP2: 1.0R
TP3: 1.5R
TP4: 2.0R
TP5: 2.5R

Risk Management

ATR-based stop loss (adapts to volatility)
Optional breakeven after specified TP
Cooldown prevents overtrading


🌟 Pro Tips

Gold (XAUUSD) specific: Use tighter parameters than forex pairs
NY Session: More volatility, tighter SL recommended
Asian Session: Lower volatility, consider skipping or wider SL
News events: Increase cooldown before/after major news
Trending markets: Increase Number of TPs
Ranging markets: Decrease Number of TPs, faster exits


Happy Trading! 🎯
Remember: Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.