> For the complete documentation index, see [llms.txt](https://copier-docs.redfox-capital.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://copier-docs.redfox-capital.com/config/account-protection.md).

# Account Protection

### 🛡️ Overview

RedFox Copier Pro includes sophisticated account protection features to automatically safeguard your capital and lock in profits. These critical risk management tools prevent catastrophic losses and enforce disciplined profit-taking.

**Key Features:**

* 🛑 **Daily Loss Limit** - Auto-stop trading after maximum daily loss
* 💰 **Profit Protection** - Lock in profits and stop trading at target levels (3 tiers)
* 📊 **Real-Time Monitoring** - Automatic tracking and enforcement
* 🚨 **Instant Alerts** - Telegram notifications when limits are reached

**Why This Matters:** Account protection is the difference between sustainable trading and account blow-ups. These features enforce discipline when emotions run high.

***

### 🛑 Daily Loss Limit

#### **1. EnableDailyLossLimit**

```
EnableDailyLossLimit = true | false
```

**Controls automatic daily loss protection.**

***

#### **false** (No Protection - NOT RECOMMENDED)

**Behavior:** EA continues trading regardless of daily loss.

**Risk:**

* ❌ One bad day can wipe out weeks of profit
* ❌ No downside protection
* ❌ Emotional trading continues
* ❌ Account blow-up risk

**When to use:**

* Testing only
* Manual management
* NOT for automated trading!

***

#### **true** (Loss Limit Active - HIGHLY RECOMMENDED)

**Behavior:** EA automatically stops trading when daily loss limit is reached.

**When to use:**

* **ALWAYS** (professional risk management)
* Protect from catastrophic days
* Emotional discipline enforced
* Preserve capital for recovery
* Prevent revenge trading

**Benefits:**

* ✅ Prevents blow-up days
* ✅ Enforces discipline automatically
* ✅ Preserves capital for recovery
* ✅ Allows consistent compounding
* ✅ Reduces stress and emotional decisions

**Professional Standard:** Every professional trader uses daily loss limits. No exceptions.

***

#### **2. DailyLossLimit**

```
DailyLossLimit = 200  // Dollar amount (absolute value)
```

**Defines maximum acceptable daily loss in account currency (USD, EUR, etc.).**

***

#### **Configuration by Account Size:**

**$1,000 Account:**

```
Conservative: DailyLossLimit = 10   // 1%
Moderate:     DailyLossLimit = 20   // 2%
Aggressive:   DailyLossLimit = 50   // 5%
```

**$5,000 Account:**

```
Conservative: DailyLossLimit = 50   // 1%
Moderate:     DailyLossLimit = 100  // 2%
Aggressive:   DailyLossLimit = 250  // 5%
```

**$10,000 Account:**

```
Conservative: DailyLossLimit = 100  // 1%
Moderate:     DailyLossLimit = 200  // 2%
Aggressive:   DailyLossLimit = 500  // 5%
```

**$50,000 Account:**

```
Conservative: DailyLossLimit = 500   // 1%
Moderate:     DailyLossLimit = 1000  // 2%
Aggressive:   DailyLossLimit = 2500  // 5%
```

***

#### **Professional Guidelines:**

**Recommended Daily Loss Limits:**

* **Conservative Traders:** 1% of account balance
* **Moderate Traders:** 2% of account balance
* **Aggressive Traders:** 3% of account balance (maximum!)

**Never Exceed:** 5% daily loss limit (extremely risky!)

**Formula:**

```
DailyLossLimit = Account Balance × Daily Loss %
Example: $10,000 × 2% = $200
```

***

#### **How It Works - Real Example:**

**Account Setup:**

```
Account Balance: $10,000
DailyLossLimit: 200  // 2%
EnableDailyLossLimit: true
DailyLossLimitAction: CLOSE_ALL
```

**Trade Timeline:**

```
📅 October 28, 2024 - Trading Day

Starting Balance: $10,000
Daily Loss Limit: -$200 (maximum allowed loss)

09:00 AM - Signal: EURUSD BUY
          Result: Closed at loss -$50
          Daily P/L: -$50 ✅ Continue

10:30 AM - Signal: GBPUSD SELL
          Result: Closed at loss -$80
          Daily P/L: -$130 ✅ Continue

12:00 PM - Signal: XAUUSD BUY
          Result: Closed at profit +$30
          Daily P/L: -$100 ✅ Continue

14:00 PM - Signal: USDJPY SELL
          Result: Closed at loss -$110
          Daily P/L: -$210 🛑 LIMIT REACHED!

⚠️ DAILY LOSS LIMIT TRIGGERED: -$210 > -$200
```

**EA Actions When Limit Reached:**

**1. Close Orders (depends on DailyLossLimitAction):**

```
✅ Immediately close all open positions
✅ Cancel all pending orders
✅ Stop processing new signals
```

**2. Send Telegram Alert:**

```
🛑 DAILY LOSS LIMIT REACHED!

Account: MT4-123456
Date: 2024-10-28
Time: 14:05:23

💰 LOSS SUMMARY
Daily Loss: -$210.00
Loss Limit: -$200.00
Exceeded By: -$10.00

📊 TODAY'S STATS
Total Trades: 4
Winning: 1 (25%)
Losing: 3 (75%)
Largest Loss: -$110

🛑 PROTECTION ACTIVATED
✅ All positions closed
✅ New signals blocked
✅ Trading stopped for today

⏰ RESUME TIME
Trading will automatically resume tomorrow at 00:00 (broker time)

🔧 ACTIONS RECOMMENDED
1. Review today's trades
2. Check market conditions
3. Evaluate strategy
4. Do NOT restart EA manually (let it reset tomorrow)
```

**3. Log Event:**

```
Files/RedFoxCopierPro_Protection_2024-10-28.log

[2024-10-28 14:05:23] DAILY LOSS LIMIT TRIGGERED
Account: 123456
Daily Loss: -$210.00
Loss Limit: -$200.00
Action: CLOSE_ALL
Orders Closed: 3 positions
Pending Cancelled: 0 orders
Status: TRADING STOPPED
```

**4. Update Dashboard:**

```
╔══════════════════════════════════════╗
║ 🛑 DAILY LOSS LIMIT REACHED         ║
╠══════════════════════════════════════╣
║ Loss: -$210.00 / -$200.00           ║
║ Status: STOPPED                      ║
║ Resume: Tomorrow 00:00               ║
╚══════════════════════════════════════╝
```

**Next Day (00:00 Broker Time):**

```
✅ EA automatically resets
✅ Daily loss counter resets to $0
✅ Resume processing signals
✅ Fresh start with full protection
```

***

#### **3. DailyLossLimitAction**

```
DailyLossLimitAction = CLOSE_ALL | CLOSE_LOSS | STOP_NEW | ALERT_ONLY
```

**Defines what EA does when daily loss limit is reached.**

***

#### **CLOSE\_ALL** (Recommended - Maximum Protection)

**Action:** Close ALL orders (winners + losers) and stop trading.

**Behavior:**

```
When limit reached:
1. Close all profitable positions
2. Close all losing positions
3. Cancel all pending orders
4. Stop processing new signals
5. Send alert
```

**Example:**

```
Open Positions When Limit Reached:
- EURUSD BUY: +$50 (profit)
- GBPUSD SELL: -$150 (loss)
- XAUUSD BUY: -$120 (loss)
Total Daily Loss: -$220

Action:
→ Close EURUSD (+$50)
→ Close GBPUSD (-$150)
→ Close XAUUSD (-$120)
→ Final Daily Loss: -$220
→ Stop all trading
```

**When to use:**

* Professional trading (ALWAYS)
* Maximum protection
* Clean account reset
* Prevent further exposure

**Why Recommended:**

* ✅ Complete protection
* ✅ No open exposure overnight
* ✅ Fresh start next day
* ✅ Professional approach

***

#### **CLOSE\_LOSS** (Aggressive - Higher Risk)

**Action:** Close ONLY losing orders, keep profitable orders, stop new trades.

**Behavior:**

```
When limit reached:
1. Close all losing positions
2. Keep all profitable positions
3. Cancel pending orders
4. Stop processing new signals
```

**Example:**

```
Open Positions:
- EURUSD BUY: +$50 (profit)
- GBPUSD SELL: -$150 (loss)
- XAUUSD BUY: -$120 (loss)
Total Daily Loss: -$220

Action:
→ Close GBPUSD (-$150)
→ Close XAUUSD (-$120)
→ Keep EURUSD (+$50) ⚠️ OPEN
→ Stop new trades
```

**Risks:**

* ⚠️ Profitable position could reverse to loss
* ⚠️ Overnight exposure continues
* ⚠️ Could exceed loss limit if winner reverses

**When to use:**

* Believe winners have strong momentum
* Want to protect winning positions
* Accept additional risk

**NOT Recommended for beginners!**

***

#### **STOP\_NEW** (Risky - NOT RECOMMENDED)

**Action:** Stop opening NEW trades only, keep ALL existing orders (winners + losers).

**Behavior:**

```
When limit reached:
1. Keep all open positions (no closes)
2. Stop processing new signals only
```

**Example:**

```
Open Positions:
- EURUSD BUY: +$50
- GBPUSD SELL: -$150
- XAUUSD BUY: -$120
Total Daily Loss: -$220

Action:
→ Keep all 3 positions OPEN ⚠️
→ Stop new signals only
→ Hope for recovery (risky!)
```

**Major Risks:**

* ❌ Losing positions could get worse
* ❌ Daily loss could increase significantly
* ❌ No actual protection provided
* ❌ Defeats purpose of loss limit

**When to use:**

* Manual trading/intervention
* Believe in recovery
* Testing only
* **NEVER for automated trading!**

***

#### **ALERT\_ONLY** (No Protection - NOT RECOMMENDED)

**Action:** Send alert but continue trading normally (no protection).

**Behavior:**

```
When limit reached:
1. Send Telegram message
2. Continue trading normally ❌
3. No orders closed
4. No new signals blocked
```

**Risks:**

* ❌ Loss limit completely ignored
* ❌ No protection whatsoever
* ❌ Can lose unlimited amount
* ❌ Pointless to set limit

**When to use:**

* Testing/development only
* Manual monitoring
* **NEVER for live automated trading!**

***

### 💰 Profit Protection (3-Tier System)

#### **4. EnableProfitProtection**

```
EnableProfitProtection = true | false
```

**Controls automatic profit target protection (lock in winning days).**

***

#### **false** (No Profit Protection)

**Behavior:** EA continues trading regardless of daily profit.

**Risk:**

* ⚠️ Can give back profits
* ⚠️ No profit locking mechanism
* ⚠️ Winning days can turn to losses

***

#### **true** (Profit Protection Active - RECOMMENDED)

**Behavior:** EA automatically locks in profit when daily targets are reached.

**Benefits:**

* ✅ Lock in winning days
* ✅ Prevent giving back profits
* ✅ Psychological discipline
* ✅ Consistent compounding
* ✅ Protect great days

**When to use:**

* Professional trading
* Want consistency over home runs
* Disciplined profit taking
* Preserve good days
* Build steady equity curve

***

#### **5. ProfitProtectionLevel1/2/3**

```
ProfitProtectionLevel1 = 200   // First profit target
ProfitProtectionLevel2 = 500   // Second profit target
ProfitProtectionLevel3 = 1000  // Third profit target
```

**Defines 3-tier progressive profit protection system.**

***

#### **3-Tier System Philosophy:**

**Level 1 (Early Warning):**

* Alert that you're having a good day
* Option to reduce risk or continue

**Level 2 (Solid Profit):**

* Lock in most profits
* Stop new trades or close profitable positions

**Level 3 (Exceptional Day):**

* Maximum daily target reached
* Stop trading completely
* Protect extraordinary gains

***

#### **Configuration by Account Size:**

**$1,000 Account:**

```
ProfitProtectionLevel1 = 20    // 2% (early win)
ProfitProtectionLevel2 = 50    // 5% (solid day)
ProfitProtectionLevel3 = 100   // 10% (exceptional)
```

**$5,000 Account:**

```
ProfitProtectionLevel1 = 100   // 2%
ProfitProtectionLevel2 = 250   // 5%
ProfitProtectionLevel3 = 500   // 10%
```

**$10,000 Account:**

```
ProfitProtectionLevel1 = 200   // 2%
ProfitProtectionLevel2 = 500   // 5%
ProfitProtectionLevel3 = 1000  // 10%
```

**$50,000 Account:**

```
ProfitProtectionLevel1 = 1000  // 2%
ProfitProtectionLevel2 = 2500  // 5%
ProfitProtectionLevel3 = 5000  // 10%
```

***

#### **Realistic Daily Profit Targets:**

**Conservative Strategy:**

* Level 1: 1% daily
* Level 2: 2% daily
* Level 3: 5% daily

**Moderate Strategy:**

* Level 1: 2% daily
* Level 2: 5% daily
* Level 3: 10% daily

**Aggressive Strategy:**

* Level 1: 3% daily
* Level 2: 7% daily
* Level 3: 15% daily

**Professional Guideline:** 2-5% daily profit is realistic and sustainable. 10%+ days are rare but possible.

***

#### **6. ProfitProtectionAction1/2/3**

```
ProfitProtectionAction1 = ALERT_ONLY | CLOSE_PROFIT | CLOSE_ALL | STOP_NEW
ProfitProtectionAction2 = ALERT_ONLY | CLOSE_PROFIT | CLOSE_ALL | STOP_NEW
ProfitProtectionAction3 = ALERT_ONLY | CLOSE_PROFIT | CLOSE_ALL | STOP_NEW
```

**Defines action for each profit tier.**

***

#### **ALERT\_ONLY** (Notification Only)

**Action:** Send Telegram alert, continue trading normally.

**Example:**

```
Daily Profit: +$200 (Level 1 reached)
Action: Send alert, keep trading

Telegram Message:
🎯 PROFIT TARGET LEVEL 1 REACHED!
Daily Profit: +$200
Target: $200
Keep trading normally.
```

**When to use:**

* Level 1 (early warning)
* Want to let good days develop
* Just want notification

***

#### **CLOSE\_PROFIT** (Lock Profits, Keep Losers)

**Action:** Close all profitable positions, stop new trades, keep losing positions.

**Example:**

```
Daily Profit: +$500 (Level 2 reached)

Open Positions:
- EURUSD: +$80 (profit)
- GBPUSD: +$120 (profit)
- XAUUSD: -$30 (loss)

Action:
→ Close EURUSD (+$80)
→ Close GBPUSD (+$120)
→ Keep XAUUSD (-$30) open (might recover)
→ Stop new signals
→ Net locked: +$470 minimum
```

**When to use:**

* Level 2 (lock most profit)
* Give losing trades chance to recover
* Protect majority of gains

***

#### **CLOSE\_ALL** (Maximum Protection)

**Action:** Close ALL positions (profit + loss), stop trading for the day.

**Example:**

```
Daily Profit: +$1000 (Level 3 reached)

Open Positions:
- EURUSD: +$150
- GBPUSD: +$80
- XAUUSD: -$20

Action:
→ Close all 3 positions
→ Final profit: +$1,210
→ Stop all trading for today
→ Preserve exceptional day
```

**When to use:**

* Level 3 (maximum target)
* Lock in exceptional days
* Prevent any profit givebacks
* Most professional approach

***

#### **STOP\_NEW** (Stop New Trades Only)

**Action:** Stop opening new trades, keep all existing positions.

**Example:**

```
Daily Profit: +$500

Open Positions:
- EURUSD: +$120
- GBPUSD: +$80

Action:
→ Keep both positions open
→ Let them run to TP
→ Stop new signals only
```

**When to use:**

* Believe open positions will increase profit
* Want maximum profit potential
* Accept risk of givebacks

***

### 📊 Complete 3-Tier Example

#### **Account Setup:**

```
Account Balance: $10,000
EnableProfitProtection: true

ProfitProtectionLevel1 = 200   // 2%
ProfitProtectionLevel2 = 500   // 5%
ProfitProtectionLevel3 = 1000  // 10%

ProfitProtectionAction1 = ALERT_ONLY
ProfitProtectionAction2 = CLOSE_PROFIT
ProfitProtectionAction3 = CLOSE_ALL
```

#### **Trading Day Timeline:**

**09:00 AM - Day Start**

```
Starting Balance: $10,000
Daily Profit: $0
Status: Normal trading
```

**10:30 AM - First Wins**

```
Trades: 3 wins, 1 loss
Daily Profit: +$180
Status: Normal trading continues
```

**12:00 PM - Level 1 Reached**

```
Daily Profit: +$205 (Level 1: $200)
Action: ALERT_ONLY

Telegram Alert:
🎯 PROFIT LEVEL 1 REACHED!
Daily Profit: +$205
Target: $200
Status: Trading continues
Keep up the great work!
```

**14:00 PM - Level 2 Reached**

```
Daily Profit: +$520 (Level 2: $500)
Action: CLOSE_PROFIT

Open Positions at this moment:
- EURUSD: +$80
- GBPUSD: +$45
- XAUUSD: -$15

EA Actions:
1. Close EURUSD: +$80
2. Close GBPUSD: +$45
3. Keep XAUUSD: -$15 (let it run)
4. Stop new signals

Telegram Alert:
💰 PROFIT LEVEL 2 REACHED!
Daily Profit: +$535
Target: $500
Action: Closed profitable orders
Locked Profit: +$520 minimum
Status: New trades stopped
Open: 1 position (-$15)
```

**15:30 PM - Level 3 Reached**

```
(XAUUSD recovered and hit TP for +$500!)

Daily Profit: +$1,020 (Level 3: $1,000)
Action: CLOSE_ALL

Open Positions:
- None (all closed)

EA Actions:
1. Close any remaining positions
2. Stop all trading
3. Lock exceptional day

Telegram Alert:
🏆 PROFIT LEVEL 3 REACHED!
🎉 EXCEPTIONAL DAY!

Daily Profit: +$1,020
Target: $1,000
Return: +10.2%

📊 TODAY'S STATS
Total Trades: 12
Win Rate: 75%
Largest Win: +$500

🛡️ PROTECTION ACTIVATED
✅ All positions closed
✅ Trading stopped for today
✅ Profit locked and protected

⏰ RESUME TOMORROW
Trading will resume at 00:00 (broker time)

🎊 CONGRATULATIONS!
Excellent trading day. Rest and repeat tomorrow!
```

**Next Day (00:00 Broker Time):**

```
✅ Profit counters reset
✅ Resume normal trading
✅ Fresh targets for new day
Starting Balance: $11,020 (includes yesterday's profit)
```

***

### 💼 Real-World Configuration Examples

#### **Example 1: Ultra-Conservative (Capital Preservation)**

**Account:** $10,000

**Configuration:**

```
// Loss Limit (very tight)
EnableDailyLossLimit = true
DailyLossLimit = 100  // 1%
DailyLossLimitAction = CLOSE_ALL

// Profit Protection (lock early)
EnableProfitProtection = true
ProfitProtectionLevel1 = 100   // 1%
ProfitProtectionLevel2 = 200   // 2%
ProfitProtectionLevel3 = 400   // 4%
ProfitProtectionAction1 = CLOSE_PROFIT
ProfitProtectionAction2 = CLOSE_ALL
ProfitProtectionAction3 = CLOSE_ALL
```

**Philosophy:** Lock profits early, stop losses fast. Slow steady growth.

***

#### **Example 2: Balanced Professional**

**Account:** $10,000

**Configuration:**

```
// Loss Limit (standard)
EnableDailyLossLimit = true
DailyLossLimit = 200  // 2%
DailyLossLimitAction = CLOSE_ALL

// Profit Protection (tiered)
EnableProfitProtection = true
ProfitProtectionLevel1 = 200   // 2%
ProfitProtectionLevel2 = 500   // 5%
ProfitProtectionLevel3 = 1000  // 10%
ProfitProtectionAction1 = ALERT_ONLY
ProfitProtectionAction2 = CLOSE_PROFIT
ProfitProtectionAction3 = CLOSE_ALL
```

**Philosophy:** Standard risk management, let good days develop, protect exceptional gains.

***

#### **Example 3: Aggressive Growth**

**Account:** $10,000

**Configuration:**

```
// Loss Limit (wider)
EnableDailyLossLimit = true
DailyLossLimit = 500  // 5%
DailyLossLimitAction = CLOSE_ALL

// Profit Protection (let it run)
EnableProfitProtection = true
ProfitProtectionLevel1 = 300   // 3%
ProfitProtectionLevel2 = 800   // 8%
ProfitProtectionLevel3 = 1500  // 15%
ProfitProtectionAction1 = ALERT_ONLY
ProfitProtectionAction2 = ALERT_ONLY
ProfitProtectionAction3 = CLOSE_PROFIT
```

**Philosophy:** Accept higher daily risk, pursue larger gains, protect only at extremes.

***

#### **Example 4: Scalper (Many Small Wins)**

**Account:** $10,000

**Configuration:**

```
// Loss Limit (moderate)
EnableDailyLossLimit = true
DailyLossLimit = 150  // 1.5%
DailyLossLimitAction = CLOSE_ALL

// Profit Protection (frequent locks)
EnableProfitProtection = true
ProfitProtectionLevel1 = 100   // 1%
ProfitProtectionLevel2 = 250   // 2.5%
ProfitProtectionLevel3 = 500   // 5%
ProfitProtectionAction1 = ALERT_ONLY
ProfitProtectionAction2 = CLOSE_PROFIT
ProfitProtectionAction3 = CLOSE_ALL
```

**Philosophy:** Small consistent gains, lock frequently, tight loss control.

***

### ⚠️ Common Mistakes

#### ❌ **Mistake 1: No Loss Limit**

**Bad:**

```
EnableDailyLossLimit = false
// Disaster waiting to happen!
```

**Good:**

```
EnableDailyLossLimit = true
DailyLossLimit = 2% of account
```

**Why:** One bad day can wipe out weeks of profit. ALWAYS use loss limits!

***

#### ❌ **Mistake 2: Loss Limit Too High**

**Bad:**

```
Account: $10,000
DailyLossLimit = 1000  // 10% - WAY TOO HIGH!
```

**Good:**

```
DailyLossLimit = 200  // 2% - Professional standard
```

**Why:** 10% daily loss is catastrophic. Professional traders use 1-3% max.

***

#### ❌ **Mistake 3: Using STOP\_NEW for Loss Limit**

**Bad:**

```
DailyLossLimitAction = STOP_NEW
// Losses can continue growing!
```

**Good:**

```
DailyLossLimitAction = CLOSE_ALL
// Complete protection
```

**Why:** STOP\_NEW doesn't actually protect you. Losses continue from open trades.

***

#### ❌ **Mistake 4: No Profit Protection**

**Bad:**

```
EnableProfitProtection = false
// Give back winning days
```

**Good:**

```
EnableProfitProtection = true
Set realistic daily targets
```

**Why:** Winning days can turn to losses without protection. Lock gains!

***

#### ❌ **Mistake 5: Unrealistic Profit Targets**

**Bad:**

```
Account: $5,000
ProfitProtectionLevel1 = 5000  // 100% daily - IMPOSSIBLE!
```

**Good:**

```
ProfitProtectionLevel1 = 100   // 2%
ProfitProtectionLevel2 = 250   // 5%
ProfitProtectionLevel3 = 500   // 10%
```

**Why:** 100% daily gains don't happen. Set realistic achievable targets.

***

#### ❌ **Mistake 6: Same Action for All Levels**

**Bad:**

```
ProfitProtectionAction1 = CLOSE_ALL
ProfitProtectionAction2 = CLOSE_ALL
ProfitProtectionAction3 = CLOSE_ALL
// Stop too early!
```

**Good:**

```
ProfitProtectionAction1 = ALERT_ONLY
ProfitProtectionAction2 = CLOSE_PROFIT
ProfitProtectionAction3 = CLOSE_ALL
// Progressive tightening
```

**Why:** Use tiers properly - alert early, lock at level 2, stop at level 3.

***

#### ❌ **Mistake 7: Manually Restarting EA After Protection**

**Bad:**

```
Loss limit hit at 2 PM
Manually restart EA at 3 PM
"I can make it back!"
// Recipe for disaster
```

**Good:**

```
Loss limit hit at 2 PM
Let EA remain stopped
Review trades
Wait for automatic reset tomorrow
```

**Why:** Revenge trading after loss limit is the #1 way to blow accounts. Trust the system!

***

### ✅ Best Practices

#### ✅ **1. ALWAYS Enable Daily Loss Limit**

**Minimum Configuration:**

```
EnableDailyLossLimit = true
DailyLossLimit = 1-3% of account
DailyLossLimitAction = CLOSE_ALL
```

**Why:** Non-negotiable. Professional traders NEVER trade without loss limits.

***

#### ✅ **2. Set Conservative Loss Limits**

**Recommended:**

```
Conservative: 1% daily
Moderate: 2% daily
Maximum: 3% daily (absolute max!)
```

**Never Exceed:** 5% daily loss limit!

***

#### ✅ **3. Use 3-Tier Profit Protection**

**Progressive Strategy:**

```
Level 1: Alert (know you're winning)
Level 2: Lock profits (CLOSE_PROFIT)
Level 3: Stop trading (CLOSE_ALL)
```

***

#### ✅ **4. Never Manually Override Protection**

**When limit is hit:**

* ❌ Don't restart EA
* ❌ Don't disable protection
* ❌ Don't try to "make it back"
* ✅ Review what went wrong
* ✅ Learn from the day
* ✅ Wait for automatic reset

***

#### ✅ **5. Review Protection Events**

**After any protection trigger:**

* What caused the limit to hit?
* Was it bad luck or bad strategy?
* Need to adjust settings?
* What can be improved?

***

#### ✅ **6. Adjust Limits as Account Grows**

**Example:**

```
Starting: $10,000 → DailyLossLimit = 200 (2%)
After 1 year: $15,000 → DailyLossLimit = 300 (2%)
After 2 years: $25,000 → DailyLossLimit = 500 (2%)
```

**Keep percentage constant, update dollar amounts.**

***

### 🚀 Quick Start Guide

#### **Step 1: Enable Basic Protection**

```
EnableDailyLossLimit = true
DailyLossLimit = 2% of your account
DailyLossLimitAction = CLOSE_ALL
```

#### **Step 2: Enable Profit Protection**

```
EnableProfitProtection = true
ProfitProtectionLevel1 = 2% of account
ProfitProtectionLevel2 = 5% of account
ProfitProtectionLevel3 = 10% of account
```

#### **Step 3: Set Actions**

```
ProfitProtectionAction1 = ALERT_ONLY
ProfitProtectionAction2 = CLOSE_PROFIT
ProfitProtectionAction3 = CLOSE_ALL
```

#### **Step 4: Test in Demo First**

* Run for 2 weeks
* Verify limits trigger correctly
* Check Telegram alerts work
* Observe behavior

#### **Step 5: Move to Live**

* Start with conservative limits
* Gradually adjust based on results
* Never disable protection!

***

### 📞 FAQ

**Q: When does daily loss/profit counter reset?** A: At 00:00 broker server time (midnight).

**Q: Can I manually reset counters during the day?** A: Yes by restarting EA, but NOT RECOMMENDED. Let it reset naturally.

**Q: What if I hit loss limit in first hour?** A: EA stops for the day. Review trades, learn, try again tomorrow.

**Q: Can I trade manually after EA protection stops me?** A: Technically yes, but defeats the purpose. Don't do it!

**Q: Loss limit includes swap/commission?** A: Yes, calculated on net P/L including all costs.

**Q: What if profit protection triggers but I have losing trades open?** A: Depends on Action setting. CLOSE\_PROFIT keeps losers, CLOSE\_ALL closes everything.

**Q: Can I have different limits on different days?** A: Not automatically. Use same limits consistently.

**Q: Should limits be tighter on Fridays?** A: Optional. Some traders use 50% of normal limits before weekends.

***

### 🎯 Protection Philosophy

#### **Why Protection Matters:**

**Without Protection:**

```
Week 1: +$500
Week 2: +$600
Week 3: +$450
Week 4: -$2,500 ← One bad day wipes out everything!
Net: -$950
```

**With Protection (2% daily loss limit):**

```
Week 1: +$500
Week 2: +$600
Week 3: +$450
Week 4: -$200 ← Stopped early!
Net: +$1,350
```

**The Difference:** Protection turns winning month into $1,350 profit instead of -$950 loss!

***

#### **Professional Mindset:**

**Remember:**

* You can't win every day
* One bad day is okay
* Protecting capital > making profits
* Consistency beats home runs
* Live to trade another day

**The #1 Rule:** "Don't lose more than you can afford to lose in a single day."

***

**Remember:** Account protection is what separates professional traders from gamblers. Use these tools religiously! 🛡️💰
