Returns true
if a user is able to remove/change/hide the main series.
enabled
-true
orfalse
Enables or disables removing/changing/hiding the main series by the user.
Merges the main series up (if possible).
Merges the main series down (if possible).
Unmerges the main series up (if possible).
Unmerges the main series down (if possible).
Pins the main series to a new price axis at right.
Pins the main series to a new price axis at left.
Makes the main series to be an overlay source.
priceScale
should be a string with one of the following values:"new-left"
- attach the main series to the new left price scale"new-right"
- attach the main series to the new right price scale"no-scale"
- hide the main series price scale if there are another scales on the main paneentityId
- pin the main series to the same price axis as a study with a correspondingentityId
Changes the price scale of the main series.
Returns true
if the main series is visible.
value
-true
orfalse
Shows/hides the main series.
Places main series on top of all other chart objects.
Places main series behind all other chart objects.
chartStyle
- number
Returns properties for a specific chart style. See this article for a returned object.
Sets properties for a specific chart style.
chartStyle
- numbernewPrefs
- object
newPrefs
should be a subset of properties for a chart style.
See this article for available values of properties for a specific chart style.