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

MQL5 Esperti Python

Specifiche

📘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



Con risposta

1
Sviluppatore 1
Valutazioni
(64)
Progetti
83
28%
Arbitraggio
9
33% / 56%
In ritardo
9
11%
Gratuito
Pubblicati: 1 codice
2
Sviluppatore 2
Valutazioni
(22)
Progetti
28
7%
Arbitraggio
9
33% / 33%
In ritardo
1
4%
In elaborazione
3
Sviluppatore 3
Valutazioni
(258)
Progetti
269
29%
Arbitraggio
2
50% / 0%
In ritardo
3
1%
In elaborazione
Pubblicati: 2 codici
4
Sviluppatore 4
Valutazioni
(395)
Progetti
556
41%
Arbitraggio
30
57% / 3%
In ritardo
57
10%
Gratuito
Pubblicati: 11 codici
5
Sviluppatore 5
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(16)
Progetti
35
23%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
7
Sviluppatore 7
Valutazioni
(45)
Progetti
53
57%
Arbitraggio
2
100% / 0%
In ritardo
1
2%
Gratuito
Pubblicati: 5 codici
8
Sviluppatore 8
Valutazioni
(4)
Progetti
3
33%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(274)
Progetti
403
28%
Arbitraggio
40
40% / 50%
In ritardo
1
0%
Gratuito
10
Sviluppatore 10
Valutazioni
(184)
Progetti
198
46%
Arbitraggio
4
50% / 25%
In ritardo
1
1%
In elaborazione
11
Sviluppatore 11
Valutazioni
(1)
Progetti
2
0%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
Pubblicati: 3 articoli
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(42)
Progetti
112
56%
Arbitraggio
2
50% / 0%
In ritardo
3
3%
Gratuito
Pubblicati: 1 codice
14
Sviluppatore 14
Valutazioni
(170)
Progetti
203
47%
Arbitraggio
5
20% / 60%
In ritardo
3
1%
Gratuito
15
Sviluppatore 15
Valutazioni
(2)
Progetti
3
33%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(6)
Progetti
7
14%
Arbitraggio
1
0% / 100%
In ritardo
1
14%
Gratuito
17
Sviluppatore 17
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
18
Sviluppatore 18
Valutazioni
(206)
Progetti
333
35%
Arbitraggio
66
12% / 58%
In ritardo
87
26%
Gratuito
19
Sviluppatore 19
Valutazioni
(31)
Progetti
38
53%
Arbitraggio
2
50% / 50%
In ritardo
3
8%
Gratuito
20
Sviluppatore 20
Valutazioni
(20)
Progetti
26
38%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
21
Sviluppatore 21
Valutazioni
(511)
Progetti
978
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
Gratuito
Pubblicati: 1 articolo, 6 codici
22
Sviluppatore 22
Valutazioni
(10)
Progetti
15
20%
Arbitraggio
5
40% / 40%
In ritardo
1
7%
Gratuito
23
Sviluppatore 23
Valutazioni
(20)
Progetti
29
3%
Arbitraggio
4
0% / 100%
In ritardo
5
17%
Gratuito
24
Sviluppatore 24
Valutazioni
(16)
Progetti
20
0%
Arbitraggio
10
0% / 80%
In ritardo
6
30%
Gratuito
25
Sviluppatore 25
Valutazioni
(559)
Progetti
853
61%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
26
Sviluppatore 26
Valutazioni
(10)
Progetti
17
18%
Arbitraggio
2
0% / 50%
In ritardo
3
18%
Caricato
27
Sviluppatore 27
Valutazioni
(369)
Progetti
459
55%
Arbitraggio
24
58% / 17%
In ritardo
31
7%
Gratuito
28
Sviluppatore 28
Valutazioni
(24)
Progetti
32
38%
Arbitraggio
4
50% / 25%
In ritardo
5
16%
In elaborazione
29
Sviluppatore 29
Valutazioni
(75)
Progetti
111
50%
Arbitraggio
26
31% / 50%
In ritardo
9
8%
Gratuito
Pubblicati: 2 articoli
30
Sviluppatore 30
Valutazioni
(2676)
Progetti
3419
68%
Arbitraggio
77
48% / 14%
In ritardo
343
10%
In elaborazione
Pubblicati: 1 codice
31
Sviluppatore 31
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
32
Sviluppatore 32
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
33
Sviluppatore 33
Valutazioni
(10)
Progetti
14
43%
Arbitraggio
0
In ritardo
3
21%
Gratuito
34
Sviluppatore 34
Valutazioni
(2)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
35
Sviluppatore 35
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
36
Sviluppatore 36
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici
37
Sviluppatore 37
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
38
Sviluppatore 38
Valutazioni
(33)
Progetti
36
33%
Arbitraggio
5
0% / 80%
In ritardo
0
In elaborazione
Pubblicati: 2 codici
39
Sviluppatore 39
Valutazioni
(4)
Progetti
8
0%
Arbitraggio
3
33% / 67%
In ritardo
4
50%
Gratuito
40
Sviluppatore 40
Valutazioni
(78)
Progetti
246
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo
41
Sviluppatore 41
Valutazioni
(1)
Progetti
2
50%
Arbitraggio
0
In ritardo
1
50%
In elaborazione
Ordini simili
Hello, I’d like to develop an AI-powered analysis dashboard for , with a clear, easy-to-use design that works on mobile and web, or on the platform we agree on. I’d like it to include: Main dashboard: Show the market status, the latest data update, and the current signal, if available, including direction, entry price, stop loss, targets, and risk-to-reward ratio. AI signal explanations: Explain in clear language why
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Hi All, I am looking for a bot EA which makes good profit. If any having please share it for TEST. After proper TESTING only I will make the payment, no cheating no fraud. Please do not waste the time also
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
I am looking for an experienced developer to build a professional web-based trading performance dashboard connected to an MT5 trading account and/or FX Blue. The dashboard should automatically collect trading data and display: • Daily P&L calendar – profitable days green, losing days red and no-trade days grey • Equity/growth curve • Drawdown curve • Initial capital and current balance • Net profit and percentage
i need someone to help me create 3 random tradingview strategy i need it for a test, i need it to have 5% to 20% win rate and 1:1 RR, the win rate is very important is the main thing i need those strategy for, i am planning on building a tradingview strategy and i need this 3 tradingview strategy first they are for test on my plans to build the main tradingview strategy, also for he 3 i have a fixed budget of $30 for
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed
1. Project Overview I would like to develop a market-monitoring and notification system that automatically analyses historical price action on a higher timeframe , identifies a specific price level according to a predefined rule, and then monitors a corresponding lower timeframe for a confirmation/breakout condition. The system should allow multiple timeframe combinations and multiple financial instruments to be
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF

Informazioni sul progetto

Budget
100+ USD