Price prediction by Nearest Neighbor found by a weighted correlation coefficient – indicator MetaTrader 5
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