USDC&USDT DominanceUSDC and USDT combined Daily dominance, a good indicator for the amount of stablecoin volume ready to buy and support BTC & ETH
Fundamental Analysis
Taylor RuleThe Taylor rule is a simple formula that John Taylor devised to guide policymakers. It calculates what the federal funds rate should be, as a function of the output gap and current inflation. Here, we measure the output gap as the difference between potential output and real GDP. Inflation is measured by changes in the CPI, and we use a target inflation rate of 2%. We also assume a steady-state real interest rate of 2%.
Make Your Own Index!Intro
For my first script, I have released Make Your Own Index version 1. It has a long way to go so please stay tuned. Scroll down to read all the updates and notes as they come in.
Why it matters
Making your index is important to quickly see an index of symbols that you want to chart. Having the ability to assign weightings gives you the opportunity to make the index equal weighted or custom weighted. As we all know, indexes like the S&P 500 are NOT equal weighted, but more heavily weighted toward the winners. Now, you can make your own of a basket of symbols and make them custom weighted or equal weighted. Have some fun exploring this.
Features
You select the symbols of your choice and then chart them as one line with a specific weighting. This can be done in the settings menu once the indicator is selected. Use the symbol search field to add a symbol. From what I have tested, it works for any symbol whether it's stocks, crypto, FX and more. The default is set to stocks.
The Weight field in the settings menu is where you can assign a specific weight to the symbol of your choice. This way you can make an equal weighted index or a custom weighted index. By default each symbol is set to 10 or 10%. There are 10 symbols in the menu, so at 10%, they are equally weighted! In the script I have made it so each weighting is in percentage terms. So type in the percentage and you're good to go.
The chart is currently displayed in a separate window and not as an overlay. This may change in the future. The line can also be changed slightly and the color of it. Stay tuned for more on this.
Send in feedback
I am a Pine rookie in all regards and I am surely looking for support, feedback, and/or ideas. I want to add a lot more to this. If you look at the settings you will see have some input fields that are in their first iteration and currently needing to be improved. Rather than waiting to make them perfect, I just want to get this out there and update as I go. Also, as mentioned, I will definitely need a little support at adding more features that I have in mind.
Credit where credit is due
I used a lot of Open Source indicators as inspiration to quickly get going so thank you to the following people and accounts who share open source scripts that you can use to learn, test, and get started instantly:
@TradingView
@LucF
@PineCoders
@KioseffTrading
@norok
@RedKTrader
@NeoButane
And many others. That's the beauty of open source!
Closing note
Publishing it open source so people can fact check my code and thinking. One thing I know for sure is that this can probably be created in a more efficient way. Nonetheless, please a take look and let me know what you think - I am excited to make some updates over the coming weeks.
Thanks for reading!
world stage index ver02This is an indicator that expresses the ratio of "stage1" and "stage4" of world index.
40 symbols are as follows
("TVC:SHCOMP" is revised to "SSE:000001")
(JAPAN, US, EUROPE, and CANADA)
OSE:NK2251!, DJ:DJI , NASDAQ:IXIC, SP:SPX , XETR:DAX, TVC:CAC40 , TVC:UKX, TSX:TSX
(ASIA)
SSE:000001, SZSE:399001, TVC:HSI, TWSE:TAIEX, BSE:SENSEX , OANDA:SG30SGD, INDEX:KSI, SET:SET
(EUROPE)
INDEX:SX5E, INDEX:FTSEMIB, SIX:SMI , BME:IBC, EURONEXT:BEL20, TVC:AEX, OMXCOP:OMXC25, XETR:0Q5X
(Pacific Ocean)
ASX:XJO, TVC:NZ50G, IDX:COMPOSITE, FTSEMYX:FBMKLCI, BMFBOVESPA:IBOV, BMV:ME , BVL:SPBLPGPT, BYMA:IMV
(Eastern Europe & Middle East)
MOEX:IMOEX, GPW:WIG20, OMXHEX:OMXH25, OMXSTO:OMXS30, DFM:DFMGI, TADAWUL:TASI, OSE:GNRI, EGX:EGX30
The criteria are as follows:
EMA5≧EMA20≧EMA40 : Stage1
EMA5≦EMA20≦EMA40 : Stage4
A.The sum of Stage1 was multiplied by 2.5 and drawn on a scale of 0 to 100, with yellow area
B.The Sum of Stage4 was multiplied by 2.5 and drawn on a scale of 0 to 100, with blue area.
C. The ratio of A/B was multiplied by 2.5 and drawn on a scale of 0 to 100, with red lines.
This idea is from Kojirou Kousi.
40 symbols of this script are partially different from Kojiro kousi's idea.
But he said the difference isn't matter.
tradingview社の上海総合指数の銘柄コード変更に合わせて、"TVC:SHCOMP" を "SSE:000001"に改訂しました。
「小次郎講師指数」に着想を得た、世界40カ国の株価指数stage状態です。
参考文献は、小次郎講師著書「世界一わかりやすい投資の勝ち方」です。
小次郎講師とは一部異なるシンボルを採用していますが、
多少の違いは余り大した問題では無いと御本人から教わった事があります。
先進国に関してはおそらくほとんど同じだと思います。
stage1の合計の%を黄色、stage4の合計の%を青色、stage1の合計/stage4の合計の%を赤で表示しています。
雰囲気で分かればいいので、正確な数字までは表示しませんでした。
個人的には現状分析以外にも、プラクティス時に世界情勢を把握するのに重宝しています。
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.
US Stock Market Sectors Overview Table [By MUQWISHI]US Market Overview Table will identify the bullish and bearish sectors of a day by tracking the SPDR sectors funds.
It's possible to add a ticker symbol for correlation compared to each sector.
Overview Indicator
MicroStrategy MetricsA script showing all the key MSTR metrics. I will update the script every time degen Saylor sells some more office furniture to buy BTC.
All based around valuing MSTR, aside from its BTC holdings. I.e. the true market cap = enterprise value - BTC holdings. Hence, you're left with the value of the software business + any premium/discount decided by investors.
From this we can derive:
- BTC Holdings % of enterprise value
- Correlation to BTC (in this case we use CME futures...may change this)
- Equivalent Share Price (true market cap divided by shares outstanding)
- P/E Ratio (equivalent share price divided by quarterly EPS estimates x 4)
- Price to FCF Ratio (true market cap divided by FCF (ttm))
- Price to Revenue (^ but with total revenue (ttm))
Discounted Price ProbabilityHere is an attempt to understand the probability of discounted price of a stock by comparing it to historical price and fundamental correlation. Have made use of some of the new features of pine in developing this script (Such as matrix and new features of tables such as cell merge and tooltip).
Script makes use of the library written on matrix matrix
🎲 Process
Probability is measured in two angles
🎯 Absolute : Measure the percentile of price and fundamentals with respect to all time high. The difference between the two is measure of probability of stock being undervalued.
🎯 Drawdown : Measure the percentile of distance from all time high for both price and fundamentals. The difference between the two is used for depicting the probability of stock being undervalued.
🎲 Components
In short, the definitions of stats presented are as below
🎲 Settings
Settings are pretty straightforward
🎲 How to look at these stats
To Start with
Are most of the fundamental values coloured in green? If yes, it means that they are near all time high in terms of percentile.
If drawdowns of fundamental values coloured in green? If yes, it means, the stock has not suffered much drawdowns of fundamentals from its peak.
Are the percentile values of drawdowns in green? If yes, it means, that drop in fundamentals are not high compared to its previous values.
If all the above are greener, then it means, company is in strong growth space.
Example: TSLA
Even though the financial ratios of TSLA are not in par with most of the fundamentally strong stocks, it is indeed growing steadily and at its near all time high.
Lets take another example of NKLA
Here the base columns regarding fundamentals are mostly red. This means, company has suffered setback with respect to their financials and the company is not where it used to be. But, if you see the differential probabilities, it says 92% of being undervalued?
Well, this is due to the fact that NKLA's fundamentals suffered most of the time and they are always below par when compared to price. Hence, such kind of cases may interpret the stocks as undervalued. Hence, even if the probability of being undervalued is more, it does not guarantee the quality of the stock. We need to be mindful overall financials of the company and how they fare with general standards.
Moving forward
To understand value of trending stock, use Absolute Probability (marked with P). Ex. GOOG, MSFT, BRK.B etc.
To understand value of stock which has been recently suffered huge price drop, look at drawdown based probability (marked with D). Ex. BABA, FB, PYPL, SQ, ROKU etc.
Some examples of high flyers:
Some for deep pullbacks:
And the meme stocks:
Key Financials A simple table with up to 9 key financials on your chart.
Simple, easy and configurable.
BTC HASHRATE DROP: OnchainWhy is the drop of hashrate important?
Drop of hashrate usually occurs because some miners in the mining network stop for working. There are several possible reasons for this. Such as new anti-mining regulations in some countries or a sharp drop in the price of bitcoin, which makes mining no longer affordable for some miners. So they turn off their devices
This reduces the supply of bitcoin in the market and according to the law of supply and demand can eventually lead to an increase in the price of bitcoin.
This oscillator is designed to detect hashrate drop. for this, we use the data of glassnode . Maroon color indicates decrease in hashrate and Red color indicates excessive hash rate drop. As can be seen on the chart, usually after this drop, we see an increase in the price of bitcoin
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!
Valuation TableHey folks, I hope you are all doing well!
This is an indicator that you can use to help you to evaluate companies. There are a few things I added to the valuation table that I personally use and I will explain what they are.
I added Joel Greenblatt's ROC% because it takes Earnings before Interest and Taxes to reflect more closely what the company earns from its operations, while including the cost of depreciation/amortization of assets. A high double digit figure often means that the company has a defensible edge versus its competitors (e.g. a strong brand or a unique product). It's good for relative valuation (comparing two companies in the same industry).
I also added Donald Yacktman's forward rate of return. Yacktman defines forward rate of return as the normalized free cash flow yield plus real growth plus inflation . Unlike the Earnings Yield %, the Forward Rate of Return uses the normalized Free Cash Flow of the past seven years, and considers growth. The forward rate of return can be thought of as the return that investors buying the stock today can expect from it in the future. Yacktman’s Forward Rate of Return may or may not be a useful metric. However, it does present new ways to see and think about stocks we may want to buy.
I added a box called "real price" and that is from Peter Lynch's book, "One Up on Wall Street," where he talked about how the real price of the stock is really the current price - Net Cash Per Share.
I would also personally pair this script with TradingView's built in financial indicators that shows the revenue growth, net income, etc.
Note: the script only works on the weekly timeframe and it will take some time to load because it has a lot of data.
Bond Yeild CurveBond Yeild Curve
A bond yeild curve is a line that plot the interest rate of bonds of each maturity dates.
The slope of the curve give the future of economy cycle.
if the slope could be normal (positive), flat or even inverted.
This indicator aquired data of bond yeild provided by TradingView.
How to use it.
Select the country of the bond / another country to compare.
Select the maturity of bond (this indicator set 2Y, 5Y, 10Y and 20Y as default).
You can toggle to 3 different data set; Yeild, Spread (10Y-2Y) and Yeild Curve.
In case that you select the "Yeild Curve", you can customize the desired past period to compare.
How we can get the benefit.
- If the current spread is greater than 1.0, it suppose that the economy of that country probably is ok.
- if the current spread is between 0 - 1.0, it suppose to be flatted and probably turn to invert and the economy cound be in a recession soon.
- if the current spread is below 0, it suppose to be inverted and economy is in recession.
when knowing the state of economy, it would help us to manage our investment.
When you select "Yeild"
When you select "Spread"
When you select "Yeild Curve"
I'm new for this.
if any idea, correction and suggestion, i do appreciate it.
S&P 500 Earnings Yield SpreadThis indicator compares the attractiveness of equities relative to the risk-free rate of return, by comparing the earnings yields of S&P 500 companies to the 10Y treasury yields. "Earnings yield" refers to the net income attributable to shareholders divided by the stock's price - effectively the inverse of the PE ratio. The tangible meaning of this metric is "the annual income received by (attributable to) shareholders as a percent of the price paid to receive said income." Therefore, earnings yield is comparable to bond yields, which are "the annual income received by bond holders as a percent of the price paid to receive said income."
This indicator subtracts the earnings yield of S&P 500 companies from the current 10-year treasury bond yield, creating a "spread" between the yields that determines whether equities are currently an attractive investment relative to bonds. That is, if the S&P 500 earnings yield exceeds the 10Y treasury yield, then equity investors are receiving more attributable income per dollar paid than bondholders, which could be an indication that equities are an attractive purchase relative to the risk-free rate. The same applies vice-versa; if the 10Y treasury yield exceeds that of the S&P 500 earnings yield, then equities may not be an attractive investment relative to the risk-free rate.
Since data on S&P 500 companies' earnings yields are pulled on a monthly basis, this indicator should be used on a monthly timeframe or longer. Historical data has shown that the critical zones for the indicator are at -4% and +3%, i.e. when equities are trading with a 4% greater yield than 10Y T-bonds and when equities are trading with a 3% lower yield than 10Y T-bonds, respectively. In the "Oversold" case (-4%), equities are trading at a steep discount to the risk-free rate and has often represented a strong buying opportunity. In the "Overbought" case (+3%), equities are trading at a premium to the risk-free rate, which may be an indication that caution should be exercised within the stock market. When the indicator first crosses into "Oversold" territory, this has historically been near a the bottom of a crash on the S&P 500. When the indicator first crosses into the "Overbought" territory, this has often precipitated a correction of 15% on the S&P 500.
Some notable "misses," crashes that this indicator missed, include the 1973 stock market crash and the 2008 global recession. However, both of these cases were largely precipitated by unprecedented economic events, as opposed to stocks simply being "Overbought" relative to treasury yields. Nonetheless, this indicator should form only a small portion of your fundamental analysis, as there are many macroeconomic factors that could lead to major corrections besides the impact of treasury yields. Furthermore, it should also be noted that since markets are "forward looking," future earnings growth or interest rate hikes may become "priced into" both the stock and bond markets, affecting the outputs of this indicator. However, since both the stock and bond markets should account for these factors simultaneously, the impact has historically been minimized.
I hope you find this indicator to be beneficial to your strategies. Stay safe, and happy trading.
Lankou VS BTC all
/!\ To make it work well use -> pin at new right scale
This script displays the comparison with BTCUSDT
it permits to see if an asset is gaining value against BTC, and fastly scan USDT asset to determine if they are bullish
It works for ANY asset, as it's dividing it's price by the BTCUSDT one
Lev Umanov Sin EquationThis indicator is taken from the calculations made by Lev Umanov. It predicts the peaks of Bitcoin. The indicator works with most BTCUSD pairings.
BTC Price vs COP Spread Chart Wanted to create a spread chart using BTC and some cost of production estimates. In any commodity using COP is a great way to define "value" and typically there's about 100-150% markup for investors to keep in mind when using this metric in their analysis. Thanks to Grimm for the spread idea/request. #PMAFTW // Original cop code taken from;
J1 - Glassnode Metrics ToolkitTV announced that you can now pull data from Glassnode!
Here you can find every metric available to compare blockchain data from different coins.
How to use:
- Select your Coin
- Select your Metric
Then you can enable another coin or the same one to compare data.
As per TV's post:
Coins:
BTC, ETH, LTC, AAVE, ABT, AMPL, ANT, ARMOR, BADGER, BAL, BAND, BAT, BIX, BNT, BOND, BRD, BUSD, BZRX, CELR, CHSB, CND, COMP, CREAM, CRO, CRV, CVC, CVP, DAI, DDX, DENT, DGX, DHT, DMG, DODO, DOUGH, DRGN, ELF, ENG, ENJ, EURS, FET, FTT, FUN, GNO, GUSD, HEGIC, HOT, HPT, HT, HUSD, INDEX, KCS, LAMB, LBA, LDO, LEO, LINK, LOOM, LRC, MANA, MATIC, MCB, MCO, MFT, MIR, MKR, MLN, MTA, MTL, MX, NDX, NEXO, NFTX, NMR, Nsure, OCEAN, OKB, OMG, PAX, PAY, PERP, PICKLE, PNK, PNT, POLY, POWR, PPT, QASH, QKC, QNT, RDN, REN, REP, RLC, ROOK, RPL, RSR, SAI, SAN, SNT, SNX, STAKE, STORJ, sUSD, SUSHI, TEL, TOP, UBT, UMA, UNI, USDC, USDK, USDT, UTK, VERI, WaBi, WAX, WBTC, WETH, wNMX, WTC, YAM, YFI, ZRX.
Metrics:
ACTIVEADDRESSES — Number of Active Addresses
SENDINGADDRESSES — Number of Sending Addresses
RECEIVINGADDRESSES — Number of Receiving Addresses
NEWADDRESSES — Number of New Addresses
ADDRESSES — Number of Addresses
BLOCKS — Block Height
BLOCKSMINED — Number of Blocks Mined
BLOCKMEANINTERVAL — Mean Block Interval
BLOCKMEDIANINTERVAL — Median Block Interval
TOTALBLOCKSIZE — Total Block Size
MEANBLOCKSIZE — Mean Block Size
TOTALTXFEES — Total Transaction Fees
MEANTXFEES — Mean Transaction Fees
MEDIANTXFEES — Median Transaction Fees
TOTALTXFEESUSD — Total Transaction Fees in USD
MEANTXFEESUSD — Mean Transaction Fees in USD
MEDIANTXFEESUSD — Median Transaction Fees in USD
TOTALGASUSED — Total Gas Used
MEANGASUSED — Mean Gas Used
MEDIANGASUSED — Median Gas Used
MEANTXGASPRICE — Mean Transaction Gas Price in gwei
MEDIANTXGASPRICE — Median Transaction Gas Price in gwei
MEANTXGASPRICEUSD — Mean Transaction Gas Price in USD
MEDIANTXGASPRICEUSD — Median Transaction Gas Price in USD
MEANGASLIMIT — Mean Transaction Gas Limit
MEDIANGASLIMIT — Median Transaction Gas Limit
MARKETCAP — Market Cap
DIFFICULTY — Mining Difficulty
HASHRATE — Mean Hash Rate
ATHDRAWDOWN — Price Drawdown from ATH
SOPR — Spent Output Profit Ratio (SOPR)
NEWDEPOSITS — Number of New Deposits
NEWSTAKED — Amount of New Value Staked
NEWSTAKEDUSD — Amount of New Value Staked in USD
NEWVALIDATORS — Number of New Validators
DEPOSITS — Total Number of Deposits
STAKED — Total Value Staked
STAKEDUSD — Total Value Staked in USD
VALIDATORS — Total Number of Validators
PHASE0GOAL — Phase 0 Staking Goal
ACTIVE1Y — Percent of Supply Last Active 1+ Years Ago
TXS — Number of Transactions
TXSPS — Number of Transactions per Second
TFSPS — Number of Transfers per Second
TOTALTXSIZE — Total Size of Transactions
MEANTXSIZE — Mean Size of Transfers
TOTALVOLUME — Total Transfer Volume
TOTALVOLUMEUSD — Total Transfer Volume in USD
MEANVOLUME — Mean Transfer Volume
MEANVOLUMEUSD — Mean Transfer Volume in USD
MEDIANVOLUME — Median Transfer Volume
MEDIANVOLUMEUSD — Median Transfer Volume in USD
UTXOCREATED — Number of Created UTXOs
UTXOSPENT — Number of Spent UTXOs
UTXOTOTAL — Total Numbers of UTXOs in the Network
UTXOVALUETOTAL — Total Value of Created UTXOs
UTXOVALUETOTALUSD — Total Value of Created UTXOs in USD
UTXOVALUEMEAN — Mean Value of Created UTXOs
UTXOVALUEMEANUSD — Mean Value of Created UTXOs in USD
UTXOVALUEMEDIAN — Median Value of Created UTXOs
UTXOVALUEMEDIANUSD — Median Value of Created UTXOs in USD
UTXOVALUETOTALSPENT — Total Value of Spent UTXOs
UTXOVALUETOTALSPENTUSD — Total Value of Spent UTXOs in USD
UTXOVALUEMEANSPENT — Mean Value of Spent UTXOs
UTXOVALUEMEANSPENTUSD — Mean Value of Spent UTXOs in USD
UTXOVALUEMEDIANSPENT — Median Value of Spent UTXOs
UTXOVALUEMEDIANSPENTUSD — Median Value of Spent UTXOs in USD
UNISWAPTXS — Number of Transactions on Uniswap
UNISWAPTOTALVOLUME — Total Volume Traded on Uniswap
UNISWAPTOTALVOLUMEUSD — Total Volume Traded on Uniswap in USD
UNISWAPLIQUIDITY — Total Liquidity on Uniswap
UNISWAPLIQUIDITYUSD — Total Liquidity on Uniswap in USD
Premium on BTC in Russia (%)
Indicator shows the relative "premium" or "discount" of buying BTC with Ruble vs the USD on Binance.
Figures are shown in %.
Positive figures indicate a "premium" vs USD, negative indicates a "discount".
Indicator is calculated on the close of the 4h candles of each input.
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