Articles

Creating a Custom Tick Chart in MQL5 for MetaTrader 5

Learn how to implement a tick-based chart in MQL5 where each bar is built from a fixed number of ticks instead of time. The article covers creating and configuring a custom symbol, capturing real-time ticks, forming OHLC values, and pushing data with CustomRatesUpdate. This approach produces

Building a Liquidity Spectrum Volume Profile Indicator in MQL5 for MetaTrader 5

Build a Liquidity Spectrum Volume Profile in MQL5 that allocates volume to equal price bins over a chosen lookback using candle close prices. The guide covers data retrieval with copy functions, binning and normalization, and drawing rectangles and POC lines with chart objects and time offsets to

File-Based Versioning of EA Parameters in MQL5 for MetaTrader 5

This article explains how to implement parameter versioning in MQL5 using binary files and packed structures. It shows how to write and read fixed-size records with FileWriteStruct and FileReadStruct in FILE_BIN mode, including version numbers, timestamps, and a checksum. You will also see how to

Creating a Traditional Renko Overlay Indicator in MQL5 for MetaTrader 5

Create a traditional Renko indicator in MQL5 that converts candlestick closing prices into fixed-size blocks displayed on the main chart. We calculate the movement from the closing price of the last block, create new blocks of a user-defined size, confirm reversals using the two-block rule, manage

Building a Volume Bubble Indicator in MQL5 Using Standard Deviation for MetaTrader 5

The article demonstrates how to build a Volume Bubble Indicator in MQL5 that visualizes market activity using statistical normalization. It covers how to work with tick and real volume, compute the mean and standard deviation over a rolling window, and normalize volume values to identify relative

Introduction to MQL5 (Part 43): Beginner Guide to File Handling in MQL5 (V) for MetaTrader 5

The article explains how to use MQL5 structures with binary files to persist Expert Advisor parameters. It covers defining structures, accessing members, and distinguishing simple from complex layouts, then writing and reading entire records using FileWriteStruct and FileReadStruct in FILE BIN mode

Introduction to MQL5 (Part 42): Beginner Guide to File Handling in MQL5 (IV) for MetaTrader 5

This article shows how to build an MQL5 indicator that reads a CSV trading history, extracts Profit($) values and total trades, and computes a cumulative balance progression. We plot the curve in a separate indicator window, auto-scale the Y-axis, and draw horizontal and vertical axes for alignment

Introduction to MQL5 (Part 41): Beginner Guide to File Handling in MQL5 (III) for MetaTrader 5

Learn how to read a CSV file in MQL5 and organize its trading data into dynamic arrays. This article shows step by step how to count file elements, store all data in a single array, and separate each column into dedicated arrays, laying the foundation for advanced analysis and trading performance

Introduction to MQL5 (Part 40): Beginner Guide to File Handling in MQL5 (II) for MetaTrader 5

Create a CSV trading journal in MQL5 by reading account history over a defined period and writing structured records to file. The article explains deal counting, ticket retrieval, symbol and order type decoding, and capturing entry (lot, time, price, SL/TP) and exit (time, price, profit, result)

Introduction to MQL5 (Part 39): Beginner Guide to File Handling in MQL5 (I) for MetaTrader 5

This article introduces file handling in MQL5 using a practical, project-based workflow. You will use FileSelectDialog to choose or create a CSV file, open it with FileOpen, and write structured account headers such as account name, balance, login, date range, and last update. The result is a clear

Forum

EA not executing trades for client

Hello MQL5 family. I recently sold an Expert Advisor (EA) to a client, which has been working perfectly for other customers. However, for this particular client, the EA is not executing any trades. I have ensured that all the necessary settings are in place, including enabling algorithmic trading