Support Board
Date/Time: Thu, 18 Sep 2025 17:37:19 +0000
Post From: ACSIL - trailing stop loss and orders
[2019-09-17 11:44:58] |
User907968 - Posts: 845 |
// Data processing once the bar has closed. if(sc.GetBarHasClosedStatus(Index-1)==BHCS_BAR_HAS_CLOSED) I'm not sure this piece of code is doing what you intend, maybe that is contributing to the unexpected behaviour? ACSIL Interface Members - Functions: sc.GetBarHasClosedStatus() The code block above will always evaluate to true, as by definition the bar prior to sc.Index is always closed. |