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.
Fundamental Analysis
Volume Price and FundamentalsVolume Price and Fundamentals indicators contains 4 exponential moving averages based upon Fibonnaci numbers as period (8, 21, 55 & 144) with crossovers and crossunders.
It also contain a table for volume and 50 Day Avg. Volume, Relative volume, Change in Volume, Volume Value, Up-Down Closing Basis days in last 50 days, Volume ratio (U/D Ratio) on last 50-day Up / Down days and along with fundamental analysis table with various Fundamental Analysis parameters and QoQ & YoY comparison basis for better investment decision making.
Chop and explode (ps5)Description : This is a renovated version of my previous mod that was based on the original script from fhenry0331.
Added are:
a data cleaning function
a seasonal random index function
an updated scaler and
a signalling procedure.
-
The following description is moved here from the old script.
The purpose of this script is to decipher chop zones from runs/movement/explosion spans. The chop is RSI movement between 40 and 60. Tight chop is RSI movement between 45 and 55. There should be an explosion after RSI breaks through 60 (long) or 40 (short). Tight chop bars are colored gray, a series of gray bars indicates a tight consolidation and should explode imminently. The longer the chop the longer the explosion will go for. The tighter the better. Loose chop (jig saw/gray bars on the silver background) will range between 40 and 60. The move begins with green and red bars.
Couple it with your trading system to help stay out of chop and enter when there is a movement.
USD Liquidity Conditions Index Swing Stock Strategy Original credits goes to @ElDoggo22 www.tradingview.com
I looked in the post created by him, of USD liquidity and I have noticed that if you are going to apply a percentile top and bottom to it, can become an interesting swing strategy for US Stocks.
So in this case I decided to create a 99th percentile for top and 4th percentile for bot with a big length, preferably 100+ candles, for this example i took 150.
Rules for entry :
Long : either bot or top lines are ascending
We exit long either the top line is descending, or we have sudden cross of the moving average with both top and bot within the same candle
Short: we enter short when we have a sudden cross down of the moving average with both top and bot within the same candle
We exit short when we have a cross over of the moving average with both top and bot within the same candle ( or we have a long entry condition)
If there are qny questions, please let me know !
BTC Profitable Wallets StrategyBTC Profitable Wallets Strategy - plots the percentage of profitable BTC wallets and places long orders when the profitable wallet share crosses above 50%, historically a very accurate point to catch the next Bull Run early.
The only setting is a smoothing option using the Moving Average method and length of your choice.
On Chain Data is queried from IntoTheBlock.
This is a 'HODL' strategy, with no exit given. If you'd like to see the historical performance check the Open Profit or place a sell order at the current date.
FCF ROCEFree cash flow yield is a financial solvency ratio that compares the free cash flow per share a company is expected to earn against its market value per share. The ratio is calculated by taking the free cash flow per share divided by the current share price. Free cash flow yield is similar in nature to the earnings yield metric, which is usually meant to measure GAAP (generally accepted accounting principles) earnings per share divided by share price.
FCF roce is the modified roce that uses free cash flow instead of ebit
Kalman Gain Parameter MechanicsFrequently asked question is to explain how Gain parameter works in kalman funtion. This script serves as a visual representation of Gain parameter of Kalman function used in HMA-Kalman & Trendlines script. (The function creator's name was misspeled in that script as Kahlman)
To see better results set your Chart's timeframe to Daily.
BTC Twitter SentimentBTC Twitter Sentiment - shows the total numbers of all negative, neutral and positive Bitcoin related tweets.
On default settings, the tweets are plotted in red (negative) white (neutral) as well as green (positive). The three charts are stacked so the total number of tweets is easily discernible.
Furthermore, there's an optional smoothing setting in the options.
The Twitter Sentiment data is provided daily by IntoTheBlock; Since data is only updated once a day the graph might look chunky on lower timeframes, even with smoothing.
Reserve Balances with Federal Reserve BanksReserve balances with Federal Reserve Banks are the difference between "total factors supplying reserve funds" and "total factors, other than reserve balances, absorbing reserve funds." This item includes balances at the Federal Reserve of all depository institutions that are used to satisfy reserve requirements and balances held in excess of balance requirements. It excludes reserves held in the form of cash in bank vaults, and excludes service-related deposits
BTC Dominance Exclude Stablecoins(USDT, USDC, DAI)This index's goal is to show the true bitcoin dominance relative to other risky crypto assets, excluding the diluting effects of those ever-increasing stablecoin(USDT, USDC, DAI)'s market cap. In this index, we can see the BTC dominance has been solid increasing & construct bottom during recent fear/bear.
Xiaolai Chen
Sept 14th 2022
Instrisic Value by FCF - GVPInstrisic Value by FCF - GVP
Since the intrinsic value calculations based on Discounted Cash Flow Intrinsic Value: DCF (FCF Based), or Discounted Earnings Intrinsic Value: DCF (Earnings Based) cannot be applied to companies without consistent revenue and earnings, GuruFocus developed a valuation model based on normalized Free Cash Flow and Book Value of the company.
The details of how we calculate the intrinsic value of stocks are described in detail here.
This method smooths out the free cash flow, multiplies the results by a growth multiple, and adds a portion of Total Stockholders Equity.
Intrinsic Value: Projected FCF = ( Growth Multiple * Free Cash Flow (6 year avg) + Total Stockholders Equity (most recent) / 0.8 ) / Shares Outstanding (Diluted Average)
Intrisic Value by Enterprise value - GVPIntrisic Value by Enterprise value.
In this script we take Enterprise value and we check a base price base on that.
Red line meaning +20% above intrisic value and represent an sell signal.
Green line meaning -20% below intrisic value and represent an buy signal.
For stocks like AGNC this strategy will not work. For these categories of stock i will develope another scripts.
Exchange sessionsThe Exchange sessions indicator allows you to show world trading sessions on the chart, taking into account working hours in the corresponding time zone .
>> For traders:
The settings set the working hours of the exchange, and the indicator itself automatically binds it to the time zone of the selected exchange location - this allows you not to get confused about the correctness of the entered time ranges for any type of chart - stock, futures, index, forex or crypto. By default, the valid working hours are set and no further configuration is required.
In addition, you can select those zones that you want to highlight (using the marker to the left of the session name), and you can also highlight the beginning of each trading session - the start marker.
>> For encoders:
In the code, you can see how to set the session time and bind its control to the time zone from the IANA time zone database.
Also, in the code you will find a way to align the description of input parameters using Unicode Spaces.
I hope that my script will benefit the community and provide a quality result in my work!
All profit!
=========================================================================================
Индикатор Exchange sessions позволяет показать на графике мировые торговые сесси с учётом рабочего времени в соответствующм часовом поясе .
>> Для трейдеров:
В настройках выставляется рабочее время биржи, а индикатор сам автоматически привязывает его к часовому поясу выбранной локации биржи - это позволяет не путаться в корректности введённых временных диапазонов при любом типе графика - stock, futures, index, forex или crypto. По умолчанию задано действующее рабочее время и дополнительная настройка не требуется.
Кроме этого - можно выбирать те зоны, которые нужно подсветить (с помощью маркера слева от названия сессии), а также можно выделить начало каждой торговой сессии - маркер start.
>> Для кодеров:
В коде Вы можете посмотреть как задавать время сессии и привязать его контроль к временной зоне из базы данных часовых поясов IANA.
Также, в коде Вы найдёте способ выравнивания описания входных параметров с помощью Unicode Spaces.
Я надеюсь, что мой скрипт принесёт пользу сообществу и предоставит качественный результат в своей работе!
Всем профита!
BTC Hashrate ribbonsBTC Hash Rate ribbons / Hash Rate cross
This strategy goes long when BTCs Hash Rate 30 day moving average crosses above the 60 day moving average, signifying that miner capitulation is over and recovery has started.
When the opposite signal is given, which signifies the beginning of miner capitulation, the strategy goes short (or flat, depending on configuration). This is generally considered the most popular Hash Rate related strategy.
The strategy is based on this medium article: medium.com
Thanks to the recent integration of IntoTheBlock data into Tradingview, we can now effortlessly show Hash Rate data on our chart,
keep in mind however, that IntoTheBlock doesn't provide Hash Rate data on timeframes below daily, so this strategy is based used on the daily, weekly or even monthly time frames.
Hash Rate definition:
The Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network. The hash rate is an indicator of how healthy the Bitcoin network is at any given time, and is driven primarily by difficulty mining and the number of miners. Generally, a high hash rate is considered a good thing.
More precisely, the Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network.
BTC Hashrate with smoothingBTC Hashrate with smoothing - thanks to the recent integration of IntoTheBlock data into Tradingview, we can now effortlessly show Hashrate data on our chart.
One popular use for Hashrate is to buy when the 30 day moving average crosses above the 60 day moving average, signifying that miner capitulation is over and recovery has started.
Definition
The Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network. The hash rate is an indicator of how healthy the Bitcoin network is at any given time, and is driven primarily by difficulty mining and the number of miners. Generally, a high hash rate is considered a good thing.
More precisely, the Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network.
Yearly Monthly Vertical Lines [MsF]This indicator that draws vertical lines for each year and month starting from the specified date and time.
For example, starting from August 26th, 2022,
The annual vertical lines are Aug 26th, 2022, Aug 26th, 2021, Aug 26th, 2020, Aug 26th, 2019, Aug 26th, 2018, Aug 26th, 2017...
It is useful to check the action of the chart at the event of each year and month.
Caution:
Since there is a limit to the Bar-Count that can be specified in the script language, depending on the chart period setting It may not be displayed.
-------------------------
指定した日時を起点として、年、月ごとに垂直線(縦線)を描画するインジケータです。
例えば、2022/9/1を起点とした場合、
年次のラインは、2021/9/1、2020/9/1、2019/9/1、2018/9/1、2017/9/1、2016/9/1...
に描画します。
年、月ごとのイベント時のチャートの動きを確認するのに便利です。
※過去イベント時の価格変動確認の際、手作業で垂直線を引くのが面倒なため、作成しました。
<注意>
スクリプト言語で指定できるBarCntに制限がある為、チャートの期間設定によっては
表示されない場合があります。※今後改善の余地あり
Dividend YieldThis indicator assists in quickly estimating the dividend yield for a stock. It provides two outputs for the user.
The first is to estimate the current dividend yield and display it in the upper right corner. To calculate yield, we use the following formula – the last dividend paid * number of annual payments/close * 100. The user can adjust the dividend payment frequency in the input menu.
The second output is a line showing the price required to achieve the desired yield. Prices below the line are of greater yield than desired, and prices above that line are less. The user can adjust the desired yield in the input menu.
Sovereign Gold Hodlers Script for comparing nations and their gold, with options including:
Default Comparing the Price of Gold
Use Relative Valuations price / prior price
Measure Reserves/Price
GDP/Gold Price
GDP/Gold Reserves
Given the state of the world I thought it'd be good do see where countries stand, how much real money they hold. I think gold is going to play an increased role in trade between economies in the near future.
Blockchain Fundamentals: 200 Week MA Heatmap [CR]Blockchain Fundamentals: 200 Week MA Heatmap
This is released as a thank you to all my followers who pushed me over the 600 follower mark on twitter. Thanks to all you Kingz and Queenz out there who made it happen. <3
Indicator Overview
In each of its major market cycles, Bitcoin's price historically bottoms out around the 200 week moving average.
This indicator uses a color heatmap based on the % increases of that 200 week moving average. Depending on the rolling cumulative 4 week percent delta of the 200 week moving average, a color is assigned to the price chart. This method clearly highlights the market cycles of bitcoin and can be extremely helpful to use in your forecasts.
How It Can Be Used
The long term Bitcoin investor can monitor the monthly color changes. Historically, when we see orange and red dots assigned to the price chart, this has been a good time to sell Bitcoin as the market overheats. Periods where the price dots are purple and close to the 200 week MA have historically been good times to buy.
Bitcoin Price Prediction Using This Tool
If you are looking to predict the price of Bitcoin or forecast where it may go in the future, the 200WMA heatmap can be a useful tool as it shows on a historical basis whether the current price is overextending (red dots) and may need to cool down. It can also show when Bitcoin price may be good value on a historical basis. This can be when the dots on the chart are purple or blue.
Over more than ten years, $BTC has spent very little time below the 200 week moving average which is also worth noting when thinking about price predictions for Bitcoin or a Bitcoin price forecast.
Notes
1.) If you do not want to view the legend do the following: Indicator options > Style tab > Uncheck "Tables"
2.) I use my custom function to get around the limited historical data for bitcoin. You can check out the explanation of it here:
USD Liquidity Conditions IndexUSD Liquidity Conditions Index = — —
"Bitcoin vs. USD Liquidity Conditions Index
In this current phase of the crypto currency capital markets, Bitcoin represents a high-powered coincident (and sometimes leading indicator) of global USD liquidity conditions."
cryptohayes.medium.com
Blockchain Fundamentals - Active Address Sentiment Osc. [CR]Blockchain Fundamentals: Active Address Sentiment Oscillator AASO
Back with another script today, this one is a useful tool in helping to determine bitcoins value. We are looking at 2 data sources: the daily active addresses on the BTC blockchain, and the daily returns of BTC.
THIS INDICATOR WILL ONLY GIVE YOU THE CORRECT RESULTS ON THE DAILY TIMEFRAME
There is an interesting relationship that you can see by comparing the two timeseries. But for us to create a good indicator we first need to normalize the data. So we look at the percent change over the past 28 days for each metric (DAA and price).
THIS INDICATOR WILL ONLY GIVE YOU THE CORRECT RESULTS ON THE DAILY TIMEFRAME
We then calculate standard deviation bands around the DAA metric. We finalize them by averaging the bands over a 28 day period.
When the Price series (yellow line) is higher than the SD bands BTC is considered overvalued or price is overheated. A pullback could be expected soon. When the Price series is below the SD bands BTC is considered undervalued or price is oversold.
THIS INDICATOR WILL ONLY GIVE YOU THE CORRECT RESULTS ON THE DAILY TIMEFRAME
This tool doesnt give signals on the one minute chart or tell you exactly when to buy or sell. BUT what it does do is act as a convenient macro sentiment indicator that is not based completely upon price.
In an attempt to narrow down the really juicy areas, if you seen the background color highlights with white, that means its likely a top or bottom. At the very least on a local sense and many times in a cyclical macro sense as well. It also narrows down the signal to a generally more profitable area.
This indicator is not meant to be used on timeframes other than daily (did I mention that already?). I am lazy and did not code the calculations to be MTF (which is why you have to use on the daily chart). If you want to code this, please forward it on to me and I will post an update with a heartfelt credit to you.
Blockchain Fundamentals: Electricity Cost of BTC [CR] Blockchain Fundamentals: Electricity Cost of BTC
After a hiatus, now a return to publishing tools and scripts for the community. This is my first script in over and year, and I have a number more coming soon as well! (so Stay Tuned!)
This is a simple calculator to estimate the cost of Bitcoin miners to mine one bitcoin. It works on all timeframes (doesnt have to be on daily).
By entering the inputs of total TH's, kWh used, cost of electricity per kWh (in USD cents) we can generate the electricity cost.
But miners also have other costs of operation including HVAC, maintenance, rent, etc. In light of that we include a multiplier that accounts for these extra costs. First, type in what percent of your total operating costs come from the electricity. Then check the enable total cost plot option and you will also see total costs in addition to electricity costs.
Its a simple model and gives anyone curious a starting point for their own testing and research.