The new array feature is extremely powerful, as it will allow pinescript users to do more complex things, or compute existing calculations more efficiently, it will also be possible to shine some light to some already existing functions, one of them being percentile_nearest_rank . We have been working on this new feature with our pal alexgrover, and made this...
Ehlers Smoothed Adaptive Momentum script. This indicator was developed and described by John F. Ehlers in his book "Cybernetic Analysis for Stocks and Futures" (2004, Chapter 12: Adapting to the Trend).
Introduction The Median Convergence Divergence (MCD) is a derivative of the Moving Average Convergence Divergence (MACD). The difference is the change in the use of the measure of central tendency. In MACD, moving average (mean) is used, whereas, in MCD, the median is used instead. The purpose of using the median is to eliminate the outlying values, which would...
QUANTILE ESTIMATORS Weighted Harrell-Davis Quantile Estimator with Absolute Deviation Fences. DISCLAIMER: The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets. The following...
//Every spread & central tendency measure in 1 script with comfortable visualization, including scrips's status line. Spread measures: - Standard deviation (for most cases); - Average deviation (if there are extreme values); - GstDev - Geometric Standard Deviation (exclusively for Geometric Mean); - HstDev - Harmonic Deviation (exclusively for Harmonic...
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...
Original (Simple Horizontal Value and Offsets/SHV) Requested by @TAFA94 Description: Simple adjustable incremented horizontal offset lines extending up and down from a Median point. Set full value for manual Median point control, or set an incremental rounding value for auto Median adjustment. Source and look-back period inputs for fine tuning auto...
Variety N-Tuple Moving Averages w/ Variety Stepping is a moving average indicator that allows you to create 1- 30 tuple moving average types; i.e., Double-MA, Triple-MA, Quadruple-MA, Quintuple-MA, ... N-tuple-MA. This version contains 2 different moving average types. For example, using "50" as the depth will give you Quinquagintuple Moving Average. If you'd...
Apply various simple statistical measures to series of full candle ranges over user input length (in bars). Choose between AVERAGE, MEDIAN, MODE, BIGGEST. All calculations derive from the high-low range of a candle. Default length = 260, the number of daily candles in a year. MODE is calculated from pip ranges rounded to reasonable increments (to nearest 10pips...
Plots levels representing the prices that the stock closed above its n-period moving median(default=100). 2 thickest lines represents the two most recent crossover levels. Candles are colored green if the price is currently above its moving median and red if below.
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.
This study tries to highlight ranges as they are defined by TradingLatino TradingView user. The study uses median values. A range is defined as periods when the price does not move a lot. Its default values are aimed at BTCUSDT pair and 4h timeframe. HOW IT WORKS For each of the bars a '5' median is calculated based on the 'highest of open and close' For...
Interquartile Range Bands script. This indicator was originally developed by Alex Orekhov at his home. The idea based on the interquartile range en.wikipedia.org If price breaks out from the bands then it is `outlier` price. After breakouts price always returns to its median. Watch squeeze/expansion periods. Anyway use it as a supplement to the other...
Fique tranquilo, aqui tem todas as médias que o Backes utiliza dentro de um indicador só, aproveite :)
The Median Average Adaptive Filter was created by John Ehlers and this is another in my current series of undiscovered gems. I'm sure you are all saying but Franklin, Ehlers doesn't have any undiscovered gems but in this case you would be wrong. This was actually an indicator so buried on the internet that I had to use the wayback machine to find the original...
The MA Visualizer is made up of 5 Moving Averages (MA) All MA change color when the price closes above or below the MA line. The background between the MA line and price will also change color, this creates the Visualizer. When two or more MA are selected the two visualizer's will combine and create a gradient effect. Each MA can be adjusted with 6 source...
Extending the Works of Torben Mogensen, on Torben Median Median Filtering is an important technique ! The median filter is a non-linear digital filtering technique, often used to remove noise from an image or signal. Such noise reduction is a typical pre-processing step to improve the results of later processing (for example, edge detection on an image). Median...