Smooth Algorithms – Corrected/Modified – library MetaTrader 5 – library MetaTrader 5

Smooth Algorithms - Corrected/Modified - library for MetaTrader 5 - library for MetaTrader 5
This library is fully functional and bug free. A few years ago I thoroughly revised this library. Exactly  2021, ensuring its reliability. I recommend reading the author’s original explanation for this library at the following   LINK. In this example, you will see complete and operational project, labeled “Example EA”. This project uses a template obtained … Read more

Cosine distance and cosine similarity – library MetaTrader 5

Cosine distance and cosine similarity - library for MetaTrader 5
function to calculate the cosine distance and the cosine similarity. The cosine distance between 2 vectors A and B is :  So 1-CosineSimilarity And the cosine similarity is : In simple terms : the cosine of the angle between the 2 vectors or , the dot product of the vectors divided by their magnitudes multiplied … Read more