L1 Bitcoin Whale Pump DetectorLevel: 1
Background
One of the biggest differences between cryptocurrency and traditional financial markets is that cryptocurrency is based on blockchain technology. Individual investors can discover the direction of the flow of large funds through on-chain transfers. These large funds are often referred to as Whale. Whale can have a significant impact on the price movements of cryptocurrencies, especially Bitcoin. Therefore, how to monitor Whale trends is of great significance both in terms of fundamentals and technical aspects.
Function
L1 Bitcoin Whale Pump Detector script This is a simple technical indicator that judges whether Whale is involved in the relationship between price increase and trading volume. Its purpose is not to accurately judge Whale behavior, but to provide a starting point for more Pine lovers to develop more advanced Whale monitoring programs.
Key Signal
pumpcond1 use price information alone with 7% as a threshold
pumpcond2 use both price and volume infomation.
Pros and Cons
Pros:
1. Detect Whale pump in large time frame.
2. Not a mature and accurate buy and sell script but provide alerts of Whale movements.
3. When it resonante with Buy signal, it has higher confidence level.
Cons:
1. Only detect Whale Pump, not Whale Dump is realized.
2. Only provide large fund information, not an accurate trading signal generator.
Remarks
You can use this to confirm blockchain large fund transfer activities. E.g. Large amount of USDT flows into large exchanges.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Fundamental-analysis
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.
Funamental and financialsEarnings and Quarterly reporting and fundamental data at a glance.
A study of the financial data available by the "financial" functions in pinescript/tradingview
As far as I know, this script is unique. I found very few public examples of scripts using the fundamental data. and none that attempt to make the data available in a useful form
as an indicator / chart data. The only fitting category when publishing would be "trend analysis" We are going to look at the trend of the quarterly reports.
The intent is to create an indicator that instantly show the financial health of a company, and the trends in debt, cash and earnings
Normal settings displays all information on a per share basis, and should be viewed on a Daily chart
Percentage of market valuation can be used to compare fundamentals to current share price.
And actual to show the full numbers for verification with quarterly reporting and debuggging (actual is divided by 1.000.000 to keep numbers readable)
Credits to research study by Alex Orekhov (everget) for the Symbol Info Helper script
without it this would still be an unpublished mess, the use of textboxes allow me to remove many squiggly plot lines of fundamental data
Known problems and annoyances
1. Takes a long time to load. probably the amount of financial calls is the culprit. AFAIK not something i can to anything about in the script.
2. Textboxes crowd each other. dirty fix with hardcoded offsets. perhaps a few label offset options in the settings would do?
3. Only a faint idea of how to put text boxes on every quarter. Need time... (pun intended)
Have fun, and if you make significant improvements on this, please publish, or atleast leave a comment or message so I can consider adding it to this script.
© sjakk 2020-june-08
PEG RatioHello everyone,
Quick script to check the PEG Ratio.
What is PEG Ratio?
The price/earnings to growth ratio (PEG Ratio) is a stock's price-to-earnings (P/E) ratio divided by the growth rate of its earnings for a specified time period. The PEG ratio is used to determine a stock's value while also factoring in the company's expected earnings growth, and is thought to provide a more complete picture than the more standard P/E ratio.
A PEG Ratio greater than 1.0 means that the stock is overvalued, while below 1.0 means is is undervalued. When the PEG Ratio is exactly 1.0, then the stock is trading at fair valuation.
Formula:
PEG Ratio = (Price / EPS) / EPS Growth
Examples:
Company A:
Price per share = $46
EPS this year = $2.09
EPS last year = $1.74
Company B
Price per share = $80
EPS this year = $2.67
EPS last year = $1.78
Company A
P/E ratio = $46 / $2.09 = 22
Earnings growth rate = ($2.09 / $1.74) - 1 = 20%
PEG ratio = 22 / 20 = 1.1
Company B
P/E ratio = $80 / $2.67 = 30
Earnings growth rate = ($2.67 / $1.78) - 1 = 50%
PEG ratio = 30 / 50 = 0.6
The company A is overvalued whiled the B is undervalued.
In this script an overvalued stock is considered when the PEG Ratio is above 1.1, while it is 0.9 for an undervalued stock.
Only works with Stocks.
Happy trading,
Inflation Rate HistogramThis script is designed to show a histogram of the inflation rate, based on FRED's CPI data. It shows the yearly change in cpiaucsl. As of right now, this script only works correctly on the yearly timeframe (12M). I'm currently looking into a solution to make this script work on all time frames. This script can be useful for comparing growth to inflation, or just if you want to see how inflation was for a certain year. This script really puts the stagflation into perspective.
Dividend Yield with 2 Moving Average for see SpreadI "applied" the dividend yield on the original library script which I adding 2 Exponential Moving Average.
That is average the Long term of Dividend Yield and Short Term of Dividend Yield.
To estimate the Trend that "Is it worth to invest this stock right now?"
If the dividend yield right now is higher than both maybe it worth it on the past
(You can used your price pattern skill to make an entry with backed by adjusted yield------> I think it will help you for estimate pre-total return for Hybrid with Fundamental and Technical )
Hope it will help you ><
PS. it has a problem when using with "Split" stock ( for example 1 Year on "Day" Timeframe )
if somebody can help me .pls help me pls TT
Ps2. Be warry of the stock that don't has consistency pay dividend out and some "special dividend" that don't come form the real operating income.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
สวัสดีมิตรสหายเทรดเดอร์หุ้นไทยทุกท่าน ผมสร้างอินดิเคเตอร์ สำหรับดูผลตอบแทนจากเงินปันผล พร้อมกับเส้นค่าเฉลี่ย เคลื่อนที่ 2 เส้น
เพื่อเป็นการดูแนวโน้มของราคาหุ้น และเพื่อจับจังหวะการซื้อหุ้นนะครับ
ผมขอยกความดีความชอบของ ท่าน Library Script นะครับ ที่มี Format ของการคำนวณเงินปันผลมาให้ ผมทำเพียงแค่ปัดฝุ่น และ Mod เส้นค่าเฉลี่ยขึ้นมาครับ
ไม่มีอะไรจะดีไปกว่าการซื้อหุ้นแล้วมีปันผลรองรับ ซับแรงกระแทกตอนที่กดเข้าซื้อหุ้นไปอีกแล้ว
สำหรับมิตรสหายท่านใดที่ศึกษาศาสตร์ด้าน "พื้นฐาน" และ "เทคนิค" อินดิเคเตอร์นี้อาจช่วยท่านหาจุดเข้าซื้อ ที่คุ้มค่าด้านเงินปันผล และเป็นจุดซื้อที่แม่น ขลัง มากขึ้นนะครับ
ผมว่าหากใช้ควบคู่กับเรื่อง Price Pattern คงเป็นประโยชน์ไม่น้อยเลย
ขอให้อินดิเคเตอร์นี้มิประโยชน์แก่ทุกท่านนะครับ
Ps. บางที เจ้าอินดิเคเตอร์นี้อาจมีปัญหา เมื่อใช้กับหุ้นที่เคยมีการแตกพาร์มาก่อนนะครับ ท่านอาจต้องใช้ Timeframe อื่นที่ไม่ครอบครุมช่วงเวลาที่แตกพาร์ครับ
ซึ่งตรงนี้ ผมยังหาวิธีแก้ไม่พบครับ มิตรสหายท่านใดช่วยมาก ผมจะยินดีอย่างยิ่ง
Ps2. ระมัดระวังหุ้นที่จ่ายปันผลไม่สม่ำเสมอ และหุ้นที่จ่ายปันผลจากกำไรพิเศษ หรือจ่ายจากเงินที่ไม่ได้มาจากการดำเนินงานตามปกตินะครับ เช่นการขาย Asset เข้า กอง Reit ขายหุ้นในบริษัทลูกและอื่นๆ
BTC Transaction/On-Chain Volume (Basic)Description:
Whale: Whale utilizing discounted prices (increasing on-chain volume & decreasing price)
Recovering: Positive momentum in price after potential whale activity
Cycle Volume Support: The transaction volume support during a cycle
What’s the best time to invest?
After institutions make up their mind at low price levels.
How’s on-chain volume related to whales or institutional money?
On-chain volume is contributed not only by using BTC as payment methods, but more importantly by large custodians using the BTC chain to settle internal whale trades. When OTC volume is estimated 2-3 times of exchange volume, and when total on-chain volume is only a small fraction of the exchange volume, the OTC settlement plays a big factor in moving the on-chain volume around.
Why does the price drop further after spotting whale money?
Does new money equal higher true value? Yes.
Does new money equal higher price? No.
Whales could not only ladder in when they see the price on discount, but also push the price further down to accumulate at better price levels. However, either route chosen, it’s most likely for the price to rise to a higher level compared to the level when the whales enter. Whales are here to make money after all.
Stock to Flow Model with Standard Deviation BandsThis Study takes the Stock to Flow Model for Bitcoin as presented by 100trillionUSD and smoothes it using an SMA. Then it calculates the close's standard deviation from it and displays the 2-Sigma Bands.
The stock to flow model seems to be one of the best predictions of Bitcoins price.
The standard deviation bands are supposed to show situations in which Bitcoin is significantly over- or under-bought.
Bitcoin Network Value to Transactions [aamonkey]Cryptoassets have been quite turbulent in the past few weeks.
At times like this, it is especially important to look at the fundamental foundations of cryptoassets.
This indicator is based on the Network Value to Transactions , or NVT .
Definition:
NVT = Network Value / Daily Transaction Volume
Because this indicator is pulling the Daily Transaction Volume for BTC it can only be used for BTC and the daily timeframe.
Session AverageThis indicator finds the average time of High or Low formed in sessions.
This is a request from trader @Salmanmahmood15 . You need permission from him to fully use it