Articles

MQL5 Wizard Techniques you should know (Part 90): Fenwick Tree Money Management with 1D CNN in MQL5 for MetaTrader 5

This article implements a Fenwick Tree (Binary Indexed Tree) for volume-aware money management inside an MQL5 Wizard Expert Advisor. We structure cumulative volume in O(log n) and apply four scaling modes—linear, conservative, aggressive, and mean-reversion—optionally gated by a lightweight 1D CNN

MQL5 Wizard Techniques you should know (Part 89): Using Bitwise Vectorization with Perceptron Classifiers for MetaTrader 5

This article presents a custom MQL5 signal class, CSignalBitwisePerceptron, for ultra-lightweight entry logic. It packs 64 bars into a single uint64 via bitwise vectorization and evaluates them with a perceptron that sums weights only for active bits. A two-gate flow (algorithmic hash map plus

MQL5 Wizard Techniques you should know (Part 88): Using Blooms Filter with a Custom Trailing Class for MetaTrader 5

Our next focus in these series on ideas that can be rapidly prototyped with the MQL5 Wizard, is a Custom Trailing class that uses the Blooming Filter. Trailing Stop systems are an optional but very resourceful part to any trading system that we want to explore more in these series besides the

MQL5 Wizard Techniques you should know (Part 87): Volatility-Scaled Money Management with Monotonic Queue in MQL5 for MetaTrader 5

This article presents a custom MQL5 money management class that adapts position sizing to real-time volatility using a monotonic queue for O(N) sliding-window extremes. The class applies inverse volatility scaling and optionally validates risk with an RBF network. We show implementation details in

MQL5 Wizard Techniques You should know (Part 86): Speeding Up Data Access with a Sparse Table for a Custom Trailing Class for MetaTrader 5

We revamp our earlier articles on testing trade setups with the MQL5 Wizard by putting a bit more emphasis on input data quality, cleaning, and handling. In the earlier articles we had looked at a lot of custom signal classes, usable by the wizard, so we now shift our focus to a custom trailing

Codex Pipelines, from Python to MQL5, for Indicator Selection: A Multi-Quarter Analysis of the XLF ETF with Machine Learning for MetaTrader 5

We continue our look at how the selection of indicators can be pipelined when facing a ‘none-typical’ MetaTrader asset. MetaTrader 5 is primarily used to trade forex, and that is good given the liquidity on offer, however the case for trading outside of this ‘comfort-zone’, is growing bolder with

Codex Pipelines: From Python to MQL5 for Indicator Selection — A Multi-Quarter Analysis of the FXI ETF for MetaTrader 5

We continue our look at how MetaTrader can be used outside its forex trading ‘comfort-zone’ by looking at another tradable asset in the form of the FXI ETF. Unlike in the last article where we tried to do ‘too-much’ by delving into not just indicator selection, but also considering indicator pattern

Market Positioning Codex for VGT with Kendall's Tau and Distance Correlation for MetaTrader 5

In this article, we look to explore how a complimentary indicator pairing can be used to analyze the recent 5-year history of Vanguard Information Technology Index Fund ETF. By considering two options of algorithms, Kendall’s Tau and Distance-Correlation, we look to select not just an ideal

Markets Positioning Codex in MQL5 (Part 2): Bitwise Learning, with Multi-Patterns for Nvidia for MetaTrader 5

We continue our new series on Market-Positioning, where we study particular assets, with specific trade directions over manageable test windows. We started this by considering Nvidia Corp stock in the last article, where we covered 5 signal patterns from the complimentary pairing of the RSI and

Markets Positioning Codex in MQL5 (Part 1): Bitwise Learning for Nvidia for MetaTrader 5

We commence a new article series that builds upon our earlier efforts laid out in the MQL5 Wizard series, by taking them further as we step up our approach to systematic trading and strategy testing. Within these new series, we’ll concentrate our focus on Expert Advisors that are coded to hold only

Forum

Tick volume vs Real volume

MQ5 offers these two. What is the difference between them

Suggestion

We need an app like this for mql5 on iOS Continuous .NET C# and F# IDE by Krueger Systems, Inc. https://itunes.apple.com/us/app/continuous-net-c-and-f-ide/id1095213378?mt=8 The link above is to an app that allows programming c# and f# on iOS. We need something similar for mql

ini script

Hello, I need help with a sample ini script that makes MetaTrader 5 optimize an EA and save the best results in a *.*set file to a location of my choosing. This optimization is to be done for multiple symbols. Are samples of this available online

Ransomware Protection

The developers of this virus that almost shut down UK's NHS are allegedly redeveloping and improving it to wreck more havoc! My question is what assurance do we have that virtual servers (esp. those offered by metaquotes in lieu of VPS) will be secure going forward

Order filling (Persistent Problem)

I keep getting order filling error 10030 with FxPro. Here is my code. bool IsFillingTypeAllowed( string symbol, int fill_type) { int filling = ( int ) SymbolInfoInteger (symbol, SYMBOL_FILLING_MODE );

Broker Order filling

I trade with a certain broker using an EA and I never used to have problems. However recently my orders have been declined because of error 10030. Prior to this I used to input the order filling type as a parameter for the EA and it would work without a problem. But now even when I use

Closing a position

How does one close a position under the new hedging system via an MqlTradeRequest

Local Network farm

Snap shot of my agents

OpenCL Query

How do I implement a for-loop with 'break' and 'continue' in OpenCL. The examples in the articles provided do not show this

PR Calculation for agents!!

The calculation of "Performance Rating" for agents is not transparent enough user accounts are running up all sorts of strange charges! Even when no passes are being made by the agents, one's balance can still be used up. I propose before each optimization Metatrader calculates the cost of a single