Modify EA to have 2 trailing stops.

MQL4 Indicadores Asesores Expertos

Tarea técnica

I need a small modification on a ea I have. I would like the trailing stop to work like the one on this video: 

https://youtu.be/5AiGRzWEkEU?t=1330

The example goes from minute 22:15 to 23:15 Its adviced to watch the video with subtitles.

The trailing stop would move so to keep always a 1:1 ratio with the take profit. I would like to have it in both mt4 and mt5

Summarizing the 2 modifications:

1. Trailing stop that shrinks in value keeping a one to one ratio with tp as the price gets closer to tp. As shown in the video from minute 22:15.

2. When price is 1 pip (variable) away from tp, tp gets erased and a fixed trailing stop of 1 pip (variable) starts to function.

I have attached a picture of how it should look like.

This is what it should look like

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(93)
Proyectos
133
35%
Arbitraje
13
38% / 31%
Caducado
32
24%
Libre

Información sobre el proyecto

Presupuesto
30 - 50 USD