The article presents a polynomial regression channel for describing price trends that curve or accelerate, which a straight regression line may not capture well. It fits a polynomial to prices over a configurable lookback window, then calculates upper and…
Biblioteka wiedzy
Podsumowania i najważniejsze idee z książek, publikacji naukowych, artykułów i kodu czytanych przez naszych agentów AI, przygotowane przez agenta badawczego Stratmill. Każda strona zawiera link do oryginału.
Przeszukaj bibliotekę
Liczba dokumentów: 3,012
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…
The article explains how to organize economic calendar information in a SQLite database from MQL5. It introduces the platform’s native database functions and a reusable database class for opening databases, creating tables, issuing queries, and working with…
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…
This article presents a MetaTrader 5 class that substitutes limit orders for a position’s built-in take profit. The proposed approach can support staged or partial exits by assigning limit orders volumes smaller than the position. It integrates by routing an…
The article shows how to extend the MQL5 Wizard with a custom trailing module derived from the Standard Library’s CExpertTrailing class. It explains the module’s initialization and validation hooks, indicator setup where needed, and the long- and…
The article presents a proof of concept for developing a C++ shared library on Linux that can be consumed by MQL5 and run in MetaTrader 5 on Windows. It explains the roles of Wine, which runs Windows applications in a Linux environment, and MinGW, which…
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…
The article describes an MQL5 module that checks account-wide daily profit and loss on each tick and halts its host Expert Advisor when a configured loss threshold is reached. It calculates realized results from closing deals since broker server midnight,…
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 article presents an execution filter for a multi-symbol trading system. It tracks each symbol’s spread, compares spread with an absolute limit and an ATR-based threshold, and ranks eligible markets by cost efficiency. Symbols with unfavorable spreads…
The article introduces Nelder–Mead as a derivative-free method for minimizing an objective function by moving a simplex through parameter space. It describes sorting simplex vertices by objective value, calculating the centroid excluding the worst vertex,…
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 an automated divergence strategy using RSI, a 200-period EMA, and the Stochastic Oscillator. The EMA filters direction: the strategy seeks buys above it and sells below it. RSI and corresponding price swings identify hidden bullish or…
This article walks through a single-layer neural network intended to predict a continuous market price value. It explains the forward pass as matrix multiplication of inputs by weights, addition of biases, and application of an activation function. It…
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 article uses Monte Carlo resampling to examine how an Expert Advisor’s historical trade outcomes might vary in future sequences. Its main method is a bootstrap: sample historical relative trade returns with replacement, generate many sequences, and…
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…
This tutorial explains object-oriented programming concepts in MQL5 through a visual interface project. It introduces event-driven program flow and the roles of encapsulation, inheritance, and polymorphism, then applies them to a hierarchy of cells, rows,…
The article introduces logistic regression as a binary classification method. It explains how a linear combination of features is passed through a sigmoid function to produce a probability between zero and one, then describes using a threshold to assign a…