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

MQL5 Uzmanlar Python

Şartname

📘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



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(64)
Projeler
83
28%
Arabuluculuk
9
33% / 56%
Süresi dolmuş
9
11%
Serbest
Yayınlandı: 1 kod
2
Geliştirici 2
Derecelendirme
(21)
Projeler
27
7%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(258)
Projeler
267
30%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
3
1%
Çalışıyor
Yayınlandı: 2 kod
4
Geliştirici 4
Derecelendirme
(395)
Projeler
556
41%
Arabuluculuk
30
57% / 3%
Süresi dolmuş
57
10%
Serbest
Yayınlandı: 11 kod
5
Geliştirici 5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(16)
Projeler
35
23%
Arabuluculuk
4
0% / 50%
Süresi dolmuş
2
6%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(45)
Projeler
52
58%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 5 kod
8
Geliştirici 8
Derecelendirme
(4)
Projeler
3
33%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(274)
Projeler
403
28%
Arabuluculuk
40
40% / 50%
Süresi dolmuş
1
0%
Serbest
10
Geliştirici 10
Derecelendirme
(170)
Projeler
181
46%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(1)
Projeler
2
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 2 makale
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(42)
Projeler
112
56%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
3
3%
Serbest
Yayınlandı: 1 kod
14
Geliştirici 14
Derecelendirme
(169)
Projeler
202
48%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
2
1%
Çalışıyor
15
Geliştirici 15
Derecelendirme
(2)
Projeler
3
33%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
(6)
Projeler
7
14%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
14%
Serbest
17
Geliştirici 17
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
(206)
Projeler
333
35%
Arabuluculuk
66
12% / 58%
Süresi dolmuş
87
26%
Serbest
19
Geliştirici 19
Derecelendirme
(31)
Projeler
38
53%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
3
8%
Serbest
20
Geliştirici 20
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
21
Geliştirici 21
Derecelendirme
(510)
Projeler
977
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
100
10%
Serbest
Yayınlandı: 1 makale, 6 kod
22
Geliştirici 22
Derecelendirme
(10)
Projeler
15
20%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
1
7%
Serbest
23
Geliştirici 23
Derecelendirme
(20)
Projeler
29
3%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
5
17%
Serbest
24
Geliştirici 24
Derecelendirme
(16)
Projeler
20
0%
Arabuluculuk
10
0% / 80%
Süresi dolmuş
6
30%
Serbest
25
Geliştirici 25
Derecelendirme
(550)
Projeler
838
61%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Serbest
Yayınlandı: 1 kod
26
Geliştirici 26
Derecelendirme
(9)
Projeler
15
20%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
3
20%
Çalışıyor
27
Geliştirici 27
Derecelendirme
(366)
Projeler
446
54%
Arabuluculuk
23
57% / 17%
Süresi dolmuş
30
7%
Çalışıyor
28
Geliştirici 28
Derecelendirme
(23)
Projeler
31
35%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
5
16%
Çalışıyor
29
Geliştirici 29
Derecelendirme
(75)
Projeler
111
50%
Arabuluculuk
26
31% / 50%
Süresi dolmuş
9
8%
Serbest
30
Geliştirici 30
Derecelendirme
(2673)
Projeler
3410
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
31
Geliştirici 31
Derecelendirme
(7)
Projeler
6
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
33%
Serbest
32
Geliştirici 32
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
33
Geliştirici 33
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
34
Geliştirici 34
Derecelendirme
(2)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
35
Geliştirici 35
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
36
Geliştirici 36
Derecelendirme
(298)
Projeler
478
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
82
17%
Yüklendi
Yayınlandı: 2 kod
37
Geliştirici 37
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
38
Geliştirici 38
Derecelendirme
(33)
Projeler
36
33%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
39
Geliştirici 39
Derecelendirme
(4)
Projeler
8
0%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
4
50%
Serbest
40
Geliştirici 40
Derecelendirme
(78)
Projeler
246
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
41
Geliştirici 41
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
We are looking for an expert algorithmic trading developer to build a high-performance, fully automated Custom Expert Advisor (EA) or trading bot. The bot must integrate advanced Smart Money Concepts (SMC) , Inner Circle Trader (ICT) methodologies, and Volume Spread Analysis (VSA) with a high-frequency trading (HFT) style execution and scaling model. The core objective is to program a bot that identifies
I am looking to see if you can convert my pinescript into a NinjaTrader bot so I can get automated trading instead of manually doing it in TradingView i would like to get it to just do the trades for me based on my script. let me know who can do this perfectly
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Requirements Specification Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with
JazzDaBot 30+ USD
""" Wick Reversal Strategy — core logic ===================================== Rules (as specified): - Timeframe: 15-minute candles - Entry: candle wick >= WICK_MULTIPLIER x body -> signal candle - long lower wick -> enter LONG at next candle's open - long upper wick -> enter SHORT at next candle's open - Exit: an opposite-direction wick candle forms while in a position - Stop-loss: just beyond the signal candle's
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Overview I am looking for an experienced algorithmic trading developer to build a professional Expert Advisor (EA) for MetaTrader 5 and/or cTrader. The objective is to create a robust automated trading system focused exclusively on XAUUSD (Gold) . This project is intended for serious
I'm looking for a skilled Python developer to help expand and improve an existing Python game. The project is already functional, and I need someone who can add new features, improve gameplay mechanics, optimize performance, and maintain clean, well-structured code. Experience with game development in Python is preferred
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y

Proje bilgisi

Bütçe
100+ USD