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

Spécifications

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.


Dossiers :

Répondu

1
Développeur 1
Évaluation
(20)
Projets
19
11%
Arbitrage
2
50% / 50%
En retard
0
Travail
2
Développeur 2
Évaluation
(2)
Projets
3
33%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(5)
Projets
6
17%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(87)
Projets
109
25%
Arbitrage
10
40% / 20%
En retard
8
7%
Travail
5
Développeur 5
Évaluation
(376)
Projets
399
31%
Arbitrage
62
19% / 69%
En retard
50
13%
Travail
6
Développeur 6
Évaluation
(303)
Projets
384
20%
Arbitrage
43
60% / 23%
En retard
45
12%
Chargé
7
Développeur 7
Évaluation
(95)
Projets
117
38%
Arbitrage
9
89% / 0%
En retard
0
Gratuit
8
Développeur 8
Évaluation
(63)
Projets
101
31%
Arbitrage
1
100% / 0%
En retard
2
2%
Gratuit
9
Développeur 9
Évaluation
(345)
Projets
466
52%
Arbitrage
22
50% / 27%
En retard
5
1%
Occupé
10
Développeur 10
Évaluation
(12)
Projets
14
0%
Arbitrage
0
En retard
3
21%
Travail
11
Développeur 11
Évaluation
(257)
Projets
314
37%
Arbitrage
6
50% / 17%
En retard
7
2%
Gratuit
12
Développeur 12
Évaluation
(563)
Projets
932
47%
Arbitrage
302
59% / 25%
En retard
124
13%
Occupé
13
Développeur 13
Évaluation
(465)
Projets
526
33%
Arbitrage
28
39% / 43%
En retard
7
1%
Occupé
14
Développeur 14
Évaluation
(36)
Projets
45
36%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(192)
Projets
247
61%
Arbitrage
8
25% / 38%
En retard
8
3%
Travail
16
Développeur 16
Évaluation
(2428)
Projets
3058
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Gratuit
17
Développeur 17
Évaluation
(100)
Projets
125
23%
Arbitrage
12
0% / 75%
En retard
22
18%
Gratuit
18
Développeur 18
Évaluation
(3)
Projets
4
25%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(2086)
Projets
2646
61%
Arbitrage
113
45% / 26%
En retard
418
16%
Travail
20
Développeur 20
Évaluation
(71)
Projets
80
10%
Arbitrage
35
9% / 54%
En retard
6
8%
Travail
21
Développeur 21
Évaluation
(24)
Projets
31
16%
Arbitrage
7
29% / 43%
En retard
4
13%
Travail
22
Développeur 22
Évaluation
(1130)
Projets
1432
62%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
23
Développeur 23
Évaluation
(37)
Projets
59
27%
Arbitrage
25
20% / 52%
En retard
10
17%
Travail
24
Développeur 24
Évaluation
(549)
Projets
1332
59%
Arbitrage
28
82% / 0%
En retard
10
1%
Gratuit
25
Développeur 25
Évaluation
(61)
Projets
186
73%
Arbitrage
4
100% / 0%
En retard
1
1%
Travail
26
Développeur 26
Évaluation
(256)
Projets
416
38%
Arbitrage
86
44% / 19%
En retard
70
17%
Occupé
Commandes similaires
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

Informations sur le projet

Budget
30 - 80 USD
Pour le développeur
27 - 72 USD