Stef's Enterprise Value CalculatorI have learned the hard way why Enterprise Value is far more superior than Market Cap. That's why I made this indicator, but more importantly, why I added several features that other similar indicators just don't have. The key thing is to not just show you Enterprise Value of a company (it's true worth) but also the capability to see that line colored in a specific way, with key stats as a neat table, and the ability to chart the key facts that go into Enterprise Value, which are debt and cash.
I'll say it again: Market Cap is not nearly as good as Enterprise Value. Don't get tricked by what Market Cap does NOT show you and instead focus on Enterprise Value. I hope my indicator, and the features you see below, help investors and traders all over the world better understand this.
Here are the key features:
Enterprise Value Indicator Features:
1. Real-Time Enterprise Value (EV) Display: Track the EV of a company directly on your chart, providing a comprehensive measure of its true market value.
2. Custom Color Trends: Customize the color of your EV line based on specific trends you’re monitoring, allowing for personalized and insightful visual analysis.
3. Debt & Cash Visualization: Plot both debt and cash & equivalents on the same chart, offering a clear and concise view of a company’s financial health.
4. Key Metrics Table: View a table displaying essential metrics including:
- Average EV
- Highest EV
- Lowest EV
- MC-EV (Market Cap minus Enterprise Value)
MC-EV Charting: Easily chart MC-EV to understand how much debt a company has relative to its market cap, providing insight into financial leverage and growth potential.
Why MC-EV Matters: This metric is crucial for evaluating a company’s financial risk and operational efficiency, giving you an edge in making informed investment decisions.
Thanks for reading and I hope you find some value in this! More updates to come.

# Valueinvesting

Stef's Money Supply IndicatorI have been fascinated by the growth in the Money Supply. Well, I think we ALL have been fascinated by this and the corresponding inflation that followed. That's why I created my Money Supply Indicator because I always wanted to chart and analyze my symbols based on the Money Supply. This indicator gives you that capability in a way that no other indicator in this field currently offers. Let me explain:
How does the indicator work?
Chart any symbol, turn on this indicator, and instantly it will factor in the M2 money supply on the asset's underlying price. Essentially, you are seeing the price of the asset normalized for the corresponding rise in the money supply. In some ways, this is a rather unique inflation-adjusted view of a symbol's price.
More importantly, you can compare and contrast the symbol's price adjusted for the rise in the Money Supply vs. the symbol's price without that adjustment by indexing all lines to 100. This is essential for understanding if the asset is at all-time highs, lows, or possibly undervalued or overvalued based on the current money supply situation.
Why does this matter?
This tool provides a deeper understanding of how the overall money supply influences the value of assets over time. By adjusting asset prices for changes in the money supply, traders can see the true value of assets relative to the amount of money in circulation.
What features can you access with this indicator?
The ability to normalize all lines to a starting point of 100 allows traders to compare the performance of the Money Supply, the symbol price, and the symbol price adjusted for the money supply all on one readable chart. This feature is particularly useful for spotting divergences and understanding relative performance over time with a rising or falling Money Supply.
What else can you do?
This is just version 1, and so I'll be adding more features rather soon, but there are two other important features in the settings menu including the following:
• Get the capability to quickly spot the highest and lowest points on the Money Supply adjusted price of your asset.
• Get the capability to change the gradient colors of the line when going up or down.
• Turn on the Brrrrrrr printer text as a reminder of our Fed Overlord Jerome Powell... lol
• Drag this indicator onto your main chart to combine it with your candlesticks or other charting techniques.
Stef's Money Supply Indicator! I look forward to hearing your feedback.

