TrendPulse EMA Wick EA

MQL5 Göstergeler Forex

Şartname

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(2672)
Projeler
3408
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
2
Geliştirici 2
Derecelendirme
(31)
Projeler
33
42%
Arabuluculuk
0
Süresi dolmuş
3
9%
Serbest
3
Geliştirici 3
Derecelendirme
(33)
Projeler
36
33%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
4
Geliştirici 4
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
1
100%
Serbest
5
Geliştirici 5
Derecelendirme
(1)
Projeler
0
0%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(10)
Projeler
12
0%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
8%
Serbest
8
Geliştirici 8
Derecelendirme
(851)
Projeler
1461
72%
Arabuluculuk
122
29% / 48%
Süresi dolmuş
356
24%
Çalışıyor
Yayınlandı: 3 makale
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
(454)
Projeler
720
34%
Arabuluculuk
35
71% / 9%
Süresi dolmuş
22
3%
Serbest
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(549)
Projeler
836
61%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Çalışıyor
Yayınlandı: 1 kod
13
Geliştirici 13
Derecelendirme
(27)
Projeler
33
42%
Arabuluculuk
4
50% / 50%
Süresi dolmuş
3
9%
Çalışıyor
14
Geliştirici 14
Derecelendirme
(45)
Projeler
91
13%
Arabuluculuk
34
26% / 59%
Süresi dolmuş
37
41%
Serbest
15
Geliştirici 15
Derecelendirme
(106)
Projeler
129
25%
Arabuluculuk
24
29% / 54%
Süresi dolmuş
8
6%
Serbest
16
Geliştirici 16
Derecelendirme
(258)
Projeler
267
30%
Arabuluculuk
0
Süresi dolmuş
3
1%
Çalışıyor
Yayınlandı: 2 kod
17
Geliştirici 17
Derecelendirme
(4)
Projeler
3
33%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
13%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(268)
Projeler
602
34%
Arabuluculuk
65
20% / 57%
Süresi dolmuş
147
24%
Çalışıyor
Yayınlandı: 1 makale, 22 kod
21
Geliştirici 21
Derecelendirme
(4)
Projeler
5
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(21)
Projeler
27
7%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Çalışıyor
23
Geliştirici 23
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
(5)
Projeler
7
29%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
2
29%
Çalışıyor
25
Geliştirici 25
Derecelendirme
(7)
Projeler
6
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
33%
Serbest
26
Geliştirici 26
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
27
Geliştirici 27
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
28
Geliştirici 28
Derecelendirme
(365)
Projeler
442
55%
Arabuluculuk
22
50% / 14%
Süresi dolmuş
30
7%
Yüklendi
29
Geliştirici 29
Derecelendirme
(611)
Projeler
711
33%
Arabuluculuk
45
49% / 42%
Süresi dolmuş
14
2%
Çalışıyor
30
Geliştirici 30
Derecelendirme
(48)
Projeler
58
34%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
31
Geliştirici 31
Derecelendirme
(169)
Projeler
180
46%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Çalışıyor
32
Geliştirici 32
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
33
Geliştirici 33
Derecelendirme
(81)
Projeler
93
31%
Arabuluculuk
9
22% / 56%
Süresi dolmuş
5
5%
Çalışıyor
34
Geliştirici 34
Derecelendirme
(169)
Projeler
202
48%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
2
1%
Serbest
35
Geliştirici 35
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
36
Geliştirici 36
Derecelendirme
(8)
Projeler
14
21%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
3
21%
Çalışıyor
37
Geliştirici 37
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
38
Geliştirici 38
Derecelendirme
(2336)
Projeler
2939
63%
Arabuluculuk
124
44% / 26%
Süresi dolmuş
429
15%
Çalışıyor
39
Geliştirici 39
Derecelendirme
(25)
Projeler
31
13%
Arabuluculuk
13
0% / 77%
Süresi dolmuş
9
29%
Serbest
40
Geliştirici 40
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
41
Geliştirici 41
Derecelendirme
(119)
Projeler
169
38%
Arabuluculuk
9
78% / 22%
Süresi dolmuş
15
9%
Serbest
42
Geliştirici 42
Derecelendirme
(22)
Projeler
29
34%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
5
17%
Çalışıyor
43
Geliştirici 43
Derecelendirme
(1)
Projeler
2
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
44
Geliştirici 44
Derecelendirme
(202)
Projeler
263
22%
Arabuluculuk
23
52% / 17%
Süresi dolmuş
0
Yüklendi
45
Geliştirici 45
Derecelendirme
(14)
Projeler
15
20%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
46
Geliştirici 46
Derecelendirme
(44)
Projeler
51
59%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 5 kod
47
Geliştirici 47
Derecelendirme
(58)
Projeler
72
60%
Arabuluculuk
4
75% / 25%
Süresi dolmuş
1
1%
Yüklendi
48
Geliştirici 48
Derecelendirme
(28)
Projeler
34
35%
Arabuluculuk
0
Süresi dolmuş
2
6%
Serbest
49
Geliştirici 49
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
50
Geliştirici 50
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
51
Geliştirici 51
Derecelendirme
(256)
Projeler
300
76%
Arabuluculuk
13
77% / 0%
Süresi dolmuş
4
1%
Çalışıyor
52
Geliştirici 52
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
53
Geliştirici 53
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
54
Geliştirici 54
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
55
Geliştirici 55
Derecelendirme
(298)
Projeler
478
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
82
17%
Yüklendi
Yayınlandı: 2 kod
56
Geliştirici 56
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
57
Geliştirici 57
Derecelendirme
(225)
Projeler
285
41%
Arabuluculuk
15
13% / 47%
Süresi dolmuş
67
24%
Serbest
58
Geliştirici 58
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
59
Geliştirici 59
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
60
Geliştirici 60
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
61
Geliştirici 61
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
62
Geliştirici 62
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
1. The general process is: Automated online forex marketing to find potential clients -> Answering potential clients' questions -> Converting them into actual clients -> Opening accounts, depositing funds, and copying trades. 2. Developers could implement an AI Digital Twin/Shadow Agent to answer customer questions, eliminating the need for me to answer customer inquiries. 3. I have a CTA website and I'm manually
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
I am looking for an experienced MQL5 developer who can help me convert my manual trading strategy into a fully automated Expert Advisor (EA) for MetaTrader 5. The project should begin with a detailed discussion of my manual trading strategy. Before starting the actual EA development, the developer must understand and analyze the complete trading logic and determine how the strategy can be converted into clear
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into

Proje bilgisi

Bütçe
50 - 200 USD
Son teslim tarihi
from 1 to 10 gün