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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

9,797 documents

MQL5 articles

This beginner-oriented guide explains how MetaTrader 5 and MQL5 represent trading on Moscow Exchange. It contrasts market orders, which seek immediate execution but cannot assure price, with limit orders, which set a price but may remain unfilled. It also…

ExecutionMarket microstructureFuturesEquities
MQL5 articles

This installment in a market replay and simulation series examines reliability problems when an Expert Advisor (EA) manages position indicators on a MetaTrader chart. It explains how removing the EA or changing the tracked contract can leave misleading…

ExecutionRisk managementFutures
MQL5 articles

The article describes a trading model that combines a ResNeXt-based market encoder with multiple task-specific outputs. One output acts as an agent to generate trade parameters, while another estimates the probability of future price direction. Sharing the…

Machine learningFuturesTrend followingRisk management
MQL5 articles

This article explains how an MQL5 expert advisor can subscribe to Depth of Market updates, retrieve the current book, and process its price, volume, and side fields. The event handler receives the symbol whose book changed; initialization subscribes to book…

Market microstructureFuturesExecutionHigh-frequency trading
MQL5 articles

The document presents an Elder-Ray system combining an exponential moving average (EMA) with Bulls Power and Bears Power. In the single-timeframe version, an upward EMA trend and a negative but rising Bears Power reading set up a buy; a pending buy stop is…

FuturesEquitiesTrend followingTechnical indicators
MQL5 articles

The article explains how to construct a synthetic continuous futures series in MetaTrader 5 using historical data for expired contracts. It describes a custom indicator that draws candles from several futures symbols, with inputs for the number of contracts…

FuturesTechnical indicatorsMarket microstructure
MQL5 articles

The article presents an Expert Advisor implementation of the original Turtle trend-following rules. System 1 enters on 20-day breakouts and skips a same-direction signal after a winning prior breakout; System 2 takes every 55-day breakout. Each system exits…

FuturesForexTrend followingBreakout
MQL5 articles

The article presents DiNapoli’s use of horizontal Fibonacci retracement levels as support and resistance within market swings. It focuses on the 38.2%, 50%, and 61.8% retracements for identifying correction nodes, with extensions such as 100%, 161.8%, and…

Technical indicatorsForexFutures
MQL5 articles

In this interview, trader and psychiatrist Alexander Elder recounts how early profitable trades gave him a misleading sense that trading was easy. He describes learning to work with uncertainty, limit the markets and stocks he follows, and use explicit rules…

EquitiesFuturesForexTechnical indicators
MQL5 articles

The article explains how to build a MetaTrader indicator and reusable data interface for analyzing Commitments of Traders reports from Commission-provided CSV files. It distinguishes Legacy, Supplemental Commodity Index, and Disaggregated reports, describing…

FuturesCommoditiesSentimentStatistics
MQL5 articles

This article describes the CSymbol class in the CStrategy MQL5 trading engine, which gathers access to instrument data in a dedicated object called WS, for Working Symbol. It explains how the class provides OHLCV series, quotes, market depth, and symbol…

FuturesExecutionMarket microstructure
MQL5 articles

The article presents an Expert Advisor that detects potential bearish and bullish market-structure flips using swing highs and lows filtered by Average True Range (ATR). It converts ATR into a variable pivot depth, then checks whether a candidate high or low…

Technical indicatorsVolatilityTrend followingForex
MQL5 articles

The article develops a spread between Si currency futures and RTS index futures, which it describes as usually moving in opposite directions. It fits a linear regression between the instruments, treats the difference from the resulting synthetic series as…

FuturesPairs tradingStatisticsBacktesting
MQL5 articles

This article presents an MQL5 framework for rating pullbacks within an EMA-defined trend. It measures retracement depth against the recent swing high and low, assigns quality categories from shallow to structurally broken, and adds two context measures:…

FuturesTechnical indicatorsStatisticsPosition sizing
MQL5 articles

This MQL5 implementation article extends a hybrid Time Price Opportunity market profile indicator with volume-based analysis. It describes accumulating volume at price levels and adding a volume point of control, volume-informed value areas, and session…

FuturesTechnical indicatorsMarket microstructureExecution
MQL5 articles

This article explains how discrete price changes, gaps, and thin liquidity can make stop and market orders execute far from their intended prices. It illustrates how a brief spike can trigger an entry and then a stop loss at unfavorable levels, producing…

FuturesExecutionMarket microstructureRisk management
MQL5 articles

The article presents an MQL5 chart overlay that turns recent volume into bubbles sized according to activity relative to a lookback baseline. It explains tick volume and exchange-reported real volume, then outlines calculating mean volume, variance, and…

Technical indicatorsStatisticsForexEquities
BigQuant

The article explains the Deep Momentum Network (DMN) approach to multi-asset trend following. Rather than predict returns and determine portfolio weights separately, the model outputs each asset’s next-period position, bounded between long and short…

FuturesTrend followingMachine learningPortfolio construction
FMZ forum

This tutorial outlines an automated calendar spread strategy for ETC futures on OKEx. It compares weekly and quarterly contracts, calculates their spread, and uses Bollinger Bands to identify possible entries and exits. When the spread falls below the lower…

CryptoFuturesArbitrageMean reversion
FMZ forum

The document discusses tick delivery for domestic commodity futures, describing a nominal feed granularity of one update per 500 milliseconds while noting that multiple transactions can occur within that interval. It argues that callback-based trading…

FuturesHigh-frequency tradingExecutionMarket microstructure
NautilusTrader

This reference explains a data structure for representing a self-contained order book snapshot with variable numbers of bid and ask levels. Each side stores orders and a corresponding count for every level, alongside the instrument identifier, event flags,…

Market microstructureExecutionCryptoFutures
TqSdk

This example strategy trades relative price relationships among soybean oil, rapeseed oil, and palm oil futures. It calculates a normalized spread index from the three daily closing prices, then compares five-period and fifteen-period moving averages. A…

FuturesCommoditiesPairs tradingMean reversion
vn.py community

This brief forum exchange concerns adding a percentage stop based on actual profit and loss to a CTA strategy. The questioner notes that margin differs by instrument, so a fixed price-distance calculation may not represent the actual loss, and asks whether…

Risk managementPosition sizingFutures
NautilusTrader

This document explains a data model for reference indexes such as equity benchmarks and volatility indexes. An index instrument stores identifiers, its native symbol, quote currency, price and size precision, valid increments, timestamps, and optional…

Multi-assetFuturesOptionsMarket microstructure