Especialistas: custom trail-stop

 

custom trail-stop:

it creates a trail-stop with negative values trailing based on moving average indicator. besides the normal indicator values, the ea also have trail options that manage its behavior. the trailing options so far: -max stop-loss an order can suffer with option to close them -the number of bar behind current to use in the MA trailing -how much distance from MA to apply the trail -minimal points behind current price to trail when on positive values -minimal points behind current price to trail when on negative values this is my first EA created from scratch, and probably can be optimized further one thing i am trying is to get control over the drawn line, like color, thickness, style suggestions are welcome

Autor: scur