Support Board
Date/Time: Sun, 08 Sep 2024 01:38:25 +0000
Post From: Accessing market depth in ACSIL between study calls
[2024-05-08 21:52:02] |
satori - Posts: 2 |
Ah my mistake. The issue was not a chart/ACSIL setting. My testing function calls every 2 seconds based on: if (CurrentTime > LastCheckTime + 2000) {
// do function But CurrentTime was assigned from sc.BaseDataEndDateTime, which stores time of last trade. I instead assign from sc.CurrentDateTimeForReplay or sc.CurrentSystemDateTime, and now it's a very consistent 2sec interval. Thanks again. Date Time Of Last Edit: 2024-05-09 09:05:34
|