Trailing stop

 
Please how do i create an automated trailing stop that activates when a particular price or pips has been achieved in an open order. Thanks.
 
talabitobi:
Please how do i create an automated trailing stop that activates when a particular price or pips has been achieved in an open order. Thanks.
do you mean in your EA?
 
tacet:
do you mean in your EA?
yes, just a trailing stop only EA
 
talabitobi: Please how do i create
You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help
          urgent help.

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum

 
William Roeder:
You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help
          urgent help.

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum

I have the code but because am a novice, compiling gives error and at the moment i haven't been able to solve it so i needed to ask if there's another trailing stop ea i could get
Files:
 
talabitobi:
I have the code but because am a novice, compiling gives error and at the moment i haven't been able to solve it so i needed to ask if there's another trailing stop ea i could get

i fixed it all for you, now it compiles without warnings ;)

Files:
 
Kenneth Parling:

i fixed it all for you, now it compiles without warnings ;)

Thanks
 
talabitobi:
Thanks

you are welcome ;)

Reason: