ATH Gain PotentialThe indicator quantifies the relative position of a symbol's current closing price in relation to its historical all-time high (ATH).
By evaluating the ratio between the ATH and the present closing price, it provides an analytical framework to estimate the potential gains that could accrue if the symbol were to revert to its ATH from a specified reference point. The ratio serves as a quantitative measure for assessing the distance between the current market value and the symbol's historical peak, enabling investors to gauge the prospective profitability of a return to the ATH.
Gains
100% Daily Gain LevelsThis script takes the previous days closing value and calculates the current 100%, 200%, 300% and 400% levels for that stock.
Using that information it draws a dotted persistent line (with labels on the far right) at those levels. This information can be useful as it can then, at times, act as a support/resistance for momentum stocks. So when a stock runs 100% and holds that level, historically, that stock has a good chance to continue rising. Same when hitting additional "100%" ranges.
The user has the option to deselect the labels and/or lines.
If people find this useful then I can work on adding options that allow users more freedom to adjust how the lines are displayed as well as some enhancements to the display.
Position TrackerEnter your purchase price & the quantity.
It'll display a line at that value, with a label indicating the current gain/loss
Potential Gain/Loss IndicatorThis indicator calculates the gains and losses in percentage based on the highest high (ATH) and lowest low (ATL) of a given period. It takes the period as an input parameter and calculates the ATH and ATL within that period.
The indicator then calculates the potential gains in percentage if the price goes back to the ATH, as well as the potential losses in percentage if the price goes back to the ATL.
A filled area chart is plotted to show the difference between gains and losses (gains - losses) using a stepline, with green color when positive and red color when negative. The coefficient parameter allows for adjusting the scale of the gains and losses.
# Parameters
1. `period` (integer): The period used for calculating the highest high (ATH) and lowest low (ATL) within the given range. The default value is 50, and the user can select any value greater than or equal to 1.
2. `coef` (float): A coefficient to adjust the scale of the gains and losses. The default value is 0.5, and the user can select any value greater than or equal to 0.1.
Shaktiman [DSS_Rajput]I'm a Momentum Trader, following the Indian markets, Mark Minervini and William O'Neil follower.
User Settings
Inputs tab
EMA option for Table - It compares the current price of the symbol to its key EMA's and calculates the rate of return to make it easier to track the performance of the symbol. It Helps you to identify how far the price is from its Key EMA's
ADDITIONAL TABLE DATA - It will allow you to use multiple performance data sets with your set of customizable inputs (You can change periods as per your requirements)
Show Inside Bar (IB): Allows you to add Inside Bar on your chart
Show NR4 (Narrow Range): Allows you to add an NR4 bar on your chart
Show INR7(Narrow Range): Allows you to add NR7 Bar on your chart
Distance_From_EMA_Table: Allows you to enable/disable the price difference with its key EMA's table.
ROC_Table: It compares the current price of the symbol to its past price and calculates the rate of return to make it easier to track the performance of the symbol.
Note that the Performance sidebar is not updated in real-time, while this indicator is, so on real-time charts.
The formula of the calculation is (Current value - Past value) * 100 / Past value, where Past value is: 1W, 1M, 3M, 6M, 1Y
Momentum_Table: It compares the current price of the symbol to its past lowest price of that period and calculates the %Gain of the symbol from the low of that period
Power_Play_Candidate: It will show the power play candidate, similar to IBD, It merely qualifies for Power_Play.
You need to wait for the Right Entry point. It will give you 8 Week Range.
According to IBD, it should move 100%+ in less than 8 weeks. You can modify your criteria by changing the percentage gain.
U/D Ratio: IBD defines the U/D ratio as "A 50-day ratio that is derived by dividing total volume on up days by the total volume on down days.
A ratio greater than 1.0 implies positive demand for a stock"
UpVol criteria: close>open and vice versa for DownVol
Rvol (Relative Vol): Percentage volume change (compared to daily average volume)
ADR : It allows you to add the Average Daily Range to the table.
Show 50D Avg. Vol & Avg. Vol rupee: It allows you to add 50-Day Avg. Vol and 50-Day Avg. Vol rupee.
Show_Bull_Snort: Allows you to add bull snort to your chart and style the bar.
Bull Snort is the work of Oliver Kell. For more info about Oliver kell, check youtube videos of Oliver Kell.
Normal Moving Average: Plot 4 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Fixed Moving Average : Plot 4 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Plus Point: It will not change its value when you switch to a different timeframe. Let's say you applied Fixed Daily 20MA, on the intraday chart.
It will not change its value and It will give you much more clarity that, from where the price is bouncing from 20MA. Explore it (You will definitely love it!)
Fixed Moving Average : Plot 2 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Plus Point: It will not change its value when you switch to a different timeframe. (It's like Plotting 10 Week Line on Daily Chart & Intraday Charts)
Numbers of weeks to show High & Low: It will add data to the tables and also add 52 weeks of High & Low lines on the charts.
(Number of weeks is customizable, you can change as per your requirements.)
Style tab
You can modify the style and color of any of the inputs except table color.
Conclusion
If you like this script, click on Add to favorite indicators, so that you can easily add this indicator from your favorites tab right away.
Hope you find this useful. Please leave any questions you have in the comment section and I'll be happy to answer them.
Thanks!
Gain/StopLoss Percentage LinesGain/StopLoss Percentage Lines is a quick way to enter your Entry Price in to a stock and track the percentage of gain or loss at the 5% and 10% markers.
Click on the gear settings icon and type in your entry price. The percentage is defaulted to 5%. You can change this to a different percentage at this screen. Note that whatever number you enter will be doubled for the upper and lower lines. For instance, if you want to set your first red line stop loss and green gain line at 2.5%, your two other upper and lower green and red lines will be at 5%.
However, this will not change the text on the tab marker.
To change the tab text, go in to the Pine Editor and change the green text that says "5% Gain" and "5% Loss" to your new percentages.
Moving Gain Loss PercentTracks the percentage gain/loss in three ranges:
single candle (can be turned on or off)
custom range of candles
custom range of candles
For example, with a range of 3 candles, and the serie:
1 - close 10
2 - close 5
3 - close 20
The moving gain would be:
1 - close 10 - gain 10, infinite%
2 - close 5 - gain 5, infinite%
3 - close 18 - gain 8, 80%
Or, for example if the range is 12 candles on a monthly chart, then the result is the Year-To-Date gain/loss plotted as a percentage.
Daily GainPlot today's gain (%) of current security. It's a value of increase/decrease of current price compared to today's 00:00:00 candle open price.
I'm open for idea to improve this script. Drop me message or email to juraganet@gmail.com.