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
(20)
Proyectos
19
11%
Arbitraje
2
50% / 50%
Caducado
0
Trabaja
2
Desarrollador 2
Evaluación
(2)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(5)
Proyectos
6
17%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(87)
Proyectos
109
25%
Arbitraje
10
40% / 20%
Caducado
8
7%
Trabaja
5
Desarrollador 5
Evaluación
(376)
Proyectos
399
31%
Arbitraje
62
19% / 69%
Caducado
50
13%
Trabaja
6
Desarrollador 6
Evaluación
(303)
Proyectos
384
20%
Arbitraje
43
60% / 23%
Caducado
45
12%
Trabajando
7
Desarrollador 7
Evaluación
(95)
Proyectos
117
38%
Arbitraje
9
89% / 0%
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(63)
Proyectos
101
31%
Arbitraje
1
100% / 0%
Caducado
2
2%
Libre
9
Desarrollador 9
Evaluación
(345)
Proyectos
466
52%
Arbitraje
22
50% / 27%
Caducado
5
1%
Ocupado
10
Desarrollador 10
Evaluación
(12)
Proyectos
14
0%
Arbitraje
0
Caducado
3
21%
Trabaja
11
Desarrollador 11
Evaluación
(257)
Proyectos
314
37%
Arbitraje
6
50% / 17%
Caducado
7
2%
Libre
12
Desarrollador 12
Evaluación
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Ocupado
13
Desarrollador 13
Evaluación
(465)
Proyectos
526
33%
Arbitraje
28
39% / 43%
Caducado
7
1%
Ocupado
14
Desarrollador 14
Evaluación
(36)
Proyectos
45
36%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(192)
Proyectos
247
61%
Arbitraje
8
25% / 38%
Caducado
8
3%
Trabaja
16
Desarrollador 16
Evaluación
(2428)
Proyectos
3058
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Libre
17
Desarrollador 17
Evaluación
(100)
Proyectos
125
23%
Arbitraje
12
0% / 75%
Caducado
22
18%
Libre
18
Desarrollador 18
Evaluación
(3)
Proyectos
4
25%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(2086)
Proyectos
2646
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
20
Desarrollador 20
Evaluación
(71)
Proyectos
80
10%
Arbitraje
35
9% / 54%
Caducado
6
8%
Trabaja
21
Desarrollador 21
Evaluación
(24)
Proyectos
31
16%
Arbitraje
7
29% / 43%
Caducado
4
13%
Trabaja
22
Desarrollador 22
Evaluación
(1130)
Proyectos
1432
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
23
Desarrollador 23
Evaluación
(37)
Proyectos
59
27%
Arbitraje
25
20% / 52%
Caducado
10
17%
Trabaja
24
Desarrollador 24
Evaluación
(549)
Proyectos
1332
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
25
Desarrollador 25
Evaluación
(61)
Proyectos
186
73%
Arbitraje
4
100% / 0%
Caducado
1
1%
Trabaja
26
Desarrollador 26
Evaluación
(256)
Proyectos
416
38%
Arbitraje
86
44% / 19%
Caducado
70
17%
Ocupado
Solicitudes similares
1) The EA will be in MLQ5 language and should be able to run continuously on the VPS and should be able to trade any instrument. The source code and rights will automatically remain mine. 2) This order is inclusive of at least one day of trial on VPS to confirm that EA does correct order placement 3) The EA should be able to run in multiple timeframes especially M1, M2, M5, M15, M30, H1
AN EXPERIENCED PROGRAMMER IS REQUIRED TO INCLUDE A HEDGING SYSTEM IN EXPERT ADVISOR AND CORRECT INABILITY OF ADVSIOR TO MOUNT TO METATRADER VPS THE PROGRAMMER WILL MODIFY EXISTING HEDGING SYSTEM AND ALSO INCLUDE HIS OWN PROVEN HEDGING SYSTEM TO THE EXPERT ADVISOR TO INCREASE THIS IS TO AID THE USE OF THE ADVISOR WITHOUT A STOPLOSS SYSTEM BUT RATHER A HEDGE SYSTEM
I want a trading robot that will be able to catch spike in boom and crash. I want a situation where the robot will place a trade immediately before a spike in the direction of the spike. I want a case where once I put the robot on the chart and choose buy (for Boom) or sell (for Crash) and the number of trades to open at the same time with a chosen lot size, then it will only buy or sell on that particular direction
Hi everyone, Please note, that the strategy i want to conver is using pyramiding setting set to 14 in tw. And tradingview uses some strange technique when it comes to pyramiding. I'm looking for someone who ever dealt with this. Also i would like your help with purchasing a tool/or integrating manually the access to seconds chart, i use my strategy only on 30 sec chart - USTEC icmarkets. I decided to move my strategy
Hello, I have an EA already created and what I require is a modification to the code so that when a backtest is executed, it generates a CSV file with custom data that I want to extract to perform an analysis of the backtest operations
Formal Software Request Software Title: High-Performance Automated Trading System Requestor: 80485848 Date: 19 August 2024 1. Introduction We seek a sophisticated automated trading system capable of executing trades across Forex, Gold, and Cryptocurrency markets. The primary objective is to achieve a high win rate while operating autonomously. 2. Core Requirements Win Rate: The system must demonstrate a
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how

Información sobre el proyecto

Presupuesto
30 - 80 USD
Para el ejecutor
27 - 72 USD