Support Board
Date/Time: Thu, 09 Jan 2025 08:24:31 +0000
ACSIL today only
View Count: 799
[2016-08-04 17:57:27] |
User704990 - Posts: 18 |
Is there a simple way to have a study show on the current day only or set the number of days to look back?
|
[2016-08-04 18:50:25] |
Sierra Chart Engineering - Posts: 104368 |
So this is an ACSIL study that you are developing yourself?
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-04 18:50:34
|
[2016-08-04 18:53:37] |
User704990 - Posts: 18 |
Yes, custom study
|
[2016-08-04 22:27:51] |
Sierra Chart Engineering - Posts: 104368 |
You could add a line of code like this just under the sc.SetDefaults code block: if (sc.BaseDateTimeIn[sc.Index].GetDate() < sc.BaseDateTimeIn[sc.ArraySize - 1].GetDate())
return; 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-04 22:28:10
|
To post a message in this thread, you need to log in with your Sierra Chart account: