Skip to content
Algo Trade Analytics Docs

ticker.linebreak() - Pine Script Function

Creates a ticker identifier for requesting Line Break values.

ticker.linebreak(symbol, number_of_lines) → simple string
NameTypeDescription
symbolsimple stringSymbol ticker identifier.

String value of ticker id, that can be supplied to request.security function.

//@version=6
indicator("ticker.linebreak", overlay=true)
linebreak_tickerid = ticker.linebreak(syminfo.tickerid, 3)linebreak_close = request.security(linebreak_tickerid, timeframe.period, close)
plot(linebreak_close)