ATR %Displays ATR percentage with 2SD. When value is greater than 12% I consider the stock as highly volatile
Percentage
Fixed Percent Stop Loss & Take Profit %===========
Fixed Percent Stop Loss & Take Profit %
===========
A neat example of how to set up Fixed Stops and Take Profit as a percent of the entry price.
Yup, that's about it!
You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT really profitable and NOT recommended!
You should be using this code as a way of adding Stops and Takes to your own scripts - hope it helps!
-----------
Good Luck and Happy Trading!
Any Security vs. Any Security Change Comparison [BigBitsIO]This script allows you to compare the percentage-based change in the price of any two securities on any given (and supported) timeframe on the chart. This can give you a very simple way to compare any two securities against one another.
Ex: If your base security gained 5%, and the other security gained 3% in a single day, the change comparison would show a green bar of 2% because your base security outgained your other security by 2%.
Features:
- 2 securities to compare. A base and other.
- Shortlist of default securities to choose from.
- Ability to override the default securities list and use any security supported by TradingView. You must use the correct security string to do so.
- Resolution is tied to whatever the current chart is using. This way the view of the indicator always reflects the correct resolution of the chart.
- If either market has a 0% change, it is considered likely closed during that period and will result in a change of 0%, as they shouldn't be compared at that time.
Alts vs Btc percentage changesCatch differences and over-corrections between Alts and Bitcoin via Ftx's indexes
A more visual description : i.imgur.com
Volume %This volume indicator additionally shows in percent how much volume, e.g. in the 1-minute chart, was traded compared to the average daily volume.
Growing or Waning Patterns [Alerts]Example how to color patterns of 3 bodies growing or waning by percentage with or without trend. Also included option for alert triggers. The yellow triangles on the chart denote where the alert triggers will fire.
• Choose Pattern Of Filter: shows bodies growing or waning or both.
• Sample Lengths Of AvgBar: number of recent bars to use for average size.
• BigBar Is Min% Of AvgBar: the minimum percent of average the big bar must be.
• MedBar Is Max% Of BigBar: the maximum percent of big bar the medium bar can be.
• SmlBar Is Max% Of MedBar: the maximum percent of medium bar the small bar can be.
• Repeat Pattern If n Bars: the number of bars to ignore repeat patterns, 1 allows all.
• Trending: on requires the growing or waning patterns to also be trending.
• GrayBars: colors non pattern bodies gray.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
2 Bar %Hey guys !
Since I was bored, figured I would make something more related to crypto.
Original idea of it was from .vfisenko. ( )
Basically this is a % Change in the last 2 bars. Also there is a criteria lines for the % over or under.
Midline OscillatorA centered oscillator that rethinks the Stocastic Oscillator (and others).
The midline of historical price is used to calculate the percentage of the current price relative to the midline.
See the comments at the beginning of the script for a complete description.
Average True Range Percentage (ATRP)ATR measures volatility, but you can't compare one instrument vs. another with it because the ATR value will be different depending on the price of the instrument. I went searching for something like ATR but with percentages, so you could compare one stock vs. another to find who is more volatile and found this .
It was exactly what I was looking for, so decided to re-create it in TradingView. Enjoy!
Description
Average True Range Percent (ATRP) expresses the Average True Range (ATR) indicator as a percentage of a bar’s closing price.
How this indicator works
ATRP is used to measure volatility just as the Average True Range (ATR) indicator is. ATRP allows securities to be compared, where ATR does not.
ATR measures volatility at an absolute level, meaning lower priced stock will have lower ATR values than higher price stocks. ATRP displays the indicator as a percentage, to allow for securities trading at different prices per share to be compared.
Calculation
ATRP = (Average True Range / Close) * 100
BTC%I made this for personal use, for a indicator, but bcs I dont see a script like this I wanted to just post it for other ppl.
This is just a script that tells the candles based on %, including wicks. (wicks are inverted to save space and bcs I prefer it)
This works for all markets.
Spread PercentThis indicator shows the percent change between the highs and the lows (or optionally the open and close) of each candle. You may also set a low and a high percent threshold to better highlight the candles that exceed your desired spread percent. Red signifies low spread, green is high spread - these are unrelated to the color of the candle body. There is also the option to display a moving average of the spread percent at your desired length which is a representation of volatility over time.
This is not only helpful for historical analysis over time, but this can also be a time saver if you are trying to calculate the measured distance of a move. Save clicks - no more needing to use the measuring tool.
The settings of the indicator on the chart above are:
- Measure Candle Body Only? - No
- Highlight Thresholds? - Yes
- Thresholds Based on Moving Averages? - Yes
- Low Percent Threshold - 3.0
- High Percent Threshold - 7.0
- Show Moving Average? - Yes
- Moving Average Length - 5
Price Percentage Divergence IndicatorThis is a price percentage divergence ( PPO ) indicator. It may as well be called a turning points indicator.)
Changed Percentage Labels - Quan DaoThis overlayed utility is used for showing the volatality of the price.
It is useful to see the changed percentage of the price in order to decide what stock/crypto to buy, b/c if the volatility (changed percentage) is high it's likely that you can make bigger profit.
Added option to display changed percentage for:
- Current Close price compared to previous Closed price.
- Close price compared to Open price.
- High price compared to Low price.
As a limit of current pine script, it can only show the last 50 labels for now.
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.
Percentage Change Comparison [BVCC]This script allows you to input 2 different coins and plot % changes against each other.
Look Back is adjustable to account for different time frame windows. Default is 1, so each line will be graphed on a 1:1 ratio with the candle period selected on the chart. raising this number to 24 will plot the change across every 24 candles and so on. It's pretty interesting to move the input dialogue window out of the way and change this number, watching how the % gain comparisons change in real time.
Default coins to compare are set to BTCUSD and ETHUSD @ coinbase.
[RESEARCH] Percentrank BugI found a bug with built-in percentrank function. Sometimes it gives unexpected and incorrect results. You can see a one of them on the chart.
ALL scripts which use percentrank function are affected. No matter which version they use, no matter who is their author - ALL scripts which use this built-in function can work incorrectly.
If you want to avoid this bug use _percentrank function (the "shim" ) - you can find it in the script.
NOTE: Don't push on TradingView Support or Pine Core Team because they already know about this issue and work on the fix. I publish it to warn you.
GBTC/BTC(average) premium percentageaverage bitcoin price used (average between bitfinex, coinbase, bitstamp, bittrex, and gemini).
find current amount of bitcoin per share here: grayscale.co
GBTC/BTC(average) premium percentageI updated the GBTC premium percentage indicator to the average bitcoin price (average between bitfinex, coinbase, bitstamp, bittrex, and gemini). I also left this new script open so you can update the amount of bitcoin per share because it is always changing. you can find the amount of bitcoin per share at grayscale.co half way down on the left.
BossHouse - Price ChangeBossHouse - Price Change
What it is:
In the stock market, a price change is the difference in trading prices from one period to the next or the difference between the daily opening and closing prices of a share of stock.
Here you have a timeline with a bar price change. In seconds you can see if the selected market has good and high price changes or not.
The values are in percentage and you have a limiter in the settings, so you can show only bar/values above a value. Ex. 2.4%.
Why it Matters:
Price changes are a core component of financial analysis, and predicting price changes can be as, if not more, important than an actual price change.
It is important to remember, however, that percent-based price changes are useful only in the context of the number of dollars involved.
A 75% change in the price of a company X, for example, may only involve a few dollars while a 75% change in the price of company Y may involve thousands of dollars.
Settings:
Show the SMA 21 line
Minimum Limit - Set the minimum value to show a bar
Calculation:
For example, let's say Company XYZ shares opened at $25 this morning and closed at $24.
The price change is -$1, or -$1/$25 = -4%.
Any help and suggestions will be appreciated.
Marcos Issler @ Isslerman
Weekly & Daily Percantage Price OscillatorMy first script.
By Vitali Apirine. Technical Analysis of Stocks & Commodities ( February 2018, Vol.36 Issue 2). Thank you.
Percentage Volume OscillatorThis indicator is based on Percentage Price Oscillator and volume as a source.
Percentage BandsA different version of bollinger bands, I use percentage difference instead of standard deviation.