Support Board
Date/Time: Sun, 15 Jun 2025 16:15:12 +0000
Effectiveness of sc.BaseGraphScaleConstRange
View Count: 192
[2025-06-03 13:32:40] |
Tony - Posts: 591 |
Hi Sierra Support: I set my Scale settings as "User Defined" (attached a screenshot), ACSIL has the access to sc.BaseGraphScaleConstRange, I am able to change the number of "Constant Range" even that option is not selected and the height of candle bars changed instantaneously: if (sc.CharacterEventCode==83) // press "S", candle bars appear shorter sc.BaseGraphScaleConstRange = sc.BaseGraphScaleConstRange+10; if (sc.CharacterEventCode==84) // press "T", candle bars appear taller sc.BaseGraphScaleConstRange = sc.BaseGraphScaleConstRange-10 that only worked up to version 2739, but it stopped working that way recently, even though the number under "Constant Range" still can be changed by ACSIL, the Height of candle bars don't change, until I exit Sierra Chart and run it again. It is less convenient than the way worked before, not sure what I had missed. Thanks so much! |
[2025-06-03 15:15:26] |
John - SC Support - Posts: 40422 |
The sc.BaseGraphScaleConstantRange should not have changed the chart when the scale is set to "User Defined". We are not sure why it worked at all for you, and perhaps there was a change that corrected this. When using a Scale type of "User Defined" you can get/set the values using the following functions (note the top options below each of the links given): ACSIL Interface Members - Functions: sc.GetChartStudyUserDefinedScaleRangeBottom() ACSIL Interface Members - Functions: sc.SetChartStudyUserDefinedScaleRangeBottom() For the most reliable, advanced, and zero cost futures order routing, use 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: