Please review Stockalyze: https://g.page/r/CYw4g9KFTD6FEAI/review.

Close position after X number of days

Started by Nortom, October 28, 2019, 05:32:09 PM

Previous topic - Next topic

Nortom

Hi.

I would like to buid a backtest system that closes the operation after 5 days, independently of the closing value. Is it possible? If yes, them can you share with me an example or the function ?

Best regards

Sacha

As of now it is not possible. You can define conditions based on relation between 2 data-series.
But, there were similar query asked by other users as well.
I will think about it and will let you know if I make changes related to it.

Thanks for letting me know your requirement.
Stockalyze Support
Let's be friends

Sacha

In new beta update you can now also close positions when either target is achieved, or after fixed amount of time, apart from already existing stop loss and stop drawdown. I have attached image of new backtest dialog. Please give it a try.
Stockalyze Support
Let's be friends