Support Board
Date/Time: Sat, 28 Jun 2025 07:38:25 +0000
Post From: Executing orders at bar close
[2021-09-13 22:39:56] |
jmt816 - Posts: 45 |
is the new function (IsLastBarClosedBasedOnElapsedTime) working? Can't find any mention of it other than in the release notes and this thread, and I have not been able to get anything other than a zero for the return value. That was in replay, in live mode it did work. Is there any way to get this working in replay mode? quick code snippet (in case I'm doing something wrong): int IsBarClosed = sc.IsLastBarClosedBasedOnElapsedTime (sc.ChartNumber);
if (! IsBarClosed ) { return; } Thanks, Jeff Date Time Of Last Edit: 2021-09-13 22:48:01
|