GetBufferCount
Returns the number of values stored in a buffer.
Syntax
Parameters
buffer
- A number representing the buffer index.
Return Value
Returns a number
representing the count of values stored in the specified buffer.
Description
The GetBufferCount
method returns the number of values that have been stored in a specific buffer. This can be useful for determining how many bars have valid indicator values.
Example
Last updated