Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.12.19 11:17

String - Library of functions for working with strings - library for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 27
string.mqh (6.61 KB)view

Library of functions for working with strings.

The following functions are available:

  • StringToArray (3 overloads): extracting of the same type elements from the string into an array of a necessary type (the StringSplit analog);
  • StringToPeriod and PeriodToString: conversion of time frame names in tabulation at ENUM_TIMEFRAMES and back.

The library will refill as often as required.


#include <komposter\String.mqh>

Translated from Russian by MetaQuotes Software Corp.
Original code:


The MACD histogram drawn using two signal lines in the price chart of the financial asset.

AffineTransform AffineTransform

The indicator transfers the price data to the new coordinates system shifting price axis (axis of the ordinates).


The Expert Advisor using the GG-RSI-CCI signal indicator.

Silent stochastic Silent stochastic

This stochastic considerably reduces the number of false signals by adjusting sensitivity