HomeSample Page

Sample Page Title


═══════════════════════════════════════════════════════════════════════════════

 

  GRID MASTERS TEMPORAL TRADER MT5

    COMPLETE USER MANUAL AND GUIDE

    Model 1.12 | Copyright 2026, Hector Moses @ Grid Masters

═══════════════════════════════════════════════════════════════════════════════

TABLE OF CONTENTS

═════════════════

5. OPERATIONAL GUIDE

   5.1 How the EA Operates Each day

   5.2 Grid Placement Logic

   5.3 Place Administration Move

   5.4 Trim Engine Activation

   5.5 Lock System Triggers

6. STRATEGY SETUPS

   6.1 Conservative Setup (Low Threat)

   6.2 Average Setup (Balanced)

   6.3 Aggressive Setup (Excessive Quantity)

   6.4 Development-Following Setup

   6.5 Vary-Buying and selling Setup

7. OPTIMIZATION GUIDE

   7.1 Backtesting Greatest Practices

   7.2 Ahead Testing Protocol

   7.3 Parameter Optimization

   7.4 Foreign money Pair Choice

   7.5 Timeframe Choice

8. RISK MANAGEMENT

   8.1 Place Sizing Calculations

   8.2 Margin Administration

   8.3 Drawdown Expectations

   8.4 Lock Settings Technique

   8.5 Emergency Procedures

9. TROUBLESHOOTING

   9.1 Frequent Points and Options

   9.2 Error Messages Defined

   9.3 Efficiency Issues

   9.4 Dealer-Particular Points

10. ADVANCED USAGE

    10.1 Multi-Image Buying and selling

    10.2 Portfolio Administration

    10.3 Information Occasion Dealing with

    10.4 Customized Time Slot Methods

11. FAQ

12. SUPPORT & CONTACT

COMPLETE USER MANUAL AND GUIDE – (Half 2)

═══════════════════════════════════════════════════════════════════════════════

5. OPERATIONAL GUIDE

═══════════════════════════════════════════════════════════════════════════════

5.1 HOW THE EA OPERATES DAILY

──────────────────────────────

DAILY CYCLE:

00:00 SERVER TIME – DAILY RESET

├─ All time slot flags reset (g_fired1/2/3 = false)

├─ EA able to set off at configured instances

└─ Present positions/orders stay energetic

TIME SLOT 1 TRIGGERS (e.g., 05:00)

├─ EA checks: Is g_fired1 already true? No → Proceed

├─ Market accessible? Unfold OK? Sure → Proceed

├─ Test SMA filter (if enabled)

├─ Value > SMA? → Place BUY grid solely

├─ Value < SMA? → Place SELL grid solely

├─ SMA disabled? → Place each grids

├─ Set g_fired1 = true (will not fireplace once more as we speak)

└─ Grid deployed efficiently

CONTINUOUS MONITORING (EVERY TICK)

├─ Test present positions:

│   ├─ Break-even reached? → Transfer SL to BE + offset

│   ├─ Trailing set off? → Regulate trailing SL

│   ├─ Basket revenue goal? → Execute partial shut

│   └─ Place age restrict? → Shut aged positions

├─ Test trim engines:

│   ├─ Place depend > Legacy Trim max? → Trim positions

│   └─ Place depend > AI Trim max? → AI trim positions

├─ Test locks:

│   ├─ Fairness Lock reached? → Shut all, clear grid

│   ├─ Revenue Lock reached? → Shut all, freeze (elective)

│   └─ Drawdown Lock reached? → Shut all, clear grid

├─ Test grid refresh:

│   └─ 70% of pending orders consumed? → Re-deploy grid

└─ Repeat each tick

TIME SLOT 2 TRIGGERS (e.g., 10:00)

├─ Similar course of as Slot 1

└─ Impartial of Slot 1 (recent grid)

TIME SLOT 3 TRIGGERS (e.g., 15:00)

├─ Similar course of as Slot 1

└─ Impartial of Slots 1 & 2

23:59 SERVER TIME

├─ Day cycle completes

└─ Tomorrow: Reset at 00:00

