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.
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...
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...
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 an Article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management
Here comes a study to indicate the idea of this article, Price Distance to its Moving Averages...
This study combines Bollinger Bands, one of the most popular technical analysis indicators on the market, and Directional Movement (DMI), which is another quite valuable technical analysis indicator.
Bollinger Bands used in conjunction with Directional Movement (DMI) may help getting a better understanding of the ever changing landscape of the market and...
copy pasted description..
Minkowski distance is a metric in a normed vector space. Minkowski distance is used for distance similarity of vector. Given two or more vectors, find distance similarity of these vectors.
This script implements a rebrushed distance-based pair trading strategy. In this strategy, normally they trade the difference between the prices of two instruments. This difference is also called spread. Here, however we’ll trade the difference between two time frames of one instrument. And that's the main trick. Common procedure consists of the following...
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...
Calculate the distance of the price to a moving average. Also be able to identify if the average distance is decreasing or increasing based on signal line.
Length: The moving average length to measure against.
Source: The price input source use to measure the distance from.
Signal Length: The average of distance between Source and...
FOLLOW TraderX0 and redxbt for designing the original script and idea with MAs
Follow ShowerFourth for making it VWMAs and finding the ultimate clout getting top signals of all time for Bitcoin on BITSTAMP:BTCUSD
I misspelled weighted on the chart, whatever.
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
Adopted to Pine from systemtradersuccess.com
They wrote that this average is designed to be a robust version of a moving average to reduce the impact of outliers, but I dont see a significant difference comparing it with SMA. So, I published it for the educational purposes.
To learn more about the robust...
This script holds several useful functions from statistics and machine learning (ML) and takes measurement of a volume weighted distance in order to identify local trends. It attempts at applying ML techniques to time series processing, shows how different distance measures behave and gives you an arsenal of tools for your endeavors. Tested with BTCUSD.
John F. Ehlers introuced the Distance Coefficient Ehlers Filter in his "Rocket Science for Traders" chapter 18 on 2001.
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...