Login Page - Create Account

Support Board


Date/Time: Mon, 23 May 2022 23:38:21 +0000



Timeframe function

View Count: 1213

[2013-06-14 11:38:17]
User77415 - Posts: 3
Please I would like to know in wich way can I have the number that reflect the timeframe of the bar chart.
Thanks.
[2013-06-14 16:43:22]
Sierra Chart Engineering - Posts: 102837
Do you mean through ACSIL (Advanced Custom Study Interface and Language)? The question is not clear for us.
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
[2013-06-15 07:37:00]
User77415 - Posts: 3
Sorry, for tha way I pose my question before. What I want to do, is create a Simple Moving Average that automatically calculate tha number of bars to consider, referring to the input that I want to set in the study settings. I want to be more clear. I want to put for example 60 minutes in input study settings, and the indicator automatically will calculate the lenght of SMA referring the time frame I am using in that moment. Lenght of SMA will be calculate : 60 / time frame of chart. So I need to know in C++ wich function I have to use that give me the time frame of chart. Thanks
Date Time Of Last Edit: 2013-06-15 07:45:38
[2013-06-15 07:49:50]
Sierra Chart Engineering - Posts: 102837
This is what you need:
http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members.html#scSecondsPerBar
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
[2013-06-15 08:30:58]
User77415 - Posts: 3
Thanks a lot for your immediate and full support. Best regards.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account