The original post below on creating sections within a TradingView watchlist was based on what I thought was an undocumented feature, something I found by accident when entering a symbol name incorrectly in a file to be imported.
I’ve since learned that there is actually an option within TradingView: How to add a section to the watchlist. Thanks @calib3r1 for the heads up.
If you create a list within TradingView and add sections as outlined in the link, upon exporting the list you’ll find that the separator is designated using “###NameHere”
To duplicate the list shown in the original post below, using the # separator, create and import a text file with the following contents:
###Coin BTCUSD ETHUSD LTCUSD OMGUSD SKLUSD ###Stock CLSK GBTC MARA MOGO MSTR RIOT SI ###ETF BLCN BLOK LEGR
Here’s how imported list will look:
Summary of Options for Creating Sections within Watchlists
- Create sections within TradingView
- Create a text file and use the TradingView recognized “###NameHere” for section headers
- Create a text file and use custom separator text as outlined in my original post below
Original Post - Dividing Watchlist into Sections
Rather than keep many watchlists in TradingView, I like to consolidate entries that are similar. For example, I keep a watchlist titled “Crypto” with coins, various related equites and ETFs.
Here’s how my crypto watchlist currently looks:
To create a watchlist with dividers for the sections, you’ll need to build and save your list in a text file and import the same into TradingView. The text that follows was used to create the list as shown above:
—Coin— BTCUSD ETHUSD LTCUSD OMGUSD SKLUSD —Stock— CLSK GBTC MARA MOGO MSTR RIOT SI —ETF— BLCN BLOK LEGR
TradingView doesn’t recognize the section titles so it shows them in red and all caps. Change or remove the underline characters as you like.
Two Caveats
If you sort the list inside TradingView the nice formatting will be lost. You’ll need to either re-import the list or manually rearrange by dragging/dropping.
Given the unrecognized entries are conveniently left in place once imported into TradingView, it’s worth mentioning, should TradingView decide to change how unrecognized entries are managed, the day may come this trick no longer works.