Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 05:40:40 +0000



Post From: Is there a way to detect the last bar of the simulation during Autotrade BackTest?

[2020-04-15 05:00:22]
User909904 - Posts: 14
Yes, I am closing the positions after the simulation ends now.
That works fine if the chart is up to date but if the chart ends in the past, the close price may be very far from the last bar in the chart making the stats incorrect.

Having a way to do run commands at the end of simulation would help.