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
(104)
Proyectos
127
24%
Arbitraje
23
30% / 52%
Caducado
8
6%
Libre
5
Desarrollador 5
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
6
Desarrollador 6
Evaluación
(382)
Proyectos
493
23%
Arbitraje
59
56% / 25%
Caducado
57
12%
Trabajando
7
Desarrollador 7
Evaluación
(156)
Proyectos
198
59%
Arbitraje
10
80% / 0%
Caducado
0
Trabaja
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
635
54%
Arbitraje
32
56% / 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
(576)
Proyectos
668
32%
Arbitraje
42
45% / 45%
Caducado
12
2%
Trabajando
14
Desarrollador 14
Evaluación
(51)
Proyectos
70
36%
Arbitraje
4
25% / 75%
Caducado
1
1%
Libre
15
Desarrollador 15
Evaluación
(279)
Proyectos
375
72%
Arbitraje
19
32% / 47%
Caducado
14
4%
Trabaja
Ha publicado: 14 ejemplos
16
Desarrollador 16
Evaluación
(2665)
Proyectos
3393
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
(2322)
Proyectos
2925
63%
Arbitraje
123
45% / 25%
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
1428
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
25
Desarrollador 25
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
26
Desarrollador 26
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
Solicitudes similares
Matriks programında güzel bir stratejim var, meta da kayıtlı olmayan iki indikatörümü de metaya yükledim, stratejim belli, ama robot oluşturmak konusunda bilgim eksik. Yardım istiyorum. Acil dönüş bekliyorum. 12-276 üssel ortalamayı hangi yöne keserse, alphatrend indikaörüde bunu desteklesin, kendi gömdüpüm diğer bir indikatörde seviyelere göre alsın satsın
Hi. Could you slightly rewrite my cBot for me to use a 5-minute chart without a fixed target? The stop should be a trailing stop at the level of the initial range
MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The
Hi all, I am looking for a top-rated, experienced MQL5 developer to code Phase 1 (Retail Version) of an advanced Expert Advisor for MetaTrader 5. Key Requirements: 1. Pure Price Action Strategy: Uses H4 Trend Filter (Swing High/Low) and H1 Execution (Wick Scanning >= 66% & Engulfing Candlesticks). Places orders via Buy/Sell Limit at Fibonacci 50% level of the candle body (with Giant Candle threshold rules). 2
Project Overview I am looking for an experienced C# developer to build a fully automated cBot for cTrader based on a structural Renko expansion strategy primarily traded on Gold (XAUUSD). The strategy relies on the breakout of multiple structural swing levels (Renko bricks), a customized Fibonacci retracement overlay, automated multiple-order splitting, and dynamic position management based on two distinct market
I want a mobile bot to trade automatically on my behalf must have experience and be willing to verify your work. It must be profitable and user friendly be easy to use and connect. You'll be given a share of profits
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
Looking for an experienced programmer to create a fully automated trading system. The EA must be able to detect SPECIFIC H&Shoulder patterns, identify entry point and open a position. Parameters: Candle Count : EX: 50 - meaning the max amount of candle history to look for a pattern. (user adjustable) RISK: EG "2" Meaning the position that must be opened must be 2% of the Balance of the account (user adjustable). The
I’m looking for an experienced MetaTrader 4 (MT4) developer to analyze, repair, and live-test an existing .EX4 Expert Advisor. Project Details Existing file: GannMadeEasy_pro.ex4 Platform: MetaTrader 4 Issue: EA is not loading properly on charts in newer MT4 builds Goal: Make the EA fully functional and compatible with current MT4 versions Requirements The developer must: Analyze the existing EX4 file Identify
i need the EA same working on trading view chart with same specifications of enter in a trade and sl/tp open 2 trades and 1 trade set tp1 & second trade set to tp 3 but sl should move to breakeven when tp1 hit and go to tp2 sl on tp1

Información sobre el proyecto

Presupuesto
30 - 80 USD