Codes

MetaCOT 2 CFTC ToolBox (Set of Indicators) MT5 for MetaTrader 5

MetaCOT 2 CFTC ToolBox Indicators is a set of MetaCOT 2 indicators that provide access to CFTC reports. MetaCOT 2 supports COT, Disaggregated COT, TFF and CIT reports. It allows to draw COT charts straight in the MetaTrader terminal. All indicators are available as source code, and anyone can use

MetaCOT 2 CFTC ToolBox (Set of Indicators) MT4 for MetaTrader 4

MetaCOT 2 CFTC ToolBox Indicators is a set of MetaCOT 2 indicators which provides access to data from CFTC reports. MetaCOT 2 supports COT reports, Disaggregated COT, TFF and CIT. All indicators are available in source code and can be used to build your trading system

TradeState - the EA trading mode switcher depending on the time for MetaTrader 5

The class restricts the EA trading by time. It has flexible configuration options, which allow to set a custom number of the time zones, and also to allow trading only on the specified week days

Ilan 1.6 Dynamic HT for MetaTrader 5

The popular Ilan 1.6 Dynamic belongs to the category of "averagers". Ilan uses advanced money management formulas and allows taking even losing positions to profit. Now Ilan 1.6 Dynamic is available as a source code for MetaTrader 5

Articles

Developing graphical interfaces based on .Net Framework and C# (part 2): Additional graphical elements for MetaTrader 5

The article is a follow-up of the previous publication "Developing graphical interfaces for Expert Advisors and indicators based on .Net Framework and C#". It introduces new graphical elements for creating graphical interfaces

Developing graphical interfaces for Expert Advisors and indicators based on .Net Framework and C# for MetaTrader 5

The article presents a simple and fast method of creating graphical windows using Visual Studio with subsequent integration into the Expert Advisor's MQL code. The article is meant for non-specialist audiences and does not require any knowledge of C# and .Net technology

Custom Strategy Tester based on fast mathematical calculations for MetaTrader 5

The article describes the way to create a custom strategy tester and a custom analyzer of the optimization passes. After reading it, you will understand how the math calculations mode and the mechanism of so-called frames work, how to prepare and load custom data for calculations and use effective

R-squared as an estimation of quality of the strategy balance curve for MetaTrader 5

This article describes the construction of the custom optimization criterion R-squared. This criterion can be used to estimate the quality of a strategy's balance curve and to select the most smoothly growing and stable strategies. The work discusses the principles of its construction and

Universal Expert Advisor: CUnIndicator and Use of Pending Orders (Part 9) for MetaTrader 5

The article describes the work with indicators through the universal CUnIndicator class. In addition, new methods of working with pending orders are considered. Please note: from this point on, the structure of the CStrategy project has undergone substantial changes. Now all its files are located in

Implementing a Scalping Market Depth Using the CGraphic Library for MetaTrader 5

In this article, we will create the basic functionality of a scalping Market Depth tool. Also, we will develop a tick chart based on the CGraphic library and integrate it with the order book. Using the described Market Depth, it will be possible to create a powerful assistant tool for short-term

Universal Expert Advisor: Accessing Symbol Properties (Part 8) for MetaTrader 5

The eighth part of the article features the description of the CSymbol class, which is a special object that provides access to any trading instrument. When used inside an Expert Advisor, the class provides a wide set of symbol properties, while allowing to simplify Expert Advisor programming and to

MQL5 Cookbook - Creating a ring buffer for fast calculation of indicators in a sliding window for MetaTrader 5

The ring buffer is the simplest and the most efficient way to arrange data when performing calculations in a sliding window. The article describes the algorithm and shows how it simplifies calculations in a sliding window and makes them more efficient

Universal Expert Advisor: Integration with Standard MetaTrader Modules of Signals (Part 7) for MetaTrader 5

This part of the article describes the possibilities of the CStrategy engine integration with the signal modules included into the standard library in MetaTrader. The article describes how to work with signals, as well as how to create custom strategies on their basis

Universal Expert Advisor: A Custom Trailing Stop (Part 6) for MetaTrader 5

The sixth part of the article about the universal Expert Advisor describes the use of the trailing stop feature. The article will guide you through how to create a custom trailing stop module using unified rules, as well as how to add it to the trading engine so that it would automatically manage

Forum

Generic Class Library - bugs, description, questions, usage and suggestions

As of December 6, 2017, the standard MetaTrader 5 delivery set includes the so-called Generic classes , which implement efficient algorithms for data storage and extraction. This branch was created to describe these classes, examples of working with them, as well as for suggestions on how to improve

ePayments - everything?

Information on ePayments cards Our card programme is under review by Mastercard. For this reason we are unable to issue new cards. Also Mastercard is launching a full chip upgrade on all its card products . As a result of this update, all cards already issued will be fully operational, but we will

Who has a website? Is it worth it or not to keep your own resource?

The actual question is in the title of the topic. MetaQuotes gives you few opportunities to promote your products and ideas within the platform. There is a Marketplace with multilingual support, screenshots and descriptions (albeit short). There are blogs where you can publish additional material

Principles of working with an optimiser and basic ways of avoiding fitting in.

It's been a long time since I've created new topics, but being on this forum for a year now, I see that a frightening number of people in our community of mts'niki traders don't understand or know the tools they need to work with. On the other hand, about half a year ago the forum administration

Sensation! A profitable strategy for playing beagle has been found!

So, the conditions of the problem: Курс инструмента задается следующим образом. В начальный момент цена равна 1.0000 В каждый новый тик кидается монетка, если орел p = p*1.0001, если решка p = p/1.0001 Спред равен 2 пипсам. Трейдер обладает суммой в 100000 долларов. Максимальное плечо 1:100

Who has what kind of iron?

I was wondering what hardware modern programmers use to explore markets. Does anybody have a cluster or at least a multiprocessor configuration with 64-bit computing? Or maybe some third stump with 256 Mb of RAM is enough to calculate the Divine Market Structure ? Well don't hesitate to describe

Funny, it turns out Alexander Elder is freelancing in our Market

Today I've seen an unusual product in the indicator advertising, which is inserted between forum posts - its author was not a real person, but a certain financial company. When I clicked on the product and went to the author's page , I was surprised to find a picture of Grandpa Elder: At first I

CryptDecode with modifier CRYPT_ARCH_ZIP - How to use?

The actual question is this. As I understand it, we are talking about packing/unpacking zip array. It's mega useful thing, but I can't use it, CryptDecode function stubbornly gives zero result on test zip archive: //+------------------------------------------------------------------+ //| Script

How do I go through an enumeration consistently?

Let's say we have an enumeration. How can we get all possible values of this enumeration one by one, e.g. in a loop? ENUM_TIMEFRAMES tf1; I.e. tf1++ must sequentially return PERIOD_M1 , PERIOD_M2, PERIOD_M5... I think this cannot be done with the language tools

MetaTrader 5 Strategy Tester: bugs, bugs, suggestions for improvement

The MetaTrader 5 Strategy Tester is currently undergoing an in-depth revision by the MQ team. Despite the fact that over the past two years a lot of work has been done (thanks to the MetaQuotes team), this tester raises a lot of questions. Unfortunately, the most recent changes are aimed more at the