EA for EMA strategy with breakeven, trailling stop, setting trading hour

Tarea técnica

I want to create an EA like this:

- Long entry: Price close above EMA

  Close long when price close below EMA

- Short entry: Price close below EMA

  Close long when price close above EMA


EMA long short strategy with setting

- STOPLOSS: 

   + 1st option close at specific setting price 

   + 2nd option stoploss at highest price of signal candle. 

- TAKE PROFIT at specific setting price

- BREAKEVEN: when price move to a certain price the breakeven is active, the SL will move to offsetting price.

- TRAILING TRIGGER: when price move to a certain price, trailing stoploss will active

- TRAILING DISTANCE: Distance of the trailing stop-loss from current price.SL will be opened at traildist after trailtrig is met.

- TRAILING STEP : Moves trailing stop-loss once price moves to favourable by a specified number of pips.

examble for trailing step: trailtrig=12,traildist=8,trailstep=3

Interpretation: With trailtrig=12, the first instance of trailing SL will be when price moves favourably for 12 pips (entry+12). 

The SL will be placed 8 pips lower at (entry+12-8).

With trailstep=3, the second instance of trailing SL is when price moves favourably for another 3 pips (entry+12+3).

The SL will be placed at 8 pips lower at (entry+12+3-8).

The third instance will be when price moves another 3 favourable pips (entry+12+3+3)

The SL will be placed 8 pips lower at (entry+12+3+3-8), and so on.

- TRADING TIME : buy or sell only active during active hours are setting.

QUESTION: with the trailling stoploss can you set at close price. For example, when price close 12 pips over entry then the trailing trigger is active and so on for other trailing distance and trailing step.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(22)
Proyectos
21
10%
Arbitraje
4
25% / 75%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(3)
Proyectos
4
25%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(15)
Proyectos
19
16%
Arbitraje
5
40% / 40%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(105)
Proyectos
128
24%
Arbitraje
23
30% / 52%
Caducado
8
6%
Trabaja
5
Desarrollador 5
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
6
Desarrollador 6
Evaluación
(387)
Proyectos
499
23%
Arbitraje
60
55% / 25%
Caducado
59
12%
Trabaja
7
Desarrollador 7
Evaluación
(160)
Proyectos
203
60%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
(85)
Proyectos
174
44%
Arbitraje
3
100% / 0%
Caducado
5
3%
Libre
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(434)
Proyectos
638
53%
Arbitraje
32
59% / 22%
Caducado
6
1%
Trabaja
10
Desarrollador 10
Evaluación
(12)
Proyectos
14
0%
Arbitraje
4
0% / 75%
Caducado
3
21%
Trabaja
11
Desarrollador 11
Evaluación
(279)
Proyectos
341
37%
Arbitraje
6
50% / 17%
Caducado
7
2%
Libre
Ha publicado: 5 ejemplos
12
Desarrollador 12
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
13
Desarrollador 13
Evaluación
(610)
Proyectos
708
33%
Arbitraje
45
44% / 42%
Caducado
14
2%
Trabajando
14
Desarrollador 14
Evaluación
(51)
Proyectos
71
37%
Arbitraje
4
25% / 75%
Caducado
1
1%
Libre
Ha publicado: 1 ejemplo
15
Desarrollador 15
Evaluación
(279)
Proyectos
377
72%
Arbitraje
19
32% / 47%
Caducado
15
4%
Trabaja
Ha publicado: 15 ejemplos
16
Desarrollador 16
Evaluación
(2672)
Proyectos
3406
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
17
Desarrollador 17
Evaluación
(100)
Proyectos
125
23%
Arbitraje
12
0% / 75%
Caducado
22
18%
Libre
18
Desarrollador 18
Evaluación
(3)
Proyectos
9
33%
Arbitraje
1
100% / 0%
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(2332)
Proyectos
2935
63%
Arbitraje
124
44% / 26%
Caducado
429
15%
Libre
20
Desarrollador 20
Evaluación
(72)
Proyectos
80
10%
Arbitraje
38
8% / 58%
Caducado
6
8%
Libre
21
Desarrollador 21
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
22
Desarrollador 22
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
23
Desarrollador 23
Evaluación
(37)
Proyectos
59
27%
Arbitraje
26
19% / 54%
Caducado
10
17%
Trabaja
Ha publicado: 1 ejemplo
24
Desarrollador 24
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
25
Desarrollador 25
Evaluación
(77)
Proyectos
245
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Trabaja
Ha publicado: 1 artículo
26
Desarrollador 26
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
Solicitudes similares
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the
I am looking for an expert MQL5 developer to create a high-performance trend analysis indicator for MetaTrader 5. The tool must combine EMA/SMA trend identification with Bollinger Band volatility overlays, all with toggleable settings. Key requirements include non-repainting Buy/Sell signals, ATR-based SL/TP calculation, and a clean, professional dashboard. It is mandatory that the "Inputs" tab includes a dedicated
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
MultiPair_PriceAction 30 - 200 USD
OANDA market watch clock and symbols (.sim) Multipair able so i can choose at least 6 of those more volatile forex pairs. Price Action setups instead of relay on lag indicators. But rsi for confirmation. Spread protection, position management, magic number editor, hours trading. Volatility protection Trailing Stop, Stop losses, take profit. Percentage and ATR scale instead of dollars or lot sizes. Funds management
Looking for an MT5 Expert Advisor developer with: Minimum 1 year of verified activity on the MetaTrader Market Positive, real user reviews Ability to build EAs without Bollinger Bands Fully configurable parameters (risk, filters, SL/TP, trading hours) Free test version available before any payment Clear communication and ongoing support If you meet these requirements, please send your MQL5 profile or portfolio
I want to create a EA based on an existing EA. I want to create a COPY of same EA. This is a Grid based EA and do averaging when market goes against it. While doing Averaging it keeps on taking trades and booking profits
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
Looking for someone who is experienced in creating MT5 EA from scratch to go over 7 public youtube videos (total duration about 5 hours) and extract the strategy code taught in the videos to make a MT5 .mq5 source code file. Full code is explained in the 7 videos so it's just a matter of going over the videos and extracting the relevant parts that relate to the source code and compiling it into a working EA. The
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE

Información sobre el proyecto

Presupuesto
30 - 80 USD