5.2 GRID PLACEMENT LOGIC

─────────────────────────

STEP-BY-STEP PROCESS:

1. TRIGGER CHECK

   ├─ Present server time = Time Slot X?

   ├─ Has this slot already fired as we speak?

   └─ If no → Proceed to Step 2

2. MARKET VALIDATION

   ├─ Is market open and tradable?

   ├─ Is unfold inside acceptable vary?

   ├─ Is sufficient free margin accessible?

   └─ If all sure → Proceed to Step 3

3. SMA ANALYSIS (if enabled)

   ├─ Calculate present SMA worth

   ├─ Examine mid-price to SMA

   ├─ Decide bias:

   │   ├─ Value > SMA → BUY_ONLY

   │   ├─ Value < SMA → SELL_ONLY

   │   └─ Filter disabled → BOTH

   └─ Proceed to Step 4

4. POSITION LIMIT CHECK

   ├─ Depend present BUY positions

   ├─ Depend present SELL positions

   ├─ If BUY depend >= Max BUY → Skip BUY grid

   ├─ If SELL depend >= Max SELL → Skip SELL grid

   └─ Proceed to Step 5

5. PENDING ORDER LIMIT CHECK

   ├─ Question dealer’s max pending orders restrict

   ├─ Depend present pending orders on account

   ├─ Would putting grid exceed restrict?

   └─ If sure → Abort, log warning

6. DELETE OLD PENDING ORDERS

   ├─ Loop via all pending orders

   ├─ If order belongs to this EA (magic match):

   │   └─ Delete order

   └─ Clear the slate for recent grid

7. PLACE BUY GRID (if allowed)

   ├─ Calculate BUY ranges to put (respecting place limits)

   ├─ For every degree (1 to BuyLevels):

   │   ├─ Calculate worth: Present + (Stage × Spacing)

   │   ├─ Calculate SL: Value – SL_Points (if SL > 0)

   │   ├─ Calculate TP: Value + TP_Points (if TP > 0)

   │   ├─ Validate worth in opposition to stop-level guidelines

   │   ├─ Test margin for this lot dimension

   │   └─ Place Purchase Cease pending order

   └─ BUY grid full

8. PLACE SELL GRID (if allowed)

   ├─ Calculate SELL ranges to put (respecting place limits)

   ├─ For every degree (1 to SellLevels):

   │   ├─ Calculate worth: Present – (Stage × Spacing)

   │   ├─ Calculate SL: Value + SL_Points (if SL > 0)

   │   ├─ Calculate TP: Value – TP_Points (if TP > 0)

   │   ├─ Validate worth in opposition to stop-level guidelines

   │   ├─ Test margin for this lot dimension

   │   └─ Place Promote Cease pending order

   └─ SELL grid full

9. LOG SUCCESS

   └─ “Grid positioned: X BUY ranges, Y SELL ranges at Z spacing”

VISUAL EXAMPLE (Grid Spacing = 50 factors):

Present Value: 1.1000

SELL GRID:                          BUY GRID:

1.0850 ← Promote Cease (Stage 3)        1.1150 ← Purchase Cease (Stage 3)

1.0900 ← Promote Cease (Stage 2)        1.1100 ← Purchase Cease (Stage 2)

1.0950 ← Promote Cease (Stage 1)        1.1050 ← Purchase Cease (Stage 1)

        ↓                                    ↑

   ─────────── 1.1000 (CURRENT) ───────────

        

As worth strikes:

• As much as 1.1050: BUY place opens

• Right down to 1.0950: SELL place opens

• Continues to activate ranges as worth strikes

5.3 POSITION MANAGEMENT FLOW

─────────────────────────────

ONCE POSITIONS ARE OPEN, EA APPLIES (EVERY TICK):

┌──────────────────────────────────────────────────────────────┐

│ POSITION OPENED (from activated pending order)              │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 1. BREAK-EVEN CHECK                                          │

│    • Is revenue >= Break-Even Set off?                        │

│    • Sure → Transfer SL to Entry + Offset                         │

