Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Bibliothèque

A cross-platform library of original mathematical functions - bibliothèque pour MetaTrader 5

Vues:
3050
Note:
(25)
Publié:
2017.05.29 13:57
\MQL5\Include\ \MQL5\Include\fxsaber\Math\
Dejavu.mqh (10.28 KB) afficher
Math.mqh (0.51 KB) afficher
\MQL5\Scripts\fxsaber\Math\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/17982

OpenBuySellStopOrders OpenBuySellStopOrders

A script for placing two Buy and Sell Stop orders at an equal distance.

OpenBuySellLimitOrders OpenBuySellLimitOrders

A script for placing two Buy and Sell Limit orders at an equal distance.

ListPositions ListPositions

A list of all positions. An example of working with CPositionInfo.

Candle Candle

Trades based on the previous candlestick.