Returns true
if a user is able to remove/change/hide the study.
enabled
-true
orfalse
Enables or disables removing/changing/hiding a study by the user.
Returns the information about all the inputs - an array of StudyInputInfo objects.
Returns values of study inputs - an array of StudyInputValueItem objects.
inputs
should be an array of StudyInputValueItem objects.
Sets input values for a study. It may contain only some of the inputs that you wish to change.
Merges the study up (if possible).
Merges the study down (if possible).
Unmerges the study up (if possible).
Unmerges the study down (if possible).
priceScale
should be a string with one of the following values:left
- attach the study to the left price scaleright
- attach the study to the right price scaleno-scale
- do not attach the study to any price scale. The study will be added in 'No Scale' modeas-series
- attach the study to the price scale where the main series is attached (it is only applicable if the study and the main series are located on the same pane)
Changes the price scale of the study
Returns true
if the study is visible.
value
-true
orfalse
Shows/hides the study.
Places the study on top of all other chart objects.
Places the study behind all other chart objects.
overrides
- new overrides for the study
Applies overrides
to the study.
Note: overrides
object keys don’t need to start with the study name. The key is applied to a particular study.
For example, you should use style
instead of Overlay.style
to override the current style of the Overlay study.
An object with the following keys:
id
- input ID of the studyname
- name of the inputtype
- type of the inputlocalizedName
- name of the input translated to the current language
An object with the following keys:
id
- input ID of the studyvalue
- value of the input