Login Page - Create Account

Support Board


Date/Time: Sun, 15 Jun 2025 16:38:51 +0000



Post From: Effectiveness of sc.BaseGraphScaleConstRange

[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!
imageScale.png / V - Attached On 2025-06-03 13:30:57 UTC - Size: 109.2 KB - 77 views