How to switch off automatic vertcial chart scaling
Author: P_Cherry
Creation Date: 9/16/2008 2:40 AM
profile picture

P_Cherry

#1
Hi,

sometimes it is not useful to have automatic vertical scaling of charts to the whole screen.

Is it possible to switch of this feature? Or how to create chart script without this scaling?

Thx
Peter
profile picture

Eugene

#2
QUOTE:
Is it possible to switch of this feature? Or how to create chart script without this scaling?

1 - No, panes from drag/dropped indicators are autoscaled.
2 - By creating a custom pane with CreatePane (see WealthScript Guide > Painting the Chart > Chart Panes).

profile picture

Cone

#3
Also see the SetPaneMinMax method in the QuickRef (F11).
profile picture

P_Cherry

#4
Yeah, you are rightm when I put into strategy just the folowing code, the Y-scale stays between 0-100:)

CODE:
Please log in to see this code.


BUT NEVERTHELESS, it is a pity, it is not possible to scale manually like in common charting tools...:(