Modify EA to have 2 trailing stops.

MQL4 지표 전문가

명시

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

응답함

1
개발자 1
등급
(93)
프로젝트
133
35%
중재
13
38% / 31%
기한 초과
32
24%
무료

프로젝트 정보

예산
30 - 50 USD
개발자에게
27 - 45 USD