An Expert Advisor based EXPONETIAL MOVING AVERAGES (13) and (50) and (200)

MQL5 Asesores Expertos Python

Tarea técnica

📘EMA Triple-Cross Trading EA Constitution



1. Instruments

Bot operates ONLY on:

• UK100 (FTSE 100 Cash)
• CASH30 (Dow Jones / DJI30)
• GOLD (XAUUSD)

⚠️Developer Note:
Please ensure proper handling of contract sizes and point values for indices vs gold when calculating lot size.


2. Chart & Timeframes

Primary Execution Timeframe:

➡ M15

Higher Timeframe Bias:

➡ H1

Trades are allowed ONLY in the direction of H1 EMA200:

• BUY allowed only if H1 price is above H1 EMA200
• SELL allowed only if H1 price is below H1 EMA200

If condition not met → no trades.


3. Indicators

Apply on M15:

• EMA 13 (short momentum)
• EMA 50 (medium trend)
• EMA 200 (long anchor)

Apply on H1:

• EMA 200 (directional bias)


4. Trading Session Filter

Bot may trade ONLY during:

London + New York Kill Zone

(Broker server time adjustable)

Default:

08:00 – 17:00 London Time

Outside this window → NO entries.


5. Daily Trade Limit

Maximum:

➡ 3 trades per instrument per day.

Daily counter resets at:

➡ 00:00 broker server time.


6. Market Structure Filter (Anti-Chop Rule)

Before any setup is valid:

EMA Separation Requirement:

Distance between EMA50 and EMA200 must be ≥ ATR(14) × 0.5

If EMAs are compressed → no trade.


7. Momentum Confirmation Filter

Entry candle must satisfy:

• Candle body ≥ 60% of total candle range
• Candle closes in trade direction
• EMA13 slope must be positive (BUY) or negative (SELL)

Otherwise → ignore signal.


8. Two-Stage Entry Logic

Stage 1 – Momentum Cross

BUY Setup:

EMA13 crosses ABOVE EMA50 (confirmed on candle close)

SELL Setup:

EMA13 crosses BELOW EMA50 (confirmed on candle close)

This creates a pending setup state.


Setup Expiry Rule

If EMA200 confirmation does NOT occur within:

➡ 10 closed M15 candles

Then invalidate setup.


Stage 2 – Trend Confirmation (Execution)

BUY Entry:

• Price OR EMA13 crosses ABOVE EMA200
• H1 bias aligned
• Momentum + structure filters valid
• Session valid
• Spread acceptable

SELL Entry:

• Price OR EMA13 crosses BELOW EMA200
• H1 bias aligned
• Momentum + structure filters valid
• Session valid
• Spread acceptable


9. Position Rules

• Only ONE open trade per instrument at any time.
• No stacking.
• No immediate reversal on opposite signal.
• New setup allowed only after previous trade closes.


10. Stop Loss Logic

SL is placed at the tighter of:

A) Previous swing high/low
B) Fixed 1% account risk

Swing Definition:

Swing High = Highest high of last 5 closed candles
Swing Low = Lowest low of last 5 closed candles

Whichever gives smaller risk distance is used.


11. Risk Management

Risk per trade:

➡ Exactly 1% of account balance.

Reward target:

➡ 3R (1:3 Risk-Reward)

Lot size must be dynamically calculated based on:

• Account balance
• SL distance
• Instrument contract size
• Point value


12. Spread & Slippage Protection

Before order execution:

• Max spread allowed: – Indices: ≤ broker average × 1.5
– Gold: ≤ broker average × 1.2

• Max slippage: 2 points

If exceeded → cancel trade.


13. News & Volatility Safety (Optional but Recommended)

Do NOT open new trades within:

➡ 15 minutes before or after high-impact news on traded instrument.

(Open trades may continue.)


14. Execution Rules

• Entries executed at candle close only.
• No intra-bar trading.
• No partial closes.
• TP and SL placed immediately upon entry.


15. Logging Requirements

Bot must log:

• Instrument
• Entry type (Buy/Sell)
• Entry price
• SL / TP
• Risk size
• Reason for trade
• Setup expiration
• Daily trade count

Exportable to CSV.


16. Fail-Safe Conditions

Bot must halt trading if:

• Account drawdown reaches 5% in a day
• Connection lost
• Price feed invalid
• Order rejected twice consecutively


🧠Strategy Philosophy

This algorithm trades:

✔Momentum
✔EMA Structure
✔Higher Timeframe Direction
✔Session Liquidity

Avoids:

✘ Chop
✘ Weak crosses
✘ Overnight noise
✘ Overtrading



Han respondido