Buffett Valuation Indicator [TradeDots]The Buffett Valuation Indicator (also known as the Buffett Index or Buffett Ratio) measures the ratio of the total United States stock market to GDP.
This indicator helps determine whether the valuation changes in US stocks are justified by the GDP level.
For example, the ratio is calculated based on the standard deviations from the historical trend line. If the value exceeds +2 standard deviations, it suggests that the stock market is overvalued relative to GDP, and vice versa.
This "Buffett Valuation Indicator" is an enhanced version of the original indicator. It applies a Bollinger Band over the Valuation/GDP ratio to identify overvaluation and undervaluation across different timeframes, making it efficient for use in smaller timeframes, e.g. daily or even hourly intervals.
HOW DOES IT WORK
The Buffett Valuation Indicator measures the ratio between US stock valuation and US GDP, evaluating whether stock valuations are overvalued or undervalued in GDP terms.
In this version, the total valuation of the US stock market is represented by considering the top 10 market capitalization stocks.
Users can customize this list to include other stocks for a more balanced valuation ratio. Alternatively, users may use S&P 500 ETFs, such as SPY or VOO, as inputs.
The ratio is plotted as a line chart in a separate panel below the main chart. A Bollinger Band with a default 100-period and multiples of 1 and 2 is used to identify overvaluation and undervaluation.
For instance, if the ratio line moves above the +2 standard deviation line, it indicates that stocks are overvalued, signaling a potential selling opportunity.
APPLICATION
When the indicator is applied to a chart, we observe the ratio line's movements relative to the standard deviation lines. The further the line deviates from the standard deviation lines, the more extreme the overvaluation or undervaluation.
We look for buying opportunities when the Buffett Index moves below the first and second standard deviation lines and sell opportunities when it moves above these lines. This indicator is used as a microeconomic confirmation tool, in combination with other indicators, to achieve higher win-rate setups.
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.

Stock Value RainbowStock Valuation based on Book Value, Dividends, Cashflow, Earnings and Estimates and Money Multiplier
There are many ways to measure stock valuations: some methods are using book value, some are using dividends, some are using cashflow, some are using earnings and some using estimates data. Most of these valuation methods are based on multiplier effect which measure how many times the stock price could expand from their valuation base. This indicator attempts to unify all these measurements using just simple addition of all measurements such as: book value per share, dividend per share, cashflow per share, earning per share, and estimates of earning per share and then using multiplier effect to create beautiful rainbow to see how far the stock has growing up above or below their valuation base. The higher the stock price on rainbow spectrum means it is more expensive and the lower in the rainbow spectrum means it is cheaper. Here is the basic formula explanation:
SV = (BVPS + DPS + CFPS + EPS + EST) * MM
BVPS = Book Value Per Share (Asset - Liability)
DPS = Dividends Per Share
CFPS = Free Cash Flow Per Share
EPS = Earnings Per Share
EST = Estimates of EPS
MM = Money Multiplier (1x, 2x, ... ,10x)
- The gray line represents the stock value SV
- The rainbow above the gray line represents the multiplication factors from 1x, 2x, ..., 10x
- The rainbow below the gray line represents the division factors from 0.8x, 0.6x, ..., 0.2x
Check other script to value stock and index:
- Stock Value Rainbow: script to value stock based on book value, dividend, cash flow, earning and estimates.
- Index Value Rainbow: script to value index based on fed balance sheet and base money supply
- Gold Value Rainbow: script to value gold based on global money supply
- Stock Value US: script to check US stock value
- Stock Value EU: script to check EU stock value
- Stock Value JP: script to check JP stock value
- Stock Value CN: script to check CN stock value

