Login Page - Create Account

Support Board


Date/Time: Wed, 01 Jan 2025 13:52:12 +0000



Can a Custom Study call another Custom Study?

View Count: 760

[2016-05-26 18:03:15]
User332203 - Posts: 20
If I build my own version of the Stochastics study, How do I call that study from another study I have built?

For example, to call a built in study I use this syntax sc.Stochastics(...). Is there something like that to call one I have built?
[2016-05-26 18:11:16]
Sierra Chart Engineering - Posts: 104368
Yes you can.

The best thing to do is simply to model your new function after the Stochastic2_S function found in the SCStudyFunctions.cpp file. Place that new function above the function you will be calling it from, in your source code file.
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-05-26 18:12:10

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

Login

Login Page - Create Account