Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Libraries | ZH_Functions_Tools_1 | Free Download

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Image for ZH_Functions_Tools_1

1.A function for automated distributing of color spectrum.
AutoColor (inversion of color distribution true/false = red-violet/violet-red,
true/false = filling an array/returning a fixed value (0 - 1535),
if ArraySingle true/false = amount of spectral lines/value (1 - 1535) for calculating a spectral line,
a one-dimension arrays to be filled for ArraySingle = true);
int AutoColor (bool InversColor, bool ArraySingle, int AmountSpectralLine, int Set_Color[]);
2. The function returns string name of a timeframe (TF) by TF number.
NumberInString (TF number from 0 to 8);
string NumberInString (int NumberTF);
3. A function to calculate the register length of a number before its decimal point.
Exponent (a number for calculations, a limitation on register length calculations);
The register length of a number in the format of 1.234х10^p is its exponent (p) with the base number of ten.
int Exponent (double Value, int Limiter);
4. Visualization of array data with double-precise data in comments.
DoubleArrayInComment (array name, the amount of decimal places to be visualized, 1-dimensional array to be visualized, 2-dimensional array to be visualized);
string DoubleArrayInComment (string NameArray, int digits, double Array1[], double Array2[][]);
5. Visualization of array data with integer data in comments.
IntArrayInComment (array name, 1-dimensional array to be visualized, 2-dimensional array to be visualized);
string IntArrayInComment (string NameArray, int Array1[], int Array2[][]);

Capture price channel breakouts with the Price Channel Expert Advisor. Precise entries and exits. Explore now.

Build better strategies with RobotFX professional tools – check them out.

7971

Best MetaTrader Indicators + Profitable Expert Advisors