Add a Trailing-Stop to an existing EA based on Envelope indicator

工作已完成

执行时间4 小时
客户反馈
Very talented developer, it was a great experience to work with him and I will not hesitate to do it again. He take the time to understand my needs and was very responsive. Fast and very good work.
员工反馈
Great customer. Communication and responsiveness at the highest level. Thank you for the order!

指定

I want to have a trailing stop added to my simple EA based on envelope indicator. 


What my EA do : 


-  When the Fast MA break the upper line of the enveloppe indicator, it takes a long position. 


-  When the Fast MA break the lower line of the enveloppe indicator, it takes a short position. 


What I want to add : 


- When the EA takes long positions : 


The stop loss will start on the lower line of the envelope indicator, and move up with the price until it reaches the 

upper line of the envelope indicator, then it will not move anymore (it will be a break-even). 


- When the EA takes short positions :


- Same but all inverted.


Final source code needed,

I will need to be able to modify the stoploss distance and break-even position in the parameters of the EA

(example : if I want the break even to be +1 or +2 points of the upperline of the envelope indicator).   


I will give you the source code, and don't hesitate to contact me if you have any questions.


Thank you ! 

反馈

1
开发者 1
等级
(615)
项目
718
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入
2
开发者 2
等级
(153)
项目
240
34%
仲裁
20
45% / 30%
逾期
3
1%
空闲
3
开发者 3
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
4
开发者 4
等级
(455)
项目
721
34%
仲裁
35
71% / 9%
逾期
23
3%
空闲
5
开发者 5
等级
(32)
项目
57
23%
仲裁
12
67% / 8%
逾期
2
4%
空闲
相似订单
Water polo 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD M5 TELEGRAM TRADING EA | //| EMA 20/50/200 + RSI + ATR + Telegram | //+------------------------------------------------------------------+ #property strict #property version "1.00" #property description "XAUUSD M5 EA with EMA, RSI, ATR and Telegram notifications" #include <Trade/Trade.mqh> CTrade trade;
Bonjour, Je souhaite créer un Expert Advisor (EA) en MQL5 optimisé pour opérer sur les paires Forex (EURUSD) et les métaux précieux (GOLD / XAUEUR / GAUUSD) Fonctionnalités requises : 1. Stratégie directionnelle : Le bot doit identifier le début d'un mouvement de tendance (hausse ou baisse) et exécuter des entrées rapides dans le sens de la tendance. 2. Sortie anticipée : Le bot doit sécuriser la position rapidement
Forex ai 30 - 3000 USD
Vous négociez les paires de devises (ex: EUR/USD, GBP/USD) en utilisant vos propres fonds ou ceux obtenus via des Prop Firms (sociétés de trading d'évaluation qui vous prêtent du capital après la réussite d'un test)

项目信息

预算
40 - 70 USD