Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 21:55:26 +0000



ACSIL Range Issue

View Count: 1081

[2014-11-26 17:45:38]
Trade Nice - Posts: 75
I am using the following code to try to set the scale to a high and low value for user defined. User Defined is chosen on the Scale window, but the values for high and low are not getting set, no numbers appear in the enabled boxes, that is the boxes are white, but no numbers

sc.BaseGraphScaleRangeType = SCALE_USERDEFINED;
sc.ScaleRangeTop = 100
sc.ScaleRangeBottom = 90

I have just used 100 and 90 on here by way of example, though I have tried to use a floating variable as well as the form shown in the help; 100.0f and 90.0f

However, the following code works perfectly

sc.BaseGraphScaleRangeType = SCALE_CONSTRANGECENTRE;
sc.BaseGraphConstantRange = 10

Please help

[2014-11-26 18:53:19]
Sierra Chart Engineering - Posts: 104368
The problem is there is no way in ACSIL to set these for the base graph:
sc.ScaleRangeTop = 100
sc.ScaleRangeBottom = 90

They apply only to the study graph itself. Would have to add additional variables.
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
[2014-11-26 19:34:45]
Trade Nice - Posts: 75
I am trying to understand your answer, as I am not that sure about the difference between a "base graph" and a "study graph"

but if I use that code to set the range top and bottom, shouldn't the numbers I use populate the input boxes on the Range window, even if the required effect is not what I was seeking?

the numbers are not appearing on the Range window
[2014-11-27 03:39:04]
Sierra Chart Engineering - Posts: 104368
Are you trying to set the Scale for the study or the main price graph in the chart?
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