Skip to content

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.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

3,012 documents

MQL5 articles

The article explains how to export MetaTrader 5 tick history for offline analysis using a compact binary file instead of CSV. It specifies a 64-byte header and fixed 48-byte tick records containing millisecond timestamps, bid and ask prices, last price,…

Market microstructureExecutionStatisticsHigh-frequency trading
MQL5 articles

The article presents two behavioral software design patterns through MQL5 examples. Memento stores an object's state as a snapshot so it can later be restored, while keeping the object's internal state behind a limited interface. The article notes potential…

Multi-asset
MQL5 articles

This installment explains how a MetaTrader replay service begins supporting tick displays in places such as Market Watch. The intended display reflects changes in bid and ask prices, and the author sees tick information as part of reproducing live-market…

Market microstructureBacktestingFutures
MQL5 articles

The article describes an Expert Advisor that scans recent price and RSI data for regular and hidden divergences. It collects indicator values and price highs and lows, identifies local swing points, then compares successive swings. Regular bullish divergence…

Technical indicatorsMomentumBacktesting
MQL5 articles

The article explains how MQL5 preprocessor definitions can replace symbolic operators and syntax with more word-like forms, making code easier for beginners and other programmers to read. It illustrates definitions for equality, inequality, and logical…

Multi-asset
MQL5 articles

The article presents Temporal Query Network (TQNet), a neural architecture for forecasting multiple related time series. Its attention layer forms queries from trainable vectors that are shifted periodically through time, while keys and values come from the…

Machine learningStatisticsMulti-assetForex
MQL5 articles

The article compares three ways to combine a trend-following strategy with a range-oriented strategy in one Expert Advisor. The first method checks both signal sets but permits only one open position, so one strategy can block a signal from the other. The…

Trend followingMean reversionTechnical indicatorsBacktesting
MQL5 articles

This article outlines a separate closing manager for a multi-currency Expert Advisor. The module is intended to close virtual positions across strategies when account-level profit or loss limits are reached, and to support profit trailing and a breakeven…

Risk managementPortfolio constructionExecution
MQL5 articles

The article models an open trade’s exit as a discrete-time survival problem. At each bar, a position can hit its take-profit, hit its stop-loss, or remain open; a time-stop position is treated as censored. It fits two cause-specific hazards with multinomial…

StatisticsRisk managementMachine learningBacktesting
MQL5 articles

This tutorial explains how to implement local stop losses in an MQL5 Expert Advisor. Instead of sending a stop price to the broker, the EA stores it on the trading terminal, checks quotes on each tick, and closes a position with a market order when the…

Risk managementExecutionForex
MQL5 articles

This article presents the Billiards Optimization Algorithm, a population-based method for numerical optimization inspired by balls moving toward pool pockets. It begins with candidate solutions, treats the best candidates as targets, and updates each agent…

Machine learningStatistics
MQL5 articles

This article describes a MetaTrader 5 scalping system that combines order-flow imbalance with technical filters. The EA compares buying and selling volume over a recent window, then checks trend strength, price relative to moving averages, RSI, and Bollinger…

ForexMarket microstructureTechnical indicatorsRisk management
MQL5 articles

This article explains how tensor frameworks can support a Soft Actor-Critic implementation, focusing on replay buffers and critic networks. It contrasts a manual NumPy buffer with a PyTorch tensor buffer that stores states, actions, rewards, next states, and…

Machine learningStatistics
MQL5 articles

The document explains how standard column reduction turns a boundary matrix over the two-element field into a persistence diagram. Each diagram pair records when a topological feature appears and disappears as the Vietoris-Rips scale grows. The article…

Machine learningStatisticsTechnical indicatorsBacktesting
MQL5 articles

The article describes a permutation test for assessing whether an Expert Advisor’s performance may arise by chance. It proposes testing the EA on an original price sample, then repeating the test on many altered versions and comparing a selected performance…

BacktestingStatisticsMachine learningMarket microstructure
MQL5 articles

The article introduces reinforcement learning through the interaction of an agent and an environment. The agent observes a state, chooses an action under a policy, and receives rewards as the environment changes. It contrasts this setup with supervised…

Machine learningStatisticsBacktesting
MQL5 articles

The document explains a reusable MQL5 engine for calculating session VWAP and volume-weighted deviation bands. It uses each bar’s typical price, weights it by tick volume, and accumulates values from midnight in broker server time. A two-pass calculation…

ForexTechnical indicatorsVolatilityMean reversion
MQL5 articles

The article explains the Butterfly Optimization Algorithm (BOA), a population-based search method inspired by butterflies following fragrance signals. It describes fragrance as a function of solution quality and sensory parameters, with a switching…

Machine learningStatisticsBacktesting
MQL5 articles

This installment develops a cross-platform MetaTrader library for representing account history. It extends a common order object with separate classes for historical market orders, removed pending orders, and deals, so each object can identify its type and…

ExecutionBacktesting
MQL5 articles

This reference article explains how MQL5’s StringFormat function returns formatted text for reuse, unlike PrintFormat, which writes formatted output directly to the terminal journal. It outlines format specifiers, including examples showing how integer width…

ExecutionMarket microstructure
MQL5 articles

The document describes an approach to refreshing Expert Advisor parameters while a market is running. An indicator reproduces the EA’s trading rules, tracks virtual trades, and tests multiple parameter sets in parallel. The EA reads each tester indicator’s…

ForexTechnical indicatorsBacktestingRisk management
MQL5 articles

This article documents interface features for a rendered table component in a MetaTrader graphical library. It explains alternating row colors to improve readability, selectable rows that can be selected or cleared by clicking, and storage of the selected…

Execution
MQL5 articles

This article describes ways to bring information from a website into a MetaTrader 5 Expert Advisor. The direct approach calls the platform’s web request function on a timer, checks for expected text at specified positions in the response, and extracts a…

ExecutionMarket microstructure
MQL5 articles

The article explains how a Fourier transform represents a time series as component frequencies, each carrying amplitude and phase. It outlines possible uses in price-cycle analysis and in studying longer economic or market cycles, including comparisons…

StatisticsVolatilityRisk managementBacktesting