│    • No → Skip to subsequent examine                                 │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 2. TRAILING STOP CHECK                                       │

│    • Is revenue >= Trailing Begin?                            │

│    • Sure → Set SL to Present Value – Trailing Step          │

│    • Replace SL if worth strikes additional in revenue              │

│    • No → Skip to subsequent examine                                 │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 3. BASKET PARTIAL CLOSE CHECK                                │

│    • Calculate common revenue throughout ALL positions           │

│    • Is common >= Partial Min Revenue?                       │

│    • Has this place been partially closed already?        │

│    • Sure to each → Shut X% of quantity, mark as partial       │

│    • No → Skip to subsequent examine                                 │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 4. POSITION AGE CHECK                                        │

│    • Calculate place age (days since open)                │

│    • Is age >= Shut After Days restrict?                       │

│    • Sure → Shut place completely                           │

│    • No → Skip to subsequent examine                                 │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 5. TRIM ENGINE CHECK (GLOBAL, NOT PER-POSITION)              │

│    • Depend complete positions throughout all grids                  │

│    • Legacy Trim: Depend >= Max? → Shut X losers/winners     │

│    • AI Trim: Depend >= Max? → Shut X worst equity-impact    │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 6. LOCK SYSTEM CHECK (GLOBAL, NOT PER-POSITION)              │

│    • Fairness Lock: Open P&L >= Goal? → Shut ALL            │

│    • Revenue Lock: Complete Revenue >= Goal? → Shut ALL        │

│    • Drawdown Lock: Fairness drop >= Restrict? → Shut ALL        │

└──────────────────────────────────────────────────────────────┘

                           ↓

┌──────────────────────────────────────────────────────────────┐

│ 7. SMA CROSS CHECK (if enabled)                              │

│    • Has worth closed reverse to SMA?                       │

│    • BUY positions + worth closed beneath SMA? → Shut all BUY │

│    • SELL positions + worth closed above SMA? → Shut all SELL│

└──────────────────────────────────────────────────────────────┘

                           ↓

                    REPEAT EVERY TICK

5.4 TRIM ENGINE ACTIVATION

───────────────────────────

LEGACY TRIM ENGINE EXAMPLE:

Settings:

• Max Positions: 40

• Shut Depend: 10

• Min Revenue: 0.0

• Shut Losers First: Sure

State of affairs:

• You’ve gotten 42 open positions

• Positions P&L ranges from -$15 to +$8

Activation:

1. EA counts positions: 42

2. 42 >= 40 → Set off Legacy Trim

3. Acquire all 42 positions into array

4. Type by revenue (losers first):

   Place #1: -$15

   Place #2: -$12

   Place #3: -$10

   …

   Place #42: +$8

5. Loop via first 10 positions (Shut Depend = 10)

6. For every:

   • Test revenue >= Min Revenue (0.0)

   • If sure → Shut place

7. Consequence: 10 worst losers closed, 32 positions stay

Subsequent tick:

• Place depend: 32

• 32 < 40 → No trim wanted

AI TRIM ENGINE EXAMPLE:

Settings:

• Max Positions: 45

• Shut Depend: 5

State of affairs:

• You’ve gotten 47 open positions

• Legacy Trim already fired (was at 42, closed 10, now at 32)

• Extra positions activated, now at 47

Activation:

1. EA counts positions: 47

2. 47 >= 45 → Set off AI Trim

3. File present fairness: $1,150

4. Analyze fairness slope (fairness development course)

5. Establish positions inflicting fairness drag:

   • Place A: Massive loss, heavy drag

   • Place B: Medium loss, medium drag

   • Place C: Small revenue, no drag

   …

6. Type by fairness impression (worst first)

7. Shut prime 5 worst equity-impact positions

8. Consequence: 5 positions closed, 42 stay

Layered Safety:

• Legacy Trim (40) → First protection

• AI Trim (45) → Backup protection

• By no means reaches catastrophic ranges

5.5 LOCK SYSTEM TRIGGERS

─────────────────────────

EQUITY LOCK EXAMPLE:

Setting: Fairness Lock = 110.0 USD

State of affairs:

