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

2017.01.19 16:31

Simulator regular expressions - script for MetaTrader 5

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

votes: 12

The script allows you to try regular expressions.

Materials on regular expressions:

Before starting the work, please copy the all_functions.mq5 text file to the "sandbox": <data folder>\MQL5\Files\. The all_functions.mq5 text file contains all functions for processing events.

The input parameters contain the (int)(.*?)(\(\)) regular expression

(int) — search for the "int" word occurrence

(.*?) — any symbol except for a newline character or another separator of a Unicode string, found zero or more times, not greedy

(\(\)) — search for the "()" word occurrence

In other words, we should find the following string:

int OnInit()

Translated from Russian by MetaQuotes Software Corp.
Original code:

BB stops - rsi BB stops - rsi

BB stops — RSI version.

BB stops BB stops

BB stops - new version.

ZigZag_MFI ZigZag_MFI

ZigZag based on MFI oscillator.

ZigZag_RSI ZigZag_RSI

ZigZag based on RSI oscillator.