Trailing Stop Guide
π Overview
Trailing Stop is a dynamic stop loss that automatically follows price movement in your favor. Instead of fixed SL, it "trails" behind price at a specified distance, locking in profits as the trade moves favorably while giving room for continued profit.
Key Benefits:
β Lock in profits automatically
β Let winning trades run
β No manual intervention needed
β Protect against sudden reversals
How It Works:
1. Price moves in your favor
2. SL follows at fixed distance
3. If price reverses, SL remains (profit locked)
4. Order closes when price hits trailing SLβοΈ Core Settings
1. EnableTrailingStop
EnableTrailingStop = true | falseControls whether trailing stop is active for all orders.
false (Default - Fixed SL)
Behavior: Stop Loss stays at original level (standard trading).
Example:
true (Trailing Stop Active)
Behavior: SL automatically follows price movement.
Example:
π― Configuration Settings
2. TrailingStop_Pips
Defines how far SL trails behind current price.
Small Distance (10-20 pips) - Tight Trailing
Behavior: SL very close to price.
Pros:
β Lock profits quickly
β Minimize drawdown
β Good for scalping
Cons:
β Frequent stops due to normal volatility
β May exit too early on runners
β Requires calm markets
Best for:
Scalping strategies (M1-M15)
Low volatility pairs (EURUSD, USDCHF)
Quick profit taking
Example:
Medium Distance (30-50 pips) - Balanced Trailing
Behavior: Moderate distance, balance between protection and room.
Pros:
β Good profit protection
β Room for normal pullbacks
β Versatile for most pairs
Cons:
β May give back some profit
β Requires monitoring
Best for:
Day trading (H1-H4)
Standard forex pairs
Balanced risk/reward
Example:
Large Distance (60-100+ pips) - Wide Trailing
Behavior: SL far behind, maximum room for runners.
Pros:
β Let big trends develop
β Avoid premature exits
β Handle volatility well
Cons:
β Give back significant profit on reversals
β Requires strong trends
Best for:
Swing trading (H4-Daily)
Volatile pairs (GBPJPY, XAUUSD)
Trend following strategies
Example:
3. TrailingStop_Step
Controls how often SL updates (prevents excessive modifications).
Purpose:
Reduce broker requests (avoid "too frequent modifications" errors)
Smooth trailing (not every tick)
Optimize performance
Small Step (1-5 pips) - Frequent Updates
Behavior: SL updates almost every favorable price movement.
Pros:
β Maximizes locked profit
β Precise trailing
Cons:
β Many broker requests
β May hit modification limits
β Increased execution load
Best for:
Brokers with no modification limits
Scalping with tight trailing
High precision strategies
Medium Step (5-10 pips) - Balanced Updates
Behavior: SL updates every 5 pip movement in your favor.
Pros:
β Good profit locking
β Reasonable broker requests
β Works with most brokers
Cons:
β May miss 1-4 pips of potential lock
Best for:
Most trading styles
Standard brokers
Recommended default
Example:
Large Step (10-20 pips) - Infrequent Updates
Behavior: SL updates only on significant price moves.
Pros:
β Minimal broker requests
β Works with restrictive brokers
β Smooth operation
Cons:
β Less precise profit locking
β May miss optimal SL placement
Best for:
Swing trading (large moves anyway)
Brokers with modification limits
Wide trailing strategies
4. TrailingStart_Pips
Controls when trailing stop starts (activation threshold).
Zero or Low Start (0-10 pips) - Immediate Trailing
Behavior: Trailing starts immediately at entry.
Example:
Pros:
β Maximum protection from start
β Lock any profit quickly
Cons:
β Frequent stops on small moves
β May exit before trade develops
Best for:
Very tight scalping
Markets with instant movement
Maximum protection priority
Medium Start (20-40 pips) - Delayed Activation
Behavior: Trailing starts only after reaching profit threshold.
Example:
Pros:
β Trade has room to breathe initially
β Avoids premature trailing in choppy entry
β Professional approach
Cons:
β Original SL risk until activation
Best for:
Day trading (H1-H4)
Most strategies (recommended)
Balanced approach
High Start (50-100+ pips) - Late Activation
Behavior: Trailing only starts after significant profit.
Example:
Pros:
β Maximum room for trend development
β Avoid noise in consolidation
β Only trail confirmed runners
Cons:
β Large risk until activation
β May never activate on small moves
Best for:
Swing trading (H4-Weekly)
Strong trend following
Runner strategies
πΌ Real-World Examples
Example 1: Scalping EURUSD (Tight Trailing)
Configuration:
Trade:
Example 2: Day Trading GBPUSD (Balanced Trailing)
Configuration:
Trade:
Example 3: Swing Trading XAUUSD (Wide Trailing)
Configuration:
Trade:
Example 4: Volatile Pair GBPJPY (Adaptive)
Configuration:
Reasoning: GBPJPY moves fast, needs room but also protection.
Trade:
β οΈ Common Mistakes
β Mistake 1: Too Tight Trailing
Bad:
Result: Stopped out constantly by normal volatility.
Good:
β Mistake 2: No Activation Delay
Bad:
Good:
β Mistake 3: Step Too Small
Bad:
Good:
β Mistake 4: Same Settings for All Pairs
Bad:
Good: Use separate EA instances or ATR-based trailing.
β Mistake 5: Trailing Wider Than Initial SL
Bad:
Good:
β
Best Practices
β
1. Match Trailing to Timeframe
M1-M5 (Scalp)
10-20 pips
5-10 pips
M15-H1 (Day)
30-50 pips
20-40 pips
H4 (Swing)
60-100 pips
50-80 pips
Daily+ (Position)
100-200 pips
100-150 pips
β
2. Match Trailing to Pair Volatility
Low Volatility (EURUSD, USDCHF):
Medium Volatility (GBPUSD, AUDUSD):
High Volatility (GBPJPY, XAUUSD):
β
3. Use Activation Threshold
Recommended:
Benefit: Trade has room to develop before trailing starts.
β
4. Set Step Appropriately
β
5. Test Before Live
Enable on demo for 1-2 weeks
Monitor EA logs for SL modifications
Verify trailing activates correctly
Check profit locking works as expected
π― Strategy Combinations
Conservative Trailing (Lock Profits Fast)
Result: Quick profit protection, accept frequent exits.
Balanced Trailing (Recommended)
Result: Good balance of protection and room to run.
Aggressive Trailing (Let Trends Run)
Result: Maximum runner potential, give back more on reversals.
π Performance Comparison
Test: 100 trades, EURUSD H1, 3 months
No Trailing (Fixed SL)
+12%
52%
-8%
Tight Trailing (15 pips)
+8%
48%
-6%
Balanced Trailing (40 pips)
+18%
54%
-7%
Wide Trailing (80 pips)
+15%
56%
-9%
Conclusion: Balanced trailing (40 pips) performed best for H1 timeframe.
π EA Logging Examples
Trailing Activated:
SL Modified (Trailing):
Order Closed by Trailing SL:
π Quick Start Guide
Step 1: Determine Your Style
Scalper: Tight trailing (15-25 pips) Day Trader: Balanced trailing (30-50 pips) Swing Trader: Wide trailing (60-120 pips)
Step 2: Configure Settings
Step 3: Test on Demo
Open 5-10 trades
Monitor SL modifications
Check profit locking
Verify no broker errors
Step 4: Fine-Tune
Too many stops? Increase trailing distance
Not locking profit? Decrease start threshold
Broker errors? Increase step size
Step 5: Go Live
Start with conservative settings
Monitor first week closely
Adjust based on results
π FAQ
Q: Can I use trailing stop with fixed SL at same time? A: Yes. Initial SL is fixed until trailing activates.
Q: Does trailing work with pending orders? A: Yes, trailing starts after order is triggered and reaches activation threshold.
Q: Can I disable trailing for specific symbols? A: Not directly. Use separate EA instances or disable globally.
Q: What if price gaps through trailing SL? A: Order closes at actual price (standard MT4 behavior), may have slippage.
Q: Does trailing affect TP? A: No, TP remains fixed. If TP is hit, trailing SL is irrelevant.
Remember: Trailing stop is a powerful tool to let winners run while protecting profits. Use it wisely! π
Last updated