EPS & SalesHi everyone,
I just adapted a little utility script to visualise EPS % increase (quarters vs Year -1) and sales.
I used the code from @ARUN_SAXENA and modified it to fix what I saw as issues.
(Using base 3M instead of 1M +
request.earnings(syminfo.tickerid, earnings.actual, ignore_invalid_symbol=true)
instead of
request.financial(syminfo.tickerid, "EARNINGS_PER_SHARE", "FQ")
Data will differ from MarketSmith because they use sometimes actual EPS sometimes standard, but think we can at least trust what we see in term of %
The tool is far from being perfect !
Resultados
[dj]visible financial report
visible financial report
visible financial report (year-on-year) is a indicator for us market only, other market's data are wrong.
please check the "E" symbol's if the tradingview's data accurate.
this script using both request.financial and request.earnings. EARNINGS_ESTIMATE / earnings.estimate / TOTAL_REVENUE / TOTAL_OPER_EXPENSE
i share this script's for the purpose of tradingview staff will improve their financial data accuracy.
some stocks data are wrong, or missing such as NYSE:KR
i got many recommendations for improvemenet on tradingview ....but....
Nabz-BBMACD-2022-V1.1I have tried to make script which triggers indicators on combination of different feedback including Bollinger bands and MACD. Also used some of my logic by trial and error, It gave 744%+ profit on back-testing on coin RUNE/USDT from Jan 2021. It is my first script, I am happy to help the community. Please share your feedback.
EPS DashboardThis script creates a little table in an indicator below your chart that allows you to view the earnings per share over the last year as well as calculates the year over year earnings per share growth. According to IBD, strong EPS growth is a great indicator of a potential super-performer stock so hopefully this will make it easier to keep an eye on this metric. Note it does not work on things without financial data like crypto, indexes, and ETFs.
Swing School MetricsI wrote this script to give me a few metrics I follow and to quickly identify if they have the strength and momentum I am looking for. The metrics are used by StockBee and Qullamaggie to distinguish fast moving stocks gaining momentum.
The measures are:
Average Daily Range similar to TradingView's Monthly Volatility is above 5%
Intermediate moving average is above long term or short term is over intermediate term
Trend Intensity above 1.05 calculated by (SMA7/SMA65)
Recent ER Beat
Recent Sales Beat
I also list the market cap, average daily dollar volume, and float to give an idea of liquidity and tradability.
Earnings Price Move Cheat Sheet [KT]Hello!
This script looks to distinguish replicable sequences and correlations between earnings releases and price. The indicator calculates the average 1-session to 20-session performance of an asset prior to an earnings release, and the 1-session to 20-session performance of an asset subsequent an earnings release.
You can select the number of sessions the script calculates for asset performance.
In the image above the script calculates the average 1-session performance following an earnings surprise, earnings miss, and in general. 20 sessions is the maximum value!
Also measured is the average performance of an asset before and after earnings, in addition to the average performance following an earnings surprise "green earnings" and the average performance following an earnings miss "red earnings".
I included VaR and CVaR calculations - using the historical method - in the script. For those of you unfamiliar with the metrics, both look to quantify the risk of financial loss for a portfolio, or even a particular position.
The script also calculates the 1st - 5th percentile for earnings losses. A more comprehensive explanation of the metrics is stored in tooltips in the user input tab.
The script also calculates the highest high and lowest low following an earnings release, up to 20 sessions, and calculates the difference between the two.
Keep in mind that a company might not have a significant number of earnings misses, or may have only traded publicly for a short while. If true, the resulting earnings/price calculations *will* be misleading - there is an insufficient sample size; no correlations are ascertainable.
I will be working on this script more, so let me know if there is anything you would like included!
ds Revenue, Margins, Earnings TrendsPURPOSE: Looks for trends in Revenue, Margins, Earnings (RME) and provides a quick indication of where to focus your attention. Developed for educational purposes for my Investing Program Students at Everett Community College, Everett, WA.
WHAT IT DOES:
Based on the principle that fundamental trends support technical price trends this indicator intends to help swing and position trading students evaluate the income statement by exposing recent trends in the revenue, margins, and earnings looking at eight quarters of data. It requires three quarters to determine a trend therefore there is a heavy focus on the last three quarters of data. Tools and indicators should be used to "tell something useful" in this case it is specifically is revenue, margins, and earnings expanding, contracting, or flat? Is this movement accelerating or decelerating? Lastly some logic is used to interpret at glance whether this stock warrants a closer look into the fundamentals and technicals of this particular company.
HOW TO:
This is a brief description on how to use this tool
1. TOP ROW: This shows the symbol and then provides a summation indicator (Green Checkmark, Yellow caution triangle, Red X) for each section (Revenue, Margins, Earnings). At a glance shows strength/weakness/concerns.
2. TABLE: You will see 8 quarters of data assuming it is available broken into sections for Revenue, Margins, and Earnings.
3. COLUMNS: The text color red does not denote a negative number and the text color green does not denote a positive number. Rather in the column of data where it is displayed, the green text helps visually show a bullish trend when each value is greater than the prior value and the red text helps visually show a bearish trend when each value is less than the prior value. Yellow background in columns highlights values which should not normally be negative numbers.
4. 3Q TREND ROW: This row analyzes the last three quarters of data in the column to determine if the trend is rising, falling, or flat.
5. 3Q ROCK ROW: This row analyzes the last three quarters of data to determine if the trend is accelerating up, accelerating down, or momentum (MOM) is sideways.
6. BOTTOM ROW INDICATORS: Based on whether the numbers are negative or positive and the trend, This row shows one of the following results:
6a. Green Checkmark is considered acceptable performance.
6b. Yellow Caution Triangle indicates a closer inspection of this columns data is warranted.
6c. Orange Diamond is more serious than the Caution but not as bad as a Red Flag. Extra caution is required here.
6d. Red Flag indicates a warning that undesirable performance characteristics are associated with the data in this column.
Financial GrowthThis indicator will acquire the financial data provided by Tradview.
the data is compare between Quarter, Annual and TTM in term of percent of growth.
YoY, QoQ and CAGR is also available by this script (The minimum is 4).
in addition, ploting of data, label and table also available (you can check the mark to toggle on / off).
Data : Revenue, Net Income, EBITDA, EPS, DVPS, Free Cash Flow and Forward PE .
How to use it.
just select the financial data, period and size of data to compare.
you can check the box to toggle the plotting line, label and table.
Enjoy.
HighLow Box Highlight between EarningsHighLow Box Highlight between Earnings
This is an indicator to highlight area between two earning periods and their highest and lowest points.
It also alternates the highlight color in each subsequent block.
Tested to work in 1D charts and 1M charts
Just drop a message, if you want this further developed with more features.
Note: This was requested by user Meatpye on a forum.
Silen's Financials Fair ValueIt is finally here! 🔥 My 3rd and most important script in my Financial series! 🚀
Ever imagined to see all fundamentals (or many that is) combined into one indicator that is right on your chart, showing you how your favorite stock is trading compared to its fundamentals?
Well, here is your answer! 📡
____________________________________________________________________________________________
This script shows you my own personal interpretation of fair value, based solely on the financial fundamentals of a company compared to market averages.
I don't believe that certain sectors of the market should be priced higher than others. If you look at historical data you'll see that favored sectors always rotate - placing insanely high P/E multiples on some sectors. Once they are "out" and people rotate away from those sectors you're left with nothing but the naked fundamentals that matter. So, you'll see many companies, that have been doing well on paper, see their share price decline by 70-90% for no other reasons than people favoring other sectors.
That's why it's even more important to focus on fair value that is solely fundamentals-based. Know when your stock gets to expensive. 🤯
____________________________________________________________________________________________
To give you some examples:
- Most Megacaps trade at historically high valuations, several times my fair value. Those include AAPL, MSFT, NVDA, AMZN, TSLA, JPM, TSM, V and so on. And no, in the past they partially traded below (my) fair value.
- Most Cybersecurity / Cloud companies are trading at truly massive multiples of my fair value. (NET, DDOG, etc)
- Many Smallcaps & Midcaps are trading several multiples (OESX, CODX, QFIN) below my fair value. And no, in the past they partially traded above (my) fair value.
Ok, so much about the market. You ultimately decide how much you want to orientate on fair value. 👨🏫
____________________________________________________________________________________________
This fair value indicator (purple line):
Takes the P/E rate of the company and compares it to the market (50% weight)
Takes the P/S rate of the company and compares it to the market (50% weight)
Then adds boni and mali f or debt/equity rates and debt and equity itself
Also looks at past growth and calculates future P/E and P/S rates which adds , in some cases, value to the fair value (green line)
Also compares how historical valuations have behaved compared to fair value and simulates a fair value guideline (dark blue line)
____________________________________________________________________________________________
This script is part 3️⃣ of a series of indicators that work well together.
Script 1️⃣ of the series is:
P/E & P/S Rates
Script 2️⃣ of the series is:
Debt & Equity
If you use all 3 scripts together it will look like this, giving you truly deep and simple information about the fundamentals of a company:
Example 1 - AMD
Example 2 - HZO
Example 3 - APPS
I hope this script makes your investing and stock picks a lot easier! 🔆💹🕗
Disclaimer: Fair value is always subjective. There are many different approaches to fair value. This one is only my personal interpretation.
Disclaimer 2: This script works only for the Day-Timeframe.
Disclaimer 3: This script uses 17,5 P/E and 3,0 P/S as market averages. The actual average keeps changing but, historically speaking, these seemed to be good numbers.
Feel free to share your thoughts and feedback! 🙃
[TG] Complete Financial DataHISTORY & CREDITS
Complete Financial Data is basic, yet very effective tool, that will show the most important information from the company's latest financial statements at a glance.
WHAT IT DOES
The table is designed to show comprehensive financial data about the selected ticker.
Revenue - often referred to as sales or the top line, is the money received from normal business operations.
Gross profit , also called gross income, is calculated by subtracting the cost of goods sold from revenue.
Net income , also called net earnings, is calculated as sales minus cost of goods sold, selling, general and administrative expenses, operating expenses, depreciation, interest, taxes, and other expenses.
Earnings per share (EPS) is calculated as a company's profit divided by the outstanding shares of its common stock. The resulting number serves as an indicator of a company's profitability.
Total debt includes long-term liabilities, such as mortgages and other loans that do not mature for several years, as well as short-term obligations, including loan payments and accounts payable balances.
The debt-to-revenue ratio is a financial measure that compares a company's monthly debt payment to its monthly gross income.
The term cash flow refers to the net amount of cash and cash equivalents being transferred in and out of a company. Cash received represents inflows, while money spent represents outflows.
An expense is the cost of operations that a company incurs to generate revenue. As the popular saying goes, “it costs money to make money.”
Return on equity (ROE) is a measure of financial performance calculated by dividing net income by shareholders' equity.
HOW TO USE IT
Even if you are entirely a technical analyst, it's always a good practice to take a look at the company's fundamentals, in order to understand more about the heath of the business. Look for companies that beat expectations and show positive growth numbers.
FX Profit CalculatorWith this indicator, you will be able to see how much you earn in forex in dollar terms.
It asks you 3 things when adding the indicator.
TP point
SL point
Position Entry point
If you have selected the TP point above, the entry zone below it, and the SL point below it, the indicator will automatically understand that there is a BUY order and will make the calculations accordingly.
The same is true for the opposite.
When you use the indicator in any parity, you will have problems switching to other parities.
So either use it only in one parity, or update your targets from the indicator settings at every parity change.
You will get the same error if:
Your trading entry point should be between your TP and SL points. If you do not set it this way, the indicator will warn that please fix it.
If you are in the trade, tick the settings and show the dollar-based profit of your position according to the instant closing price.
The percentage variable works like this:
When you adjust for one parity, shifts occur in the chart when you switch to the other parity. When switching to non-circulating graphics at the same prices, the user is prompted to re-enter so that the graphic does not deteriorate.
BONUS : You can move these lines up and down with your mouse on the graphic :)
FlōatFloat by AlphanumetriX is an invaluable tool to aid and abet the trader and investor.
Float can...
Assist in managing positions
Assist in identifying new positions
Assist in your accounting practices
Assist with risk management
What is Float?
The value of Float is in its simplicity. After becoming accustomed to it, you will wonder how you ever traded without it.
Float is not a ‘Buy and Sell’ indicator, it can be considered a calculator/risk management tool and position manager.
Float has advanced mathematics built into its code that allows you to set complex parameters that will be clearly displayed over your TradingVeiw charts.
View your P/L in percentage % terms after leverage and in Fiat $ terms after Leverage.
Box
After entering all commands in the settings, you are clearly able to view all pertinent information of your trade in real-time.
Float will apply and recalculate any amendments that you enter instantaneously.
BEFORE entering a trade, use Float to…
Identify where your liquidation point would be, relative to the amount of leverage applied to the trade.
Identify where a potential Stop Loss or Take Profit point could be placed.
Assess the Risk/Reward of the trade.
Run mock trades to gauge your performance prior to live trading.
Calculate the Capital and Quantity of assets post leverage.
Some examples below
Silen's Financials Debt & EquityThis Script shows Debt (red) & Equity (green), as well as Total Equity and Net Income in a preformatted way for a symbol. Total revenue's and Net income's visibility is turned off by default and can be activated in the indicator settings. 🍳
Disclaimer: Any content in this script can be completely replicated by using Tradingview's Build-In Financial Indicators: Total debt, Total equity, Net income and Total revenue. It requires a lot of formatting work to get them to this state though. 👌
However, you are going to need 4 Financial Indicators clogging 🚽 your screen. With this indicator you have them preformatted as an overlay on your chart so you know exactly what's going on with your ticker's financials. 💰
I recommend only using Debt & Equity OR Total Equity & Net Income together. Although displaying all 4 indicators together is possible, it will make your chart quite messy.
This is how the indicator looks like for Total equity and Net Income:
This Script (2) is part of a Series that will contain 3 scripts to help you easily evaluate if a stock is trading in harmony with its fundamentals or not. ☯
Script 1 already exists:
Script 3 will be a Fair Value Indicator. 📣
Script 1 and 2 combined will look like this: 🌄
If you have any questions, let me know! 🙂
Estimate, Earnings, Surprise EarningsThis plot helps you to show estimate earnings , reported earnings , and surprise earnings of a company inside a chart.
Estimate earnings is the projection of earnings of a company by the analysts for a given period of time.
Earnings is a company's reported profits (or sometimes a loss if going negative) in a given quarter or fiscal year.
Surprise earnings is an earning (or sometimes a loss if going negative) which is above (or even below) the estimated or reported earnings.
Estimate earning is plotted by white lines
Reported Earnings is plotted by columns, where positive number is blue and negative number is purple.
Surprise Earnings is plotted by columns, where positive number is green and negative number is red.
You surely will be able to tweak and customize all the colors above with color you find comfortable.
Since earnings are reported every quarter of the year, this plot will gives a good view when you put it inside a 3 Months timeframe.
Hope this helpful.
PE BandPE Band is computed from the historical patterns of the Price Earnings Ratio (PE Ratio) for each individual stock. The advantage of the PE Band is its consideration for both the fundamental factor (i.e. profitability) and the historical trading pattern of a stock. But if you need to adjust to your favorite PE Band, you can still enter the PE figures in settings.
The use of PE Band is especially meaningful for listed companies, which have profitable track records. For a stock with stable earnings, its price tends to move within the PE Band. In other words, the stock price in one extreme tends move to the other extreme within the Band.
Profit Percentage TrackerThis script provides a quick and easy way to visualize profits in a chart, based on the given entry date and price.
Optionally, alerts can be sent when profits cross up the given " profit unit ".
In short:
Tracks how much profit one could take based on the input " entry date " and the input " entry price "
These inputs are interactive (www.tradingview.com)
Displays the result in a label on top of the last candle
(Optional) Sends alerts based on the given " profit unit ", that is: if ' 0.5 ' is given, then an alert is triggered every time the profit is raised by that number
(Be careful with low values, as TradingView could stop an alert if it triggers too much.)
For alerts to be displayed, a " script alert " must be created right after the script was added to the chart:
- www.tradingview.com
(Choose ' Profits ' as condition and ' Any alert() function call ')
Good to know: if you check " Notify on app ", alerts can be delivered directly to your phone:
i.imgur.com
Prerequirements :
The chart's timezone has to be set to " Exchange " (this is required in order to support the alert's logic):
- kodify.net
Dividend Yield & Dividend Growth Rate (Most Accurate)In this indicator it shows the dividend yield in green line and dividend growth rate in blue area.
Currently our dividend yield calculation is the most accurate in TradingView.
Dividend growth rate is the annualized percentage growth rate experienced by dividends of a given stock over 5 years period of time.
Many established companies have sought to regularly increase dividends paid to investors.
Gearing RatioEach company uses a different method to calculate their gearing ratio in financial quarterly report or annual report.
The best way to compare each other is to use the same calculation.
In this version we have 2 calculation method, you change this from the setting.
1. Net gearing ratio (default setting)
2. Gearing ratio
Silen's Financials P/E & P/S[x10] RatesThis script aims to give a better visualization of P/E and P/S rates compared to the build-in "Price to earnings ratio" and "Price to sales ratio" in the "Financials" Section of Tradingview. For those of you don't know, those rates compare earnings and sales with your share price in regard to market cap and outstanding shares.
The scripts differs to the build-in versions in the following points:
- P/E & P/S rates are combined in one indicator
- Negative P/E rates are displayed better: Positive P/E rates are green, Negative P/E rates are red
- For visualization reasons, the indicator will cap positive and negative P/E rates at 100. (P/E rates above those levels are not siginificant either way)
- P/E & P/S rate are directly displayed on the graph
- Both P/E and P/S rates are combined on one left scale
- For visualization reasons, P/S rate is showing 10x the actual P/S rate. Using the standard P/S rate would result in hard-to-recognize changes of the P/S line.
To sum up:
- Positive P/E rates are green
- Negative P/E rate are red
- P/S rates are multiplied by 1 0
- P/S rates are yellow
How to use P/E and P/S rates:
The US market average for P/E rates is roughly ~18 in the US right now (10/2022) while the market average for P/S rates is roughly ~3 in the US. Note that average P/E and P/S can change when the market situation changes.
P/E and P/S rates help you value your stock better and help you decide whether your stock is undervalued or overvalued compared to the market or the industry when it comes to earnings and sales. If you compare to Market averages, a positive P/E of less than 18 means that your stock is likely unvervalued. A P/S rate below 3 (30 in the chart!) means that your stock is likely undervalued as well. If your stock shows rates above those, it is likely that it is overvalued compared to market averages.
Please note that P/E and P/S rates are not the only factors that make up a stock valuation. Valuations are complex and subjective.
A positive P/E rate also means that your company is profitable.
A Negative P/E rate means that your company is unprofitable.
If you have any questions or feedback let me know!
Disclaimer: This script doesn't show the actual P/S rate. It shows the P/S rate multiplied by 10, due to visualization issues. Positive P/E Rates above 100 are displayed as 100. Positive P/E rates are green, Negative P/E rates are red and multiplied by -1.
Disclaimer2: @Tradingview_Team: I couldn't find the right category for this script but categories are mandatory. I assume that "Breadth Indicators" is still the closest there is. Please let me know if you want me to change the category.
Disclaimer3: For visualization, the opacity of the displayed image is 70%. The standard opacity for the P/E and P/S lines is 50% and can be changed in the indicator settings. I found this setting more useful when working together with other indicators on the same chart
Disclaimer4: Earnings Per Share, Total Revenue used are TTM. Total Shares Outstanding used are FQ.
Gain/StopLoss Percentage LinesGain/StopLoss Percentage Lines is a quick way to enter your Entry Price in to a stock and track the percentage of gain or loss at the 5% and 10% markers.
Click on the gear settings icon and type in your entry price. The percentage is defaulted to 5%. You can change this to a different percentage at this screen. Note that whatever number you enter will be doubled for the upper and lower lines. For instance, if you want to set your first red line stop loss and green gain line at 2.5%, your two other upper and lower green and red lines will be at 5%.
However, this will not change the text on the tab marker.
To change the tab text, go in to the Pine Editor and change the green text that says "5% Gain" and "5% Loss" to your new percentages.
Straddle / Ironfly AdjustmentStraddle / Iron fly Adjustment is an indicator to assist (especially) Nifty / Bank Nifty Option Writers / Sellers (other instrument writers also) to draw their straddle / iron fly payoff diagram in the chart, mainly max profit and breakeven points and do adjustment based on the market movement.
Basic Idea: (My Conclusion for making this Indicator)
1) For Straddle / Iron fly writers need to adjust their position based on the market movement.
2) Here I give two adjustment ideas which one is my favorite method and another one is one of my friends is using.
a) Price Vs Time based Adjustment
I usually wait until price cross the price vs time line to do any adjustment. Generally, price vs time-based adjustment gives you more point to enter any adjustment in initial day/time when you created the straddle / iron fly. But one later it will reduce the range it become narrow.
b) Percentage based Adjustment
This method using by one of my friends which is based percentage between straddle / iron fly line and upper / lower breakeven points. Generally, he using 50 percentage. In this indicator we do have option to change the percentage between 25 to 100.
User must give inputs to see the straddle / iron fly diagram (Max Profit, Breakeven points, Adjustment, Percentage based adjust line and so)
This is not an intraday indicator and also its not suggesting you to take any buy/sell or straddle/iron fly positions. Its just giving an opportunity to draw a payoff diagram of for max profit and breakeven zone. And also helps to identify the adjustment based given scenario.
Happy Trading 😊
Saravanan Ragavan