Support Board
Date/Time: Sun, 02 Nov 2025 06:42:53 +0000
Post From: ACSIL - trailing stop loss and orders
| [2019-09-17 11:44:58] |
| User907968 - Posts: 847 |
|
// 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. |
