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

MQL5 Experts Python

Termos de Referência

📘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



Respondido

1
Desenvolvedor 1
Classificação
(64)
Projetos
83
28%
Arbitragem
9
33% / 56%
Expirado
9
11%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(19)
Projetos
24
8%
Arbitragem
9
33% / 33%
Expirado
1
4%
Carregado
3
Desenvolvedor 3
Classificação
(258)
Projetos
265
29%
Arbitragem
0
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
4
Desenvolvedor 4
Classificação
(394)
Projetos
554
41%
Arbitragem
30
57% / 3%
Expirado
57
10%
Trabalhando
Publicou: 11 códigos
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
7
Desenvolvedor 7
Classificação
(40)
Projetos
45
60%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
8
Desenvolvedor 8
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
10
Desenvolvedor 10
Classificação
(166)
Projetos
176
45%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
11
Desenvolvedor 11
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Publicou: 1 artigo
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(42)
Projetos
112
56%
Arbitragem
2
50% / 0%
Expirado
3
3%
Livre
Publicou: 1 código
14
Desenvolvedor 14
Classificação
(169)
Projetos
202
48%
Arbitragem
5
20% / 60%
Expirado
2
1%
Livre
15
Desenvolvedor 15
Classificação
(2)
Projetos
3
33%
Arbitragem
1
0% / 100%
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(6)
Projetos
7
14%
Arbitragem
1
0% / 100%
Expirado
1
14%
Livre
17
Desenvolvedor 17
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(206)
Projetos
333
35%
Arbitragem
66
12% / 58%
Expirado
87
26%
Livre
19
Desenvolvedor 19
Classificação
(31)
Projetos
38
53%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
20
Desenvolvedor 20
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Livre
Publicou: 1 artigo, 6 códigos
22
Desenvolvedor 22
Classificação
(10)
Projetos
15
20%
Arbitragem
5
40% / 40%
Expirado
1
7%
Livre
23
Desenvolvedor 23
Classificação
(19)
Projetos
27
0%
Arbitragem
4
0% / 100%
Expirado
5
19%
Trabalhando
24
Desenvolvedor 24
Classificação
(16)
Projetos
20
0%
Arbitragem
10
0% / 80%
Expirado
6
30%
Livre
25
Desenvolvedor 25
Classificação
(545)
Projetos
830
62%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
Publicou: 1 código
26
Desenvolvedor 26
Classificação
(7)
Projetos
13
15%
Arbitragem
2
0% / 50%
Expirado
3
23%
Trabalhando
27
Desenvolvedor 27
Classificação
(363)
Projetos
437
54%
Arbitragem
22
50% / 14%
Expirado
30
7%
Ocupado
28
Desenvolvedor 28
Classificação
(20)
Projetos
27
30%
Arbitragem
4
50% / 25%
Expirado
4
15%
Carregado
29
Desenvolvedor 29
Classificação
(75)
Projetos
111
50%
Arbitragem
26
31% / 50%
Expirado
9
8%
Livre
30
Desenvolvedor 30
Classificação
(2669)
Projetos
3402
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
31
Desenvolvedor 31
Classificação
(6)
Projetos
5
0%
Arbitragem
4
25% / 75%
Expirado
2
40%
Livre
32
Desenvolvedor 32
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
33
Desenvolvedor 33
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
34
Desenvolvedor 34
Classificação
(2)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
35
Desenvolvedor 35
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
(298)
Projetos
477
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Carregado
Publicou: 2 códigos
37
Desenvolvedor 37
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
38
Desenvolvedor 38
Classificação
(33)
Projetos
36
33%
Arbitragem
5
0% / 80%
Expirado
0
Trabalhando
Publicou: 2 códigos
39
Desenvolvedor 39
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
40
Desenvolvedor 40
Classificação
(77)
Projetos
244
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
41
Desenvolvedor 41
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Expert Advisor (EA) Requirements – MT5 (MQL5) Project Overview Develop an automated Expert Advisor (EA) for MetaTrader 5 based on EMA crossover signals combined with strict risk management and trade management principles. The EA must be optimized for Forex pairs and indices and should operate automatically without manual intervention. Entry Conditions Buy Setup Fast EMA crosses above Slow EMA. Current candle closes
Hi everyone, I need a custom automation tool (can be developed using Python automation, a Chrome extension, or other web automation scripts) to help me batch-export screenshots of trading charts for backtesting. Context: I already have a completed Pine Script indicator. Once loaded onto the TradingView chart, it plots signal marks (such as specific icons or arrows) directly on the screen. The "signals" or "marks"
MC Trader's 30+ USD
If Buy: it must Buy when a conformation is done Bye the candle that would be a bullish engolfing candle or after liqudity swip or when sellers has stepped down the market and the market regains energy and trand upwards, it's stop loss must be below the Buy position and it's take profit must be at the top of all candles
i am looking to upgrade my trading telegram bot and add live data to it and also make it linked to a dashboard where i can trace the users who register in my bot and pay and make them go in my private channel and manages the expiry date of each user
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
O EA deve operar - na corretora BINANCE - com duas médias móveis que podem ser aritmética, exponencial, ponderada, alma( Alnaud Legoux ), Jurik. O EA fica comprado quando a primeira média (rápida) cruzar a segunda média ( lenta ) para cima e vendido quando a primeira média cruzar a segunda média para baixo. Cada entrada deve ser zerada por stop loss, stop gain ou na virada de mão
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade

Informações sobre o projeto

Orçamento
100+ USD