Help with EA coding

 

I have coded this EA with a Trailing Stop and I Trailing Take Profit.

I would like the Trailing to trail every time it moves so that the stop will move every time a tick moves in the direction of the stop.


So if the stop is at 20 pips and moves 1 pip in the direction then back again 1 pip the Stop lose would be now 19 pips.

Files:
SqeezePlay.mq4  36 kb
 
Ian Macmillan:

I have coded this EA with a Trailing Stop and I Trailing Take Profit.

I would like the Trailing to trail every time it moves so that the stop will move every time a tick moves in the direction of the stop.


So if the stop is at 20 pips and moves 1 pip in the direction then back again 1 pip the Stop lose would be now 19 pips.

I doubt that you coded this EA by yourself.

If you dont know how to code an EA I would recommend the Freelance area...

https://www.mql5.com/en/job

;)

Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • 2022.03.17
  • www.mql5.com
The largest freelance service with MQL5 application developers
Reason: