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

Trabajo finalizado

Plazo de ejecución 4 horas
Comentario del Cliente
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.
Comentario del Ejecutor
Great customer. Communication and responsiveness at the highest level. Thank you for the order!

Tarea técnica

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 ! 

Han respondido

1
Desarrollador 1
Evaluación
(615)
Proyectos
718
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
2
Desarrollador 2
Evaluación
(153)
Proyectos
240
34%
Arbitraje
20
45% / 30%
Caducado
3
1%
Libre
3
Desarrollador 3
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
4
Desarrollador 4
Evaluación
(455)
Proyectos
721
34%
Arbitraje
35
71% / 9%
Caducado
23
3%
Libre
5
Desarrollador 5
Evaluación
(32)
Proyectos
57
23%
Arbitraje
12
67% / 8%
Caducado
2
4%
Libre
Solicitudes similares
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)

Información sobre el proyecto

Presupuesto
40 - 70 USD