SetIndexVisibility
Sets the visibility of a buffer.
Syntax
Parameters
index
- A number representing the index of the buffer.isVisible
- A boolean indicating whether the buffer should be visible.
Return Value
This method does not return a value.
Description
The SetIndexVisibility
method sets whether a buffer should be visible on the chart. This can be used to hide buffers that are used for calculations but should not be displayed to the user.
Example
Last updated