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,
Analisi fondamentale
Portfolio and Risk Management: Gold Based Net Growth CoefficientHello, if our topic is stocks, whatever signal we get, we have to divide and reduce the risk.
Apart from the risk, we need inflation-free figures to detect a clear growth.
Gold is one of the most successful tools to beat inflation in this regard in the historical context.
When the economy is good, we have to beat both commodities and inflation.
For this purpose, I found it appropriate to develop a net growth factor free from gold growth.
Investors need several stocks with a high growth rate and as much risk-free as possible.
Personally, I think that the science of portfolio and risk management will last a lifetime and should continue.
I think this subject is a research and development subject.(R & D)
My research and publications on this matter will continue publicly.
I wish everyone a good day.
NOTE : You can determine the return in the time period you want to look back by adjusting the period in the rate you want from the menu.
The standard value is 200 days. (1 year)
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.
Coronavirus Cases Doubling Indicator - Days to doubleHello guys! Batcash here!
Since the coronavirus has become a global pandemic, all eyes have been on the efforts to control the growth of the infections.
To help the common masses understand the statistics of exponential growth I have decided to make the Coronavirus growth indicator.
Basically the indicator will give an estimate of how many days are required for the current number of coronavirus cases to double.
So if the indicator lists the current number as 2.6, it means that the current number of coronavirus infections eg. 33272 as of writing in the US will double to 66544 in 2.6 days if the current growth rate persists.
Please use the following search title to search for Confirmed Coronavirus cases (CONFIRMED_)
eg.
CONFIRMED_US - USA
CONFIRMED_KR - South Korea
CONFIRMED_CN - China
CONFIRMED_DE - Germany
The higher the number of days in the indicator, the better!!
Please stay safe and stay informed!
Wish the world a speedy recovery!
[e2] EDS Key & AvwapThis indicator shows a Key Level Support & Resistance level and VWAP that resets on your choice of the stock's Earnings , Dividends or Splits release date.
A maximum of 8 bands calculated using a factor of the anchored VWAP's standard deviation can be displayed.
Note
The script is designed for stock-trading only.
Credits
Inspired by timwest , LazyBear 's Earnings S/R Levels and MichelT 's Earnings, Splits, Dividends scripts.
Earnings, Splits, DividendsExample of requesting Earnings, Splits, Dividends using pine-script.
That way is inner representation of data in TradingView, so it can be changed any time. It's just an example of requesting of the data.
Description of the series.
Earnings:
time: report date (unix time stamp)
open: estimate value
low: reported value
close: actual value
high: fiscal period (unix time stamp)
Splits:
time: split date (unix time stamp)
close: split denominator
open: split numerator
Dividends:
time: ex-dividend date (unix time stamp)
close: amount
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 ขายหุ้นในบริษัทลูกและอื่นๆ
Bitcoin Logarithmic Growth Curves & ZonesI found this awesome script from @quantadelic and edited it to be a bit more legible for regular use, including coloured zones and removing the intercept / slope values as variables, to leave space for the fib levels in the indicator display. I hope you all like it.
Bitcoin Halving CountdownHello traders,
I offer you today the BTC halving countdown updated in real-time on your charts
I inspired myself greatly from the gentleman @everget's script LTC halving countdown below
(
The countdown date is coming from that source www.bitcoinblockhalf.com.
The halving date is estimated to be around May 13th, 2020 .
That date is hardcoded in the script and is used for the countdown calculation.
The Bitcoin block mining reward halves every 210,000 blocks, the coin reward will decrease from 12.5 to 6.25 coins.
Enjoy the weekend
Dave
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.
Rate Of Change Earnings Move - ROCEMRate Of Change Earnings Move
What is it and how does it work?
The Rate of Change Earnings Move indicator or ROCEM is an indicator designed for giving the user an idea of how much a stock has moved up or down in past earnings reports. This is ideal for options traders who can use ROCEM to calculate whether or not their long straddles are actually probable of happening.
How it works
The indicator measures the absolute value rate of change and then calculates the average rate of change for the day of the earnings report for the past 8 earnings reports (2 years). It then takes the current stock price and finds the upper and lower price based on the average rate of change for past earnings.
I have also included a moving average (purple line), use this to see if the current rate of change is higher than usual.
Additionally, earnings reports are marked with a red x on the indicator.
How to trade ROCEM
This is primarily made for options trading so I will be explaining how it can be used for that. It is not suited for traditional stock trading as it does not determine a market direction.
Select a stock with an upcoming earnings
Enter your per leg commissions in the indicator if you want it to calculate new upper and lower prices (makes it easier to determine if the options trade will pass the breakeven when commissions are factored in)
Compare your long straddle breakevens with the upper and lower prices of the indicator. If the upper breakeven is smaller than the upper price in ROCEM and the lower breakeven is larger than the lower price in ROCEM, then a long straddle position could be considered a reasonable trade based on past earnings performance.
Blockchain Fundamentals - Satoshies Per Dollar by Cryptorhythms🔗Blockchain Fundamentals - Satoshis Per Dollar by Cryptorhythms
Intro
SPD is a new metric I propose which can be used to determine general sentiment and help narrow down periods to DCA .
Description
In the most basic sense this indicator is simply showing you how many satoshies are equal to one US dollar . This can be a useful metric to keep stored in the back of your mind. It can also give you a new satoshi based perspective on bitcoin pricing.
I simply added an MA selection option to give a basic sentiment reading. You could also use the red areas as a modified DCA (i.e. only do dollar cost averaging when red zone is in effect.
The indicator is not really meant for buy/sell signaling but more as a reference
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 71st script on Tradingview!
💬Check my Signature for other information
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.
Volume ValueInstead of the Volume this plots the closure price times volume, hence the Value.
Useful in study of long term phenomenons.
Current Price Label by Westy_A simple Indicator to display the current price of the asset above the current bar. It shows a green label if the close is equal or greater than the open, red otherwise.
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
NVT Signal with RMA and thresholds [alertable]NVT Signal, or NVTS, is an indicator that compares the market cap of Bitcoin to the aggregate USD value of daily transactions on the Bitcoin blockchain. It is a value indicator that shows a multiple of Bitcoin price against the actual usage of its blockchain. When the NVTS is low, it suggests Bitcoin price is low relative to the amount of utility the network provides, and vice versa.
For more information on NVTS, visit medium.com
This indicator aims to provide the following:
1. An open-source implementation of NVTS on Tradingview, as the most popular one currently is closed-source.
2. To provide two simple ways to define and visualize "overbought" or "oversold" conditions using the NVTS. Here, we have absolute value of NVTS & deviation from a long-term moving average.
3. Crude integration into Tradingview's alert system.
What this indicator CANNOT do:
1. Timeframes below 1d.
2. Signals based on statistical analyses, such as seen in Bollinger Bands et al. (However, with the appropriate type of account, you can add BBands on top of this indicator.)
I would like to express my gratitude to Willy Woo, Chris Burniske and Dimitry Kalichkin for their work on NVT Ratio and NVT Signal, without which my indicator would not have been created.
Feel free to fork & improve, or experiment with settings. I hope this indicator will be useful to someone.
BitMEX ETHUSD contract value (USD)The ETHUSD Quanto Swap contract on BitMEX allows you to trade ETHUSD with Bitcoin put forward as collateral. However this means that 1 contract is not equal to 1 USD or 1 ETH, but instead varies according to the price of ETHUSD.
You can see the contract specs here www.bitmex.com and find more information here blog.bitmex.com
My advice is always to make sure you fully understand a derivative product before you trade it, however many of us may not have the acumen to actually understand how a quanto swap works. Nevertheless, we have to be aware that the value in USD of each contract depends on the price of Ethereum and also the price of Bitcoin at each point in time.
This tool will show you the value of a single ETHUSD contract in USD, but it solely for indicative purposes only. Your trade, your risk. I do not ask for any donations from your gains and I am not liable for any of your losses.
Source code is provided.
Note in the example image that the price of ETHUSD is plotted on a logarithmic scale but the indicative contract value is linear.
Chiki-Poki BFXLS Longs Shorts Abs Normalized Volume Pro by RRBChiki-Poki BFXLS Longs vs Shorts Absolute Normalized Volume Value Pro by RagingRocketBull 2018
Version 1.0
This indicator displays Longs vs Shorts in a side by side graph, shows volume's absolute price value and normalized volume of Longs/Shorts for the current asset. This allows for more accurate L/S comparisons (like a log scale for volume) since volume on spot exchanges (Bitstamp, Bitfinex, Coinbase etc) is measured in coins traded, not USD traded. Similarly, L/S is usually the amount of coins in open L/S positions, not their total USD value. On Bitmex and other futures exchanges volume is measured in USD traded, so you don't need to apply the Volume Absolute Price Value checkbox to compare L/S. You should always check first whether your source is measured in coins or USD.
Chiki-Poki BFXLS primarily uses *SHORTS/LONGS feeds from Bitfinex for the current crypto asset, but you can specify custom L/S source tickers instead.
This 2-in-1 works both in the Main Chart and in the indicator pane below. You can switch between Main/Sub Window panes using RMB on the indicator's name and selecting Move To/Pane Above/Below.
This indicator doesn't use volume of the current asset. It uses L/S ticker's OHLC as a source for SHORTS/LONGS volumes instead. Essentially L/S => L/S Volume == L/S
Features:
- Display Longs vs Shorts side by side graph for the current crypto asset, i.e. for BTCUSD - BTCUSDLONGS/BTCUSDSHORTS, for ETHUSD - ETHUSDLONGS/ETHUSDSHORTS etc.
- Use custom OHLC ticker sources for Longs/Shorts from different exchanges/crypto assets with/without exchange prefix.
- Plot Longs/Shorts as lines or candles
- Show/Hide L/S, Diff, MAs, ATH/ATL
- Use Longs/Shorts Volume Absolute Price Value (Price * L/S Volume) instead of Coins Traded in open L/S positions to compare total L/S value/capitalization
- Normalize L/S Volume using Price / Price MA / L/S Volume MA
- Supports any existing type of MA: SMA, EMA, WMA, HMA etc
- Volume Absolute Price Value / Normalize also works on candles
- Oscillator mode with negative axis (works in both Main Chart/Subwindow panes).
- Highlight L/S Volume spikes above L/S MAs in both lines/oscillator.
- Change L/S MA color based on a number of last rising/falling L/S bars, colorize candles
- Display L/S volume as 1000s, mlns, or blns using alpha multiplier
1. based on BFXLS Longs vs Shorts and Compare Style, uses plot*, security and custom hma functions
2. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Notes:
- Make sure that Left Price Scale shows up with Auto Fit Data enabled. You can reattach indicator to a different scale in Style.
- It is not recommended to switch modes multiple times due to TradingView's scale reattachment bugs. You should switch between Main Chart and Sub Window only once.
- When the USD price of an asset is lower you can trade more coins but capitalization value won't be as significant as when there are less coins for a higher price. Same goes for Shorts/Longs.
Current ATH in shorts doesn't trigger a squeeze because its total value is now far less than before and we are in a bear market where it's normal to have a higher number of shorts.
- You should always subtract Hedged L/S from L/S because hedged positions are temporary - used to preserve the value of the main position in the opposite direction and should be disregarded as such.
- Low margin rates increase the probability of a move in an underlying direction because it is cheaper. High margin rates => the market is anticipating a move in this direction, thus a more expensive rate. Sudden 5-10x rate raises imply a possible reversal soon. high - 0.1%, avg - 0.01-0.02%, low - 0.001-0.005%
You can also check out:
- BFXLS Longs/Shorts on BFXData
- Bitfinex L/S margin rates and Hedged L/S on datamish
- Bitmex L/S on Coinfarm.online
Earnings Support and Resistance Levels [NeoButane]Inspired by @LazyBear's/@timwest's script:
Usage: support and resistance levels based on averaging price around earnings and quarterly opens.
What it is plotting:
1. A horizontal level whenever earnings occur. If actual earnings is higher than estimated, the line turns green, else red.
2. A horizontal level every quarterly open, colored black.
3. An average between the two mentioned above, colored orange.
4. 5% moves away from 3M open and earnings
5. Misc: 5% move away from that 5% move away, then 10% move away from the 2nd 5% move away.
By default, 4 and 5 are off to reduce visual noise.
Idea: Traders panic around certain dates that always happen, and traders always panic in the wrong direction. The market is composed of traders trading in the wrong direction at the same time, all the time. That means price will bounce back and forth as the gambling dens colloquially known as 'forex brokerages' or 'stock exchanges' take your money in the form of fees, time, and liquidations. So I put two lines on the chart and put one right in between, because it always goes back. I hope you can find it useful!
Note: This was a part of the old fundamental data indicators and is not officially for use, so while it should work on most U.S. stocks and a couple of other exchanges, it is not perfect.