Date/Time: Fri, 07 Aug 2020 03:39:11 +0000
ACSIL chart Bar Period
|enemyspy - Posts: 292 | Ending Date: 2020-06-14 [Expired]|
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?
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
Sierra Chart Engineering - Posts: 88410 | Ending Date: 2021-04-05
Yes. Refer to the ACSIL Variables documentation page.
Sierra Chart Support - Engineering Level
Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
To post a message in this thread, you need to login with your Sierra Chart account: