A cross-platform library of original mathematical functions – library MetaTrader 5

A cross-platform library of original mathematical functions - library for MetaTrader 5
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 … Read more

String Manipulation Functions – library MetaTrader 5

String Manipulation Functions - library for MetaTrader 5
A collection of useful string manipulation functions Function Description StringAppendIfMissing() Appends the suffix to the end of the string if the string does not already end with the suffix. StringCharAt() Returns the character at the specified index in a string. StringCharCodeAt() Returns a short integer between 0 and 65535 representing the UTF-16 code unit at … Read more

ATR adaptive smoothed Laguerre RSI (no built in functions) – indicator MetaTrader 5

ATR adaptive smoothed Laguerre RSI (no built in functions) - indicator for MetaTrader 5
This version is the version of smoothed Laguerre RSI even further optimized by not using any built in function at all Recommendations: Use it in the same way as any other Laguerre RSI indicator Speed comparison can be done the usual way (using profiler) ATR adaptive smoothed Laguerre RSI (no built in functions) – indicator … Read more

Symbol Trade Made Simple With Functions – library MetaTrader 5

Symbol Trade Made Simple With Functions - library for MetaTrader 5
This is my personal library with lot of functions to easily manipulate positions and receive various infos. I work on it since 2019. Hope you like it 🙂 SymbolOpenPipsMagic – return open pips from all positions by magic number. SymbolOpenPercentageMagic – return percentage from open positions by magic number. SymbolOpenPoints – return open points/pipets trades. SymbolOpenPointsMagic – return open … Read more

Dealing with time (2) functions – library MetaTrader 5

Dealing with time (2) functions - library for MetaTrader 5
The version of DealingWithTime.mqh v. 1.01 of the article “Dealing with Time (Part 2): The Functions” (https://www.mql5.com/en/articles/9929) did not work any more because MQ changed the behavior of the CopyTime() function some time after this article was published. Now this function no longer returns future time values if they are greater than TimeCurrent() specified for … Read more