Conditions earlier than working the EA
REQUIRED: Connect the Mirage Buying and selling System indicator to any chart earlier than attaching the EA.
Easy methods to 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 some other chart).
Connect the EASignalTemplate EA to the chart.
The EA will mechanically 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 in the event you use a unique 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 in all them in the event you solely need to commerce in a single route.
3) MONEY MANAGEMENT
| Enter | Default | Clarification |
|---|---|---|
| Mounted lot measurement | 0.01 | Mounted lot measurement (used when Threat % is disabled). |
| Use danger % | true | If enabled, lot measurement is calculated primarily based on danger share. |
| Threat % per commerce | 1.0 | % of account risked per commerce (primarily based 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 (Essential!)
| 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 advice: 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). |
Solutions:
TP1: Safer, larger win charge, smaller revenue
TP2: Balanced (beneficial)
TP3/TP4: Bigger revenue, however decrease win charge
6) SYSTEM PARAMETERS
| Enter | Default | Clarification |
|---|---|---|
| Magic quantity | 123456 | ID to differentiate 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 = enable 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, mechanically re-enter after TP1 is hit. |
Warning: Superior characteristic—use provided that you totally perceive it.
Really useful 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
“Predominant Indicator Not Discovered!”
Trigger: The Mirage indicator has not been connected to any chart.
Repair: Connect MirageTradingSystem to any chart, then re-attach the EA.
EA doesn’t place trades
Examine:
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

