Kitti-Playbook request.earnings R0.0Date: Feb 5 2023
Objective :
Display Earnings per share
Calculation :
Get Earning value by use Function "request.earnings "
Display :
Plot Earnings Data
Earnings History Tab
Einnahmen
CONTRACT Rolling APYThese are the annualized returns for quarters' futures contract.
The returns are generated from buying spot and shorting futures contracts, and sometimes the rolling yields reflect the market sentiment.
Please select spot symbol, it will display rolling APY, which supports all quarterly contract coins, and supports exchanges BINANCE, BYBIT, KRAKEN.
It only needs to be updated once a year, and the unsupported coins and quarters delisted will automatically not be displayed.
----
季度期貨合約的年化收益,收益來自購買現貨和做空期貨合約,有時可反映市場情緒。
symbol選擇現貨(有季度合約的),就會顯示Rolling APY,支援所有季度合約的幣,
支援交易所 BINANCE, BYBIT, KRAKEN.
一年只要更新一次,不支援的幣跟下架的季度會自動無法顯示。
Valuation RainbowValuation Rainbow
© danny_peanuts
Stock value based on Book Value, Earnings, Dividends and Money Multiplier
SV = (BVPS + EPS + DPS) * MM
BVPS = Book Value Per Share
EPS = Earnings Per Share
DPS = Dividends Per Share
MM = Money Multiplier - Integer Number from 1,2,3, ... ,7
There are multiple ways of valuing the stock. Book value is traditionally used as the basic valuation since it's calculate the total asset value minus the liabilities of any company. There are valuation based on multiplication of book value, there are valuation based on multiplication of earnings, and valuation based on multiplication of dividends. Here I'm proposing valuation based on all of these combined. So this indicator is measuring stock value based on multiplication of book value plus earning plus dividend per share. Since the money supply could have an multiplication effect so does the stock value could have a multiplication effect. Also notes that some blue chips stock tends to value higher than startup stock due to money is not equally distributed. So for simplicity I will use simple integer number to represent this multiplication effect as rainbow color plots, thus it can be applied to any stock at any given countries. The higher the stock price on valuation bands the most expensive it is and the lower the price on valuation bands the cheaper it is.
Markets vs Inflation [x7.am]Markets vs Inflation(CPI US) also known as Inflation-Adjusted Return.
The inflation-adjusted return is the measure of return that takes into account the time period's inflation rate. The purpose of the inflation-adjusted return metric is to reveal the return on an investment after removing the effects of inflation.
Removing the effects of inflation from the return of an investment allows the investor to see the true earning potential of the security without external economic forces. The inflation-adjusted return is also known as the real rate of return or required rate of return adjusted for inflation. It is a more accurate measure of investment performance than the nominal rate of return.
The inflation-adjusted return accounts for the effect of inflation on an investment's performance over time.
Also known as the real return, the inflation-adjusted return provides a more realistic comparison of an investment's performance.
Inflation will lower the size of a positive return and increase the magnitude of a loss.
Assume you have saved $10,000 to buy a car but decide to invest the money for a year before buying to ensure that you have a small cash cushion left over after getting the car. Earning 5% interest, you have $10,500 after 12 months. However, because prices increased by 3% during the same period due to inflation, the same car now costs $10,300.
Consequently, the amount of money that remains after you buy the car—which represents your increase in purchasing power—is $200, or 2% of your initial investment. This is your real rate of return, as it represents the amount that you gained after accounting for the effects of inflation.
Markets vs Inflation indicators use in 1 months interval
SP:SPX , INDEX:BTCUSD , TVC:GOLD , TVC:DJI
(CF|DB) Caruso Financial DashboardThe Caruso Financial Dashboard brings a rich amount of company financial data straight to your TradingView chart along with additional vital stock-related information. At a glance, you can see EPS (Diluted), Sales, growth rates, and EPS/Sales surprises either quarter by quarter on the daily chart or for Fiscal Years on the weekly chart.
On the daily chart, the financial table also has helpful highlights to visually display if a quarter’s EPS or Sales are higher than the same quarter a year ago. Also, EPS and Sales data has a helpful green shading when a new record high number has been achieved for the metric. Additional stock-based metrics include the stock’s Up/Down volume ratio, Beta, Average Daily Volume in terms of shares traded or dollar value traded, the percentage distance to a moving average of choice, as well as the stock’s 52-week high and low.
The weekly chart shows financial data for fiscal years. It also has additional stock-based metrics from those available on the daily chart. These include; Market Cap, Shares in Float and the Float as a percentage of all shares outstanding, the distance from the stock’s 52-week high, the distance to a moving average of choice (10 sma by default), the P/E and P/S ratios.
To further help an investor understand a company’s growth rates, the CF|DB allows a user to hide all or part of the table and plot EPS, EPS TTM (Trailing Twelve Months), and Sales TTM lines on the chart. This can be applied to either the daily or weekly chart.
The CF|DB provides financial and market data for international markets (US, EU, Canada, Australia, Hong Kong, Japan, and more), making its applicability global.
Features On Daily Chart
· Quarterly EPS
· Quarterly EPS growth rate YoY
· Quarterly EPS Surprise vs consensus estimate
· Quarterly Sales
· Quarterly Sales growth rate YoY
· Quarterly Sales Surprise vs consensus estimate
· Green/Red dot highlighting YoY growth or decline
· EPS/Sales green highlight for 8 quarter high or record high numbers
· Up/Down Volume Ratio
· Beta
· Average Daily Volume (shares trade). Period for the average can be configured
· Average Daily Volume (dollar value traded). Period for the average can be configured
· Distance to a moving average. The average can be configured. 21 ema by default
· 52-week high and low
· New 52-week highs and lows are highlighted by a red or green box shading
· Ability to plot EPS, EPS TTM, Sales lines
· Ability to hide part or all of the financial data table
Features On Weekly Chart
· FY EPS
· FY EPS growth rate YoY
· FY EPS Surprise vs consensus estimate
· FY Sales
· FY Sales growth rate YoY
· FY Sales Surprise vs consensus estimate
· EPS/Sales green highlight for 8-year high or record high numbers
· Market Cap
· Shares in float
· Share in float as a percentage of all shares outstanding
· Distance to new 52-week highs
· Distance to a moving average. The average can be configured. 10 sma by default
· Ability to plot EPS, EPS TTM, Sales lines
· Ability to hide part or all of the financial data table
PE Band V2PE Band is a very practical stock selection technique for investors, which can be used to judge whether the company's stock price is currently overvalued or undervalued.
The PE ratio center line of the stock must be set every time the stock is changed because of the program limitation of Tradingview.
Usually we use the 5-year median to judge whether the company's stock price has a discount .
Not all stocks are suitable for using PE Band, especially cyclical stocks.
You can also use ROE to determine whether the company is a cyclical stock.
Enterprise Value on Earnings / FCF / FFO Band Enterprise Value per Diluted Share plotted as black line.
Bands start at 5x and stops at 30x, each represents a 5x increment.
Band Options (per Diluted Share, Fiscal Year):
①Free Cash Flow
②Operating Income
③Adjusted Funds from Operations
④Core Earnings
where:
AFfO = FFO - Unusual Income/Expenses + Tax Distortion (dafault 25% tax rate)
Core Earnings = Net Income - Unusual Income/Expenses + Tax Distortion (default 25% tax rate)
These two adjustments are coarse and watered-down, so take them with a grain of salt.
For professional assessments of Core Earnings versus GAAP Earnings you may go to David Trainer at Great Speculations(costs money). I am unaffiliated with these entities.
Tips:
①③ are unapplicable to financials.
③ may work for REIT-like companies whose depreciation is mostly overstated(e.g. hydro-elec utility companies whose dams typically don't wear out in ten years; companies with assets that APPRECIATE in reality but they D&A them anyway).
Probably none works for cyclicals, especially extreme boom-bust cyclicals such as oil, aluminum & shipping etc.
Beware unnaturally low (dividend_payout+buyback)/net_income ratio as some majority shareholders may funnel money to themselves/cronies at the expense of small shareholders.
Disclaimer: Use at your own discretion. No guarantees for any accuracy or usefulness. If you decide to use it, I take no responsibility whatsoever for any consequences. Does not constitute financial advice. Past performance is not Indicative of future results.
PB BandPB Band is a very practical stock selection technique for investors, which can be used to judge whether the company's stock price is currently overvalued or undervalued.
The PB ratio center line of the stock must be set every time the stock is changed because of the program limitation of Tradingview.
Usually we use the 5-year median to judge whether the company's stock price has a discount.
Not all stocks are suitable for using PB Band, especially cyclical stocks.
You can also use ROE to determine whether the company is a cyclical stock.
Rule Of 20 - Fair Value Estimation by Inflation & Earnings (TG)The Rule Of 20 is a heuristic calculation to find the fair value of an asset or market given its earnings and current inflation.
Its calculation is straightforward: the fair multiple of the price or price-to-earnings ratio of a stock should be 20 minus the rate of inflation.
In math terms: fair_price-to-earnings_ratio = (20 - inflation) ; fair_value = current_price * fair_price-to-earnings_ratio / real_price-to-earnings_ratio
For example, if a stock or index was trading on 11 times earnings and inflation was 2%, then the theory would be that the fair price-to-earnings ratio would be 20-2 = 18, which is much higher than the real price-to-earnings ratio of 11, and hence the asset would be undervalued.
Conversely, a market or company that was trading on 18 times price-to-earnings ration when inflation was 8% was seen as overvalued, because of the fair price-to-earnings ratio being 20-8=12, hence much lower than the real price-to-earnings ratio of 18.
We can then project the delta between the fair PE and real PE onto the asset's value to obtain the projected fair value, which may be a target of future value the asset may reach or hover around.
For example, as of 1st November 2022, SPX stood at 3871.97, with a PE ratio of 20.14 and an inflation in the US of 7.70. Using the Rule Of 20, we find that the fair PE ratio is 20-7.7=12.3, which is much lower than the current PE ratio of 20.14 by 39%! This may indicate a future possibility of a further downside risk by 39% from current valuation levels.
The origins of this rule are unknown, although the legendary US fund manager Peter Lynch is said to have been an active proponent when he was directing the Fidelity’s Magellan fund from 1977 to 1990.
For more infos about the Rule Of 20, reading this article is recommended: www.sharesmagazine.co.uk
This indicator implements the Rule Of 20 on any asset where the Financials are availble to TradingView, and also for the entire SP:SPX index as a way to assess the wider US stock market. Technically, the calculation is a bit different for the latter, as we cannot access earnings of SPX through Financials on TradingView, so we access it using the QUANDL:MULTPL/SP500_PE_RATIO_MONTH ticker instead.
By default are displayed:
current asset value in red
fair asset value according to the Rule Of 20 in white for SPX, or different shades of purple/maroon for other assets. Note that for SPX there is only one calculation, whereas for other assets there are multiple different ways to calculate earnings, so different fair values can be computed.
fair price-to-earnings ratio (PE ratio) in light grey.
real price-to-earnings ratio in darker grey.
This indicator can be used on SP:SPX ticker, and on most NASDAQ:* tickers, since they have Financials integrated in TradingView. Stocks tickers from other exchanges may not provide Financials data, so this indicator won't work then. If this happens, try to find the same ticker on NASDAQ instead.
Note that by default, only the US stock market is considered. If you want to consider stocks or assets in other regions of the world, please change the inflation ticker to a ticker that reflect the target region's inflation.
Also adding a table to ease interpretation was considered, but then the Timeframe MTF parameter would not work, and since the big advantage of this indicator is to allow for historical comparisons, the table was dropped.
Enjoy, and keep in mind that all models are wrong, but some are useful.
Trade safely!
TG
Price Comparison with Inflation and Interest RateHello dear traders.
This indicator creates a label on the chart.
It measures the difference between the price of the selected symbol at the beginning of the year and the current price, and tells you whether it has more returns than the inflation rate in the region you selected.
The return of the selected symbol on the label since the beginning of the year, the inflation value of the selected region and the interest rate of the selected region are written.
If the symbol's return since the beginning of the year is higher than the inflation return, the label color will be green, otherwise it will be red.
Below you can see a stock with an above-inflationary return.
You can select a region from the inputs section. Currently, Turkey, America and Europe regions can be selected.
While preparing this indicator, tradingview resources were used.
Implied Move with NASA Ideas & Price LineThis script allows you to customize the Implied Move Percentage and fully customize the way it is shown.
Can be used on any stock that has earnings and works based on the Implied Move (Percent).
Basically, it lets you visualize how the stock moved after reporting earnings and seeing if it reached the implied move or not.
This is helpful as it's important to know what earnings are worth keeping an eye on and which should be avoided.
There is also an added custom text input which was inspired to make from a frogman named NASA.
It lets you input whatever text you want on whatever price you want.
To summarize, it's basically a Post-It Note that you can add to any price level for any stock.
Alerts can be set if wanted, They can be alerted for the Implied Moves (If the stock price goes Above/ Below the set percentage) and NASA Ideas (if the stock price goes Above/ Below the set price).
There is also an added custom price line which is mostly for having a nonintrusive price line and label.
This price line and label can be switched to show the (Open, High, Low, Close, Extended High, Extended Low, Yesterday's Open, Yesterday's High, Yesterday's Low, and Yesterday's Close).
PEG Ratio (Most Accurate)Price Earnings To Growth (PEG) Ratio
PEG ratio is a stock's PE ratio divided by the growth rate of its earnings for a specified time period.
The PEG ratio is used to determine a stock's value while also factoring in the company's expected earnings growth, and it is thought to provide a more complete picture than the more standard P/E ratio.
PEG ratio 1 is fair value.
PEG ratio above > 2 is are generally considered overvalued.
PEG ratio below < 1 is Undervalued.
Negative PEG ratio indicate the company no growing in specified time period.
Example of How to Use the PEG Ratio
The PEG ratio provides useful information to compare competitive companies and see which stock might be the better choice for an investor's needs, as follows.
Google (13-Sep-2022) 👍
PEG ratio = 0.38%
P/E ratio = 19.17%
Meta (13-Sep-2022) 👎
PEG ratio = 0.63%
P/E ratio = 12.55%
Many investors may look at Meta and find it more attractive since it has a lower P/E ratio. But compared to Google, it doesn't have a high enough growth rate to justify its current P/E.
Google is trading at a discount to its growth rate and investors purchasing it are paying less per unit of earnings growth. Based on its lower PEG, Google may be relatively the better buy.
[GTH] Net Profit Margin (%)Displays the Net Profit Margin in a more "readable" fashion than the built-in TV Indicator.
This indicator concludes the series of 'Minervini-indicators', consisting of "GTH Earnings", "GTH Revenues" and "GTH Net Profit Margin (%)".
Famous trader Mark Minervini repeately describes rising earnings, revenues and net profit margin as the most important financials for finding superperformers.
In case of reporting a malfunction: Please be specific. Statements like "does not work" are useless. Thanks.
[GTH] Earnings
Black line -> actually Reported Earnings
Colored bars -> positive/negative surprise in regard to Estimated Earnings
Labels -> percentage of change in regard of the previous Reported Earnings
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 !
[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.