Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 1866
- Note:
- Publié:
- 2024.01.01 11:16
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
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
Here is the simplest explanation (although his cos(45) is wrong) :
![Volume Profile](https://c.mql5.com/i/code/indicator.png)
This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
![COLLECT ALL INDICATORS DATA](https://c.mql5.com/i/code/script.png)
This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes
![pivots calculation based on pine script v4](https://c.mql5.com/i/code/indicator.png)
This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql5 indicator.
![Connect Disconnect Sound Alert](https://c.mql5.com/i/code/expert.png)
This utility is simple example to add sound alert on connect / disconnect