Fair Value Calculator V 1.0Fair Value Calculator V 1.0
This indicator calculates the fair value of a stock based on the revenue growth rate and net profit margin of a company, providing a quick estimate of its intrinsic worth. The calculation takes into account:
Current Revenue: The company's current revenue
5-Year Growth Rate: Expected revenue annual growth rate (CAGR) over the next 5 years
Average PE Ratio: The average Price-to-Earnings ratio for the next 5 years
Average Profit Margin: The average profit margin for the next 5 years
Share Outstanding: The total number of shares outstanding
Yearly Share Buyback Rate: The percentage of shares bought back by the company each year
Discount Rate: The rate used to calculate the present value of the fair value
Using these inputs, the indicator estimates the fair value of the stock, providing a valuable tool for investors and traders to make informed decisions.
Note: all values can be adjusted by the user by entering the desired value and selecting the item in the setup menu.
How it works
The indicator calculates the future revenue based on the current revenue and the expected revenue annual growth rate (CAGR).
It then estimates the future earnings using the average profit margin.
The future price is calculated using the exit value of the PE ratio.
The present value of the fair value is calculated using the discount rate.
The indicator adjusts the fair value based on the yearly share buyback rate.
Benefits
Provides a quick but valuable estimate of a stock's fair value based on the revenue growth and the expected profit.
Helps investors and traders identify undervalued or overvalued stocks.
Allows users to adjust inputs to suit their own assumptions and scenarios.
Note
This indicator is for informational purposes only and should not be considered as investment advice. Always do your own research and consider multiple perspectives before making investment decisions.

Stock's Intrinsic Value| DCF modelScript Description
This pine script is based on a YouTube video titled: Warren Buffett: How to Calculate the Intrinsic Value of a Stock. Warren Buffett is a famous value investor who follows the principles of his mentor Benjamin Graham. He looks for companies that have strong competitive advantages, consistent earnings, and low debt. He also considers the intrinsic value of a company, which is the present value of its future cash flows, and compares it to the market price. He prefers to buy stocks that are trading below their intrinsic value and hold them for a long time.
One of the methods that Buffett uses to estimate the intrinsic value of a company is the discounted cash flow (DCF) model. This involves projecting the free cash flow (FCF) of the company for several years and then discounting it back to the present using an appropriate discount rate. The discount rate is usually the weighted average cost of capital (WACC) of the company, which reflects its cost of equity and debt. The sum of the discounted FCFs and terminal value is the intrinsic value of the company.
Lastly, a margin of safety is included when using the DCF method for stock valuation because of uncertainty and error in estimating future cash flows and the intrinsic value of the company.
When the current price is below margin of safety, it means that the stock is currently undervalued and being price at significantly below its intrinsic value.
Guideline for determining each variable in this script
FCF growth rate: This is the annual rate at which the free cash flow (FCF) of the company is expected to grow over a forecast 10-year period. You can use historical FCF growth rates, industry averages, analyst estimates, or your assumptions to project the FCF growth rate. The higher the FCF growth rate, the higher the intrinsic value will be.
Discount rate: This is the rate of return that you require to invest in the company. It reflects the risk and opportunity cost of investing in the company. You can use the weighted average cost of capital (WACC) of the company, capital pricing model (CAPM), hurdle rate, or market rate as the discount rate. The lower the discount rate, the higher the intrinsic value.
The margin of safety: Provides a cushion against errors in the valuation or adverse events that may affect the company. The margin of safety depends on your personal preference and risk tolerance. Normally is at 15% - 30%, the higher the margin of safety you set, the lower the chance that the stock will hit that level.
How to use this script
Step 1: This script only works for stocks that have financial data of free cash flow and total common shares outstanding
Step 2: Please use a yearly chart (12-month chart)
Step 3: You are required to determine a growth rate that will grow the free cash flow 10 years into the future
Step 4: You are required to determine a discount rate for the calculations
Step 5: You are required to add a margin of safety (Accounting for uncertainty)
Step 6: The rest of the calculations will be done automatically.
Disclaimer when using this script
I'm not a financial advisor
This script is for education purposes only
There are risks involved with stock market investing and investors should not act upon the content or information found here without first seeking advice from an accountant, financial planner, lawyer or other professional.
I can’t guarantee that this script will be error-free as I still consider myself a Pinescript beginner
Before making any decisions, investors should always research companies individually
I'll not be liable for any loss incurred, arising from the use of, or reliance on, this script
Limitations of this script
This script only works on the yearly chart (12 monthly charts)
The intrinsic value of a company will be negative if the company have a negative forecasted free cash flow
You need to make an educated guess about the growth rate, discount rate and margin of safety
This script uses free cash flow instead of owner's earnings (Operating cash flow - Maintenance capital expenditure), therefore it can't accurately estimate the maintenance capital expenditure.
Need at least 6 years’ worth of financial data
Market capitalisation uses total common shares outstanding multiplied by the closing price instead of using company-level total outstanding shares multiplied by the closing price

Valuation Metrics Table (P/S, P/E, etc.)This table gives the user a very easy way of seeing many valuation metrics. I also included the 5 year median of the price to sales and price to earnings ratios. Then I calculated the percent difference between the median and the current ratio. This gives a sense of whether or not a stock is over valued or under valued based on historical data. The other ratios are well known and don't require any explanation. You can turn off the ones you don't want in the settings of the indicator. Another thing to mention is that diluted EPS is used in calculations

Fundamental Value and Dividend Growth InvestingThis script is an original implementation of a Fundamental Value and Dividend Growth Investing Strategy for traders who want to incorporate these concepts in their trading decisions. The script uses technical indicators to determine buy and sell signals based on a set of criteria.
To use the script, traders can input various parameters, such as the length of the simple moving averages (SMA), the rate of change (ROC) length, and the dividend yield. The script calculates the SMA for the long and short periods, the ROC, and the dividend.
The buy signal is triggered when the current closing price is greater than the short-term SMA, the short-term SMA crosses above the long-term SMA, the ROC is positive, and the closing price is greater than the dividend. The sell signal is triggered when the current closing price is less than the long-term SMA, the long-term SMA crosses above the short-term SMA, and the ROC is negative.
The script plots the signals and the indicators, such as the SMA200, the SMS50, the dividend, and the ROC. The script also includes alert conditions for the buy and sell signals.
The concept underlying the calculations of this script is the Fundamental Value and Dividend Growth Investing Strategy. This strategy aims to identify stocks that are trading below their intrinsic value and have a history of increasing dividends. The SMA and ROC indicators help identify the trends in the stock price, while the dividend yield helps identify stocks with a history of dividend growth.
Overall, this script offers traders an original and useful tool for incorporating Fundamental Value and Dividend Growth Investing Strategy into their trading decisions.

ValueViewTitle: ValueView
Description:
ValueView is a script designed to cater to the needs of value investors. Its primary purpose is to provide a comprehensive overview of the financial performance of a stock, making it easier for investors to assess the intrinsic value and potential investment opportunities.
The script displays a concise summary of essential fundamental values and metrics in the form of a customizable table, directly integrated into the chart. This allows investors to evaluate the stock's performance for a variable number of fiscal years, as defined by the user. The input flexibility enables users to focus on the timeframes that are most relevant to their analysis.
ValueView works on timeframes greater than or equal to "DAY", ensuring that the data presented is reliable and relevant for long-term value investing strategies. With this feature, investors can focus on the bigger picture and avoid getting distracted by short-term fluctuations.
With ValueView, investors can choose to select or deselect specific metrics according to their investment strategy and preferences. This feature ensures that users are presented with the information they find most valuable, allowing them to make more informed decisions based on their unique perspective.
Key Features:
Quick overview of the financial performance of a stock for value investors
Customizable table displaying essential fundamental values and metrics
User-defined number of fiscal years for analysis
Select and deselect metrics to tailor the output to individual preferences
ValueView offers a convenient, time-saving solution for value investors looking to gain a deep understanding of a stock's financial performance. With its customizable features and easy-to-use interface, this script simplifies the process of identifying promising investments and making informed decisions.

Overvalued/Undervalued OverlayThis indicator will tell you whether the security you are looking at is overvalued or undervalued using a company's total assets and their market cap. In theory, a company's total assets is everything that they own, which then should technically be how much the company is worth. Therefore, if the company's market cap is higher than their total assets, the indicator will read "Overvalued by X%". However, if the company's market cap is lower than their total assets, the indicator will read "Undervalued by X%". If you have any questions, feel free to let me know. Keep in mind that this indicator should be only used for long-term investing.

ValueBands for Acceptable P/E/ and P/B# What's this script?
Plot BookValue/share and TangibleBookValue/share
Visualization of Price Bands for Acceptable P/E and P/B
Adaptation to Currency Change
When TTM(FQ) financial data is not available, FY financial data is used to supplement the TTM(FQ) data.
#Parameter
P/E : acceptable price ratio of Earnings per share. Default is 15
P/B : acceptable price ratio of Book value per share. Default is 1.5
P/TB : acceptable price ratio of Tangible Book value per share. Default is 1.5
#Line
## Books
BookValue : book value per share
TangibleBookValue :tangible book value per share
## Acceptable Prices
Acceptable P/E : P/E * EPS
Acceptable P/B : P/B * BVPS
Acceptable P/TB : P/TB * TBVPS
## Geometric mean
GeometricMean(APE&APB) : sqrt(APE*APB). Geometric mean of "Acceptable P/E" and "Acceptable P/B". if PE15 & PB1.5 then GrahamNumber .
GeometricMean(APE&APTB) : sqrt(APE*APTB). Geometric mean of "Acceptable P/E" and "Acceptable P/TB".
## color fill
BV -TBV .Fill color is TBV line
APE -APB .Fill color is the color of the larger APE and APB lines
I am not a programmer, so I can only provide crude functionality, but I hope it will be of some help to you
---------------------
◆これなに
指定したPEやPBの価格帯がチャートにのります
通貨変更に対応したスクリプトがなかったからつくりました
期のデータが無いところは年のデータをミックスして補完して、長短期どちらの検討でも使いやすくしました
プログラマーじゃないから必要なものだけですけど、よかったらつかってみてくださいね
1. 一株当たり純資産の線
2. 一株当たり有形固定資産の線
3. 1と2の間を2の線の色で塗りつぶし
4. 設定画面で指定した許容P/E相当の価格線。デフォルトは15
5. 設定画面で指定した許容P/B相当の価格線。デフォルトは1.5
6. 4と5のあいだを塗りつぶし。大きい値の方の線の色で塗りつぶされます
7. 設定画面で指定した許容P/TB相当の価格線。デフォルトは1.5
8. 4と5の相乗平均。もしPE15,PB1.5にしてたらGrahamNumber 。
9. 4と6の相乗平均

Stock Value EUThere are many method of measuring value of stock. However I'm proposing most basic stock valuation based on Book Value, Earnings , Dividends and Money Supply:
SV = (BVPS + EPS + DPS ) * ( M3 /M1)
BVPS = Book Value Per Share (Asset - Liability)
EPS = Earnings Per Share
DPS = Dividends Per Share
M3 = M3 Money Supply (Money Market)
M1 = M1 Money Supply (Base Money)
Fundamental value of a stock should be determine by it's BV which means total asset of a company if were liquidated today and use some of it's asset to pay of the debt. So technically BVPS is the intrinsic value of a stock. However the company is generating an earning which is profit and loss that should be added on top of the fundamental value of company, so thus EPS should be added on top of Book Value Per Share. Aside from earnings , the stock that you purchase give you dividends as your return so DPS also can be included on top of that. So all in all BVPS, EPS and DPS are the primary valuation of the stock. However most of the stock are traded way higher than their fundamental valuation. The main reason of this is the market dynamics which is driven by central banks printing of base money supply M0. The banking credit system then lend out this money to money markets as loan so that peoples can invest and by the company stock. This money supply extension of credit is known as money market M2 which drive the stock inflated price. The ratio between M2 and M0 are the money multiplier effect that drives the stock price higher than it's valuation. So the Stock Value should be the total number of BVPS + EPS + DPS times the M2 money multiplier as shown by this indicator.
If the stock are traded above their SV value, that means it's an overpriced bubble
If the stock are traded below their SV value, that means it's an underpriced burst
This indicator is only applicable for EU based stock chart, because we use EU money supply to do the money multiplier calculation. For other country stocks take a look our other indicator:
- Stock Value EU - applicable for European stocks
- Stock Value CN - applicable for Chinese stocks
- Valuation Rainbow - applicable for all countries

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.

Benjamin Graham Net-Net AnalyserA simple indicator that displayers as a table, telling you whether or not the stock you have selected has a current price that is less than 67% of the company's net current asset value per share (NCAVPS) at its last reporting period (FQ, FY, TTM).
Benjamin Graham uses this 67% rule to decide whether or not a stock is significantly undervalued, and studies have shown that investing in companies whose share prices are less than 67% of their NCAVPS can be highly profitable, and will beat markets in the long run.
Feel free to use as you please or repurpose the code for your own projects.

OGT Intrinsic Value IndicatorOGT Intrinsic Value Indicator
This indicator will show you visually the intrinsic value of a stock. Intrinsic value aims to measure of what an asset is worth. There are a number of intrinsic valuation models where this TradingView indicator uses an earnings valuation model.
There are 4 inputs to the model:
1) EPS trailing 12 months (ttm) - the first step is to know what the current EPS is for a stock. The indicator calculates this for you
2) Annual EPS Growth Next 5 Years - You need to input what you think the annual growth rate is going to be for the stock. You can use you annual estimates which you can obtain by searching "stock name - eps growth forecast"
3) Earnings Multiple (PE Ratio) - The next step is to input the earnings multiple in year 5. You can get this from analyst estimates or looking at the average PE ratio of the asset over the past 3 / 5 / 10 years.
4) Desired Rate Of Return - The last input is your rate of return. I personally use 12.5% as you can invest in an S&P ETF and get 8-10% return. So I prefer a higher rate of return for the risk I am taking.
You will need to input your low, medium and high assumptions so you can see the different price ranges.

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.

Stock Value - How Much Stock Should Worth?Stock Value
© danny_peanuts
There are many method of measuring value of stock. However I'm proposing most basic stock valuation based on Book Value, Earnings, Dividends and Money Supply:
SV = (BVPS + EPS + DPS) * (M2/M0)
BVPS = Book Value Per Share (Asset - Liability)
EPS = Earnings Per Share
DPS = Dividends Per Share
M2 = M2 Money Supply (Money Market)
M0 = M0 Money Supply (Base Money)
Fundamental value of a stock should be determine by it's BV which means total asset of a company if were liquidated today and use some of it's asset to pay of the debt. So technically BVPS is the intrinsic value of a stock. However the company is generating an earning which is profit and loss that should be added on top of the fundamental value of company, so thus EPS should be added on top of Book Value Per Share. Aside from earnings, the stock that you purchase give you dividends as your return so DPS also can be included on top of that. So all in all BVPS, EPS and DPS are the primary valuation of the stock. However most of the stock are traded way higher than their fundamental valuation. The main reason of this is the market dynamics which is driven by central banks printing of base money supply M0. The banking credit system then lend out this money to money markets as loan so that peoples can invest and by the company stock. This money supply extension of credit is known as money market M2 which drive the stock inflated price. The ratio between M2 and M0 are the money multiplier effect that drives the stock price higher than it's valuation. So the Stock Value should be the total number of BVPS + EPS + DPS times the M2 money multiplier as shown by this indicator.
If the stock are traded above their SV value, that means it's an overpriced bubble
If the stock are traded below their SV value, that means it's an underpriced burst

Income Ratio■ Income Statement Ratio
This script will provide how distribution of income statement of a comany is.
it also allows us to see a clear picture how the business of a company develop.
For example TESLA.
in term of value, its revenue is 13,757K in the last quarter and it seam to be stable.
while the cost of goods sold (COGS) also increase.
In term of percent, it shows that the gross profit margin is growing up as well as net profit margin.
moreover, depreciation and amortization has declined as well as COGS.
This information like this will help us make a better trading plan.
■ Idea.
1. Each items such as Cost of Goods Sold, Gross Profit will be divided by total revenue.
2. 2 types of data after calculation, Value in Million and Percent by comparing with "Total Revenue".
■ How to use it.
In the menu, you can select the type of data to show
1. Select data type, it is available in Value in Million and Percent.
2. Select the financial period : FY for Financial Year and FQ for Financial Quarter.
Enjoy.

Value CandlesCreating candles from value stats as an experiment. These candles will almost always follow price candles except when there is a deviation.
Strategies based on buying the dips can be applied better on value candles. This is because, drop in value candles imply real bargain whereas drop in price candles can also be due to some other factors.
We can clearly see in the Amazon chart that value candles have come down even though price candles are at same level from September. This signifies AMZN stock is having more value now (due to increased sales from September to now) than back in September even though the price is same.
Another simple thing we can do is move Value candles into same overlay as that of price candles. This will look something like this:
Key thing to remember : Lower the value candle higher the relative value of stock.

Value RangeHere is another attempt to chase value based on technical analysis.
This is extended version of PE range script published earlier.
Instead of just PE, this script contains several other factors which defines value. You can chose which factor to look at from input dialog:
Possible value factors included in this script are:
Price to Earnings
Price to Sales
Price to Book
PE - Forwarding
PS - Forwarding
Price to Cashflow
Enterprise Value to EBITDA
Enterprise Value to Cashflow
Some of these can be added to chart directly from financials. But, the script also calculate range based on donchian channel or bollinger bands. Instead of short periods, we are looking for periods in terms of years. Rest of things remain same.

Graham Net Current Asset Value per ShareNet current asset value per share (NCAVPS) is a measure created by Benjamin Graham as one means of gauging the attractiveness of a stock. A key metric for value investors, NCAVPS is calculated by taking a company's current assets and subtracting total liabilities.
NCAVPS = Current Assets - (Total Liabilities + Preferred Stock) ÷ Shares Outstanding.
According to Graham, investors will benefit greatly if they invest in companies where the stock prices are no more than 67% (or 2/3) of their NCAV per share (price <= (2/3)*NCAV).
Coloring pattern:
- price <= (1/3)*ncav -> light green
- (1/3)*ncav < price <= (2/3)*ncav -> green
- (2/3)*ncav < price <= ncav -> dim red
- price > ncav -> red

Graham FormulaThis is an Tradingview implementation of the Grahams Formula as described in Benjamin Grahams book "The Intelligent Investor".
In theory this can be used to screen for over- and undervalued stocks, however as Graham himself notes, you should look into other fundamentals when using them in conjunction with Grahams formula.

Intrinsic value calculation Intrinsic value calculator based on Warren Buffet's and Ben Graham's work
In value investing determing the true value of a COMPANY instead of a stock price is crucial.
This little indicator shows the "Intrinsic value" of the choosen stock meaning the value of the stock in 10 years time. Calculation is based on historical book value's average annual growth rate and dividends paid.
Since this is about long therm investing, use monthly charts.
"Intrinsic value can be defined simply: It is the discounted value of the cash that can be taken out of a business during its remaining life.”
– Warren Buffett
One way to calculate that is by the growth in per share book value and dividends taken in the forseeable future (10 years) than discount it with the prevailing 10 year note's rate.
In the inputs you have to set 2 variables:
1. How many years back you have the first data for book value per share available?
2. What was the per share book value that year?
(Bookvalue is ploted in olive colour and you can get the oldest one if you move your cursor over the latest data on the left)
CAUTION! You have to reenter it for every stock you analyse as this is stock-specific data!
After setting the input data, you will see the "Intrinsic Value"'s pink curve ploted over the price chart.
If the price is well below the pink line, the company is undervalued and can be a possible applicant for long therm investment.
Margin of safety: when the current price is 50% below the intrinsic value that means a 10% yearly growth potential (100% growth in 10 years) or a 100% margin of safety.
I am a beginer in Pine so please excuse my coding...
If anybody knows hot to extract historical data from 15 years ago, please share it with me, so I can automate the whole calculation without inputs necessary.