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
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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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;
Author: Lamont Simone Reynecke