ticker.pointfigure() - Pine Script Function
ticker.pointfigure()
Section titled “ticker.pointfigure()”Overview
Section titled “Overview”Creates a ticker identifier for requesting Point & Figure values.
Syntax
Section titled “Syntax”ticker.pointfigure(symbol, source, style, param, reversal) → simple stringParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| symbol | simple string | Symbol ticker identifier. |
Returns
Section titled “Returns”String value of ticker id, that can be supplied to request.security function.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”//@version=6indicator("ticker.pointfigure", overlay=true)pnf_tickerid = ticker.pointfigure(syminfo.tickerid, "hl", "Traditional", 1, 3)pnf_close = request.security(pnf_tickerid, timeframe.period, close)plot(pnf_close)