Login Page - Create Account

Support Board


Date/Time: Fri, 07 Aug 2020 03:39:11 +0000



ACSIL chart Bar Period

[2015-07-06 00:54:35]
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?

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: 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:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

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:

Login

Login Page - Create Account