Library "TimeSeriesRecurrencePlot" In descriptive statistics and chaos theory, a recurrence plot (RP) is a plot showing, for each moment i i in time, the times at which the state of a dynamical system returns to the previous state at `i`, i.e., when the phase space trajectory visits roughly the same area in the phase space as at time `j`. ``` A recurrence plot...

11

Library "SimilarityMeasures" Similarity measures are statistical methods used to quantify the distance between different data sets or strings. There are various types of similarity measures, including those that compare: - data points (SSD, Euclidean, Manhattan, Minkowski, Chebyshev, Correlation, Cosine, Camberra, MAE, MSE, Lorentzian, Intersection, Penrose...

43

The Stochastic Distance Indicator was created by Vitali Apirine (Stocks and Commodities Jun 2023 pgs 16-21), and this is a new method that measures the absolute distance between a price and its highest and lowest values over a long period. It uses the stochastic formula to create an oscillator using this distance value and smooths the value. Obviously, there is a...

173

Library "distance_ratio" Collection of types and functions that can be used for the calculation of the ratio of a distance from a barrier price using several methods. Methods supported are percentagewise (PERC), atr-based (ATR), fixed profit (PROF), tick-based (TICKS), risk reward ratio (RR) and local extrema (LOC). This library is meant to replace my...

15

Decsription: Auto-Cointegration-Based Pair Trading Strategy (revised version) To review, there are three popular styles of Pair trading: distance-based pair trading, correlation-based pair trading and cointegration-based pair trading. Typically, they require preliminary statistical estimation of the viability of the corresponding strategy. Basically a pair trade...

185

This indicator shows 4 configurable EMAs and the distances (values and percentages) to the last price of the stock, etf or index.

81

This indicator shows the distance between the current price and the Moving Average price. Key Features: Show the distance between price and Moving Average (Read Distance Calculation for more information) Show Historic Highs and Lows Show Highest High and Lowest Low Show current Highest High, current Lowest Low and current distance Key...

624

This simple indicator tracks the distance that the price is from a moving average. This can be helpful when looking for reversals based on historical informaiton.

106

This indicator shows the relative distance (in %) from the closing price to the 200 SMA.

37

// How it Works \\ Measuring the distance of the close price from a higher timeframe VWAP - Volume Weighted Average Price There is a threshold which is calculated by looking back at the previous x amount of bars and storing the highest/lowest values If the distance from the vwap stretches above that threshold, the histogram will go green if price is above VWAP and...

226

High-pass filter | Pine Utilities series, ready to be used in "study-on-study" fashion | Represents the difference between the filter and the original unfiltered data. How to use: 1) Add a filter to your chart (in this particular case it was 4-pole Gaussian filter implemented by @everget, ty man); 2) Tap ... on your's filter status line and choose "Add...

27

Library "FunctionMinkowskiDistance" Method for Minkowski Distance, The Minkowski distance or Minkowski metric is a metric in a normed vector space which can be considered as a generalization of both the Euclidean distance and the Manhattan distance. It is named after the German mathematician Hermann Minkowski. reference: en.wikipedia.org double(point_ax,...

33

Simple script that plots price to MA distance (ATR) as a bar chart. ATR is being used here instead of % because ATR keeps it relative to current volatility (1ATR move in either direction can have very different % for when price at 20cent and 2 dollars). Upper/Lower band is calculated based on the average of previous peak/trough. Price approaching the band could...

401

Hello. I've used stochastic indicator basic formula and added distance columns of %D & %K to it. The idea of columns is from MACD indicator that have distance columns in it that rising and descending these columns shows the power of trend rising or descending. I hope it will be practical and useful.

39

Prices high above the Moving Average (MA) or low below it are likely to be remedied in the future by a reverse price movement as stated in the article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management This study is the third variant that aims to present this idea, and the output of the study is...

2382

The Distance Coefficient Filter was created by John Ehlers and this is one of his more unknown moving averages. It works well because in an uptrend or downtrend it behaves more like a trailing stop system but it also deals with issues like pullbacks pretty quickly. I think it works well with the default values but let me know if you find a more profitable system....

195

Level: 2 Background John F. Ehlers introuced the Distance Coefficient Ehlers Filter in his "Rocket Science for Traders" chapter 18 on 2001. Function Dr. Ehlers considered the gray shading levels as distances, he had away of computing filter coefficients in terms of sharpness of the edge. White is the maximum distance in one direction from the median gray, and...

96

SuperTrendRange study attempts to determine the state of the market • whether a well-established bull/bear trend is present • whether the market is trading in a range SuperTrendRange (STR) takes into account the volatility of the market - further details regarding volatility can be found in the description of “Volatility Bands by DGT” study Due to its...

2333