Can anyone help program firebird trailing stop

 

hi,

the attached file is the firebird v63 version and which has a basic trailing stop function. Thanks wackena for the work (Good job!)

this is the nature of the trailing stop:

if set TP = 80, TrailingStop = 30, SL = 300

when a positions is +30 pips floating, the SL is move from -300 to +25 thus lock the profit at this point. But the EA will not move the SL of this position any further even it goes +70 pips or +80 pips.

i hope someone could add some more coding to it and make it trails like the original trailing stop function of our platform.

Here's my Idea,

remain the trailing stop function by wackena, first +30 pips, move SL to +25.

and then, when it hit +56, SL move from +25 to +26,

just like the normal trailing stop function from our trading platform.

Thanks.

I hope someone could write the code for this.

Chad

Files:
Reason: