This article describes an Expert Advisor built around two Commodity Channel Index readings, a 34-period exponential moving average, and optional Average True Range-based stops and targets. A long setup requires the faster CCI to be above zero, the slower CCI…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
4,574 documents
This article describes a tool that measures the relationship between two currency pairs, using EUR/USD and GBP/USD as its example. It explains correlation coefficients from negative to positive values and discusses how strongly related pairs can create…
This article explains how to collect government bond yields from web pages and use them to derive interest rate differentials for forex analysis. It describes finding the data source in a page or its linked resources, extracting the quoted yield, and…
The article explains how to encode common candlestick formations in MQL5 and mark detected patterns on a chart. It covers single-candle Doji and Hammer patterns, two-candle formations such as Engulfing, Piercing Line, and Dark Cloud Cover, and three-candle…
This tutorial explains a workflow for using a neural network trained in NeuroSolutions 5 from an MQL5 Expert Advisor. Its example strategy predicts a daily bar’s close at the bar’s opening, using OHLC data from five previous bars represented as changes…
This article outlines a foreign-exchange forecasting system that combines a fine-tuned Llama language model with a Self-Evolving Adversarial Learning agent. It describes building labeled examples from MetaTrader data, balancing upward and downward classes,…
The article describes an automated strategy for regular RSI divergence. It stores recent confirmed swing highs and lows, then compares price and RSI across swing pairs separated by a configurable number of bars. A lower price low alongside a higher RSI low…
This interview profiles Ilnur Khasanov’s Automated Trading Championship 2011 Expert Advisor and his early experience with automated Forex trading. He describes a simple trend-following system on a five-minute chart: a moving average forms the core signal,…
The article explains ST-Expert, a neural forecasting framework intended to handle changing relationships among financial assets. It frames market data as a sequence of regimes, each with its own correlation structure, and proposes combining learned…
This article describes a deliberately speculative Expert Advisor designed to multiply a deposit with some probability while accepting a high chance of losing it. The proposed method enters randomly in either direction, holds for a chosen period, then exits…
This tutorial explains how long short-term memory (LSTM) and gated recurrent unit (GRU) networks process sequences. It describes their gates and state updates, and contrasts them with simple recurrent networks, which can struggle to learn long-range patterns…
The article introduces Soft Actor-Critic (SAC) as a reinforcement-learning method for trading systems. It describes an actor network that outputs a Gaussian action distribution and two critic networks that estimate action values. Using the lower critic…
The article describes an Expert Advisor that uses Heikin-Ashi candles to smooth price data and identify a prevailing trend before looking for a possible reversal. It calculates averaged candle values, checks for consecutive movement in the trend direction,…
The article outlines a workflow for adding AI-generated commentary to an MQL5 news headline Expert Advisor. It describes downloading a quantized language model, running it locally through a Python inference service, and having the EA send prompts to a web…
This article presents a graphical strategy builder designed to explore trading rules based on Merrill patterns. The proposed interface lets users choose symbols, a test date range, a timeframe, and separate buy and sell signal configurations. Each side can…
The article tests whether running a grid Expert Advisor across several currency pairs can improve its risk and return profile. The EA uses RSI thresholds to choose an initial contrarian position, adds a second position after an adverse move, and limits the…
The article presents seasonal analysis as a way to identify price behavior that recurs during similar calendar periods. It links currency movements to recurring changes in supply and demand, including commodity demand, agricultural cycles, weather, holidays,…
The article explains a position management design for adding to winning trades while controlling combined downside. It identifies two common risks: keeping add-on sizes uniform, which can multiply exposure, and managing each position with a separate stop,…
This article implements a session-based reversal strategy in MQL5. It first sets directional bias from higher-timeframe swing structure, then limits setups to selected London, New York, or Asia windows expressed in New York time. The session high and low…
This article presents an MQL5 implementation of a TQNet temporal query model, focusing on a multi-head attention module that combines source time-series data with accumulated global correlation parameters. The module extends a cross-attention layer, uses a…
This article describes an MQL5 expert advisor for trading opening range breakouts across configurable sessions. The trader chooses a session start time, a range duration, and a timeframe; the system records the range high and low, then enters in the…
This article explains how a Kohonen self-organizing map (SOM) can organize multidimensional market features into a two-dimensional grid. Each input pattern is matched to its closest neuron using Euclidean distance, then the winning neuron and nearby neurons…
This article explains how to work with the MetaTrader economic calendar through a unified news structure that combines country, event, and release-value information. It outlines checks for upcoming releases associated with a symbol’s currencies and shows how…
This article describes an MQL5 indicator that derives relative currency index series from seven USD currency pairs, then applies RSI, MACD, or a Stochastic Oscillator to those indexes. Its architecture separates plotted output lines from quote data, currency…