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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

3,012 documents

MQL5 articles

This article explains how to add earlier price history to a tick-based market replay so indicators have enough data to produce useful values when replay begins. It estimates the required warm-up bars from the largest indicator period and the longest chart…

BacktestingTechnical indicators
MQL5 articles

This article proposes testing an indicator in a non-trading pseudo-EA before optimizing a full trading system. Its example evaluates ADX parameters for distinguishing flat from trending markets, using the market’s subsequent price ranges and state durations…

Technical indicatorsStatisticsBacktesting
MQL5 articles

This article translates Mark Minervini’s eight-condition trend template into an MQL5 method adapted for forex. It filters for price above the 50-, 150-, and 200-day moving averages, correctly ordered averages, a rising 200-day average, and price positioned…

ForexTrend followingBreakoutMomentum
MQL5 articles

The article examines how market quotes become discrete tick observations and timeframe bars, arguing that sparse sampling can distort the underlying price signal. It applies sampling theory and aliasing as a conceptual framework: when a series is sampled too…

ForexStatisticsBacktestingTechnical indicators
MQL5 articles

This article explains how to connect the Fast Artificial Neural Network library to MQL4 through a wrapper that hides C pointers and variable-length arguments from the trading platform. It outlines creating feedforward networks, training them incrementally,…

ForexMachine learningTechnical indicatorsBacktesting
MQL5 articles

The article introduces Heikin-Ashi candles as a smoothed view of price and moving averages as tools for identifying trend, dynamic support, and resistance. It explains how Heikin-Ashi open and close values are derived from current and prior bar data, and…

ForexTrend followingTechnical indicatorsBacktesting
MQL5 articles

The article describes a MetaTrader library for placing and managing trades directly on a chart with mouse-operated controls. Its interface is divided into optional trading, information, and order-management panels, which can be enabled independently. Traders…

ExecutionForexMarket microstructure
MQL5 articles

The article introduces supervised backpropagation and shows how matrix and vector operations can express neural-network forward passes and weight updates in MQL5. It reviews neurons, layer weights, activation functions, bias inputs, and gradient descent,…

Machine learningStatisticsBacktesting
MQL5 articles

This article frames money management as the choice of how much capital to risk on each trade, separate from the trading system’s decisions about direction and timing. It uses repeated simulations of wins and losses with specified probabilities and payoff…

Position sizingRisk managementStatisticsBacktesting
MQL5 articles

The article explains how a position sizer can translate a prop-firm account’s remaining loss budget into a smoothly declining maximum position size. A calibrator first combines the budget with a safety factor and stop-loss percentage to estimate an…

Position sizingRisk managementBacktestingExecution
MQL5 articles

The article develops a mathematical framework for optimizing a simple hedging strategy before applying brute-force parameter searches. It identifies the main inputs as initial direction and lot size, separate buy and sell take-profit levels, spacing between…

ForexGrid tradingBacktestingPosition sizing
MQL5 articles

The article investigates a reinforcement-learning trading system that stopped placing trades during continued training. It frames this as a model learning failure and recommends diagnosing the behavior before changing the training setup. One proposed control…

Machine learningBacktestingStatistics
MQL5 articles

The article explains dropout as a way to reduce co-adaptation among neural network features during training. At each training pass, a randomly selected subset of neurons is masked, encouraging the remaining features to contribute more independently. The…

Machine learningStatistics
MQL5 articles

This MQL5 development tutorial extends a custom interactive chart canvas with multi-anchor drawing tools for technical analysis. It covers parallel and regression channels, standard and Schiff pitchfork variants, Gann lines and fans, and Fibonacci…

Technical indicatorsExecutionMarket microstructure
MQL5 articles

This installment of a self-adapting algorithm series reviews weaknesses of a candle-count strategy, including unstable candle sizes, time-based entries during quiet markets, drawdowns, and instrument-specific historical tuning. The author proposes rebuilding…

StatisticsTrend followingMean reversionForex
MQL5 articles

The article compares an original Parafrac oscillator, which normalizes the gap between Parabolic SAR and price by a fractal range, with an ATR-normalized V2. It describes three proposed entry frameworks: zero-line crosses with a histogram threshold,…

ForexTechnical indicatorsMomentumBacktesting
MQL5 articles

The article distinguishes mathematical expectation from utility adjusted for a trader’s capital, using Bernoulli’s treatment of the St. Petersburg paradox to motivate moral expectation. It applies the idea to trades with known stop loss and take profit…

StatisticsPosition sizingRisk managementBacktesting
MQL5 articles

The article shows how to read a delimited calendar file in MQL4 and display scheduled economic events on a price chart. Each record includes a date, time, country, event details, and reported or expected values. The script parses the records, converts the…

Event-drivenForexRisk management
MQL5 articles

This installment explains how to add a clustering step to an automated workflow for selecting groups of trading strategy instances. It uses K-means from scikit-learn to cluster results from the first optimization stage, then excludes same-cluster instances…

Machine learningBacktestingPortfolio construction
MQL5 articles

The article describes implementing SHA-256 in MQL5 and using it to produce HMAC-SHA-256 signatures for cryptocurrency exchange API requests. It first compares a built-in MQL5 hashing example with a Python HMAC example, then identifies the key issue: the…

CryptoExecutionHigh-frequency trading
MQL5 articles

The article explains TiDE, a multilayer perceptron architecture for long-term time-series forecasting. It combines a history of the target series with historical and future covariates, encodes them into a dense representation, and decodes forecasts with a…

Machine learningStatisticsBacktesting
MQL5 articles

This article develops trading strategies from moving-average relationships, beginning with the difference between price and a simple moving average. Rather than entering on every zero crossing, it proposes studying the historical distribution of that…

Technical indicatorsMean reversionBacktestingStatistics
MQL5 articles

This article presents a Hidden Semi-Markov Model (HSMM) for detecting market regimes while estimating how much time may remain in the current state. Unlike a standard Hidden Markov Model, which implies geometrically distributed regime durations, the HSMM…

Machine learningStatisticsVolatilityTrend following