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...
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...
Features: If you are looking for an indicator table that can project the distance between the price of the stock/index and different simple/exponential moving averages, this can be it. This is an indicator table overlaid on the main chart of your index/stock selection allowing you to see the distance in percentage terms between price and simple/exponential moving...
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...
This indicator shows 4 configurable EMAs and the distances (values and percentages) to the last price of the stock, etf or index.
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...
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.
This indicator shows the relative distance (in %) from the closing price to the 200 SMA.
// 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...
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...
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,...
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...
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.
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...
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....
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...
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...
This script shows optional: - distance between close price and Kijun-Sen - distance btween Tenkan-Sen and Kijun-Sen - Background color of current time frame - Background color of the next higher time frame