An example and overview of the syminfo and tickerid functions to be able to access different tools. Here is an example of accessing the Bitfinex exchange (and requesting "instrument name") when another exchange is open (BINANCE:BTCUSDT) There is a difference in name between BINANCE:BTCUSDT and BITFINEX:BTCUSD exchanges Try swapping // T =...
This script extends my other two Array examples (which I've also provided to you open source): The Ticker-centric 5m,15m,45m,1h,4h,1d resolution labels using arrays: And the more Macro VIX,GLD,TLT,QQQ,SPY,IWM 1d resolution labels using arrays: This script aims to show how to use min/max/avg with Arrays easily. My next example after this will be exploring the...
Ever wish you didn't have to rapidly flip between 6 different tickers to get the full picture? Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays? Yeah, I did too. Both of those birds are taken care of with one stone! The Macro Consolidated Interval Display uses the new Array structure and security to...
Example of requesting Earnings, Splits, Dividends using pine-script. That way is inner representation of data in TradingView, so it can be changed any time. It's just an example of requesting of the data. Description of the series. Earnings: time: report date (unix time stamp) open: estimate value low: reported value close: actual value high: fiscal...