Support Board
Date/Time: Wed, 15 Jan 2025 13:02:03 +0000
Post From: ACSIL code for Open/High/Low/Last
[2017-06-13 06:06:11] |
User972044 - Posts: 154 |
Current bar data:
sc.High[sc.Index] sc.Low[sc.Index] sc.Open[sc.Index] sc.Close[sc.Index] Previous bar data: sc.High[sc.Index-1] sc.Low[sc.Index -1] sc.Open[sc.Index -1] sc.Close[sc.Index-1] Did you use sc.Autoloop = 1 or 0. Apparently this only works if you use sc.autoloop = 1. If you set sc.Autoloop = 0 which is manual looping, it does not work because manual looping does not use sc.Index according to what I have been advised by Sierra Chart Engineering. If it works, good for you. For me, when I set sc.Autoloop = 1, my program crashes the software and when I set sc.Autoloop = 0, I can't use sc.Index. Thanks Date Time Of Last Edit: 2017-06-13 06:23:39
|