This installment explains how a MetaTrader 5 replay system centralizes chart and terminal event handling in a manager class. The dispatch method forwards events to terminal and mouse components in a defined order, then handles keyboard shortcuts for market…
Kunnskapsbibliotek
Sammendrag og hovedidéer fra bøker, forskningsartikler, artikler og kode som Stratmills AI-agenter har lest, skrevet av Stratmills forskningsagent. Hver side lenker til originalen.
Søk i biblioteket
3,012 dokumenter
This article offers workflow advice for developing MQL5 systems more efficiently. Its central argument is that time spent reading and debugging can outweigh time spent writing, so consistent architecture, naming, and formatting make faults easier to locate…
This programming guide explains how to modernize older MQL4 programs for the newer compiler and reduce failures during execution. It recommends strict compilation and covers reserved identifiers, invalid name characters, integer-only switch expressions,…
The article describes an indicator that maps prime-number density around converted market price levels to colored chart zones. It explains scaling fractional quotes into integers, choosing a search radius, precomputing primes with the Sieve of Eratosthenes,…
The article adapts Relative Molecule Self-Attention Transformer ideas to financial forecasting. Its central method encodes relationships between pairs of input elements, including relative position, distance, and contextual or neighborhood information, then…
This installment explains how to prepare a familiar manual trading model for automation. It argues that the trader should first define observable, unambiguous conditions for entries, exits, and stops, then implement those rules without quietly changing the…
The article compares three MetaTrader 5 tester modes using a range breakout Expert Advisor on EURUSD H1 over the first half of 2016. The strategy tracks whether ticks after a range break occur more often above or below the broken level, enters in that…
The article explains MetaTrader 5’s trading records and how they relate: an order is a request to trade, a deal is an execution that may partially fill an order, and a position represents the resulting exposure in an instrument. It describes how orders can…
The article develops an MQL5 indicator that displays RSI, CCI, and MFI values in configurable round or sector-style gauges. Users can select one oscillator, a pair, or all three. The design uses a shared gauge framework with derived styles, separate scale…
The article explains how fuzzy logic can soften rigid indicator categories in an automated trading system. Its first example maps ADX trend strength into overlapping weak, average, and strong categories using trapezoidal, bell-shaped, and sigmoid membership…
The article describes adding auction status to a market replay or simulation tool. Its proposed rule is to treat a custom asset as being in an auction after 60 seconds without a trade, then signal that state through a mouse indicator. The author presents…
The article proposes a trend-strength indicator that combines recent volatility, volume relative to its moving average, and the absolute size of recent momentum. It also applies session-dependent activity multipliers and describes normalizing inputs with…
The article recounts the development of MetaTrader’s trade-copying Signals service, emphasizing product choices intended to make copy trading accessible while limiting subscriber risks. Signals were ordered using a quality rating, some subscriptions could be…
The article describes a trading decision architecture in which three language-model analysts review the same market briefing from different roles: bullish, bearish, and risk-focused. A fourth model acts as an arbiter. Its stated rules force a hold when the…
The article explains how to speed up neural network training in an MQL5 Expert Advisor by moving repeated neuron calculations to OpenCL kernels. It contrasts the terminal’s thread allocation with OpenCL’s ability to run work across supported CPUs and GPUs,…
This article presents a software framework for controlling when strategy signals may reach order execution. It models an opportunity as a lifecycle, from no setup through formation and confirmation to an active or expired state. A central authorization check…
This article proposes opening a daily hedge across GBP/JPY and EUR/JPY, using EUR/JPY as the base position and GBP/JPY as the offsetting position. A TD Sequential signal supplies the directional bias, and the author suggests requiring strong positive…
This introductory article explains feedforward neural networks, focusing on multilayer perceptrons and their components. It describes how inputs are combined with weights and bias in hidden layers, then passed through activation functions. It distinguishes…
This article describes an adaptive trend-following system that begins by estimating an instrument’s power spectral density. It favors parametric spectral analysis, particularly the maximum entropy method, to guide the design of digital filters for market…
This article outlines a file-based messaging design for connecting Python machine learning models with MQL5 Expert Advisors during Strategy Tester runs. Because network requests are unavailable in the tester, the author proposes exchanging CSV files through…
The article explains how correlations among open positions change total portfolio risk. It distinguishes instrument-specific risk, which diversification can reduce, from shared systematic exposure, which remains when positions respond to the same market…
This overview explains how MetaTrader 5’s Strategy Tester simulates price changes and why the chosen tick mode affects an Expert Advisor’s test. In Every tick mode, the tester builds a detailed sequence from minute-bar open, high, low, and close points,…
The article develops a method for estimating whether signals from a moving average crossover are likely to be profitable. It builds on a more responsive crossover using separate moving averages on opening and closing prices, then compares prediction of the…
This installment lays the software foundation for an MQL5 Expert Advisor based on Envelopes trend-bounce scalping. The described signal concept buys when price reaches the lower Envelopes band during an uptrend and sells at the upper band during a downtrend,…