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,
Kurs-Gewinn-Verhältnis (KGV)
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
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.
Stupid strategyStrategy with simple stop-loss and take-profit in percentage. If last trade was a successful one then repeat it. If not successful - do a reversal trade.
Multiplier ChartI am proposing an alternative to the percent change.
An alternative that is symmetrical to both positive and negative change, unlike percentage change.
The simple idea is to have a positive number if the reference value (called val in the script) is lower than the stock value and needs to be multiplied;
a negative number instead if the reference number is higher than the stock value, so the reference value needs to be divided.
Multiplying all by 100 to give clearer and more readable results, the Multiplier would have a huge gap between +100 and -100, because a stock multiplied by 1 or divided by 1 are the same thing.
So we need to compromise and move all positive numbers down by 100 and all negative numbers up by 100. This actually gives a similar result to percentage change, and it is actually identical in the positive range.
The fundamental difference lies on the negative range, which is completely symmetrical. So if a stock goes up 100 points one day (doubles), and the next it goes down another 100 points (halves), at the end of the second day the stock has the same value as it had at the beginning of the first day! On percentage change it would be +100% the first day and -50% the second.
We mustn't undervalue the human tendency to compare a 1% change to a -1% change, but they do not mean the same even if they seem to indicate so.
A clear example of this can be found on CMC 0.60% -3.56% -3.56% (CoinMarketCap), in which each day are shown the best and worst performing coins of the day. So you might see a +900% there in the top performing, but you'll never see a -900%, because percentage change cannot go further than -100%. It is a fundamentally asymmetric scale that can confuse people a lot especially in those fast moving new markets.ù
I am welcome to feedback and all kinds of opinions and critics.
Some interesting things to note: you can use it as a percentage change indicator or as a different perspective to a stock chart. In fact, it lets you see how big of a difference it made buying coins when they were very cheap, because when they are cheap a difference of what it might seem nothing is amplified by all the gains that the stock/coin made after. So, looking at coins charts using this indicator shows how "not flat" were the early days, which in a normal chart are flattened to 0.
Mayer MultipleFollowing Preston Pysh's "Bitcoin Mayer Multiple" study, I made this simple script to plot the Mayer multiple by calculating the ratio between bitcoin price and its 200-day moving average. It also plots the moving average of ratio itself.
Mayer Multiple Buy PriceFollowing Preston Pysh's "Bitcoin Mayer Multiple" study, I made this simple script to plot the recommended buy price based on the calculated 2.4x ratio between bitcoin price and its 200-day moving average. The ratio and SMA length have default values of 2.4 and 200 and can be adjusted.
Earnings S/R Levels [LazyBear]These levels are based on price around earnings day. I have implemented support for 2 calculation modes:
Mode 1: Level = (low of 1 day prior to earnings + high of 1 day after earnings) / 2.0
Mode 2: Level = (hl2 of 1 day prior to earnings + hl2 of 1 day after earnings + close from earnings day) / 3.0
Chart above shows "Mode 1". Mode can be changed via options page.
This indicator was requested by user @mika2k1ff. I learnt more about this idea from @DanV and @TimWest (Thanks guys :)). BTW, TimWest has an indicators package, "Key Hidden Levels", that has this and more.
Do let me know how you use this, I am very intrigued by the potential this idea shows. Thanks.
For a complete list of my indicators:
- GDoc: docs.google.com
- Chart: