Experts: Perfect Trailing StopLoss

 

Perfect Trailing StopLoss:

Copy these into any EA you are busy coding and you"ll have a trailing sl the only things you'll need to change would probably be InpMagic for your magic number or you could just copy my code as is , Remember to add COrderinfo ord; and CPositionInfo pos;

Perfect Trailing StopLoss

Author: Lamont Simone Reynecke

 

This EA is not working

Trailing Xl on XAuusd


Please rectify.

Thank you

 
Ugochukwu Nwoko #:

This EA is not working


Please rectify.

Thank you

Hi sir, please read the post again, this is coding that you can use to add to your own ea if you need a trailing sl 

I didn't add a bot it's just coding for the trailing sl 
 
Ugochukwu Nwoko #:

This EA is not working


Please rectify.

Thank you

And also remember the reason why the trailing sl is not working is because of the magic number 

If you are coding a bot, the bot uses magic numbers, then the trailing sl looks for trades places by the ea and if the magic numbers are the same the trailing sl will work