Adjust indicator scale?
Author: ciconia1
Creation Date: 12/20/2016 3:29 PM
profile picture

ciconia1

#1
Is there a way to manually adjust the scale on the right side of the chart for individual indicators. For example, when plotting two moving averages that are close in size, the scale that is automatically chosen may plot them so close together that they appear as one line.
profile picture

ciconia1

#2
Actually, increasing the pane's height helps this situation out...
profile picture

Cone

#3
Scaling is automatic to include everything that is plotted in the visible pane. The only way to influence the scale is to use SetPaneMinMax(). This allows you to make the scale larger than is required. For example, imagine you plot an oscillator with a range from 0 to 100, but generally the values are from 20 to 80. Autoscaling will make the pane 20 at the bottom and 80 at the top, but with SetPaneMinMax() you can fix the range to always be 0 to 100.