Support Board
Date/Time: Mon, 21 Apr 2025 16:40:56 +0000
Post From: SOLVED Issue with function sc.GetOrderForSymbolAndAccountByIndex(...)
[2025-02-24 18:21:14] |
LTSys - Posts: 68 |
Hi, I noticed the "sc.GetOrderForSymbolAndAccountByIndex(...)" function will all of a sudden just stop looping through orders. If I play around with the chart update interval setting or the Minimum chart update interval setting for ACSIL UpdateAlways the orders will start looping again. Clicking the Apply All or the OK button in the chart settings also seems to get the loop working again. Anyone have any possible ideas why that is happening? Seems like a bug but perhaps some additional flags needs to be set in the default section of the study? if(sc.SetDefaults) { sc.AutoLoop = 0; sc.UpdateAlways = 1; } TIA Date Time Of Last Edit: 2025-02-24 18:50:46
|