Conditions earlier than working the EA
REQUIRED: Connect the Mirage Buying and selling System indicator to any chart earlier than attaching the EA.
How you can connect the EA
-
Open the chart of the image you need to commerce (e.g., XAUUSD M15).
-
Connect the MirageTradingSystem indicator to that chart (or another chart).
-
Connect the EASignalTemplate EA to the chart.
-
The EA will routinely detect the Mirage indicator and begin buying and selling.
Enter Parameters Defined
1) INDICATOR SETTINGS
| Enter | Default | Clarification |
|---|---|---|
| Indicator path | (empty) | Go away empty = the EA auto-detects Mirage on the chart. Solely fill in when you use a special indicator. |
| EA buffer base index | 5 | Don’t change—that is the buffer place within the indicator. |
| Indicator TF | Present | Timeframe used to learn alerts. Present = the present chart timeframe. |
2) SIGNAL SETTINGS
| Enter | Default | Clarification |
|---|---|---|
| Enable BUY alerts | true | Enable BUY entries. |
| Enable SELL alerts | true | Enable SELL entries. |
Tip: Disable one among them when you solely need to commerce in a single path.
3) MONEY MANAGEMENT
| Enter | Default | Clarification |
|---|---|---|
| Fastened lot measurement | 0.01 | Fastened lot measurement (used when Threat % is disabled). |
| Use danger % | true | If enabled, lot measurement is calculated based mostly on danger share. |
| Threat % per commerce | 1.0 | % of account risked per commerce (based mostly on SL). |
| Most lot | 10.0 | Most allowed lot measurement. |
| Minimal lot | 0.01 | Minimal allowed lot measurement. |
| Donchian Interval | 20 | Donchian interval used for backup SL/TP calculation. |
Advice: Use 1–2% danger for safer buying and selling.
4) ENTRY MODE (Vital!)
| Enter | Default | Clarification |
|---|---|---|
| (PENDING) | true | Place a pending order as quickly because the sign seems. |
| (TRIGGER) | true | Enter at market when the sign transitions from PENDING → ACTIVE. |
| (RETRACE) | true | Place a restrict order when value retraces again to entry. |
Newbie suggestion: Allow all three to keep away from lacking alternatives.
5) EXIT STRATEGY
| Enter | Default | Clarification |
|---|---|---|
| TP stage to make use of | TP2 | Choose TP stage: TP1 (closest) → TP4 (farthest). |
Strategies:
-
TP1: Safer, increased win price, smaller revenue
-
TP2: Balanced (really helpful)
-
TP3/TP4: Bigger revenue, however decrease win price
6) SYSTEM PARAMETERS
| Enter | Default | Clarification |
|---|---|---|
| Magic quantity | 123456 | ID to tell apart this EA’s orders from different EAs. |
| Slippage | 30 | Allowed slippage (factors). |
| Max positions per image | 0 | Max positions per image (0 = limitless). |
| Max complete positions | 0 | Max complete open positions (0 = limitless). |
| Sign scan depth | 50 | What number of bars again to scan for alerts. |
Advice: Set Max positions per image = 1 to keep away from over-trading.
7) SYMBOL FILTER
| Enter | Default | Clarification |
|---|---|---|
| Image whitelist | (empty) | Allowed symbols, separated by commas. Empty = permit all. Instance: XAUUSD,EURUSD,GBPUSD (commerce solely these 3). |
8) MTF MULTI-SYMBOL
| Enter | Default | Clarification |
|---|---|---|
| Allow MTF mode | true | Allow multi-timeframe/multi-symbol mode. |
| TF whitelist | (empty) | Timeframe filter, e.g., H1,H4,D1. Empty = all. |
| Exclude symbols | (empty) | Exclude symbols, e.g., BTCUSD,ETHUSD. |
Tip: Use TF filtering to commerce solely H1/H4 for higher stability.
9) LOOP RETRADE
| Enter | Default | Clarification |
|---|---|---|
| Allow Loop Retrade | If | If enabled, routinely re-enter after TP1 is hit. |
Warning: Superior characteristic—use provided that you absolutely perceive it.
Beneficial settings for learners
=== 3. MONEY MANAGEMENT ===
Use danger %: true
Threat % per commerce: 0.25%
=== 4. ENTRY MODE ===
(PENDING): true
(TRIGGER): true
(RETRACE): true
=== 5. EXIT STRATEGY ===
TP stage: TP2
=== 6. SYSTEM PARAMETERS ===
Max positions per image: 1
=== 8. MTF MULTI-SYMBOL ===
Allow MTF mode: true
TF whitelist: H1,H4
Frequent errors
“Primary Indicator Not Discovered!”
Trigger: The Mirage indicator has not been hooked up to any chart.
Repair: Connect MirageTradingSystem to any chart, then re-attach the EA.
EA doesn’t place trades
Test:
-
Has the indicator produced a sign but?
-
Are Enable BUY/SELL enabled?
-
Have you ever reached the Max positions restrict?
-
Is the image included within the whitelist?
Writer: KhiemNI
MQL5: https://www.mql5.com/en/customers/khiemni/vendor
