Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 18:30:48 +0000



ACSIL - Set to Timespecific bars

View Count: 942

[2016-08-21 16:42:53]
ejtrader - Posts: 688
SC team - I would like to control the Chart time period to "intraday" daily chart (not historical daily chart).

I could get this done through sc.SecondsPerBar variable but works only when I start with intraday time based charts(where sc.AreTimeSpecificBars() = true).

Is there any function available to set the current chart to Timespecific bars - irrespective of the bar type used(like range/volume etc) to begin with through ACSIL?

One second request - Is it possible to make sc.LastTradeType variable available(similar to sc.LastTradePrice & sc.LastSize)? At present pulling this information from T&S structure. However there are occasions when the market is closed etc where T&S size is '0' and this information can't be pulled.

Thanks
Date Time Of Last Edit: 2016-08-22 05:35:59
[2016-08-22 16:42:02]
Sierra Chart Engineering - Posts: 104368
You need to use this variable but it is currently read-only:

ACSIL Interface Members - Variables and Arrays: sc.ChartDataType

In the next release it will be read/write.
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
[2016-08-30 14:19:57]
ejtrader - Posts: 688
SC Team - even with latest version - this issue remains.

I am using the following parameters in the code.


sc.ChartDataType = INTRADAY_DATA;
sc.DaysToLoadInChart = 5;
sc.SecondsPerBar = 1440 * 60; // Equivalent of 24 hours

- if the chart is started with any timespecific bars - it DOES convert to intraday dailybar with the above parameters.
- if the chart started is not a timespecific bar ( like volume/range chart etc ) - it doesn't change to intraday daily bar.

Wondering if I am doing something wrong or this way of changing the current chart to intraday daily chart is not supported.

thanks
Date Time Of Last Edit: 2016-08-30 14:21:39
[2016-08-30 21:56:23]
Sierra Chart Engineering - Posts: 104368
We will check on this.
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
[2016-08-31 10:09:58]
Sierra Chart Engineering - Posts: 104368
We added a paragraph to the documentation here about this:
ACSIL Interface Members - Variables and Arrays: sc.SecondsPerBar
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
Date Time Of Last Edit: 2016-08-31 10:10:14

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

Login

Login Page - Create Account