• Account steadiness: $1,000

• 15 positions open

• Floating P&L: +$115

Set off:

1. EA calculates open P&L each tick

2. Open P&L = $115

3. $115 >= $110 → Fairness Lock triggered

4. EA instantly:

   • Closes all 15 positions

   • Deletes all pending orders

   • Logs occasion: “Fairness Lock triggered at $115”

5. Realized revenue now locked in steadiness

6. EA continues monitoring (lock can set off once more)

PROFIT LOCK EXAMPLE:

Setting: Revenue Lock = 100.0 USD

Setting: Cease Buying and selling After Revenue Lock = Sure

State of affairs:

• Beginning steadiness (from OnInit): $1,000

• Present steadiness: $1,120 (made $120 in closed trades)

• Open P&L: -$25

Set off:

1. EA calculates complete revenue:

   Complete = (Present Steadiness – Beginning Steadiness) + Open P&L

   Complete = ($1,120 – $1,000) + (-$25)

   Complete = $120 – $25 = $95

2. $95 < $100 → Not triggered but

Later:

• Open P&L improves to -$5

• Complete = $120 – $5 = $115

3. $115 >= $100 → Revenue Lock triggered

4. EA instantly:

   • Closes all positions

   • Deletes all pending orders

   • Units g_frozen = true (EA stops buying and selling completely)

   • Logs: “Revenue Lock triggered – EA FROZEN”

5. EA stays on chart however by no means trades once more

DRAWDOWN LOCK EXAMPLE:

Setting: Drawdown Lock = 200.0 USD

State of affairs:

• Account fairness peaks at $1,300 (EA data as g_peakEquity)

• Market strikes in opposition to you

• Fairness drops to $1,080

Set off:

1. EA updates peak fairness each tick:

   if (present fairness > peak fairness):

      peak fairness = present fairness

2. Peak = $1,300, Present = $1,080

3. Drop = $1,300 – $1,080 = $220

4. $220 >= $200 → Drawdown Lock triggered

5. EA instantly:

   • Closes all positions

   • Deletes all pending orders

   • Resets peak to present fairness ($1,080)

   • Logs: “Drawdown Lock triggered – DD: $220”

6. EA continues buying and selling (not frozen, in contrast to Revenue Lock)

═══════════════════════════════════════════════════════════════════════════════

6. STRATEGY SETUPS

═══════════════════════════════════════════════════════════════════════════════

6.1 CONSERVATIVE SETUP (LOW RISK)

──────────────────────────────────

ACCOUNT SIZE: $500 – $1,000

TEMPORAL SETTINGS:

• Time Slot 1: “07:00” (London open)

• Time Slot 2: “13:00” (NY open)

• Time Slot 3: “00:00” (disabled, set to midnight)

GRID SETTINGS:

• Purchase Ranges: 5

• Promote Ranges: 5

• Grid Spacing: 100 factors

• SL: 0 (use locks as a substitute)

• TP: 0

POSITION LIMITS:

• Max BUY: 10

• Max SELL: 10

LEGACY TRIM:

• Allow: Sure

• Max Positions: 15

• Shut Depend: 5

• Min Revenue: 0.0

• Losers First: Sure

AI TRIM:

• Allow: Sure

• Set off Depend: 20

• Shut Depend: 3

BREAK-EVEN:

• Allow: Sure

• Set off: 300 factors

• Offset: 20 factors

TRAILING:

• Allow: No

PARTIAL CLOSE:

• Allow: Sure

• Shut %: 50.0

• Min Revenue: 400 factors

SMA FILTER:

• Allow: Sure

• Interval: 50

• Shut on Cross: Sure (strict development following)

RISK & LOCKS:

• Lot Dimension: 0.01

• Fairness Lock: 20.0 USD

• Drawdown Lock: 100.0 USD

• Revenue Lock: 50.0 USD

• Cease After Revenue Lock: Sure

• Shut After Days: 14

MISC:

• Max Unfold: 30 factors

• Magic: 111111

• Debug: Sure

EXPECTED BEHAVIOR:

• Very conservative place sizing

