Close & Modify Orders Guide
π Overview
RedFox Copier Pro provides powerful features to close and modify orders automatically or via Telegram commands. You can partially close positions at TP levels, move SL to breakeven, adjust TP levels, and close all orders with simple commands.
Key Features:
Partial close at TP1/TP2 (scale out strategy)
Move SL to breakeven/entry automatically
Move SL/TP via Telegram commands
Close individual or all orders
Close by symbol, direction, or profit level
π Partial Close at TP Levels
1. EnableCloseAtTP
EnableCloseAtTP = true | falseControls whether EA partially closes orders when TP1/TP2 is hit.
false (Default - Full Close)
Behavior: Orders close completely when TP is hit (standard MT4 behavior).
Example:
true (Partial Close - Recommended)
Behavior: Partially closes order at TP1/TP2, keeps remaining for higher TP levels.
Example with 3 TP Levels:
Benefits:
β Lock in profits progressively
β Reduce risk as trade moves in your favor
β Let runners capture larger moves
β Professional scaling out strategy
When to use:
Multi-TP signals (TP1, TP2, TP3)
Want to secure partial profits
Trending markets (let winners run)
2. ClosePercentAtTP1
Controls what percentage of position to close when TP1 is hit.
Examples:
Conservative (Close 50% at TP1):
Balanced (Close 33% at TP1):
Aggressive (Close 20% at TP1):
Strategy Impact:
100%
0%
Full exit at TP1 (no runners)
50%
50%
Equal risk/reward approach
33%
67%
Let most position run
25%
75%
Aggressive runners strategy
3. ClosePercentAtTP2
Controls what percentage to close when TP2 is hit.
Important: This is percentage of original order size, not remaining.
Example:
Configuration Examples:
Equal Distribution (33/33/33):
Early Exit Focus (50/30/20):
Runner Focus (20/30/50):
π― Move SL to Breakeven
4. MoveSLToEntry
Controls whether EA automatically moves SL to entry price when TP1 is hit.
true (Auto Move SL - Recommended)
Behavior: When TP1 is hit, SL is moved to entry price (breakeven + spread).
Example:
Benefits:
β Risk-free trade after TP1
β Can't lose money on runners
β Psychological comfort
β Protect initial profit
When to use:
Always recommended for risk management
Especially in volatile markets
When holding runners overnight
Important: EA adds spread to breakeven level to account for broker costs:
false (Keep Original SL)
Behavior: SL stays at original level even after TP1 is hit.
Example:
When to use:
Wide SL that serves as true invalidation level
Don't want tight SL after TP1
Advanced strategy with specific SL logic
π§ Modify Orders via Telegram
5. Move SL Commands
EA recognizes these commands in Telegram:
Move SL to Entry (Breakeven)
Telegram Command:
EA Action:
Example:
Move SL to Specific Price
Telegram Command:
EA Action:
Example:
Validation:
BUY orders: New SL must be below entry
SELL orders: New SL must be above entry
If invalid: EA sends error message
6. Move TP Commands
Telegram Command:
EA Action:
Example:
β Close Orders via Telegram
7. Close All Orders
Telegram Command:
EA Action:
When to use:
Emergency exit (major news event)
End of trading day
Account protection
System maintenance
8. Close Orders by Symbol
Telegram Command:
EA Action:
Example:
9. Close Orders by Direction
Telegram Command:
EA Action:
Examples:
Close all BUY orders:
Close SELL orders on specific symbol:
10. Close Profitable Orders
Telegram Command:
EA Action:
When to use:
Lock in profits before weekend
News event approaching
Hit daily profit target
11. Close Loss Orders
Telegram Command:
EA Action:
When to use:
Cut losses during adverse market move
Clear losing trades to refocus
Emergency risk reduction
πΌ Real-World Scenarios
Scenario 1: Scale Out Strategy
Configuration:
Trade Example:
Result: Professional risk-free scaling out.
Scenario 2: Emergency Exit Before News
Situation: NFP news in 5 minutes, want to close all.
Action:
EA Response:
Scenario 3: Gold Reversal
Situation: XAUUSD BUY orders in profit, chart shows reversal pattern.
Action:
EA Response:
Scenario 4: Cut EUR Losses
Situation: EUR news negative, all EUR pairs losing.
Action:
EA Response:
Scenario 5: Protect Runners
Situation: TP1 hit manually, want to move SL to breakeven.
Action:
EA Response:
β οΈ Common Mistakes
β Mistake 1: Close Percentages Don't Add Up
Bad:
Good:
β Mistake 2: Partial Close Without Multiple TPs
Bad:
Good:
β Mistake 3: Forget to Enable MoveSLToEntry
Bad:
Good:
β Mistake 4: Wrong Close Command
Bad:
Good:
β
Best Practices
β
1. Always Enable MoveSLToEntry
Reason: Free insurance! No downside to risk-free trades.
β
2. Match Close Percentages to TP Count
For 2 TP levels:
For 3 TP levels:
β
3. Test Partial Close Logic
Open test order with 0.30 lot, 3 TPs
Verify close amounts at each TP
Check SL moves to breakeven
Confirm calculations correct
β
4. Use Telegram Commands Actively
Don't just set-and-forget:
Move SL when profit grows
Close before major news
Adjust TP based on chart patterns
Active management = better results
β
5. Document Your Strategy
π Partial Close Examples by Strategy
Conservative (Secure Profits Early)
Result: Most profit secured at TP1, small runner.
Balanced (Equal Distribution)
Result: Equal profit at each level, smooth scaling.
Aggressive (Let It Run)
Result: 50% stays for TP3, maximum runner potential.
π EA Logging Examples
Partial Close at TP1:
Move SL Command:
Close Command:
π Quick Start Guide
Step 1: Configure Partial Close
Step 2: Test on Demo
Open multi-TP order
Wait for TP1 hit
Verify:
Partial close correct amount
SL moved to entry
Remaining orders have higher TPs
Step 3: Learn Telegram Commands
Practice on demo:
Step 4: Use in Live Trading
Monitor TP1 hits
Manually move SL if needed
Close before major events
Adjust TPs based on market
π FAQ
Q: Can I disable partial close for specific signals? A: Not directly. Disable EnableCloseAtTP to turn off for all, or close manually via Telegram.
Q: What if I close order manually before TP1? A: EA respects your manual close. Partial close only triggers if order still open when TP1 is hit.
Q: SL not moving to breakeven? A: Check MoveSLToEntry = true and verify TP1 was actually hit (check logs).
Q: Can I move SL beyond entry (to profit)? A: Yes! Command: move sl to 1.0900 EURUSD (any valid price).
Q: Close commands not working? A: Verify Telegram connection, check logs for command recognition, ensure correct syntax.
Remember: Professional traders scale out of winners and actively manage positions. Use these tools! π
Last updated