Trailing stop, trailing step and start EA

MQL5 Experts

Job finished

Execution time 1 hour
Feedback from customer
The developer was fast, efficient, and delivered everything promised. I enjoyed the experience working with this developer. I look forward to working with you again!
Feedback from employee
Thanks a lot

Specification

Hello,


I am looking for a trailing stop that will activate after a custom threshold and then trail by a custom level of pips.

This trailing stop moves the stop loss up or down with the order price after it first reaches profit threshold, thereby “locking in” profit and providing loss protection.

For instance,  if you set the profit threshold to 50 and the trailing stop to 50, the trade will have to move 50 pips in profit before the trailing stop is activated, at which point the stop will be moved to break even. 

If you further indicated that your trailing step is 5, then the market would have to move up 5 pips more in profit before your stop would rise 5 pips above breakeven.  It would then adjust increasingly upwards on that basis, locking in 5 more pips of profit for each additional 5 pip gain.

I envision three external variables for this new trailing stop, one indicating the profit threshold, the other indicating the trailing stop, and the last indicating the stepping distance:
extern double TrailingStart = 50;
extern double TrailingStop = 25;
extern double TrailingStep = 5;

The variables that the user manipulates are thus the TrailingStart, which is the profit threshold that needs to be achieved before the trailing stop can be activated;

the TrailingStop, which is the amount of pips we will trail from new profit highs;

and the TrailingStep, the amount of new pips that need to be gained before the stop can be increased by the amount of the gain.   


Thanks and regards,

Responded

1
Developer 1
Rating
(878)
Projects
1390
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Working
2
Developer 2
Rating
(191)
Projects
232
30%
Arbitration
1
100% / 0%
Overdue
9
4%
Free
3
Developer 3
Rating
(584)
Projects
913
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Loaded
4
Developer 4
Rating
(367)
Projects
463
40%
Arbitration
82
37% / 33%
Overdue
13
3%
Loaded
5
Developer 5
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
6
Developer 6
Rating
(462)
Projects
690
56%
Arbitration
43
30% / 33%
Overdue
112
16%
Free
7
Developer 7
Rating
(67)
Projects
79
33%
Arbitration
6
50% / 33%
Overdue
7
9%
Free
8
Developer 8
Rating
(20)
Projects
29
55%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(250)
Projects
400
38%
Arbitration
82
41% / 20%
Overdue
69
17%
Loaded
10
Developer 10
Rating
(199)
Projects
287
52%
Arbitration
0
Overdue
1
0%
Free
11
Developer 11
Rating
(5)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
13
Developer 13
Rating
(3)
Projects
1
100%
Arbitration
1
0% / 0%
Overdue
0
Free
14
Developer 14
Rating
(22)
Projects
18
6%
Arbitration
31
3% / 65%
Overdue
5
28%
Free
15
Developer 15
Rating
(1118)
Projects
1420
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
16
Developer 16
Rating
(14)
Projects
21
24%
Arbitration
9
33% / 44%
Overdue
8
38%
Free
Similar orders
Hello, I have an EA working nice but I required some modification / additions in it. Addition / Modification! 1. EA must follow the Buy - Sell Arrow Alert indicator (copy of Arrow indicator attached) in combination of Heiken Ashi candles and Stochastic Oscillator Indicator to Buy / Sell orders 2. Placing X number of pending orders with an initial distance and proportional increase in distance and lot size. 3. Close
Hello am looking for someone that can you help me with fixing a custom indicator for me. I need the indicator buffer value fixing to work perfectly with EA. I think you understand the matter of the issue. Normally the indicator is good to give the signal. But based on the signal I can't get into the EA. Because of the buffer value working issue. Also some time it's doing issue to show the singnal when re-start the
Hello good programmers I need a robot that will be based on a trendline strategy using 3 timeframes to analyse the market 1 hour timeframe and 5min end with 1Min for entry
Hi, I would like to have some functionality of an existing trade manager amended, and some new functionality added in order to suit my needs. The existing trade manager is free, so there are no licensing issues to worry about. However, I only have the .ex4 file, so you would need to decompile it first. I have attached the file here for you to see. This original manager was written for the exact strategy I trade by
Hello, I'm looking for someone to build an EA that will copy trades from MT4 & 5 over to DX trade and Match Trader. If you already have one built even better, I'll buy it. Talk soon
Preciso de um replicador de ordens do mt5 para o profit. Não é necessário muita coisa no EA,preciso de: selecionar quantidade de contratos , copiar entradas e saídas, take e stop loss
Please see indicator to base the Expert on attached. Entry: 1. Enter a market buy order if the next candle breaks above the trigger candle 2. Enter a market sell order if the next candle breaks below trigger candle Only one entry for each trigger candle (i.e. if a buy is triggered, do not enter sell / if sell is triggered, do not enter buy) 3. Stop loss is the lowest price (for buys) or highest price (for sells) of
THE GOAL OF THIS PROJECT IS TO DEVELOP AN EXPERT ADVISOR THAT OPERATES AUTOMATICALLY DURING MARKET OPENING SESSIONS,FOCUS EN FOREX ,CRYPTOCURRENCIES ,STOCKS, AND GOLD. BELOW ARE THE SPECIFIC REQUIREMENTS the EA should be able to analyze the 20 period and 200 period moving averages as part of its entry and exit estategy implementation of an order blockis required to allow the EA to open and close positions efficiently
EA for MT4 SUMMARY: The robot uses a Moving Average (MA) with 6 Levels (3 Levels above the MA and 3 Levels below the MA). It does not use other indicators. The robot will make transactions only when the price reaches these Levels, under certain conditions. No trades are made when the price reaches the MA. MA period and distance for Levels are adjustable! It is a semi-adjustable robot with many variables, which will
Liquidity sweep reversal EA based on Williams fractal with risk & trade management parameters build in should include following section in EA: entry parameters risk management trade management all based on given instructions

Project information

Budget
30 - 40 USD
For the developer
27 - 36 USD
Deadline
from 1 to 2 day(s)