Pine Script V5 Request.security Function Documentation -

: The ticker ID (e.g., "NASDAQ:AAPL" ). You can use the syminfo.tickerid variable for the current symbol.

barmerge.gaps_off (Default): Returns data for every bar on the current chart. pine script v5 request.security function documentation

Instead of calling request.security five times for Open, High, Low, Close, and Volume, call it once: [o, h, l, c] = request.security(syminfo.tickerid, "D", [open, high, low, close]) : The ticker ID (e

// Plot the ratio of BTC to ETH btc_price = request.security("BINANCE:BTCUSDT", "60", close) eth_price = request.security("BINANCE:ETHUSDT", "60", close) ratio = btc_price / eth_price plot(ratio, "BTC/ETH Ratio") : The ticker ID (e.g.