Returns current mode of the price scale.
newMode
- new mode for the price scale
Changes current mode of the price scale.
Since version 1.15.
Returns whether the price scale is inverted or not.
Since version 1.15.
isInverted
- new inverted state for the price scale
Changes current inverted state of the price scale.
Starting from version 1.15.
Returns current visible price range of the price scale. The result is an object with from
and to
, which are the boundaries of the price scale visible range.
Starting from version 1.15.
Sets current visible price range of the price scale, range
is an object with from
and to
, which are the boundaries of the price scale visible range.
Starting from version 16.
Returns an array of IDs of all studies attached to the price scale.
Starting from version 16.
Returns true
if the price scale contains the main series.
Available modes price scale can operate in:
0
- normal mode of the price scale1
- logarithmic mode of the price scale2
- percentage mode of the price scale3
- indexed to 100 mode of the price scale