This script is based on the Gann's 50% Retracement rule.
First, the ATH (All Time High) and ATL (All Time Low) are calculated; then, the 50% retracement level is found.
With this 50% level, we'll calculate the maximum price entry to keep a ROI which is set in the parameters.
For exemple, I only want to buy assets which can make a x16 before the 50% retracement...
This script calculates how much cryptos or dollars you have to bet with 4 variables : Risk Loss , Leverage, Entry and Stop Loss.
When you want to open a position, just complete the parameters and the script will tell you how much you have to bet in dollars or cryptos units, depending the way you're trading.
Note : don't foreget that you have to pay fees on...
This is an Tradingview implementation of the Grahams Formula as described in Benjamin Grahams book "The Intelligent Investor".
In theory this can be used to screen for over- and undervalued stocks, however as Graham himself notes, you should look into other fundamentals when using them in conjunction with Grahams formula.
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...
Example 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.
time: report date (unix time stamp)
open: estimate value
low: reported value
close: actual value
This 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.
The script is designed for stock-trading only.
Inspired by timwest , LazyBear 's ...
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...
Following Preston Pysh's "Bitcoin Mayer Multiple" study (www.theinvestorspodcast.com), 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.
P.S. Checkout the Swiss army knife we're...
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...
Following Preston Pysh's "Bitcoin Mayer Multiple" study (www.theinvestorspodcast.com), 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...