Topic: Close the position at the end of the backtest

Hello Traders,

Added a new option in the Settings.

"Close the position at the end of the backtest"

It forces the backtester to close an open position at the last Bar Open. The purpose of this option is to prevent generating a strategies with balance charts like that one:

http://s1.postimg.org/f667e56in/screenshot_362.png

When the option is on, the balance curve will be like that:

http://s1.postimg.org/ir22xdb27/screenshot_363.png

http://s1.postimg.org/wm4ytkuv3/screenshot_364.png

Such strategy will never passed the hard coded validation in the Generator and will never be pushed to the Collection.

Re: Close the position at the end of the backtest

Miroslav, did you read my mind? smile I was thinking about this the whole evening as I was recalculating collections and seeing the very same balance charts. Have to go through the collections again with this option, interesting to see how much will it curb the upside results.