Need Some Help With A Sl Code!! Please!!!

 

Hello,

I am developing a new EA right now and need some help with coding to complete it. Afterwards I want to post this EA for all you to download for free at this page!

I need to code this SL:

After Buy/Sell the SL is at -30pips --> Everytime the price moves 30 pips (in the right direction of course) the SL moves also 30 pips in direction of the price.

Example: Buy (1.6000)--> SL set to 1.5970--->Price goes up to 1.6030--->SL moves to 1.6000-->Price moves to 1.6060--->SL moves to 1.6030....

I hope you can help me out with this. Thanks!

W.R.

Reason: