Login Page - Create Account

Support Board


Date/Time: Thu, 30 Jan 2025 06:03:24 +0000



[Programming Help] - Custom Study to adjust chart scale doesn't apply?

View Count: 232

[2025-01-08 04:00:09]
TopGunTrader - Posts: 180
Hi,

I have a good coder creating a custom study that sets the User Defined Top/Bottom of Range and it is populating the UserDefined top/bottom of range however the chart isn't reflecting this. It does not change scale even though the settings show correct levels. Is there a call that forces the chart to update to this or any ideas why this isn't working? Hard to see in pic as discord often distorts it but you can see the top/bottom of range is updated but chart doesn't.
imageCapture.PNG / V - Attached On 2025-01-08 03:58:55 UTC - Size: 200.12 KB - 38 views
[2025-01-08 18:12:32]
Sierra_Chart Engineering - Posts: 18187
We will review this.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-01-28 21:47:21]
Sierra_Chart Engineering - Posts: 18187
We tested this, and did not find any problem. The chart immediately updated. Below is a code example to change to a user-defined scale on a full recalculation and setting the top and bottom.
  if (sc.IsFullRecalculation)
  {
    sc.BaseGraphScaleRangeType = SCALE_USERDEFINED;
    sc.BaseGraphScaleRangeTop = 200;
    sc.BaseGraphScaleRangeBottom = 100;
  }

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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2025-01-28 21:47:28

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

Login

Login Page - Create Account