Stop Loss & Take Profit Configuration Guide
๐ Overview
RedFox Copier Pro offers flexible SL (Stop Loss) and TP (Take Profit) configuration with multiple calculation modes. You can use signal values directly, apply fixed values, calculate based on ATR (Average True Range), or use Risk-Reward ratios.
Key Capabilities:
4 SL modes: SAME_AS_SIGNAL, FIXED, ATR_BASED, RR_BASED
4 TP modes: SAME_AS_SIGNAL, FIXED, ATR_BASED, RR_BASED
Support for multiple TP levels (TP1, TP2, TP3)
Dynamic ATR calculation
Flexible Risk-Reward ratios
โ๏ธ Stop Loss Settings
1. SL_Mode
SL_Mode = SAME_AS_SIGNAL | FIXED | ATR_BASED | RR_BASEDSAME_AS_SIGNAL (Default)
Behavior: Uses SL value directly from Telegram signal.
Example Signal:
๐ EURUSD BUY @ 1.0850
SL: 1.0800
TP: 1.0900Result:
EA opens: BUY EURUSD @ 1.0850
Stop Loss: 1.0800 (exactly as signal)When to use:
Trust signal provider's SL placement
Signal provider has good risk management
Signals include optimal SL values
Pros:
โ Respects signal provider's analysis
โ No additional calculation needed
โ Simple and reliable
Cons:
โ No customization
โ May not fit your risk tolerance
FIXED Mode
Behavior: Replaces signal SL with your fixed pip/point value.
Settings:
SL_Mode = FIXED
SL_Fixed_Pips = 50 // 50 pips for all ordersExample:
Signal: GBPUSD BUY @ 1.2700, SL: 1.2650 (50 pips)
Your Setting: SL_Fixed_Pips = 30
Result:
Opens: BUY @ 1.2700
Stop Loss: 1.2670 (30 pips, overrides signal's 50)When to use:
Consistent SL distance for all trades
Signal SL too wide/tight for your strategy
Backtesting different SL values
Configuration Examples:
Tight SL (Scalping):
SL_Fixed_Pips = 15 // 15 pipsMedium SL (Day Trading):
SL_Fixed_Pips = 50 // 50 pipsWide SL (Swing Trading):
SL_Fixed_Pips = 200 // 200 pipsImportant:
Value in pips for Forex (0.0001 for EUR, 0.01 for JPY)
Value in points for Gold/Indices (e.g., 50 = $5 for XAUUSD)
ATR_BASED Mode
Behavior: Calculates SL based on market volatility using Average True Range.
Settings:
SL_Mode = ATR_BASED
SL_ATR_Period = 14 // ATR calculation period
SL_ATR_Multiplier = 1.5 // ATR multiplier
SL_ATR_Timeframe = PERIOD_H1 // Timeframe for ATRFormula:
SL Distance = ATR(Period, Timeframe) ร Multiplier
Example:
ATR(14, H1) = 40 pips
Multiplier = 1.5
SL Distance = 40 ร 1.5 = 60 pipsReal Example:
Signal: EURUSD BUY @ 1.0850
ATR(14, H1) = 35 pips
Multiplier = 2.0
Calculation:
SL Distance = 35 ร 2.0 = 70 pips
Stop Loss = 1.0850 - 0.0070 = 1.0780When to use:
Want SL to adapt to market volatility
Wider SL in volatile markets, tighter in calm markets
Professional risk management approach
Timeframe Selection:
M15
Scalping
10-20 pips
H1
Day trading
30-50 pips
H4
Swing trading
60-100 pips
D1
Position trading
100-200 pips
Multiplier Guidelines:
0.5 - 1.0
Tight
Frequent SL hits, quick exits
1.0 - 2.0
Balanced
Good balance of protection
2.0 - 3.0
Wide
More room, fewer false stops
> 3.0
Very Wide
Use with caution
Configuration Examples:
Conservative (Scalping):
SL_ATR_Period = 14
SL_ATR_Multiplier = 1.0
SL_ATR_Timeframe = PERIOD_M15Balanced (Day Trading):
SL_ATR_Period = 14
SL_ATR_Multiplier = 1.5
SL_ATR_Timeframe = PERIOD_H1Aggressive (Swing Trading):
SL_ATR_Period = 20
SL_ATR_Multiplier = 2.5
SL_ATR_Timeframe = PERIOD_H4RR_BASED Mode
Behavior: Calculates SL based on desired Risk-Reward ratio using TP distance.
Settings:
SL_Mode = RR_BASED
RR_Ratio = 2.0 // Risk-Reward ratio (TP:SL)Formula:
SL Distance = TP Distance / RR_Ratio
Example:
TP Distance = 100 pips
RR_Ratio = 2.0
SL Distance = 100 / 2.0 = 50 pipsReal Example:
Signal: XAUUSD BUY @ 2650
TP: 2700 (50 points distance)
RR_Ratio = 2.5
Calculation:
SL Distance = 50 / 2.5 = 20 points
Stop Loss = 2650 - 20 = 2630When to use:
Want consistent risk-reward ratios
Professional trading with defined RR targets
Risk management based on profit targets
RR Ratio Guidelines:
1:1
Equal
50%
1:2
SL half of TP
34%
1:3
SL third of TP
26%
1:5
SL 1/5 of TP
17%
Note: Higher RR = Tighter SL = More frequent stops. Lower win rate acceptable.
๐ฏ Take Profit Settings
2. TP_Mode
TP_Mode = SAME_AS_SIGNAL | FIXED | ATR_BASED | RR_BASEDAll modes work identically to SL modes but calculate TP instead.
SAME_AS_SIGNAL (Default)
Behavior: Uses TP values directly from signal (TP1, TP2, TP3).
Example Signal:
GBPUSD SELL @ 1.2700
TP1: 1.2650 (50 pips)
TP2: 1.2600 (100 pips)
TP3: 1.2550 (150 pips)Result:
EA opens 3 orders with exact TP levels:
Order 1: TP @ 1.2650
Order 2: TP @ 1.2600
Order 3: TP @ 1.2550FIXED Mode
Settings:
TP_Mode = FIXED
TP_Fixed_Pips = 100 // 100 pips for all TPExample:
Signal: EURUSD BUY @ 1.0850
Your Setting: TP_Fixed_Pips = 80
Result:
Opens: BUY @ 1.0850
Take Profit: 1.0930 (80 pips, ignores signal TP)When to use:
Consistent profit targets
Signal TPs don't match your strategy
Testing different TP distances
ATR_BASED Mode
Settings:
TP_Mode = ATR_BASED
TP_ATR_Period = 14
TP_ATR_Multiplier = 2.0
TP_ATR_Timeframe = PERIOD_H1Formula:
TP Distance = ATR(Period, Timeframe) ร Multiplier
Example:
ATR(14, H1) = 40 pips
Multiplier = 2.0
TP Distance = 40 ร 2.0 = 80 pipsWhen to use:
Profit targets based on volatility
Higher TP in volatile markets
Professional adaptive trading
Configuration Example:
TP_ATR_Multiplier = 2.0 // TP is 2x ATR
SL_ATR_Multiplier = 1.0 // SL is 1x ATR
// Results in 2:1 RR ratioRR_BASED Mode
Settings:
TP_Mode = RR_BASED
RR_Ratio = 2.0Formula:
TP Distance = SL Distance ร RR_Ratio
Example:
SL Distance = 50 pips
RR_Ratio = 2.0
TP Distance = 50 ร 2.0 = 100 pipsReal Example:
Signal: EURUSD BUY @ 1.0850
SL: 1.0800 (50 pips)
RR_Ratio = 3.0
Calculation:
TP Distance = 50 ร 3.0 = 150 pips
Take Profit = 1.0850 + 0.0150 = 1.1000When to use:
Enforce minimum RR ratio
Professional risk management
Consistent profitability targets
๐ Multiple TP Levels
3. Number_TP_Level
Number_TP_Level = 1 | 2 | 3Controls how many TP levels to use.
Single TP (Number_TP_Level = 1)
Behavior: Opens one order per signal with one TP.
Example:
Signal: XAUUSD BUY, TP1: 2700, TP2: 2720
Setting: Number_TP_Level = 1
Result:
Opens: 1 order with TP @ 2700 (only TP1 used)When to use:
Simple trading, one profit target
Signals rarely have multiple TPs
Reduced order count
Dual TP (Number_TP_Level = 2)
Behavior: Opens two orders, each with different TP level.
Example:
Signal: EURUSD SELL, TP1: 1.0800, TP2: 1.0750
Setting: Number_TP_Level = 2
Result:
Order 1: TP @ 1.0800 (TP1)
Order 2: TP @ 1.0750 (TP2)When to use:
Partial profit taking strategy
Balance risk and reward
Most common configuration
Triple TP (Number_TP_Level = 3)
Behavior: Opens three orders with three TP levels.
Example:
Signal: GBPUSD BUY
TP1: 1.2750 (50 pips)
TP2: 1.2800 (100 pips)
TP3: 1.2850 (150 pips)
Setting: Number_TP_Level = 3
Result:
Order 1: TP @ 1.2750
Order 2: TP @ 1.2800
Order 3: TP @ 1.2850When to use:
Maximum profit potential
Strong trending signals
Accept more order management complexity
Note: If signal only has 2 TPs but you set Number_TP_Level = 3, EA only opens 2 orders.
๐ง Advanced Settings
4. SkipOrderWithoutTP
SkipOrderWithoutTP = true | falsePurpose: Control whether to open orders when signal has no TP.
When true:
Signal: EURUSD BUY @ 1.0850, SL: 1.0800, TP: (none)
Result: โ ๏ธ Signal skipped (logged as "No TP level found")When false:
Signal: EURUSD BUY @ 1.0850, SL: 1.0800, TP: (none)
Result: โ
Opens order without TP (manual management needed)Recommendation:
true(default): Safer, enforces TP requirementfalse: Use only if you manually manage exits
5. MinSLPips / MaxSLPips
MinSLPips = 5 // Minimum SL distance
MaxSLPips = 500 // Maximum SL distancePurpose: Validate calculated SL is within acceptable range.
Example:
MinSLPips = 10
MaxSLPips = 200
Scenario 1: Calculated SL = 5 pips
Result: โ ๏ธ Order rejected (too tight, below minimum)
Scenario 2: Calculated SL = 100 pips
Result: โ
Order accepted (within range)
Scenario 3: Calculated SL = 300 pips
Result: โ ๏ธ Order rejected (too wide, above maximum)When to use:
Prevent extremely tight SL (broker limitations, spread)
Prevent extremely wide SL (risk management)
Validate ATR-based calculations
Broker Considerations:
ECN/Low Spread
3-5 pips
Standard
10-15 pips
High Spread
20-30 pips
Symbol-Specific:
EURUSD
5 pips
200 pips
GBPUSD
10 pips
300 pips
XAUUSD
20 points
500 points
US30
50 points
2000 points
6. MinTPPips / MaxTPPips
MinTPPips = 10 // Minimum TP distance
MaxTPPips = 1000 // Maximum TP distanceSame validation logic as SL but for Take Profit.
๐ผ Real-World Configuration Examples
Example 1: Copy Signals Exactly
Goal: Trust signal provider completely.
Configuration:
SL_Mode = SAME_AS_SIGNAL
TP_Mode = SAME_AS_SIGNAL
Number_TP_Level = 3
SkipOrderWithoutTP = trueResult: Exact copy of all signal values.
Example 2: Fixed Risk-Reward
Goal: 50 pip SL, 100 pip TP on all trades.
Configuration:
SL_Mode = FIXED
SL_Fixed_Pips = 50
TP_Mode = FIXED
TP_Fixed_Pips = 100
Number_TP_Level = 1Result: Consistent 2:1 RR ratio, one TP per signal.
Example 3: Volatility-Based (Professional)
Goal: Adapt SL/TP to market conditions using ATR.
Configuration:
SL_Mode = ATR_BASED
SL_ATR_Period = 14
SL_ATR_Multiplier = 1.5
SL_ATR_Timeframe = PERIOD_H1
TP_Mode = ATR_BASED
TP_ATR_Period = 14
TP_ATR_Multiplier = 3.0 // 2:1 RR (3.0 / 1.5)
TP_ATR_Timeframe = PERIOD_H1
Number_TP_Level = 1Result:
Calm market: Tight SL/TP (e.g., 20/40 pips)
Volatile market: Wide SL/TP (e.g., 80/160 pips)
Example 4: Enforce Minimum RR
Goal: Use signal TPs but ensure 2:1 minimum RR.
Configuration:
SL_Mode = SAME_AS_SIGNAL
TP_Mode = RR_BASED
RR_Ratio = 2.0
Number_TP_Level = 2Example:
Signal: GBPUSD BUY @ 1.2700
SL: 1.2650 (50 pips)
TP1: 1.2750 (signal value ignored)
Calculation:
TP Distance = 50 ร 2.0 = 100 pips
TP1: 1.2800 (calculated)Example 5: Scalping Setup
Goal: Tight SL/TP for quick trades.
Configuration:
SL_Mode = ATR_BASED
SL_ATR_Period = 14
SL_ATR_Multiplier = 0.8
SL_ATR_Timeframe = PERIOD_M15
TP_Mode = RR_BASED
RR_Ratio = 1.5
Number_TP_Level = 1
MinSLPips = 5
MaxSLPips = 30Result: 5-15 pip SL, 1.5:1 RR, M15 volatility-based.
Example 6: Swing Trading Setup
Goal: Wide SL/TP for long-term positions.
Configuration:
SL_Mode = ATR_BASED
SL_ATR_Period = 20
SL_ATR_Multiplier = 2.5
SL_ATR_Timeframe = PERIOD_H4
TP_Mode = ATR_BASED
TP_ATR_Period = 20
TP_ATR_Multiplier = 5.0 // 2:1 RR
TP_ATR_Timeframe = PERIOD_H4
Number_TP_Level = 2
MinSLPips = 50
MaxSLPips = 500Result: 100-200 pip SL, 200-400 pip TP, H4 trend-based.
โ ๏ธ Common Mistakes
โ Mistake 1: ATR Timeframe Mismatch
Bad:
Trading Style: Scalping (M5 signals)
SL_ATR_Timeframe = PERIOD_D1 // Daily ATR too wide!Good:
Trading Style: Scalping
SL_ATR_Timeframe = PERIOD_M15 // Match trading timeframeโ Mistake 2: Unrealistic RR Ratios
Bad:
RR_Ratio = 10.0 // 10:1 requires only 9% win rate (unrealistic!)Good:
RR_Ratio = 2.0 - 3.0 // Balanced and achievableโ Mistake 3: No SL Validation
Bad:
MinSLPips = 0 // No minimum!
MaxSLPips = 0 // No maximum!
// Result: 1 pip SL accepted = instant stop outGood:
MinSLPips = 10
MaxSLPips = 200โ Mistake 4: Fixed Values for All Symbols
Bad:
SL_Fixed_Pips = 50 // Same for EURUSD and XAUUSD
// EURUSD: 50 pips = $5/lot (OK)
// XAUUSD: 50 points = $50/lot (too wide!)Good: Use ATR_BASED or separate EA instances per symbol group.
โ Mistake 5: Too Many TP Levels
Bad:
Number_TP_Level = 3
Signal rarely has TP2/TP3
// Result: Most signals only open 1 order anywayGood: Match your setting to signal provider's format.
โ
Best Practices
โ
1. Start Simple
Begin with SAME_AS_SIGNAL for both SL and TP
Get comfortable with signal provider's style
Add customization later if needed
โ
2. Match Timeframes
Scalping (M5): ATR_Timeframe = M15
Day Trading (H1): ATR_Timeframe = H1
Swing Trading (H4): ATR_Timeframe = H4/D1โ
3. Test RR Ratios
Backtest different ratios (1.5, 2.0, 3.0)
Find optimal for your signal provider
Consider win rate vs RR tradeoff
โ
4. Use Min/Max Validation
Always set MinSLPips/MaxSLPips
Prevent extreme values
Symbol-specific settings preferred
โ
5. Document Your Logic
Configuration Notes:
Date: 2024-10-28
SL_Mode: ATR_BASED (1.5x H1)
TP_Mode: RR_BASED (2.0)
Reason: Want volatility-based SL, enforce 2:1 RR
Review Date: 2024-11-15๐ฏ Strategy Combinations
Conservative Trader
SL_Mode = ATR_BASED (Multiplier: 2.0, Wide SL)
TP_Mode = RR_BASED (RR_Ratio: 1.5, Modest target)
Number_TP_Level = 1Aggressive Trader
SL_Mode = FIXED (Tight SL: 20 pips)
TP_Mode = RR_BASED (RR_Ratio: 3.0, High target)
Number_TP_Level = 1Balanced Trader
SL_Mode = ATR_BASED (Multiplier: 1.5)
TP_Mode = ATR_BASED (Multiplier: 3.0) // 2:1 RR
Number_TP_Level = 2Signal Follower
SL_Mode = SAME_AS_SIGNAL
TP_Mode = SAME_AS_SIGNAL
Number_TP_Level = 3๐ Performance Comparison
Test Period: 3 months, 200 signals
SAME_AS_SIGNAL
55%
1.8:1
+18%
-9%
FIXED (50/100)
52%
2.0:1
+22%
-12%
ATR_BASED (1.5x/3x)
58%
2.0:1
+25%
-8%
RR_BASED (2.5)
48%
2.5:1
+20%
-15%
Conclusion: ATR_BASED offers best balance of win rate and risk management.
๐ Quick Start Recommendations
Beginner:
SL_Mode = SAME_AS_SIGNAL
TP_Mode = SAME_AS_SIGNAL
Number_TP_Level = 1Intermediate:
SL_Mode = ATR_BASED (1.5, H1)
TP_Mode = RR_BASED (2.0)
Number_TP_Level = 2Advanced:
SL_Mode = ATR_BASED (1.5, H4)
TP_Mode = ATR_BASED (3.0, H4)
Number_TP_Level = 2
MinSLPips = 20
MaxSLPips = 300๐ Troubleshooting
Q: Orders not opening with ATR_BASED A: Check if calculated SL violates MinSLPips/MaxSLPips. Review logs for "SL validation failed".
Q: TP too close to entry A: Increase TP_ATR_Multiplier or use larger timeframe.
Q: Too many SL hits A: SL too tight. Increase SL_ATR_Multiplier or use wider timeframe.
Q: All TPs set to same level A: Check Number_TP_Level setting and signal format (may only have 1 TP).
Remember: SL/TP configuration is critical for risk management. Test thoroughly on demo before live trading! ๐ฏ
Last updated