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....
Yo, posting it for the whole internet, took the whole day to find / to design the actual working solution for weighted percentile 'nearest rank' algorithm, almost no reliable info online and a lot of library-style/textbook-style solutions that don't provide on real world production level. The principle: 0) initial data data = 22, 33, 11, 44, 55 weights = 5 ...
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...
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...
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 script will continuously draw a boxplot to represent quartiles associated with data points in the current rolling window. Description : A quartile is a statistical term that refers to the division of a dataset based on percentiles. Q1 : Quartile 1 - 25th percentile Q2 : Quartile 2 - 50th percentile, as known as the median Q3 : Quartile 3 - 75th...
I know a Trader that went 18 months without a losing trade. This Trader averaged trading 700-800 contracts per month in the Futures markets. The was not his only system but here were his rules. He looked at the 60 minute bar and calculated the ranges of the bars over the last 3 months. IF the range of the Bar was Greater Than the 99th Percentile, He would Fade...
This simple script was a collaborative effort with 4X4good. It plots a moving median for the period using the 50th percentile value. We wanted to know the median value of VIX but surprisingly, a median indicator wasn't yet available in the indicators library. So we did a little research & put this together.
Middle quantile/band color is set by confluence of the outer quantiles and not by it's own slope. Optional MTF.
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...
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...
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...
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.