Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 09:59:44 +0000



Post From: ACSIL chart Bar Period

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