Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 18:23:43 +0000



Problem with SCALE_SAMEASREGION

View Count: 549

[2018-11-28 10:37:20]
User470516 - Posts: 78
Dear SC Team,

I have developped a study that requires the scale to be set as "same as region".

When I do this manually using the "scale" button of the settings windows, it works fine.

When I include the instruction "sc.BaseGraphScaleRangeType = SCALE_SAMEASREGION;" then the entire window becomes empty and more annoyingly even if I have removed the study, the price themselves have fully disappeared. The header of the window still indicates the symbol installed but I am uncapable of displaying the prices. Using the "hand" to locate prices which seem to have moved far above is not working on the vertical axis although it does along the x-axis.

I have the latest version intalled of SC.

Would you have any suggestion?

Thank you for your support.

Regards,

Laurent
[2018-11-28 17:30:16]
Sierra Chart Engineering - Posts: 104368
That is not the right variable. You need to use:
ACSIL Interface Members - Variables and Arrays: sc.ScaleRangeType

And you need to now correct the scale for the main price graph through the Scale Window:
Chart Scale and Scale Adjusting: Opening the Scale Settings Window for the Main Price Graph
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