SetBufferShift
Sets the horizontal shift for a buffer.
Syntax
Parameters
bufferIndex
- A number representing the index of the buffer.shift
- A number representing the number of bars to shift the buffer.
Return Value
This method does not return a value.
Description
The SetBufferShift
method sets the horizontal shift for a buffer. This allows you to offset the display of the buffer by a specified number of bars. Positive values shift the buffer to the right (into the future), while negative values shift it to the left (into the past).
Example
Last updated