Scripts: e -Trailing

 

e -Trailing:

Automatic Trailing Stop for all open positions. Attach to one chart only.

Author: John Smith

 

Thx for this ea

I have a problem because script worked properly last time but now not

Parameters are ok but trailing don't change price 

In log, i hasn't seen any problem

Do you have any idea what is wrong

 

Can you advise what 'AllPositions' False/True does?

Thanks,

Paul

 
Does this script allow to trail on existing and new orders as well ?
 

This is by far my favorite script. It is simple, but does a great job. 

Thanks to this I'm able to focus entirely on when to open orders and then I let this take over. I have mine set:


Trailing Stop - 25

Trailing Steps - 1


and it works great. I place orders and walk away from it. My new favorite sound is the noise it makes when the trailing stop moves. I've been using it now for about 3 weeks. The first week I only made about 11%, the second 15%, and the third 22.5%. 

Those numbers may be small for some but I'm very happy with them.


The only 2 things I would love to see added to this script are:

1: Allow me to set how far past the break even line it waits before setting the trailing stop. A couple orders it cashed me out at the break even line.

2: If there was a setting that would automatically set my stop loss based on a set percentage of my account balance it would be perfect. 


Nothing else needs to be changed. 


Thanks for the code.

Reason: