Thank you!

Your description of the strategy process is spot on and the bit I was looking for was "Not more that N history trades" I've change an input and it runs like a charm.

Thank you again for your support.