TradingView
LonesomeTheBlue
5 feb 2023 12:31

Financials - Comparing Companies 

Meta Platforms, Inc.NASDAQ

Beskrivning

Hello All

For a while I have been working on this indicator to compare financials of the companies and sort them accordingly. Finally I completed and published it. I preferred using new object type feature in Pine language™ and I hope it might be an example and helpful for the developers.

First of all, as we have limitation on security calls, the indicator can get and compare financials for 5 companies only. also Chart time frame must be 1Day or higher! (I recommend 1Day time frame). if not then the indicator stops and shows the error message: "Please set the time frame 1Day or higher". More important than others: You should choose the companies from the same sector! Compare apples to apples :)

The Financials in the indicator:
Earnings Per Share
Price to Earnings Ratio
Price to Sales Ratio
Price to Book Ratio
Profit Margin
Dept to Equity
Current Ratio
Market Capitalization


Also more information shown for each stocks:
Closing Price, sets the color accordingly
2 Simple/Exponential moving average, you can set the length, also it checks if it is rising/falling and sets the color accordingly
Volume info
Average volume (20 days), you can set the period
Currency for each security


Lets see some features in it:

it sorts the companies according to the financials:


If you move the mouse onto any header then it shows explanation about the financial:


You can change location and text size:


You can set the type of Moving averages as SMA or EMA and you can also set the length for both. Headers for both are changed automatically by MA type and length


Colors for Closing price and MA cells are set automatically:


For new Objects in Pine language click here

P.S. You can use this indicator while analyzing the financials of the companies in same sector/industry. So please don't ask for the alerts :)


Enjoy!

Kommentarer
PineCoders
LonesomeTheBlue
@PineCoders, Thank you!
deathshadow
üstat teşekkürler eline emeğine yüreğine sağlık
LonesomeTheBlue
@deathshadow, You are welcome!
PineCoders
This publication is now featured in our Editors' Picks: tradingview.com/scripts/editors-picks/ .
In the name of all TradingViewers, thank you for your valuable contribution to the community, and congrats!
LonesomeTheBlue
@PineCoders, Thanks a lot!
friendlyEagle203
A Masterpiece as always... and very well explained!! Love it!!
LonesomeTheBlue
@friendlyEagle203, Thank you!
lbhatia19
Awesome work ! Would be greater if I can change the table colors and add 10-12 stocks. Cheers
LonesomeTheBlue
@lbhatia19, Thank you! because of the limitation we can check only 5 stocks. Cheers!
Mer