Support Board
Date/Time: Sat, 28 Dec 2024 09:38:54 +0000
Post From: Referencing to Persistent Variable by name NOT working *URGENT*
[2016-02-22 17:07:15] |
Sierra Chart Engineering - Posts: 104368 |
When my code is MyCounter += 1; within the if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED){} block. So according to my code, the value of MyCounter should be 1 the first time when the study is run and NOT 175113. This is because the study is using automatic looping: https://www.sierrachart.com/index.php?page=doc/doc_ACS_ArraysAndLooping.html Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |