Grid Masters Temporal Trader MT5 - Complete User-Guide (Part 1)
Total profit: 3,500 pointsAverage profit: 3,500 / 10 = 350 points
Threshold: 300 points
→ Average exceeds threshold
→ EA closes 50% of EACH position (basket-wide partial close)
→ 5 positions remain at half volume
RECOMMENDED SETUPS:
AGGRESSIVE PROFIT-TAKING:
Enable: Yes
Close Percent: 70.0
Min Profit: 200 points
→ Takes most profits early
BALANCED APPROACH:
Enable: Yes
Close Percent: 50.0
Min Profit: 300 points
→ Half out at moderate profit
CONSERVATIVE (Let Winners Run):
Enable: No
→ Rely on other management instead
TIP: Partial close is excellent for grids - locks in profits while keeping exposure.
4.10 RISK & LOCKS
─────────────────
┌─────────────────────────────────────────────────────────────────┐
│ Lot Size: 0.10 │
│ Equity Lock (open PnL): 110.0 │
│ Drawdown Lock: 0.0 │
│ Profit Lock: 0.0 │
│ Stop Trading After Profit Lock: Yes │
│ Close After Days: 0 │
└─────────────────────────────────────────────────────────────────┘
LOT SIZE:
Base volume for each grid level.
• Default: 0.10
• Range: 0.01 - 10.0 (broker dependent)
• All pending orders use this volume
• Critical for position sizing - start small!
POSITION SIZING GUIDE:
$500 account: 0.01 lots
$1,000 account: 0.01 - 0.02 lots
$2,000 account: 0.05 - 0.10 lots
$5,000 account: 0.10 - 0.20 lots
$10,000+ account: 0.20 - 0.50 lots
EQUITY LOCK (OPEN PNL):
Auto-close all positions when open P&L reaches this level.
• Default: 110.0 USD
• Range: 0.0 - 10,000.0
• 0.0 = Disabled
• This is FLOATING PROFIT (unrealized)
EXAMPLE:
Equity Lock: 110.0
Open positions show +$115 floating profit
→ EA immediately closes ALL positions
→ Locks in profit, clears grid
RECOMMENDED:
Set to 1-2% of account balance
$1,000 account: 10-20 USD
$5,000 account: 50-100 USD
$10,000 account: 100-200 USD
DRAWDOWN LOCK:
Auto-close all when equity drops from peak.
• Default: 0.0 (disabled)
• Range: 0.0 - 10,000.0
• Tracks peak equity, closes if drop exceeds threshold
EXAMPLE:
Account equity peaks at $1,200
Drawdown Lock: 200.0
Equity drops to $995 (drop = $205)
→ EA closes all positions (limit reached)
RECOMMENDED:
Set to 10-20% of account
$1,000 account: 100-200 USD
$5,000 account: 500-1,000 USD
$10,000 account: 1,000-2,000 USD
PROFIT LOCK:
Protect REALIZED profits (account balance gains).
• Default: 0.0 (disabled)
• Range: 0.0 - 100,000.0
• Calculated as: (Current Balance - Starting Balance) + Open P&L
EXAMPLE:
Starting balance: $1,000
Current balance: $1,150 (made $150)
Profit Lock: 100.0
Open P&L: -$30
Total profit: $150 - $30 = $120
→ Exceeds $100 lock
→ Close all positions, lock gains
STOP TRADING AFTER PROFIT LOCK:
Controls EA behavior after Profit Lock triggers.
• Yes = EA freezes, no more trading (one-shot protection)
• No = EA continues placing grids (lock resets)
RECOMMENDED: Yes (safer)
CLOSE AFTER DAYS:
Auto-close individual positions after X days.
• Default: 0 (disabled)
• Range: 0 - 365
• Each position tracks its own age
• Closes when age >= limit
EXAMPLE:
Close After Days: 7
Position opened Monday 10:00
Next Monday 10:00 → Position is 7 days old
→ EA closes this position
→ Other positions unaffected
RECOMMENDED:
7-14 days for active management
30+ days for long-term holds
0 = Let other engines handle closing
4.11 MISCELLANEOUS SETTINGS
────────────────────────────
┌─────────────────────────────────────────────────────────────────┐
│ Max Spread (points): 50 │
│ Slippage: 5 │
│ Trade Comment: "GMTemporal" │
│ Magic Number: 20251201 │
│ Debug Mode: Yes │
└─────────────────────────────────────────────────────────────────┘
MAX SPREAD (POINTS):
Refuse to place grids if spread exceeds this.
• Default: 50 points (5 pips)
• Range: 10 - 500
• Prevents trading during high-spread periods (news, low liquidity)
BROKER SPREAD EXAMPLES:
ECN broker EUR/USD: 1-2 pips → Set 30 points
Standard broker EUR/USD: 2-3 pips → Set 50 points
Exotic pairs: 10+ pips → Set 150+ points
SLIPPAGE:
Maximum allowed price deviation when executing trades.
• Default: 5 points
• Range: 1 - 100
• Higher = More lenient (orders fill easier but worse price)
• Lower = Strict (better price but more rejections)
TRADE COMMENT:
Text label for all trades.
• Default: "GMTemporal"
• Appears in trade history and terminal
• Useful for tracking EA trades vs manual trades
• Max 31 characters
MAGIC NUMBER:
Unique identifier for this EA's trades.
• Default: 20251201
• Range: 0 - 2,147,483,647
• Allows running multiple EAs on same account
• EA only manages trades with matching magic
IMPORTANT: If running multiple instances:
Chart 1 (EUR/USD): Magic 111111
Chart 2 (GBP/USD): Magic 222222
→ Each EA manages only its own trades
DEBUG MODE:
Enable detailed logging in Experts tab.
• Yes = Verbose logging (recommended during setup)
• No = Minimal logging (for live trading after testing)
DEBUG OUTPUT INCLUDES:
• Grid placement notifications
• Trim engine activations
• Lock trigger events
• Margin guard warnings
• Position management actions
RECOMMENDED:
Yes = During backtesting and forward testing
No = Live trading (reduces log clutter)
Continues in Part 2
https://www.mql5.com/en/blogs/post/766856 ═══════════════════════════════════════════════════════════════════════════════


