Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 21:08:02 +0000



[Programming Help] - increase number of SC_SUBGRAPHS_AVAILABLE for custom study

View Count: 818

[2018-02-12 20:19:22]
User494732 - Posts: 7
Hi I developed study for displaying multiple horizontal lines based on the content for text file , however number of lines limited by SC_SUBGRAPHS_AVAILABLE constants.

Is it possible to change this constant manually for developing a single custom study , than top reverse it back to standard after producing DLLs ? Please advise


This is from scconstants.h

const int SC_SUBGRAPHS_AVAILABLE = 60;
const int SC_INPUTS_AVAILABLE = 128;
const int SC_DRAWING_MAX_LEVELS_OLD = 32;
const int SC_DRAWING_MAX_LEVELS = 64; // Do not change this, used in s_ChartDrawing and s_ConfigData
const int ACSIL_DRAWING_MAX_LEVELS = 32;

const int NUM_LINREG_TOOL_STD_DEVIATIONS = 12;
[2018-02-12 23:12:14]
Sierra Chart Engineering - Posts: 104368
No, that is not possible. You just have to use multiple study instances to overcome the limit.
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
[2018-02-13 01:56:20]
User494732 - Posts: 7
Please advise
1. how to make input data file available for custom study through configuration/setting of the study
2. how to make study to update the data from the file without removing/adding study to the chart
[2018-02-13 21:49:46]
Sierra Chart Engineering - Posts: 104368
1. It sounds like you would want to use a text string input:
ACSIL Interface Members - sc.Input Array: sc.Input[].SetString()

2. This is something for you to implement. You can do whatever you need within the study function. It is not something we can help with. If you want the study function continuously called, then you can use this variable:
ACSIL Interface Members - Variables and Arrays: sc.UpdateAlways
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: 2018-02-13 21:50:49

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

Login

Login Page - Create Account