Login Page - Create Account

Support Board


Date/Time: Sun, 14 Sep 2025 10:32:45 +0000



Post From: ACSIL - trailing stop loss and orders

[2019-09-17 13:45:50]
MattK - Posts: 42
Are you saying that this block of code executes only once and when the last bar closes (right before the new one starts?

Because the doc says: "The very last bar in the chart is never considered a closed bar until there is a new bar added to the chart."
ACSIL Interface Members - Functions: sc.GetBarHasClosedStatus()

I'll try and see if that makes any difference, rather than using a complicated index variable and if statement.