Financial Fundamentals Labels for ThinkorSwim

Can you please add code so that I have the option of which fundamental labels I'd like to see on my chart? On some charts I just want to see PE to minimize the labels. On others I want to see the group of fundamentals. Thanks
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Can you please add code so that I have the option of which fundamental labels I'd like to see on my chart? On some charts I just want to see PE to minimize the labels. On others I want to see the group of fundamentals. Thanks

The ability to choose which labels to display is not available
Below find a standalone PE Label.
Ruby:
DefineGlobalColor("Pre_Cyan", CreateColor(50, 200, 255)) ;
DefineGlobalColor("LabelGreen", CreateColor(0, 165, 0)) ;
DefineGlobalColor("GrayGreen",  CreateColor(155, 167, 76)) ;
DefineGlobalColor("LitePink", CreateColor (220, 180, 180)) ;
DefineGlobalColor("neutral",  color.light_gray) ;

def fp = FiscalPeriod.YEAR;
def EPS = EarningsPerShareTTM(fiscalPeriod = fp);
def PE = round(close / EPS,1);
AddLabel(PE, "P/E ratio = " + Round(PE, 2),
                      if PE < 0 then GlobalColor("LitePink") else
                      if PE < 20 then GlobalColor("LabelGreen") else
                      if PE < 40 then GlobalColor("GrayGreen") else GlobalColor("Pre_Cyan"));
 
how much Score for the good stock ? thank you
Only you can decide what and which financial data is important for your analysis.
For my own analysis, the PE ratio against the industry average is important.
https://usethinkscript.com/threads/complimentary-tools-to-the-thinkorswim-app.17705/#:~:text=do your research, $-,NVDA,-leads its market

But even that is subjective. And not black and white.
Look at NVDIA, overvalued by all textbook standards, but it continues to generate more of my profit than any other stock.

You need to be able to take multiple factors into account, when doing financial analysis.
 
Last edited:
The ability to choose which labels to display is not available
Below find a standalone PE Label.
Ruby:
DefineGlobalColor("Pre_Cyan", CreateColor(50, 200, 255)) ;
DefineGlobalColor("LabelGreen", CreateColor(0, 165, 0)) ;
DefineGlobalColor("GrayGreen",  CreateColor(155, 167, 76)) ;
DefineGlobalColor("LitePink", CreateColor (220, 180, 180)) ;
DefineGlobalColor("neutral",  color.light_gray) ;

def fp = FiscalPeriod.YEAR;
def EPS = EarningsPerShareTTM(fiscalPeriod = fp);
def PE = round(close / EPS,1);
AddLabel(PE, "P/E ratio = " + Round(PE, 2),
                      if PE < 0 then GlobalColor("LitePink") else
                      if PE < 20 then GlobalColor("LabelGreen") else
                      if PE < 40 then GlobalColor("GrayGreen") else GlobalColor("Pre_Cyan"));
Can you please write the code so that I can see price/sales in my watchlist? Thinkorswim gives Sales per Share, and I added def Price_To_Sales = Close/Sales_Per_Share to my upper study, which gives a good ballpark figure. I'd really like to be able to see this number in my watchlist to get a sense of stocks that may be too expensive.
 
Can you please write the code so that I can see price/sales in my watchlist? Thinkorswim gives Sales per Share, and I added def Price_To_Sales = Close/Sales_Per_Share to my upper study, which gives a good ballpark figure. I'd really like to be able to see this number in my watchlist to get a sense of stocks that may be too expensive.
Unfortunately no, your request is not supported by the ToS app
read more:
https://usethinkscript.com/threads/...labels-for-thinkorswim.5308/page-4#post-87400
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
437 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top