Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 10:09:09 +0000



RFE: ACSIL function to apply Study Collection to an ACSIL opened chart.

View Count: 1226

[2016-12-13 09:25:37]
bjohnson777 (Brett Johnson) - Posts: 284
In talking with Avi about my Custom Stock Index Creator, we've discovered it should be possible to extend it into a simple stock screener.

The missing piece is to automatically have ACSIL add studies to the newly opened charts. Getting individual studies set up by ACSIL is problematic and tedious, but having the end user saving a Study Collection that ACSIL can then apply to a chart number should be easy.

I'm aware you guys are overloaded, so I'm just suggesting exporting to ACSIL what's already available in the regular GUI will little or no changes.

There will need to be an SCInputRef that lists the same Study Collections under the Analysis menu so the user can choose the desired one.

Inside ACSIL, the quickest way to get this working is to provide the same Study Collections menu list as an array of read only strings or SCString's. Keep the strings the same as the Analysis menu order so array index 0 applies to the first Study Collection, and so on. If there are no Study Collections, return -1 for error or NULL if a pointer is used to the menu string array.

From there I could search the string list on my own and find its index number. Applying the Study Collection to a chart would probably look something like this:
sc.ApplyStudyCollectionToChart(ChartNumber, StudyCollectionIndexNumber);

I'm aware the Study Collection list isn't sorted in the Analysis menu. Passing an array of strings back to be manually searched means that y'all don't have to come up with any fancy ways of trying to come up with permanent index numbers.

I think I can use the recent sc.GetStudyNameFromChart() to fill in the rest of the blanks in my program.

Is all this possible to do?

Thanks
[2016-12-13 18:58:03]
Sierra Chart Engineering - Posts: 104368
We will see about this.

There currently is a way to automatically add a study collection to a chart:
http://www.sierrachart.com/index.php?page=doc/StudyCollections.html#AutomaticallyApplying

Let us know if that works.
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-12-14 09:56:09]
bjohnson777 (Brett Johnson) - Posts: 284
Thanks for the link. Didn't know that was there. It can be a sort of workaround for now. The main issue for stock screening/scanning is the number of studies required to provide data back to the Index Creator. It will be a "barf on the screen" class Study Collection with many different price scales. The users who want this will put up with any new chart looking like this and will probably have their own Study Collection they can jump to when they open a new chart in the GUI.

I'm going to start another medical project soon that will help stabilize my CSA sleep problems somewhat and hopefully get my coherency and productivity back up. I don't plan on starting to program this feature until mid to late January, so this isn't an emergency feature request.

Am I right in thinking that SC features already available in the user interface aren't too difficult to get into ACSIL?

Thanks
[2016-12-14 11:08:54]
Sierra Chart Engineering - Posts: 104368

Am I right in thinking that SC features already available in the user interface aren't too difficult to get into ACSIL?
No, this is not necessarily true at all.
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