Support Board
Date/Time: Sun, 22 Dec 2024 11:33:30 +0000
ACSIL chart Bar Period
View Count: 1004
[2015-07-06 00:54:35] |
enemyspy - Posts: 306 |
I am finishing a custom study, and all that is left to do is I need to change the file output/input of an fstream object based on the bar period of the chart. So that if the chart is for instance a 6 renko chart it would print to the corresponing file for a 6 renko chart. Then if I change it to a 3 renko chart it would write to the associated file for the 3 renko chart ect. Is there an acsil function that gets the bar period of the chart that the study is on? something like: sc.BarPeriod()
sc.BarType() if(sc.BarPeriod == 3) { //blah blah blah } or is there a way to do this? Date Time Of Last Edit: 2015-07-06 01:05:46
|
[2015-07-06 07:30:48] |
Sierra Chart Engineering - Posts: 104368 |
Yes. Refer to the ACSIL Variables documentation page.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: