Shiller PE Ratio (CAPE Ratio) [WhaleCrew]Our Implementation of the famous Shiller PE Ratio (aka C yclically A djusted P rice-to- E arnings Ratio) a long-term valuation indicator for the S&P 500.
Calculation: Share price divided by 10 - year average, inflation - adjusted earnings
The indicator works on the M and 12M timeframe and has a built-in moving average that supports an upper and lower bollinger band.
Fundamental Analysis
Median Value TradedThe Median Value Traded script is an indicator that allows traders to visualize the median value traded for a particular asset. The median value traded is an important metric as it provides a clearer understanding of the trading activity for an asset, which can be used to inform trading strategies.
To use this script, simply add it to your chart and adjust the "Lookback Period" input as desired. The "Lookback Period" input determines the number of bars used in the median calculation, with a default value of 20.
The median value traded is calculated by taking the product of the volume and closing price for each bar in the lookback period, calculates the median value, and then divides by one million for easier readability.
The script also includes color inputs for the positive and negative columns, allowing traders to customize the appearance of the plot to their liking.
Overall, the Median Value Traded script is a useful tool for traders looking to gain a deeper understanding of trading activity for a particular asset.
IOFin F-Score by zdmre🗣The IOFin F-Score is a discrete score between zero and ten that reflects ten criteria used to determine the strength of a firm's financial position.
🗣It is used to determine the best value stocks, with ten being the best and zero being the worst.
The IOFin F-Score broken down into the following categories:
Profitability
Equity, cash flow, liquidity, and source of funds
Operating efficiency
Criteria Include:
Price to book (P/B) lower than 3 (1 point)
Debt to Equity (D/E) lower than 0.5 (1 point)
Price to FreeCashFlow (P/FCF) equal to or lower than 20 (1 point)
Peg Ratio lower than 1 (1 point)
Sustainable Growth Rate higher than 0.3 (1 point)
Return on Assets (ROIC) higher than 0.07 (1 point)
Return on Equity (ROE) higher than 0.3 (1 point)
EnterpriseValue/Ebitda lower than 10 (1 point)
Quick Ratio equal to or higher than 1 (1 point)
Operating Margin higher than 0.15 (1 point)
RS - Relative Strength ScoreRelative strength (RS) is a measure of a stock's price performance relative to the overall market. It is calculated by dividing the stock's price change over a specified period by the market's price change over the same period. A stock with a high RS has outperformed the market, while a stock with a low RS has underperformed. (Stock can any asset that can be compared to a reference index like as Bitcoin, Altcoins etc ...)
Here are some advantages:
- Provides a measure of a stock's performance relative to a benchmark index or sector, allowing for a more accurate comparison of performance.
- Helps identify stocks with strong price momentum that are likely to continue outperforming the market in the short to medium term.
- Allows investors to identify the strongest performers within a particular sector or industry.
- Provides a quantitative and objective measure of a stock's performance, which can help reduce bias in investment decisions.
- Can be used in conjunction with other technical indicators and chart analysis to identify potentially profitable trades.
- Helps investors make more informed decisions by providing a more comprehensive picture of a stock's performance.
How to use it:
- The indicator can be used in daily and weekly timeframes.
- Check, if the default reference index is suited for your asset (Settings) The default is the combination of S&P500+Nasdaq+Dow Jones. For Crypto, it could be TOTAL (ticker for total stock market), for German stocks it could be DAX.
- Decide (settings), if you want to see the RS based on annual calculation (IBD style) or based only for the last quarter
Color coding:
- Red: Stock is performing worse than index (RS < 0)
- Yellow: Stock get momentum, starting to perform better than index (RS > 0)
- Green: Stock is outperforming the index
- Blue: Stock is a shooting star compared to index
- When RS turns positive and stays there, it could be an indication for an outbreak (maybe into a stage 2)
No financial advise. For education purposes only.
Ehlers Undersampled Double Moving Average Indicator [CC]The Undersampled Double Moving Average was created by John Ehlers (Stocks and Commodities April 2023), and this is a double moving average system which is pretty rare for John Ehlers. For those of you who would like my other take on an Ehlers double moving average, be sure to check out my previous Ehlers double moving average script . He came up with a unique idea for this indicator to create a moving average using a sample of the price data. For example, we use his suggested length of 5 only to use the price data every 5 bars. Feel free to change this, and please let me know if you find a length that works better. He then smooths the indicator using the Hann Windowed Moving Average . I color-coded the lines to show stronger signals in darker colors or standard signals in lighter colors. Buy when the line turns green and sell when it turns red.
Let me know if there is an indicator or script you would like to see me publish!
Stock Intrinsic Value & MOS IndicatorStock Intrinsic Value and MOS Indicator is a powerful tool that can help investors to evaluate the potential value of a particular stock. By taking into account key financial metrics such as earnings per share, price-to-earnings ratio, and dividend yield, this indicator provides a comprehensive analysis of a company's fundamentals, and can be used to estimate its intrinsic value.
To use this indicator, simply input the relevant financial metrics for the stock you're interested in from Yahoo finance, including the P/E ratio, earnings per share, and dividend yield. The indicator will then calculate the stock's intrinsic value based on these inputs, taking into account the company's earnings potential and dividend payments.
In addition to calculating the intrinsic value, the Stock Intrinsic Value and MOS Indicator also allows investors to add a margin of safety to their analysis, which can help to account for unexpected market events or uncertainties. By adding a margin of safety of 20% - 30%, for example, investors can ensure that they are buying the stock at a significant discount to its intrinsic value, providing a cushion against potential losses.
Using the Stock Intrinsic Value and MOS Indicator can be a valuable tool for investors looking to make informed decisions about their investments. By taking into account key financial metrics and adding a margin of safety, investors can be more confident in their investment decisions, and can potentially maximize their returns over the long-term.
However, it's important to remember that the Stock Intrinsic Value and MOS Indicator is just one tool among many that investors can use to evaluate potential investments. As with any investment strategy, it's important to conduct thorough research and analysis before making any investment decisions. Additionally, it's important to keep in mind that no investment strategy is foolproof, and that even the most well-informed investment decisions can still result in losses.
Overall, the Stock Intrinsic Value and MOS Indicator can be a valuable tool for investors looking to evaluate potential investments and make informed decisions about their portfolio. By using this indicator in combination with other tools and strategies, investors can potentially maximize their returns and achieve their long-term investment goals.
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.
graham's formulaThis indicator plots a line with the fair value of the stock following Graham's formula, VI = √ (22.5 x EPS x BVPS)
coloring the space between the closing price of the stock and the fair value.
It also presents a table containing the last EPS and the last BVPS of the stock.
The Benjamin Graham formula is a formula for the valuation of growth stocks.
It was proposed by investor and professor of Columbia University, Benjamin Graham - often referred to as the "father of value investing".
interest rate gap for forexThis indicator is useful for forex traders.
This script displays interest rate differentials and customizable durations for about 180 currencies.
In general, when interest rate differentials widen, traders tend to buy currencies with higher interest rates.
Economic Data Trading alerts - CPI, Interest rate, PPI, etcDescription:
This indicator is designed to alert based on user-selected economic data for Europe, the US, and Japan. It allows users to define their preferred economic data points and trade direction based on the change in the economic data compared to the previous value.
you can use the strategy to automate economic data trading.
Key Features:
Choose from various economic data points for Europe, the US, and Japan.
Customize trade direction based on whether the economic data is above or below the previous value.
Define entry conditions based on user preferences.
Visualize trade entries on the chart.
Display a table showing the results of executed trades.
Please note that this strategy is provided for educational purposes only and should not be considered as financial advice. Always do your own research and use proper risk management when trading.
The indicator is BETA please make sure to test it before using it.
IMPORTANT: you need to be aware of the fundmentals because the regime changes and markets react to every release of data differently.
Federal Funds Rate Projections [tedtalksmacro]Track the Federal Funds Rate projections for each month via the Fed Funds Rate Futures Contracts CBOT:ZQ1!
This will be updated monthly to ensure that the current and relevant contracts are implemented.
Traders can use this to speculate on whether the Federal Reserve is likely to raise, cut or do nothing to their key interest rate at the next meeting.
Modified Mannarino Market Risk Indicator MMMRI MMRIModified Mannarino Market Risk Indicator MMMRI was developed by "Nobody Special Finance" as an enhancement to the original MMRI developed by Gregory Mannarino. The original and modified version were created as a way to gauge current level of risk in the market. This published indicator includes both versions along with ability to customize the symbols, denominators, and ratio factors that are used within their formulas. Additional options have been included to colorize the candles, plot, and level fills, as well as the option to show or hide a table containing the realtime values for both versions, along with the current dollar strength and 10Y yield.
Levels of market risk are denoted by dashed lines which represent the following levels: 0-50 slight risk, 50-100 low risk, 100-200 moderate risk, 200-300 high risk, 300+ extreme risk. The plot displays whichever of the following two formulas has been selected in the indicator settings, the default choice has been set to MMMRI:
MMRI = (USD Strength * USD Interest Rate) / 1.61
MMMRI = (Debt / GDP) * (USD Strength * USD Interest Rate) / 1.61
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Dividend Percentile RankWhat it does
The Indicator plots the percentile rank of the current dividend yield within the configured lookback timeframe. A percentile rank of 80 means that in 80% of the time within the lookback period the dividend yield was below the current yield. And in the remaining 20% of the time it was above the current yield. While a percentile rank of 0 means that the current dividend yield is below all historical dividend yields within the lookback timeframe.
You can configure three values:
1. Lookback Trading Days: This is the timeframe of past trading days that are used to calculate the percentile rank. The default value is 765 days (~3years) while one trading year is about 252 days.
2. Buy threshold in %: Configures the green zone of the Dividend Percentile Chart
3. Buy threshold in %: Configures the red zone of the Dividend Percentile Chart
How it works
First, the Dividend Yield is calculated. After that, the dividend Yield is used to calculate the percentage rank within the configured lookback period. The result is plotted depending on the configured threshold zones.
What you can use it for
The Dividend Percentile Rank is plotted as an oscillator that oscillates between 0 and 100.
High values, e.g. above 80, can be considered as a buy signal as the current dividend yield is high in comparison to past dividend yields.
Low values, e.g. below 20, can be considered as a sell signal as the current dividend yield is lower in comparison to past dividend yields.
(PS: Always take into consideration to evaluate the companies ability to continue paying dividends in the future. The yield alone is no guarantee for high returns)
Reverse Relative Strength Indicator [CC]The Reverse Relative Strength Index was created by Giorgos Siligardos (Stocks & Commodities V. 21:6 (18-30)). It is a handy indicator that reverse engineers the RSI price calculation to show what the price would have to be for the RSI value to match our chosen input. You can select your chosen RSI level using the RSI Level input for this indicator. For example if you wanted to see what the price would be for the RSI value to match the oversold level then you would set the RSI Level for 30 and it will plot that price on the chart. This uses some simple math to extrapolate the price with some basic algebra from the typical RSI calculation. This, of course, is a very similar concept to my previous Reverse Moving Average Convergence Divergence script. This indicator formula can be used for any oscillator with some slight tweaking and could also be customized to show the price for overbought and oversold levels, which I will probably do in the near future. This indicator is useful in many ways such as a trend indicator as my example shows or for a price projection tool. For example, if you had a current RSI level of 66 and it was going up and you want to see what the price would be if it reached the overbought level then you could do that. Let me know what works well for you and if you have any suggestions for how to further improve upon this script. I have included darker colors to show stronger signals and lighter colors to show normal signals. Buy when the line turns green and sell when it turns red.
I have a bunch of backlogged scripts that I'm trying to publish, so I figured I would focus on my RSI scripts since I have a bunch, so be prepared to see a bunch of those over the next week or so. Let me know if there are any other scripts you would like to see me publish!
US Treasuries Yield CurveNews about the yield curve became pretty crucial for all the trades in the last year.
So in the team, we decided to implement a nice widget that will allow you to track the current yield curve in your chart directly.
It's possible to compare the current yield curve with past yield curves. You can choose to display the number of curves weeks, months, and years ago. So you can see the dynamics of the yield curve change.
When the Y2 > Y10 curve is considered invested, so you'll see an "Inverted" notification on the chart.
Thanks to @MUQWISHI for helping code it.
Disclaimer
Please remember that past performance may not indicate future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Blocky's EMA RibbonA classic EMA ribbon setup.
The script uses eight EMAs, with default lengths ranging from 21 to 55 periods, with an additional EMA with a default length of 200 periods.
The lengths of the EMAs can be customized, when customizing, the shortest time frame should be first and the longest time frame last.
The ribbons gradient strength is calculated based on the EMA's sequence, and their separation.
The color and transparency are set based on the calculated strength. The bolder the color, the stronger the strength.
Use the opacity multiplier to increase/decrease the strength of the gradient. BITSTAMP:BTCUSD
Stock Dissect DashboardI developed this script, to help me in my analysis process of Stocks.
In it I have combined several things that I look at when evaluating a company.
First, there is the Macro part, where I have added the most important (at least for me) macro indicators, such as inflation, interest rates, initial jobless claims etc.
Under the last is the latest reported value, next we have the previous, and next to them is the change.
Underneath it is the technical part.
I have added the 1-Week, 1-Month, 3-Month, and 1-Year returns. This way I can easily see the performance of the stock over time.
We have a market regime indicator, which tells us whether the stock is Trending, Mean-Reverting, or Neutral.
Also, I've added the RSI and 50 and 200 Day Moving Averages for additional analysis
At the bottom, I've included some of the fundamentals that I look at in my analysis process. We have the PE and PB ratio, as well as the debt-to-equity and profit margins.
I hope you guys like it and saves you as much time and energy as it did for me.
Happy trading!
Net USD Liquidity w/ overlays [tedtalksmacro]This script aggregates and analyses total USD market liquidity in trillions of dollars - albeit with lagged, weekly data (live data is not available in TradingView!)
There's a positive correlation with the total liquidity available in the world's largest economy and risk assets like BITSTAMP:BTCUSD
The formula for net liquidity is as follows and uses account balances at the Fed and of the Treasury's General Account:
Fed Balance Sheet ECONOMICS:USCBBS — Accepted Reverse Repo Bids FRED:RRPONTTLD — Treasury General Account Balance FRED:WTREGEN
This script shows positive prints when liquidity is above it's 7 day EMA and negative when below... don't use this on timeframes lower than the 1D chart!
CBDE OscillatorWhat makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
The Central Bank Dark Energy Oscillator (CBDEO) is a companion to the popular CBDET (Central Bank Dark Energy Tracer) script.
CBDEO is an oscillator that shows up in a separate TradingView pane in order to provide a relative change signal. It uses the same equations to aggregate central bank liquidity that are used in CBDET, and adds unique analysis tools that provide rate of change data.
There are 2 signals in the chart. First is the change/delta on a per bar basis, based on the chart time frame. The default style for this plot is "columns". This style parameter can be changed in the settings, along with each plot's visibility.
The second plot is a divergence signal that tests the change vs a simple moving average of the CBDET signal (central bank liquidity). The SMA length is customizable in the Input tab within the settings for the indicator. The SMA is based on the chart's current time frame.
The changes in liquidity on various time frames, and calculated as divergence against the liquidity signal SMA can be useful in determining the rate of change in liquidity, and therefore potential thrust in market price action.
Fundamentals Graphing [Kioseff Trading]Hello!
This script "Fundamental Comparison" allows you to compare almost any fundamental metric across 40 assets; various charting methods are employable!
Thank you to @TradingView / @PineCoders for providing the framework in the "Financials on Chart" indicator - thereby expediting a generous portion of work (:
Features
Most metrics included in the "Financials on Chart" indicator are graphable
Scatter chat
Histogram
Bar chart
Pie chart
Reversible scaling
Adjusts to the size of your chart
10 industry presets
Custom symbol dataset
Retrieve, graph, and compare fundamental data by quarter/year. The indicator can "look back" to grab fundamental data from previous quarters/years.
Sortable data - ascending/descending
Built-in search function
Self-Adjusting Graph
The graph adjusts to the orientation/size of your chart!
The image above shows the graph on a price chart with a 229 bar difference.
The image above shows the same price chart; however, there's now a 1941 bar difference to which the fundamentals graph automatically adjusts!
The images above show the same expansion/reduction for the pie chart; all graph types shrink and expand with the price chart.
Fundamental Metrics
The image above shows most of the settings for the indicator!
Most of the metrics from the "Financials on Chart" indicator are included!
Quarterly or annual data are retrievable, in addition to industry presets.
Additionally, you can retrieve the financial data any number of intervals back (so long as the data exists and is provided by TradingView)
The image above shows an example of retrieving a fundamental metric from a previous FQ. The same can be done with FY!
Sortable Data
All data retrieved by the indicator is sortable - allowing for, hopefully, easier evaluations (:
The image above exemplifies the capability!
Data from any quarter/year can be sorted similarly.
Reversible Scale / Reversible Color Scheme
A seemingly trivial feature: a reversible scale and color scheme should assist in instances where "a higher number is bad" and a "lower number is good" - in addition to other scenarios.
For instance,
The image above shows a graph for taxes. The scale and color scheme have not been reversed and, presently, larger columns are correlating to a smaller amount of money out/in than smaller columns.
This can be fixed by reversing the scale.
The image above shows the "Reverse Scale" feature selected. Consequently, larger columns correlate to a larger amount of money out/in.
Similarly, a "Reverse Colors" feature is available. A useful option when a more positive number is "bad" and a less positive number is "good".
For instance,
The image above shows graphing for the Beneish M-Score.
A more positive number is generally interpreted as "bad"; a less positive number is generally interpreted as "good".
However, our color scheme doesn't seem to correspond (unless one considers red = good and green = bad)
Let's enable the reverse color feature.
The image above shows the completion of the process!
Finally, there's a built-in search feature that's a bit difficult to use; however, should you grow comfortable with it you may save some time sorting through fundamental data.
Big thanks to @rumpypumpydumpy for providing an easy-to-work-with framework for the pie chart!
That's all for now; thank you for checking this out.
MVRV Z Score and MVRV Free Float Z-ScoreIMPORTANT: This script needs as much historic data as possible. Please run it on INDEX:BTCUSD , BNC:BLX or another chart of sufficient length.
MVRV
The MVRV (Market Value to Realised Value Ratio) simply divides bitcoins market cap by bitcoins realized market cap. This was previously impossible on Tradingview but has now been made possible thanks to Coinmetrics providing us with the realized market cap data.
In the free float version, the free float market cap is used instead of the regular market cap.
Z-Score
The MVRV Z-score divides the difference between Market cap and realized market cap by the historic standard deviation of the market cap.
Historically, this has been insanely accurate at detecting bitcoin tops and bottoms:
A Z-Score above 7 means bitcoin is vastly overpriced and at a local top.
A Z-Score below 0.1 means bitcoin is underpriced and at a local bottom.
In the free float version, the free float market cap is used instead of the regular market cap.
The Z-Score, also known as the standard score is hugely popular in a wide range of mathematical and statistical fields and is usually used to measure the number of standard deviations by which the value of a raw score is above or below the mean value of what is being observed or measured.
Credits
MVRV Z Score initially created by aweandwonder
MVRV initially created by Murad Mahmudov and David Puell
Financial Data 8 YearsThis indicator will show the financial data of stock.
4 items is allowed to select.
especially item no 4, will show in each quarters below.
it simply give the raw data of financial data over 8 years (when combine annual and quarter data together).
feel free to give me feedback.
Disclaimer.
- The data may not be correct. Check and Confirm before use. Use at your own risk.
Major Central Bank Assets [tedtalksmacro]This script shows the balance sheets of the world's major central banks, the ECB [ FRED:ECBASSETSW , the PBoC [ ECONOMICS:CNCBBS , the Fed [ ECONOMICS:USCBBS and the BOJ [ FRED:JPNASSETS
Central banks drive the world's financial system and are the largest providers of liquidity so it is important to track whether they are providing or withdrawing liquidity from markets. Direct correlations between asset prices and central bank liquidity levels can be drawn.
IMPORTANT NOTES:
- Use this script on timeframes > 1D for greatest accuracy.
- Also included in the net effect of the reverse repo operations and treasury general account in the US.
- Ensure to turn labels on so that you can understand which line is what central bank!
- The black line shows the average, smoothed assets for the largest central banks... closest I could achieve to the net effect given scaling limitations of pinescript.