• Strict development following (SMA filter + cross-close)

• Fast profit-taking (Fairness Lock at $20)

• Tight drawdown management ($100 max)

• Appropriate for small accounts

6.2 MODERATE SETUP (BALANCED)

──────────────────────────────

ACCOUNT SIZE: $2,000 – $5,000

TEMPORAL SETTINGS:

• Time Slot 1: “05:00”

• Time Slot 2: “10:00”

• Time Slot 3: “15:00”

GRID SETTINGS:

• Purchase Ranges: 10

• Promote Ranges: 10

• Grid Spacing: 50 factors

• SL: 0

• TP: 0

POSITION LIMITS:

• Max BUY: 20

• Max SELL: 20

LEGACY TRIM:

• Allow: Sure

• Max Positions: 30

• Shut Depend: 10

• Min Revenue: 0.0

• Losers First: Sure

AI TRIM:

• Allow: Sure

• Set off Depend: 35

• Shut Depend: 5

BREAK-EVEN:

• Allow: Sure

• Set off: 200 factors

• Offset: 10 factors

TRAILING:

• Allow: No

PARTIAL CLOSE:

• Allow: Sure

• Shut %: 50.0

• Min Revenue: 300 factors

SMA FILTER:

• Allow: Sure

• Interval: 50

• Shut on Cross: No (enable positions to handle themselves)

RISK & LOCKS:

• Lot Dimension: 0.05 – 0.10

• Fairness Lock: 100.0 USD

• Drawdown Lock: 400.0 USD

• Revenue Lock: 200.0 USD

• Cease After Revenue Lock: Sure

• Shut After Days: 7

MISC:

• Max Unfold: 50 factors

• Magic: 222222

• Debug: Sure

EXPECTED BEHAVIOR:

• Balanced place sizing

• Average grid density

• Cheap revenue targets

• Good for medium accounts

6.3 AGGRESSIVE SETUP (HIGH VOLUME)

───────────────────────────────────

ACCOUNT SIZE: $10,000+

TEMPORAL SETTINGS:

• Time Slot 1: “00:00” (each day reset)

• Time Slot 2: “08:00” (London)

• Time Slot 3: “14:00” (NY)

GRID SETTINGS:

• Purchase Ranges: 15

• Promote Ranges: 15

• Grid Spacing: 30 factors

• SL: 0

• TP: 0

POSITION LIMITS:

• Max BUY: 0 (limitless)

• Max SELL: 0 (limitless)

LEGACY TRIM:

• Allow: Sure

• Max Positions: 50

• Shut Depend: 15

• Min Revenue: 0.0

• Losers First: Sure

AI TRIM:

• Allow: Sure

• Set off Depend: 60

• Shut Depend: 10

BREAK-EVEN:

• Allow: Sure

• Set off: 150 factors

• Offset: 10 factors

TRAILING:

• Allow: Sure

• Begin: 400 factors

• Step: 200 factors

PARTIAL CLOSE:

• Allow: Sure

• Shut %: 30.0 (take smaller income, let extra run)

• Min Revenue: 200 factors

SMA FILTER:

• Allow: No (commerce each instructions)

• Interval: 50

• Shut on Cross: No

RISK & LOCKS:

• Lot Dimension: 0.20 – 0.50

• Fairness Lock: 500.0 USD

• Drawdown Lock: 2,000.0 USD

• Revenue Lock: 1,000.0 USD

• Cease After Revenue Lock: No (hold buying and selling)

• Shut After Days: 0 (disabled)

MISC:

• Max Unfold: 50 factors

• Magic: 333333

• Debug: No (scale back log litter)

EXPECTED BEHAVIOR:

• Excessive frequency grid buying and selling

• Massive place counts

• Bigger revenue targets

• Accepts bigger drawdowns

• Just for well-capitalized accounts

6.4 TREND-FOLLOWING SETUP

──────────────────────────

FOCUS: Journey main tendencies, keep away from counter-trend trades

TEMPORAL SETTINGS:

• Time Slot 1: “08:00” (London session)

• Time Slot 2: “14:00” (NY session)

