Price prediction by Nearest Neighbor found by a weighted correlation coefficient – indicator MetaTrader 5

Price prediction by Nearest Neighbor found by a weighted correlation coefficient
The main disadvantage of the classical Nearest Neighbor algorithm (see an examplary implementation in is that all prices within a pattern are treated equally. In other words, it assumes that older prices have the same effect on future as newer ones. To overcome this drawback, this version of the nearest neighbor indicator gives larger weights … Read more

Inverse Distance Weighted Moving Average (IDWma) – indicator MetaTrader 4

Inverse Distance Weighted Moving Average (IDWma) - indicator for MetaTrader 4
This multi-timeframe capable moving average discounts prices far from the average. It is smoother than SMA but follows price similar to an EMA of the same length. I came across en.wikipedia.org/wiki/Distance-weighted_estimator, thought it might be useful and coded it. It does have some overshoot and initial lag just like SMA, but converges to nearer to … Read more

VWAP – Volume Weighted Average Price – indicator MetaTrader 5

VWAP - Volume Weighted Average Price - indicator for MetaTrader 5
Updates: 2016-02-04; v1.47: Performance upgrade. 2016-01-15; v1.46: Performance upgrade. 2015-12-31; v1.45: Performance upgrade. 2015-12-31; v1.44: Performance upgrade. 2015-12-31; v1.43: Performance upgrade. 2015-12-26; v1.42: Performance upgrade. 2015-12-26; v1.41: Minor changes for performance upgrade. 2015-12-24; v1.40: Initial public version. VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is … Read more

VWAP Lite – Volume Weighted Average Price – indicator MetaTrader 5

VWAP Lite - Volume Weighted Average Price - indicator for MetaTrader 5
Versions: 2016-06-15; v1.49; Code Improvement 2016-01-11; v1.47; Code Improvement 2016-01-11; v1.46; Code Improvement 2016-01-11; v1.45; Code Improvement  2015-12-29; v1.43; Initial Public Release VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is trading relative to its volume weighted average for the day. Day traders also use VWAP … Read more

QWMA – quadratic weighted moving average – indicator MetaTrader 5

QWMA - quadratic weighted moving average - indicator for MetaTrader 5
This is the “regular” version of QWMA (what used to mean “quadratic weighted moving average”). The “quadratic” part does not stand any more, but the name is kept. Change made it able to calculate arbitrary weights, and that is why it is not (just) qwma any more, but since the original idea did come from … Read more