Login Page - Create Account

Support Board


Date/Time: Mon, 12 Oct 2026 22:09:40 +0000



Post From: Feature request : New Scale Range Setting

[2026-08-28 06:49:45]
Tony - Posts: 725
Switch Range Bar number between 30 and 60 would give you a very different view of chart, might disturb your trading strategy, another possible solution would be dynamically change Top and Bottom Range of the Scale on the fly, (see animated .gif attached), the chart showed in the attached image is set to 30 tick range bar, as I change the size of the window, the Top and Bottom Range change accordingly, so you always have the same perspective. This is done with ACSIL.

The idea:
void CenterTheChart(SCStudyInterfaceRef sc)
{
  sc.BaseGraphScaleConstRange = sc.ChartRegion1BottomCoordinate * 0.233387358;
  sc.BaseGraphScaleRangeTop = sc.Close[sc.IndexOfLastVisibleBar] + sc.BaseGraphScaleConstRange*4/9.0;
  sc.BaseGraphScaleRangeBottom = sc.Close[sc.IndexOfLastVisibleBar] - sc.BaseGraphScaleConstRange*5/9.0;
}

Date Time Of Last Edit: 2026-08-28 07:01:02
imageoutput_small.gif / V - Attached On 2026-08-28 06:57:20 UTC - Size: 331.96 KB - 96 views