指定
EA specification for MT5 developer (coder‑ready spec)
You can copy‑paste this directly into an MQL5 Freelance job.
---
1. General
* Platform: MetaTrader 5 (MT5)
* Type: Expert Advisor (EA)
* Markets: Major FX pairs (configurable list via inputs)
* Execution: Market orders only
* Timeframes: EA must work on any timeframe, but I will mainly use it on M15–H1
---
2. Indicators & definitions
* EMA 20: Exponential Moving Average, period 20, applied to Close
* EMA 50: Exponential Moving Average, period 50, applied to Close
Trend definition:
* Uptrend:• Close price above both EMA 20 and EMA 50
* EMA 20 > EMA 50
* Downtrend:• Close price below both EMA 20 and EMA 50
* EMA 20 < EMA 50
EMA zone:
* Area between EMA 20 and EMA 50.
* Flexible boundary: Candle body can be inside or touching the zone; slight overlap is allowed, but close must not be clearly outside the zone.
---
3. Candle structure calculations
For each candle considered for entry:
* Body size: abs(Close - Open)
* Upper wick: High - max(Open, Close)
* Lower wick: min(Open, Close) - Low
2:1 wick‑to‑body rule:
* Directional wick size must be ≥ 2 × body size.
* If body size = 0 (perfect doji), treat body size as a very small epsilon to avoid division by zero but still allow valid doji.
---
4. Entry logic
4.1 Common filters (both long and short)
A candle is a candidate entry candle only if:
1. No gap candle:• Current candle Open is not significantly gapped from previous Close (define gap as input in points; if gap > threshold → skip candle).
2. Candle close location:• Close must be inside or touching the EMA 20–50 zone (flexible boundary as described).
3. 2:1 directional wick ratio:• Directional wick ≥ 2 × body size.
4. Trend‑colored close:• In uptrend → bullish candle (Close > Open).
* In downtrend → bearish candle (Close < Open).
5. Any body size allowed:• Small, medium, large, including doji, as long as 2:1 wick rule and trend‑colored close are satisfied.
4.2 Long entry (buy)
Conditions on the signal candle:
1. Market in uptrend (as defined above).
2. Candle pulls back into EMA zone:• At least part of the candle (wick or body) touches or is inside the EMA 20–50 zone.
3. Directional wick filter:• Use lower wick only.
* Lower wick ≥ 2 × body size.
4. Candle closes bullish (Close > Open).
5. Candle closes inside or touching EMA zone (flexible boundary).
6. Optional engulfing enhancement (see section 5).
If all conditions are met and no open trade on that symbol (configurable: allow 1 trade per symbol), EA opens a market Buy.
4.3 Short entry (sell)
Conditions on the signal candle:
1. Market in downtrend.
2. Candle pulls back into EMA zone.
3. Directional wick filter:• Use upper wick only.
* Upper wick ≥ 2 × body size.
4. Candle closes bearish (Close < Open).
5. Candle closes inside or touching EMA zone.
6. Optional engulfing enhancement (see section 5).
If all conditions are met and no open trade on that symbol (configurable), EA opens a market Sell.
---
5. Engulfing logic (enhanced entries)
Engulfing is allowed and acts as an additional confirmation, but not mandatory for every trade (make this an input: UseEngulfingFilter = true/false).
When UseEngulfingFilter = true:
* Full‑candle engulfing only:• Current candle’s High ≥ previous candle’s High AND
* Current candle’s Low ≤ previous candle’s Low.
* Trend‑direction engulfing only:• In uptrend: bullish engulfing (current candle bullish and full‑engulfing upward).
* In downtrend: bearish engulfing (current candle bearish and full‑engulfing downward).
If enabled, engulfing condition must be satisfied in addition to all other entry rules.
---
6. Risk management & position sizing
* Risk per trade: input as percentage of account balance (default 0.25%).
* Stop loss placement:• For Buy: SL a few points below the low of the signal candle (input: SLBufferPoints).
* For Sell: SL a few points above the high of the signal candle.
* Lot size is calculated so that the distance from entry to SL equals the specified risk % of balance.
---
7. Trade management
* Take profit:• Option 1: No fixed TP, use trailing stop only (default).
* Option 2: Optional RR‑based TP (input: UseFixedRR, RR_Target).
* Dynamic trailing stop:• Input: choose mode (e.g., ATR‑based or swing‑based).
* For simplicity, please implement:• ATR‑based trailing:• Input: ATRPeriod, ATRMultiplier.
* For Buy: trail SL to Bid - ATR * Multiplier when this is higher than current SL.
* For Sell: trail SL to Ask + ATR * Multiplier when this is lower than current SL.
* Trailing should only move in the direction of profit (never widen SL).
* Full‑position hold:• No partial closes.
* Trade exits only by SL, trailing stop, or optional TP.
---
8. Session filter
* Inputs:• UseSessionFilter = true/false
* Session1Start, Session1End (e.g., London)
* Session2Start, Session2End (e.g., New York)
* EA opens new trades only during allowed sessions.
* Existing trades can be managed (trailing, SL hit, TP hit) outside sessions.
---
9. News filter (basic)
If possible:
* Input: UseNewsFilter = true/false.
* If you can integrate MT5 news or a simple external file/indicator:• Do not open new trades within X minutes before high‑impact news (input: MinutesBeforeNews).
* Optionally: close trades Y minutes before news (input: CloseBeforeNews = true/false, MinutesCloseBeforeNews).
If full news integration is complex, please propose a simple, robust solution or leave hooks for a news indicator.
---
10. Other controls
* Max trades per symbol: input (default 1).
* Max total open trades: input.
* Magic number: input.
* Slippage: input.
* Spread filter: input max spread in points; if current spread > max, skip new entries.
* Daily loss limit (optional):• Input: UseDailyLossLimit = true/false, MaxDailyLossPercent.
* If today’s closed P/L + floating P/L ≤ −MaxDailyLossPercent of balance, EA stops opening new trades for the day.
---
11. Coding quality
* Clean, well‑commented MQL5 code.
* All key parameters as extern/inputs.
* EA must handle errors (requotes, trade context busy, etc.).
* Must work on any broker (4/5 digits, different symbols suffixes).
---
If anything is unclear, the coder can ask for clarification, but this is the full logic I want implemented.
応答済み
1
評価
プロジェクト
3400
68%
仲裁
77
48%
/
14%
期限切れ
342
10%
仕事中
パブリッシュした人: 1 code
2
評価
プロジェクト
30
37%
仲裁
0
期限切れ
3
10%
暇
3
評価
プロジェクト
36
33%
仲裁
5
0%
/
80%
期限切れ
0
仕事中
パブリッシュした人: 2 codes
4
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
5
評価
プロジェクト
0
0%
仲裁
2
0%
/
100%
期限切れ
0
暇
6
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
7
評価
プロジェクト
12
0%
仲裁
3
33%
/
33%
期限切れ
1
8%
暇
8
評価
プロジェクト
1460
72%
仲裁
122
29%
/
48%
期限切れ
356
24%
仕事中
パブリッシュした人: 3 articles
9
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
10
評価
プロジェクト
718
34%
仲裁
34
71%
/
9%
期限切れ
22
3%
暇
11
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
12
評価
プロジェクト
827
62%
仲裁
33
27%
/
45%
期限切れ
23
3%
暇
パブリッシュした人: 1 code
13
評価
プロジェクト
28
43%
仲裁
4
50%
/
50%
期限切れ
1
4%
仕事中
14
評価
プロジェクト
91
13%
仲裁
34
26%
/
59%
期限切れ
37
41%
暇
15
評価
プロジェクト
127
24%
仲裁
23
30%
/
52%
期限切れ
8
6%
暇
16
評価
プロジェクト
265
29%
仲裁
0
期限切れ
3
1%
暇
パブリッシュした人: 2 codes
17
評価
プロジェクト
3
33%
仲裁
2
0%
/
100%
期限切れ
0
暇
18
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
19
評価
プロジェクト
8
0%
仲裁
2
50%
/
0%
期限切れ
1
13%
仕事中
20
評価
プロジェクト
601
34%
仲裁
64
20%
/
58%
期限切れ
147
24%
仕事中
パブリッシュした人: 1 article, 22 codes
21
評価
プロジェクト
4
0%
仲裁
0
期限切れ
0
仕事中
22
評価
プロジェクト
24
8%
仲裁
9
33%
/
33%
期限切れ
1
4%
取り込み中
23
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
24
評価
プロジェクト
5
20%
仲裁
1
100%
/
0%
期限切れ
2
40%
暇
25
評価
プロジェクト
5
0%
仲裁
4
25%
/
75%
期限切れ
2
40%
暇
26
評価
プロジェクト
90
29%
仲裁
24
13%
/
58%
期限切れ
7
8%
仕事中
27
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
28
評価
プロジェクト
436
54%
仲裁
22
50%
/
14%
期限切れ
30
7%
取り込み中
29
評価
プロジェクト
684
32%
仲裁
42
45%
/
45%
期限切れ
12
2%
多忙
30
評価
プロジェクト
56
34%
仲裁
15
27%
/
60%
期限切れ
1
2%
仕事中
31
評価
プロジェクト
172
44%
仲裁
3
33%
/
33%
期限切れ
1
1%
仕事中
32
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
33
評価
プロジェクト
86
29%
仲裁
8
13%
/
63%
期限切れ
4
5%
取り込み中
34
評価
プロジェクト
202
48%
仲裁
5
20%
/
60%
期限切れ
2
1%
暇
35
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
36
評価
プロジェクト
10
10%
仲裁
2
0%
/
50%
期限切れ
2
20%
仕事中
37
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
38
評価
プロジェクト
2925
63%
仲裁
123
45%
/
25%
期限切れ
429
15%
仕事中
39
評価
プロジェクト
31
13%
仲裁
13
0%
/
77%
期限切れ
9
29%
暇
40
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
41
評価
プロジェクト
169
38%
仲裁
9
78%
/
22%
期限切れ
15
9%
暇
42
評価
プロジェクト
26
27%
仲裁
4
50%
/
25%
期限切れ
4
15%
取り込み中
43
評価
プロジェクト
2
0%
仲裁
0
期限切れ
0
暇
44
評価
プロジェクト
256
21%
仲裁
23
48%
/
17%
期限切れ
0
取り込み中
45
評価
プロジェクト
15
20%
仲裁
1
100%
/
0%
期限切れ
0
暇
46
評価
プロジェクト
43
58%
仲裁
2
50%
/
0%
期限切れ
1
2%
仕事中
パブリッシュした人: 5 codes
47
評価
プロジェクト
50
60%
仲裁
4
50%
/
25%
期限切れ
0
仕事中
48
評価
プロジェクト
31
32%
仲裁
0
期限切れ
2
6%
仕事中
49
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 2 codes
50
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
51
評価
プロジェクト
286
77%
仲裁
13
77%
/
0%
期限切れ
4
1%
暇
52
評価
プロジェクト
553
50%
仲裁
57
40%
/
37%
期限切れ
227
41%
仕事中
53
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
54
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
55
評価
プロジェクト
477
40%
仲裁
105
40%
/
24%
期限切れ
81
17%
取り込み中
パブリッシュした人: 2 codes
56
評価
プロジェクト
1
100%
仲裁
0
期限切れ
0
暇
57
評価
プロジェクト
285
41%
仲裁
15
13%
/
47%
期限切れ
67
24%
暇
58
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
59
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
60
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
61
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
62
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
類似した注文
We have a professionally built MT5 security and monitoring module with pre-written code. We need an experienced MQL5 developer to REVIEW, FIX, and CERTIFY the SENTINEL MODULE. YOU ARE NOT BUILDING FROM SCRATCH. You are reviewing 6 existing .mqh files. WHAT YOU WILL DO: 1. Review 6 pre-written Sentinel module files 2. Verify drawdown calculations (3% daily / 7% total) 3. Fix DD warning spam bug (fires every tick —
We have a professionally built MT5 Expert Advisor with pre-written code ready. We need an experienced MQL5 developer to REVIEW, FIX, and CERTIFY the ENGINE MODULE. YOU ARE NOT BUILDING FROM SCRATCH. You are reviewing 8 existing .mqh files. WHAT YOU WILL DO: 1. Review 8 pre-written .mqh engine files 2. Fix known shutdown bug: "invalid pointer access in AlmudoEngine.mqh (60,10)" 3. Achieve ZERO warnings in MT5 Build
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
Automate my trading
100 - 300 USD
i want a trading bot that take trade auto and make 5% profit daily and stop with in 24 hours not more then that at least the bot give me more then 2% not less then that like a ai agent if it make any loss that agent have to take care of it i need only 5 % profit
Binance Ai Trading Bot $US700 budget negotiable
700 - 3000 USD
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
MT5 EA with ready indicator
30+ USD
Hi,I am looking for an experienced developer specializing in the creation of Expert Advisors (EAs) for trading platforms. I would like to commission the development of an EA based on the open-source LuxAlgo code. The entry strategy will be based, among other things, on Martingale and Grid trading concepts. A detailed specification covering trade management, position sizing, and risk management rules will be provided
Hi! I’m looking for someone to make TPO Market profile, volume profile, footprint, delta for Sierra charts I need it to be set up to give me these for Nasdaq, ES/NQ and also the minii’s. Is this something you can help me with
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
I’m looking for an experienced MT4 developer to create a custom indicator (or EA) with mobile push notifications based on the following strategy. Trend Filter (Daily Timeframe) Daily Close above 50 EMA = Bullish Bias Daily Close below 50 EMA = Bearish Bias Entry Timeframe (H1) RSI Settings RSI Period: 14 (default) Upper Level: 65 Lower Level: 35 Buy Signal Generate a BUY signal when: Daily bias is Bullish (Daily
Want to automate my strategy in forex gold
30 - 100 USD
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
プロジェクト情報
予算
50 - 200 USD
締め切り
最低 1 最高 10 日
依頼者
出された注文1
裁定取引数0