trailing stoploss

 

Guys just a quick one. i have coded an EA but i am planning on adding a trailing stoploss to it. However im struggling to add it to my code. Has anyone got a code for a trailing stoploss they wouldnt mind sharing?

 thanks in advance

 
johnh24:

Guys just a quick one. i have coded an EA but i am planning on adding a trailing stoploss to it. However im struggling to add it to my code. Has anyone got a code for a trailing stoploss they wouldnt mind sharing?

 thanks in advance

You can search here for trailing stop - I get more than 800 pages with 10 suggestions of CodeBase, articles, forum, market, ...