1
Desarrollador 1
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(19)
Proyectos
24
8%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabajando
3
Desarrollador 3
Evaluación
(258)
Proyectos
264
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
4
Desarrollador 4
Evaluación
(394)
Proyectos
551
40%
Arbitraje
30
57% / 3%
Caducado
57
10%
Libre
Ha publicado: 11 ejemplos
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
7
Desarrollador 7
Evaluación
(40)
Proyectos
43
58%
Arbitraje
1
100% / 0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
8
Desarrollador 8
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(273)
Proyectos
402
27%
Arbitraje
40
40% / 50%
Caducado
1
0%
Trabaja
10
Desarrollador 10
Evaluación
(154)
Proyectos
163
43%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
11
Desarrollador 11
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(42)
Proyectos
112
56%
Arbitraje
2
50% / 0%
Caducado
3
3%
Libre
Ha publicado: 1 ejemplo
14
Desarrollador 14
Evaluación
(168)
Proyectos
201
48%
Arbitraje
5
20% / 60%
Caducado
2
1%
Libre
15
Desarrollador 15
Evaluación
(2)
Proyectos
3
33%
Arbitraje
1
0% / 100%
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(6)
Proyectos
7
14%
Arbitraje
1
0% / 100%
Caducado
1
14%
Libre
17
Desarrollador 17
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
19
Desarrollador 19
Evaluación
(30)
Proyectos
37
54%
Arbitraje
2
50% / 50%
Caducado
3
8%
Libre
20
Desarrollador 20
Evaluación
(20)
Proyectos
26
38%
Arbitraje
6
33% / 50%
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(509)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
101
10%
Libre
Ha publicado: 1 artículo, 6 ejemplos
22
Desarrollador 22
Evaluación
(10)
Proyectos
15
20%
Arbitraje
4
50% / 50%
Caducado
1
7%
Libre
23
Desarrollador 23
Evaluación
(18)
Proyectos
26
0%
Arbitraje
4
0% / 100%
Caducado
5
19%
Libre
24
Desarrollador 24
Evaluación
(16)
Proyectos
20
0%
Arbitraje
10
0% / 80%
Caducado
6
30%
Libre
25
Desarrollador 25
Evaluación
(542)
Proyectos
821
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
26
Desarrollador 26
Evaluación
(5)
Proyectos
9
11%
Arbitraje
2
0% / 50%
Caducado
2
22%
Trabaja
27
Desarrollador 27
Evaluación
(362)
Proyectos
435
54%
Arbitraje
20
55% / 15%
Caducado
30
7%
Trabaja
28
Desarrollador 28
Evaluación
(15)
Proyectos
22
18%
Arbitraje
4
50% / 25%
Caducado
4
18%
Trabaja
29
Desarrollador 29
Evaluación
(75)
Proyectos
111
50%
Arbitraje
26
31% / 50%
Caducado
9
8%
Libre
30
Desarrollador 30
Evaluación
(2661)
Proyectos
3382
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
31
Desarrollador 31
Evaluación
(6)
Proyectos
5
0%
Arbitraje
3
33% / 67%
Caducado
2
40%
Libre
32
Desarrollador 32
Evaluación
(61)
Proyectos
89
28%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
33
Desarrollador 33
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
34
Desarrollador 34
Evaluación
(2)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
35
Desarrollador 35
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
36
Desarrollador 36
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
37
Desarrollador 37
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
38
Desarrollador 38
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
39
Desarrollador 39
Evaluación
(4)
Proyectos
8
0%
Arbitraje
3
33% / 67%
Caducado
4
50%
Libre
40
Desarrollador 40
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
41
Desarrollador 41
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I have a 90% completed project with the execution part left to complete, I have been struggling to complete this section and I need help from someone expert in MQL5 with knowledge on forex trading and ICT Concepts coding. Contact me for further details
Patricia Ukawilu 6:43 PM I need help creating an EA to optimize my trade. I already have a preliminary pine script which I will want optimized and create an EA from it to optimize my trade on MT4. I also subscribed to a signal app. I’m looking to automate the execution of the signal from the app so as not to miss out on good trades
I am looking for an experienced MQL5 developer with Python/data analysis skills. I have my own MT5 Strategy Tester reports, exported trade history, and market CSV data. I need help analyzing these files and developing a new independent Expert Advisor based on clearly defined, statistically tested, and validated trading rules. Tasks: Analyze my MT5 Strategy Tester reports and exported trade history. Compare historical
We are looking for a developer to finish and stabilize an existing Kalshi trading bot (~60% complete) built in TypeScript. This is not a MetaTrader EA. The system interacts with the Kalshi API and requires strong understanding of execution logic, order handling, and state management. Scope of Work: Review and understand existing TypeScript codebase Complete missing functionality Fix execution issues (order placement
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea

Información sobre el proyecto

Presupuesto
100+ USD