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

MQL5 专家 Python

指定

📘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



反馈

1
开发者 1
等级
(64)
项目
83
28%
仲裁
9
33% / 56%
逾期
9
11%
空闲
发布者: 1 代码
2
开发者 2
等级
(18)
项目
22
9%
仲裁
5
40% / 40%
逾期
1
5%
已载入
3
开发者 3
等级
(249)
项目
255
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
4
开发者 4
等级
(392)
项目
545
40%
仲裁
30
57% / 3%
逾期
57
10%
工作中
发布者: 11 代码
5
开发者 5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
6
开发者 6
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
7
开发者 7
等级
(29)
项目
28
64%
仲裁
0
逾期
1
4%
工作中
发布者: 5 代码
8
开发者 8
等级
(4)
项目
3
33%
仲裁
2
0% / 100%
逾期
0
空闲
9
开发者 9
等级
(270)
项目
399
27%
仲裁
39
41% / 49%
逾期
1
0%
空闲
10
开发者 10
等级
(123)
项目
131
37%
仲裁
3
33% / 33%
逾期
2
2%
工作中
11
开发者 11
等级
项目
1
0%
仲裁
1
0% / 0%
逾期
0
空闲
12
开发者 12
等级
项目
0
0%
仲裁
1
0% / 100%
逾期
0
空闲
13
开发者 13
等级
(42)
项目
112
56%
仲裁
2
50% / 0%
逾期
3
3%
空闲
发布者: 1 代码
14
开发者 14
等级
(168)
项目
199
48%
仲裁
3
33% / 33%
逾期
2
1%
空闲
15
开发者 15
等级
(1)
项目
1
100%
仲裁
0
逾期
0
工作中
16
开发者 16
等级
(3)
项目
3
33%
仲裁
0
逾期
0
工作中
17
开发者 17
等级
(1)
项目
1
100%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
19
开发者 19
等级
(29)
项目
36
53%
仲裁
2
50% / 50%
逾期
3
8%
工作中
20
开发者 20
等级
(16)
项目
22
41%
仲裁
6
33% / 50%
逾期
0
空闲
21
开发者 21
等级
(498)
项目
966
74%
仲裁
27
19% / 67%
逾期
100
10%
已载入
发布者: 1 文章, 6 代码
22
开发者 22
等级
(10)
项目
14
21%
仲裁
3
33% / 67%
逾期
1
7%
工作中
23
开发者 23
等级
(15)
项目
23
0%
仲裁
4
0% / 75%
逾期
4
17%
工作中
24
开发者 24
等级
(16)
项目
20
0%
仲裁
10
0% / 80%
逾期
6
30%
空闲
25
开发者 25
等级
(517)
项目
785
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
发布者: 1 代码
26
开发者 26
等级
(1)
项目
2
50%
仲裁
0
逾期
1
50%
空闲
27
开发者 27
等级
(338)
项目
406
53%
仲裁
20
55% / 15%
逾期
29
7%
繁忙
28
开发者 28
等级
(11)
项目
14
14%
仲裁
5
20% / 20%
逾期
4
29%
已载入
29
开发者 29
等级
(71)
项目
100
51%
仲裁
24
21% / 54%
逾期
8
8%
工作中
30
开发者 30
等级
(2630)
项目
3344
67%
仲裁
77
48% / 14%
逾期
342
10%
工作中
发布者: 1 代码
31
开发者 31
等级
(6)
项目
5
0%
仲裁
2
50% / 50%
逾期
2
40%
空闲
32
开发者 32
等级
(58)
项目
85
27%
仲裁
24
13% / 58%
逾期
7
8%
已载入
33
开发者 33
等级
(10)
项目
14
43%
仲裁
0
逾期
3
21%
空闲
34
开发者 34
等级
(2)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲
35
开发者 35
等级
项目
0
0%
仲裁
0
逾期
0
空闲
36
开发者 36
等级
(295)
项目
471
39%
仲裁
102
40% / 24%
逾期
78
17%
繁忙
发布者: 2 代码
37
开发者 37
等级
(270)
项目
552
49%
仲裁
57
40% / 37%
逾期
228
41%
工作中
38
开发者 38
等级
(32)
项目
35
34%
仲裁
5
0% / 80%
逾期
0
工作中
发布者: 2 代码
39
开发者 39
等级
(4)
项目
7
0%
仲裁
3
33% / 33%
逾期
3
43%
工作中
40
开发者 40
等级
(77)
项目
242
74%
仲裁
7
100% / 0%
逾期
1
0%
工作中
发布者: 1 文章
相似订单
I got access to a trial mt5 EA(only ex5 and not mql5 file) which is an ultra fast scalper on gold that operates only using pending orders which is working absolutely insane when backtesting or live trading using demo account but when you try to back test it on a live/real account the results are horrible !...both demo and real accounts belong to the same broker both same leverage and same type spread wise but the EA
Hello everyone, I am looking for a highly experienced MQL5 developer to build a fully automated Expert Advisor (EA) based strictly on Smart Money Concepts (SMC) 🔍 Core Strategy Requirements (SMC Only) The EA must be based on Advanced Smart Money Concepts , including: ✅ Market Structure (BOS & CHOCH) ✅ Liquidity concepts (equal highs/lows, stop hunts)✅ Trap Blocks / Fake Order Blocks detection ✅ Valid Order
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
I need a fully automated end-to-end system where a backend continuously runs my deterministic CORE EDGE validator on live market data, generates numeric JSON trade tickets (GO) or alert levels (NO-GO), and automatically pushes those instructions to the MT5 EA for execution. There are no manual signals. ROLE SPLIT (IMPORTANT) Backend (analysis & decision engine): Continuously evaluates live data using my CORE EDGE
Hi, I’m looking for someone with real Build Alpha experience to help set up an index-trading ruleset inside Build Alpha. Important: This work cannot be done without full access to Build Alpha . You must already own a Build Alpha licence and actively use the platform. Please do not apply if you do not currently have Build Alpha. What needs to be set up in Build Alpha 1. Session and Time Rules • Fixed GMT trading
An Expert Advisor (EA) robot that uses market movement-based indicators is an automated program designed for platforms like MetaTrader 4 or 5 (MT4/MT5) that monitors price fluctuations and triggers trades based on predefined technical rules. These robots, often used for trend following, scalping, or breakout strategies, analyze price action, moving averages, or volatility to automatically enter and exit trades
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
Description: We are seeking a highly skilled developer to build a high-precision BTC scalping brain. The goal is to create a robust ML-driven model that analyzes live order book data for ultra-short-term opportunities and generates actionable trading signals, paired with a real-time execution engine to place trades on MT5. Responsibilities: Design and implement real-time data ingestion from Binance BTC order book

项目信息

预算
100+ USD

客户

所下订单1
仲裁计数0