Trailing stop, trailing step and start EA

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 1 hora
Comentario del Cliente
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!
Comentario del Ejecutor
Thanks a lot

Tarea técnica

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,

Han respondido

1
Desarrollador 1
Evaluación
(878)
Proyectos
1391
67%
Arbitraje
117
32% / 42%
Caducado
215
15%
Libre
2
Desarrollador 2
Evaluación
(192)
Proyectos
232
30%
Arbitraje
1
100% / 0%
Caducado
9
4%
Libre
3
Desarrollador 3
Evaluación
(584)
Proyectos
915
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Trabaja
4
Desarrollador 4
Evaluación
(368)
Proyectos
465
40%
Arbitraje
82
37% / 33%
Caducado
13
3%
Trabaja
5
Desarrollador 5
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
6
Desarrollador 6
Evaluación
(463)
Proyectos
691
56%
Arbitraje
43
30% / 33%
Caducado
112
16%
Libre
7
Desarrollador 7
Evaluación
(67)
Proyectos
79
33%
Arbitraje
6
50% / 33%
Caducado
7
9%
Libre
8
Desarrollador 8
Evaluación
(20)
Proyectos
29
55%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(251)
Proyectos
402
38%
Arbitraje
82
41% / 20%
Caducado
70
17%
Trabaja
10
Desarrollador 10
Evaluación
(199)
Proyectos
287
52%
Arbitraje
0
Caducado
1
0%
Libre
11
Desarrollador 11
Evaluación
(5)
Proyectos
7
14%
Arbitraje
1
0% / 100%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
13
Desarrollador 13
Evaluación
(3)
Proyectos
1
100%
Arbitraje
1
0% / 0%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(22)
Proyectos
18
6%
Arbitraje
31
3% / 65%
Caducado
5
28%
Libre
15
Desarrollador 15
Evaluación
(1118)
Proyectos
1420
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
16
Desarrollador 16
Evaluación
(14)
Proyectos
21
24%
Arbitraje
9
33% / 44%
Caducado
8
38%
Libre
Solicitudes similares
Hell . I need an expirience developer who can create ea based on my conditions. If the job has done i will pay after testing robot and confirmed. I will send code when i am satisfied with developer
أنشئ ملفًا شخصيًا عمليًا للتداول على منصات MT4/MT5 لأنظمة Android المحمولة ككتا للدفع مقامقابل هذا ال Create a workable trading profile on MT4/MT5 platforms for Android mobile systems هل يمكنك مساعدتي؟ أرغب في تنفيذ اتجاه ترددي عالمي على MT4/MT5 Android
Olá Preciso de um código aberto para robô expert, com as seguintes informações com base no Indicador VWAP - volume pondered average price, não precisa todos os períodos, SOMENTE DIÁRIO. aberturas de COMPRA e VENDA no cruzamento de media móvel sobre a VWAP, deixar disposição alteração do modelo da media e o período da media. OBS: 'Reverter mão' conforma o cruzamento da mídia com a VWAP(exemplo se estava vendido e
I NEED AN EXPERT ADVISOR THAT IS BASED ON SMOOTHED MOVING AVARAGE INPUT/ PERIOD-55/ METHOD-SMOOTHED/APPLY TO HIGH.WHEN A BULLISH CANDDLE CLOSED AND OPEN ABOVE THIS MOVING AVARAGE IT MUST OPEN A BUY ORDER AND WHEN A BEARISH CANDDLE CLOSED AND OPEN BELOW MOVING AVARAGE MOVING AVARAGE PERIOD -55/ METHOD- SMOOTHED/APPLY-LOW IT MUST OPEN SELL ORDER IT MUST ALSO SCAN CHART IN ALL TIME FRAMES AND WITH TAKE PROFIT AND STOP
1. Combination of Market Profiles on daily basis a) this should be combined if the bell curve is similar to the previous day. Rotational day (volume - standard deviation). b) If breakout, new range should be drawn Conclusion: Market profile should be combined on daily after the market is closed 2. Use Vwap indicator, with 0.5 - slow trend, 1.0 - normal trend, 1.5 fast trend. The stop loss should be under the trend
I currently download multiple Metatrader 4 profiles onto a Windows 11 pc on a regular basis. In order to speed up the process of uploading those profiles to my MetaTrader 4 account I have a "profile updater" MQL4 script that will do that automatically with just a couple of clicks. I also have a Linux pc that runs MetaTrader 4 through Codeweaver's Crossover program but the "profile updater" doesn't work in that
Creating a customized Forex/Index Rob Bot based on price actions and candlestick formations requires advanced programming and algorithmic trading knowledge. Here is a high-level outline of the steps involved in developing such a bot: 1. Define Trading Strategy: Specify the specific price action and candlestick formations you want the bot to trade upon. This could include setups like engulfing patterns, doji
This is a Ready Made grid Automatic EA 1.Need some bug fixing and little modification. This EA has some bug like -Place Random Trade after MT4 Restart . Also not follow custom parameter grid distance, grid slippage . like if i set 300pips grid distance, some time it place trade at 400 pips distance . fix this bug 2.first trade open by RSI logic if rsi30 open buy trade
Hello developers, I need a trading robot that works on martingale and antimartingale (functions that can be activated or deactivated, so the robot can work both as a martingale and as an antimartingale together). Initially the robot will work as an entry strategy on RSI, but it must be an open project as new entry strategies will be implemented in the future
HEDGING EA 70+ USD
LET ME KNOW IF YOU CAN DO THE JOB SERIOUS PROGRAMMER TO DO EA WITH STRICT DETAILS I HAVE A PICTURE OF THE STRATEGY I DO NOT WANT TO POST IT HERE

Información sobre el proyecto

Presupuesto
30 - 40 USD
Para el ejecutor
27 - 36 USD
Plazo límite de ejecución
de 1 a 2 día(s)