TrendPulse EMA Wick EA

MQL5 Indicadores Fórex

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(2663)
Proyectos
3386
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(25)
Proyectos
27
37%
Arbitraje
0
Caducado
3
11%
Libre
3
Desarrollador 3
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(1)
Proyectos
0
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(10)
Proyectos
11
0%
Arbitraje
3
0% / 33%
Caducado
1
9%
Trabaja
8
Desarrollador 8
Evaluación
(851)
Proyectos
1458
72%
Arbitraje
122
29% / 48%
Caducado
356
24%
Libre
Ha publicado: 3 artículos
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(453)
Proyectos
715
34%
Arbitraje
34
71% / 9%
Caducado
22
3%
Libre
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(543)
Proyectos
822
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Trabaja
Ha publicado: 1 ejemplo
13
Desarrollador 13
Evaluación
(18)
Proyectos
23
39%
Arbitraje
3
67% / 33%
Caducado
1
4%
Trabaja
14
Desarrollador 14
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
Solicitudes similares
the task is a little hard but i need someone's assistance that requires physical work on the phone or computer. It'll take at least 1-10 days so please bare with me. Answer my questions before we start
Need a Profitable with a good trading system or strategy. would test the product first Looking for a professional MT5 Expert Advisor based on smart strategies. The EA should include session filters, risk management, trailing stop, multi-pair support, and low drawdown protection. I need a consistent, high-probability automated trading system optimized for long-term profitability and funded account compliance
I need an experienced MT4/MT5 user or MQL4/MQL5 developer to test the MT4/MT5 sender EA used by Signalator Notify . The EA does not open trades, does not provide trading signals, and does not decide when to buy or sell. Its role is to run inside MT4/MT5 and report terminal status and trade-related events, so the purpose of this job is to check whether that monitoring workflow works correctly in a real terminal
Junior EA 30+ USD
1. EA for MT5, hedging allowed. 2. Entry: 50 EMA crosses 200 EMA on H1. Buy on bullish cross, sell on bearish. 3. SL: 100 pips, TP: 200 pips. No trailing stop. 4. Lot size: 0.01 fixed. Max 3 trades at once. 5. Trade only 08:00-18:00 GMT. No trades if spread > 20 points. 6. Inputs: EMA periods, SL, TP, lot size, start/end time
I am searching professional strategy, not grid, not martingale, controlled risk, Please don't waste my time if you havent got nothing valueable to show, in first message please describe this strategy, if you will not do this, I will move you to rejected, Budget is negotiable
Specification 300 - 900 USD
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
Trading Strategy Specification 🟢 Buy Setup Conditions: Trend Identification: The overall trend must be Bullish (Upward). (Note for the programmer: Define the bullish trend using higher highs/higher lows structure or a specific Moving Average). Fibonacci Retracement: The price must correct downwards to touch or test the 61.8% Fibonacci level , drawn from the most recent swing low to the swing high. Entry
Hey I need help with the development of my ea. I am using a built in indicator and a custom indicator. It shouldn't take too long. I will tell you the conditions and then I just need some help with the coding but I have some experience. Thanks we can chat on whatsap or telegram
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
MT5 Expert Advisor Specification: Asian Liquidity Sweep & M5 FVG Entry ​Project Overview ​Automated Expert Advisor for EUR/USD on MT5. The strategy maps structural liquidity (Fractal Swings) for entry triggers but targets absolute session extremes for Take Profit. It enters on the first opposite M5 Fair Value Gap (FVG) and features a dynamic, user-controlled risk engine. ​1. Timezone & News Filter Requirements ​The

Información sobre el proyecto

Presupuesto
50 - 200 USD
Plazo límite de ejecución
de 1 a 10 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0