Modify EA to have 2 trailing stops.

指定

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
評価
(88)
プロジェクト
126
34%
仲裁
13
38% / 31%
期限切れ
31
25%
仕事中

プロジェクト情報

予算
30 - 50 USD
開発者用
27 - 45 USD