: Defines how to handle bars where no data is returned.
plot(get_htf_ma(20))
Pine Script limits the number of unique security calls per script (usually 40). Correlation Traders: Fetch GOLD data while trading USDJPY . pine script v5 request.security function documentation
[dailyOpen, dailyClose] = request.security(syminfo.tickerid, "D", [open, close]) Use code with caution. Copied to clipboard : Defines how to handle bars where no data is returned
The request.security function in is used to request data from another symbol or timeframe than the one the script is currently running on. Core Syntax pinescript dailyClose] = request.security(syminfo.tickerid