Login Page - Create Account

Support Board


Date/Time: Thu, 31 Oct 2024 12:18:54 +0000



Post From: ACSIL - How to run part of code only once per bar

[2015-04-20 13:31:31]
ejtrader - Posts: 688
What would be the difference between using "sc.PersistVars->Integers[0]" or "sc.PersistVars->i1"?

There is no difference between using either of them (or the way I have mentioned above in the code).

Related to other question - OnExternalDataImmediateStudyCall - refer to the document here and code according to your need :)

http://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scOnExternalDataImmediateStudyCall