ScriptThinker
New member
I want to add a label to a chart that automatically displays the company of the selected stock. Or more generally, is there a function that returns the company name for a given symbol?
you could make label and manually add all the companies.Thanks @rad14733!
Trying to make my daily routine more efficient and less prone to error. I click through my watchlists quickly before the market opens. If I could display the company name on the chart it would be one less thing to slow me down and stumble over. For example, is PLG the symbol for the EV-related stock Plug Power, or is it Platinum Group Metals? I am watching both!
AddLabel(GetUnderlyingSymbol()=="PLUG","Plug Power - earnings");
AddLabel(GetUnderlyingSymbol()=="PLG","Platinum Metal Group - impvol");
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
![]() |
Add text label to horizontal lines? | Questions | 32 | |
B | Cannot add label on index or currency charts | Questions | 0 | |
K | Add a Study Label intersecting Symbol with a List | Questions | 2 | |
M | Add Average Percentage True Range label to chart? | Questions | 3 | |
E | How to add buy and hold performance label | Questions | 0 |