Topic: Close the position after n bars if in loss

Hello,

I'd like to introduce the condition in subject, to be able to close a position if in loss after a certain amount of time.

Any suggestions on how to specify it in a logical group?

Thank you.

Re: Close the position after n bars if in loss

This is an interesting idea.

I'm going to start developing a new Strategy Builder. It will be a combination between FSB Pro and EA Studio.

I may add such custom logical rules.

Re: Close the position after n bars if in loss

I was thinking that a combination of Percent Change (as "lower than the level line") and N Bars Exit - both set to the same number of bars/period - would do the trick?

Re: Close the position after n bars if in loss

Brilliant workaround! Percent Change has nothing do to with opening price, but N Bars has, therefore they would be conditionally connected and position will be closed at N bars when it is in loss.

N Bars and Percent Change need to have the same logical group sign, then they work in unison.

And one more remark - N Bars stays active for all following bars (gives an exit signal) after N has been reached, so after that it depends on Percent Change whether exit is executed or not (the point being that it will be not conditionally connected to position opening price any longer, it will trail the price instead according to its period setting).

Re: Close the position after n bars if in loss

Thanks for pointing that out, footon, the last comment in particular is something that I missed!