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
1391
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Working
2
Developer 2
Rating
(192)
Projects
232
30%
Arbitration
1
100% / 0%
Overdue
9
4%
Free
3
Developer 3
Rating
(586)
Projects
918
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
4
Developer 4
Rating
(376)
Projects
474
40%
Arbitration
82
37% / 33%
Overdue
13
3%
Working
5
Developer 5
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
6
Developer 6
Rating
(466)
Projects
697
56%
Arbitration
43
30% / 33%
Overdue
113
16%
Working
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
(253)
Projects
407
38%
Arbitration
85
42% / 19%
Overdue
70
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
(1127)
Projects
1429
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
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en

Project information

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