당사 팬 페이지에 가입하십시오
A cross-platform library of original mathematical functions - MetaTrader 5용 라이브러리
- 조회수:
- 3252
- 평가:
- 게시됨:
- 2017.05.29 13:57
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The library description format is taken from an articles to the standard math. library, which is compatible with this library.
MathCorrelationPearson
The function calculates the Pearson correlation coefficients for each point of the original series, while making appropriate comparisons with the given Pattern.
bool MathCorrelationPearson( const double &Signal[], // [in] An array for comparing with the pattern const double &Pattern[], // [in] Pattern for calculating the Pearson coefficient double &Corr[] ); // [out] An array with the values of Pearson coefficients
Table of correspondence to the statistical functions in R
No. | Calculated value | MQL5 Function | R Function |
---|---|---|---|
1 | Calculates an array of Pearson correlation coefficient. | bool MathCorrelationPearson( const double &Signal[], const double &Pattern[], double &Corr[] ); | - |
An example of operation and and performance measurement in comparison with alternative implementations is available in Scripts\fxsaber\Math\TestStatBenchmark.mq5.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17982
A script for placing two Buy and Sell Stop orders at an equal distance.
OpenBuySellLimitOrdersA script for placing two Buy and Sell Limit orders at an equal distance.
A list of all positions. An example of working with CPositionInfo.
CandleTrades based on the previous candlestick.