In trying to test a trend system, I would like to set a dynamic stop loss level. In the case of going long, setting the stop at the low of the entry bar and then have the stop rise to the next bar low, if it is greater that current low and so on (and vice versa for a short position).
I am not a EFS coder and the only option in the Wizard is to set a hard stop (actual price value) - which garauntees a loss on a trend following system as it never adjusts up/down if the trend is favourable to the position taken.
Is there a way to achieve this in the wizard? Or if there is existing code that achieves this, would appreciate a link to that thread.
Thanks in advance.
Alex.
I am not a EFS coder and the only option in the Wizard is to set a hard stop (actual price value) - which garauntees a loss on a trend following system as it never adjusts up/down if the trend is favourable to the position taken.
Is there a way to achieve this in the wizard? Or if there is existing code that achieves this, would appreciate a link to that thread.
Thanks in advance.
Alex.
Comment