Codes

Script with example functions for creating graphical objects for MetaTrader 5

The script provides a set of functions for creating all standard graphical objects for use in your own developments. The functions presented in the script can be used "as is" or modified to your requirements

Average Day Range for MetaTrader 5

Average Daily Range Indicator

ExpPinBar - Expert Advisor for Pin Bar Price Action patterns for MetaTrader 5

Expert Advisor based on iPinBar Pin Bar Finder + several different trailing indicators

Simple Expert Advisor based on WPR, Bollinger Bands and ATR indicators for MetaTrader 5

A simple strategy based on the signals of two indicators: Williams' Percent Range (WPR) and Bollinger Bands (BB). A position is opened only when the signals of both indicators coincide

StopLoss trailing classes library for MQL5 for MetaTrader 5

A set of classes for automatic moving of StopLoss of open positions by fixed indentation or by values of Parabolic SAR and moving averages indicators, or by specified position stop level

U.S. dollar index for MetaTrader 5

A service for MetaTrader 5 that creates a synthetic custom symbol "USDX.synthetic" reflecting the US Dollar Index (DXY) in real time

Delete Trading History for MetaTrader 5

The script removes all autotrading icons from the current chart

Find Pin Bars for MetaTrader 5

The indicator searches the chart for Price Action patterns "Pin Bar" and puts icons on the bar with the found pattern

Volatility Stop for MetaTrader 5

Volatility Stop - indicator of stop levels by volatility

SMI Ergodic Oscillator for MetaTrader 5

Ergodic oscillator Stochastic Momentum Index (SMI)

Articles

Tables in the MVC Paradigm in MQL5: Customizable and sortable table columns for MetaTrader 5

In the article, we will make the table column widths adjustable using the mouse cursor, sort the table by column data, and add a new class to simplify the creation of tables based on any data sets

How to publish code to CodeBase: A practical guide for MetaTrader 5

In this article, we will use real-life examples to illustrate posting various types of terminal programs in the MQL5 source code base

Tables in the MVC Paradigm in MQL5: Integrating the Model Component into the View Component for MetaTrader 5

In the article, we will create the first version of the TableControl (TableView) control. This will be a simple static table being created based on the input data defined by two arrays — a data array and an array of column headers

The View and Controller components for tables in the MQL5 MVC paradigm: Resizable elements for MetaTrader 5

In the article, we will add the functionality of resizing controls by dragging edges and corners of the element with the mouse

The View and Controller components for tables in the MQL5 MVC paradigm: Containers for MetaTrader 5

In this article, we will discuss creating a "Container" control that supports scrolling its contents. Within the process, the already implemented classes of graphics library controls will be improved

The View and Controller components for tables in the MQL5 MVC paradigm: Simple controls for MetaTrader 5

The article covers simple controls as components of more complex graphical elements of the View component within the framework of table implementation in the MVC (Model-View-Controller) paradigm. The basic functionality of the Controller is implemented for interaction of elements with the user and

The View component for tables in the MQL5 MVC paradigm: Base graphical element for MetaTrader 5

The article covers the process of developing a base graphical element for the View component as part of the implementation of tables in the MVC (Model-View-Controller) paradigm in MQL5. This is the first article on the View component and the third one in a series of articles on creating tables for

Table and Header Classes based on a table model in MQL5: Applying the MVC concept for MetaTrader 5

This is the second part of the article devoted to the implementation of the table model in MQL5 using the MVC (Model-View-Controller) architectural paradigm. The article discusses the development of table classes and the table header based on a previously created table model. The developed classes

Implementation of a table model in MQL5: Applying the MVC concept for MetaTrader 5

In this article, we look at the process of developing a table model in MQL5 using the MVC (Model-View-Controller) architectural pattern to separate data logic, presentation, and control, enabling structured, flexible, and scalable code. We consider implementation of classes for building a table

Post-Factum trading analysis: Selecting trailing stops and new stop levels in the strategy tester for MetaTrader 5

We continue the topic of analyzing completed deals in the strategy tester to improve the quality of trading. Let's see how using different trailing stops can change our existing trading results

Forum

Fractals, fractal structures, their graphic images + Canvas

Comments not related to " Canvas is cool! "

Custom symbols. Errors, bugs, questions, suggestions.

As the topic is quite extensive, I thought it would be a good idea to have a separate discussion on it

OOP, templates and macros in mql5, subtleties and uses

Comments not related to " mql5 language features, intricacies and tr icks" have been moved to this thread

Typical mistakes and how to deal with them when dealing with the trading environment

In this thread we will discuss common mistakes made when working with the trading environment of the terminal in some algorithms, methods of their elimination and avoidance in the future

Algorithms, solution methods, comparison of their performance

In this thread we will discuss different ways of solving these or those problems and compare performance of the proposed solutions. Everyone is welcome to discuss problems and methods of solving them ;)

Organising the order cycle

Comments not related to " mql4 language features, intricacies and tr icks" have been moved to this thread

Chatter about the MT5 strategy tester

Comments not related to " New version of MetaTrader 5 build 1570: Improvement of the Marketplace window and extension of template functions in MQL5 " were moved to this topic

Features of the mql4 language, subtleties and techniques

This topic will discuss undocumented ways of working with the mql4 language , examples of solving certain problems. It would be desirable that this branch would be closer in content to the FAQ, than to the discussion. I suggest that all experienced programmers share their solutions and programming

Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes

In this thread I want to begin to help those who really want to understand and learn programming in the new MQL4 and want to easily switch to MQL5 - the languages are very similar. This blog will be a good place to discuss tasks, algorithms of their solution and any other questions concerning MT

Features of the mql5 language, subtleties and tricks

This thread will discuss undocumented methods of working with the mql5 language , examples of solving certain problems. It would be desirable, that this branch on the maintenance was closer to FAQ, than to discussion. I suggest that all experienced programmers share their solutions and programming