The Heikin Ashi Volatility Percentile (HAVP) Oscillator was inspired by the legendary Bollinger Band Width Percentile indicator(known as BBWP), written by Caretaker, and made famous by Eric Krown, a famous influencer. This script borrows aspects of the BBWP indicator which enables the HAVP oscillator to visually match the look and feel of BBWP and allows similar...
Not quite the usual approach to plotting targets on the chart, where the price will come with a given probability. The indicator draws targets by studying the ATR of the target timeframe. More precisely, this is not exactly an ATR - the price move is taken from the closing price of the previous bar and is calculated both up and down separately. The settings...
This indicator is a powerful tool for understanding how big of a move a product, crypto, or currency has recently had. Anything inside of the green bars is a standard move with a 68% chance of happening based on your chart timeframe. Any move that touches the red lines to the upside or downside has a 2%+ chance of happening in either direction. This is a...
This is a modification of my Rate of Change Percentile script, used to compare the current ticker (e.g. Altcoins) to BTC. Essentially we are looking at (Current Ticker ROC percentile) vs (Bitcoin ROC percentile). In other words, we are using the ROC value of both the current ticker and BTC, and ranking each based on their previous ROC. We compare the...
An original (but impractical) way to represent a candlestick chart using circles arc. The most recent candles are further away from the circle origin. Note that OHLC values follow a clockwise direction. A higher arc length would indicate candles with a higher body or wick range. The Length settings determine the number of past candles to be included in the...
Absolute Mean Entropy with Alpha Squared Entropy Price Percentile Entropy The history of the word ―entropy can be traced back to 1865 when the German physicist Rudolf Clausius tried to give a new name to irreversible heat loss, what he previously called ―equivalent-value. The word ―entropy was chosen because in Greek, “en+tropein” means “content...
This Indicator displays the momentum (performance) of the symbol in percent. You can compare the performance with other symbols. The default benchmarks are the S&P 500, the MSCI World and the FTSE All World EX US. The default length corresponds to one year in the timeframes monthly, weekly and daily. In intraday the default length is 200, but you can also set...
Estimation of the Nth percentile of a series When working with built-in functions in TradingView we have to limit our length parameters to max 4999. In case we want to use a function on the whole available series (bar 0 all the way to the current bar), we can usually not do this without manually creating these calculations in our code. For things like mean or...
Statistical methods based on mean cannot be effective all the time when attributed to financial data since it doesn't usually follow normal distribution, the data can be skewed or/and have extreme values which can be described as outliers. In order to deal with this problem it is appropriate to use median-based techniques. The most common one is called...
Historical Volatility Percentile tells you the percentage of the days from the past year (252 trading days) that have lower volatility than the current volatility. I included a simple moving average as a signal line to show you how volatile the stock is at the moment. I have included simple colors to let you know when to enter or exit a position. Buy when...
This is a composite volatility index to show percentile of current volatility compared to that of the last 52 bars. As this is a weekly chart (and this script is intended for usage on weekly charts) we can see the yearly percentile rank of volatility. As shown when volatility is in the lower 25%tile (viewed on weekly) the market is calm and likes to rise; when...
Middle quantile/band color is set by confluence of the outer quantiles and not by it's own slope. Optional MTF.
Tracks 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,...
Hope this help to see the % of winners and losers in the market. MoveTrap.
This is an experimental study designed to identify the trend of price action over a specified period using percentiles. First, the 50th percentile is calculated over the sampling period using the nearest rank method. I've found that this calculation is useful as a proxy for moving averages and other filters of that class. Next, the channel levels are calculated....
I compared custom median (using the sorting solution by @apozdnyakov) with built-in median (using percentile_nearest_rank function) If you see the zero line this means the solutions give the same results. The best results was achieved on the odd lengths. Conclusions: 1) Do not try to reinvent the wheel. 2) Always check the Pine Script docs to find already...