Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 19:42:31 +0000



ACSIL Contract Rollover

View Count: 738

[2020-09-10 14:51:40]
User92573 - Posts: 475
Dear Support Forum

In "studies2.cpp" I have found the following:

SCSFExport scsf_RolloverDateDisplay(SCStudyInterfaceRef sc)

SCString DateString ("Rollover: ");
DateString += sc.DateToString(sc.ContractRolloverDate);

However I'm having trouble working out how to structure an ACSIL study so that I can access the current rollover date in the Tool Value Windows as opposed to it being a label/study on the chart itself.

Any assistance gratefully received.

Many thanks
[2020-09-15 09:39:43]
Sierra Chart Engineering - Posts: 104368
We have this documentation available:
ACSIL Interface Members - Variables and Arrays: sc.ContractRolloverDate

And we really do not understand the question.
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
[2020-09-16 15:40:27]
User92573 - Posts: 475
Yes, I know but I've been unable to use/implement it. Hence I was hoping for some forum assistance.
ACSIL programming has been advancing well but for some reason I'm stumbling here.
Many thanks.
Date Time Of Last Edit: 2020-09-16 15:41:01
[2020-09-16 19:07:05]
Sierra Chart Engineering - Posts: 104368
Stumbling with what specifically? The documentation is there and you have an example. If you are having difficulty with this, we recommend hiring a programmer.
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
[2020-09-17 06:12:43]
User92573 - Posts: 475
Okay I'll do that.

I've got on very well with ACSIL study programming but for some reason I'm having difficulty storing the rollover string in an array. I suppose it should be as a persistent variable. I'm spending more time going through C++ and getting there slowly but still obviously stumble here and there.

Thank you for taking the time to reply SC is really an amazing product and I've used a lot of platforms over some 25 years - but as a trader opposed to a programmer.

Many thanks.
Date Time Of Last Edit: 2020-09-17 06:13:55
[2020-09-17 17:34:17]
Sierra Chart Engineering - Posts: 104368
What array are you trying to store it in? It would have to be an array of strings.
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

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

Login

Login Page - Create Account