Schau, wie man Roboter kostenlos herunterladen kann
Finden Sie uns auf Telegram!
und werden Sie Mitglied unserer Fangruppe
und werden Sie Mitglied unserer Fangruppe
Interessantes Skript?
Veröffentliche einen Link auf das Skript, damit die anderen ihn auch nutzen können
Veröffentliche einen Link auf das Skript, damit die anderen ihn auch nutzen können
Hat Ihnen das Skript gefallen?
Bewerten Sie es im Terminal MetaTrader 5
Bewerten Sie es im Terminal MetaTrader 5
- Ansichten:
- 9493
- Rating:
- Veröffentlicht:
- 2018.02.20 12:14
-
Benötigen Sie einen Roboter oder Indikator, der auf diesem Code basiert? Bestellen Sie ihn im Freelance-Bereich Zum Freelance
Materials on Regular Expressions
- The Regular Expressions for Traders article.
- The Regular Expressions in MQL4 for working with regular expressions library.
Other Useful Materials
- Microsoft .NET Regular Expressions
- Microsoft .NET Regex Class Documentation
- Microsoft Regular Expressions - Quick Reference PDF
- Others: Using Regular Expressions with The Microsoft .NET Framework
Most Useful CRegex Class Methods
- IsMatch() - Checks whether the regular expression finds a match in the input string.
- Matches() - Searches an input string for all occurrences of a regular expression and returns all the matches.
- Replace() - In a specified input string, replaces strings that match a regular expression pattern with a specified replacement string.
- Split() - Splits the subject string along regex matches, returning an array of strings. The array contains the text between the regex matches (i.e. split performs inverse match).
How to use regular expressions in MQL4 programs
#include <RegularExpressions\Regex.mqh> bool found = CRegex::IsMatch("subject_text", "regex_pattern") CMatchCollection *matches = CRegex::Matches("subject_text", "regex_pattern") string new_string = CRegex::Replace("subject_text", "regex_pattern", "replacement") string parts[]; CRegex::Split(parts, "subject_text", "regex_pattern");

After back testing, we usually need to analyze the testing result on a new chart which we have loaded our template,in this case we need to copy the objects on the testing chart to the new chart. This script helps to save the objects into a file and show the objects on a new chart.

The script downloads history for all timeframes and symbols in the Market Watch.

Simple program using the moving average as bias and providing many trade and money management options.

Can be used for hedging or trading breakout systems.