ta.percentrank

Percent (0-100) of the previous length values that are less than or equal to the current value.

ta.percentrank(source: float, length: simple int) -> series float

Parameters

Example

ta.percentrank(close, 100)