• Time Slot 3: “00:00” (disabled)

GRID SETTINGS:

• Purchase Ranges: 12

• Promote Ranges: 12

• Grid Spacing: 60 factors (wider for tendencies)

• SL: 0

• TP: 0

POSITION LIMITS:

• Max BUY: 15

• Max SELL: 15

LEGACY TRIM:

• Allow: Sure

• Max Positions: 25

• Shut Depend: 8

• Min Revenue: 0.0

• Losers First: Sure

AI TRIM:

• Allow: Sure

• Set off Depend: 30

• Shut Depend: 5

BREAK-EVEN:

• Allow: Sure

• Set off: 250 factors

• Offset: 15 factors

TRAILING:

• Allow: Sure

• Begin: 500 factors (let tendencies develop)

• Step: 250 factors (broad trailing)

PARTIAL CLOSE:

• Allow: No (let winners run in tendencies)

SMA FILTER:

• Allow: Sure

• Interval: 100 (slower, main tendencies solely)

• Shut on Cross: Sure (exit when development reverses)

RISK & LOCKS:

• Lot Dimension: 0.10

• Fairness Lock: 200.0 USD

• Drawdown Lock: 500.0 USD

• Revenue Lock: 0.0 (disabled, let tendencies run)

• Shut After Days: 0

MISC:

• Max Unfold: 40 factors

• Magic: 444444

• Debug: Sure

PHILOSOPHY:

• Extensive grid spacing fits trending strikes

• SMA(100) filters out noise, catches main tendencies

• Shut on Cross exits when development ends

• Trailing cease locks in development income

• No partial shut (maximize development seize)

6.5 RANGE-TRADING SETUP

────────────────────────

FOCUS: Revenue from ranging/sideways markets

TEMPORAL SETTINGS:

• Time Slot 1: “06:00” (early London)

• Time Slot 2: “12:00” (London shut/NY open overlap)

• Time Slot 3: “20:00” (Asian session)

GRID SETTINGS:

• Purchase Ranges: 8

• Promote Ranges: 8

• Grid Spacing: 40 factors (tight for ranges)

• SL: 0

• TP: 100 factors (fast scalping TPs)

POSITION LIMITS:

• Max BUY: 12

• Max SELL: 12

LEGACY TRIM:

• Allow: Sure

• Max Positions: 20

• Shut Depend: 6

• Min Revenue: 5.0 (solely shut worthwhile ones)

• Losers First: No (safe winners first in ranges)

AI TRIM:

• Allow: Sure

• Set off Depend: 25

• Shut Depend: 4

BREAK-EVEN:

• Allow: Sure

• Set off: 150 factors

• Offset: 10 factors

TRAILING:

• Allow: No (ranges do not development far)

PARTIAL CLOSE:

• Allow: Sure

• Shut %: 70.0 (aggressive profit-taking)

• Min Revenue: 200 factors

SMA FILTER:

• Allow: No (ranges cross SMA often)

RISK & LOCKS:

• Lot Dimension: 0.10

• Fairness Lock: 80.0 USD (fast profit-taking)

• Drawdown Lock: 300.0 USD

• Revenue Lock: 150.0 USD

• Cease After Revenue Lock: No (proceed in ranges)

• Shut After Days: 5 (do not maintain vary trades lengthy)

MISC:

• Max Unfold: 30 factors

• Magic: 555555

• Debug: Sure

PHILOSOPHY:

• Tight grid spacing catches small vary strikes

• Mounted TP (100 pts) scalps vary bounces

• Aggressive partial shut (70%) locks vary income

• Brief place age (5 days) prevents stale vary trades

• No SMA filter (ranges whipsaw round MA)

═══════════════════════════════════════════════════════════════════════════════

7. OPTIMIZATION GUIDE

═══════════════════════════════════════════════════════════════════════════════

7.1 BACKTESTING BEST PRACTICES

─────────────────────────────

Nb please notice that the complete full pdf information is on the market on request

[Click here for Part 3]

Again testing greatest practices and the remainder of the information partly 3, want I may paste the entire thing right here however limits.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles