Codes

Information on the symbols for MetaTrader 4

The script outputs the information on symbols to a CSV file: swaps, spreads, stops, contracts

Grouping account history for MetaTrader 4

The script reads the list of deals from the account history, groups them by the sign specified in the parameters and outputs to a file

Transfer trades from the tester report to the chart for MetaTrader 4

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart

Gap indicator for MetaTrader 4

The indicator shows the gaps between the closing price of the previous bar and the opening price of the current bar

Function library for maintaining positions with a simple trailing stop for MetaTrader 4

With the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any Expert Advisor

Library of functions for working with INI-files. for MetaTrader 4

The library contains five functions for reading the values from an INI-file and five functions for writing the values to an INI-file. Thus, there are five pairs of functions to read/write the values of 'integer array', 'boolean', 'double', 'integer' and 'string' types

Set2StopOrders for MetaTrader 4

Placing two pending stop orders for breaking through some trade range, for example, before the important news are published

Reverse for MetaTrader 4

It reverses all the positions on the current symbol

Average Volatility for MetaTrader 4

The script performs the calculation of the average volatility of the symbol on the specified interval

b-Account for MetaTrader 4

This library was created for testing the portfolio of expert advisors

Articles

Sending Trading Signals in a Universal Expert Advisor for MetaTrader 4

The article describes different ways of sending trading signals from a signal program unit of a universal Expert Advisor into the positions and orders controlling unit. It dwells on serial and parallel interfaces

Forum

Useful features from KimIV

In this thread I will post the codes of my functions in MQL4, give examples of their use, and answer questions related to their use. Each function will be published in two posts. The first post will contain the function code, the second - examples of use and short explanations. Sometimes I will