거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Cosine distance and cosine similarity - MetaTrader 5용 라이브러리
- 조회수:
- 1672
- 평가:
- 게시됨:
- 2024.01.01 11:16
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
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
This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
COLLECT ALL INDICATORS DATAThis 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
This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql5 indicator.
Connect Disconnect Sound AlertThis utility is simple example to add sound alert on connect / disconnect