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
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

16,761 documents

MQL5 code base

The document describes an Expert Advisor that generates a signal when a bar closes and the direction of the X2MA universal moving average changes. It specifies that a compiled indicator file must be available in the terminal’s indicator directory, and says…

ForexTechnical indicatorsBacktesting
TqSdk

This trading script implements a daily Keltner Channel strategy for a CFFEX index futures contract. It calculates an 8-period exponential moving average as the channel center and uses a 7-period average true range with a 1.5 multiplier to set the bands. A…

FuturesTrend followingBreakoutTechnical indicators
SuperMind

This document presents an A-share stock screen combining daily price amplitude above 1%, a closing price of 18.5 yuan, and three consecutive sessions in which the close is below the open. It frames the conditions as a mix of price movement, a price-level…

China marketsEquitiesTechnical indicatorsBacktesting
MQL5 code base

The document describes an expert advisor for testing a calendar-based reversal hypothesis. It takes a position against Monday’s direction at the start of Tuesday: a Monday close below its open triggers a buy, while a close above its open triggers a sell. It…

FuturesForexMean reversionTechnical indicators
MQL5 code base

The document outlines an automated foreign-exchange strategy that combines Bollinger Bands, RSI, and a moving average. It opens a position when the most recent bar closes beyond a Bollinger Band and RSI indicates an overbought or oversold condition, while a…

ForexMean reversionTechnical indicatorsBacktesting
ProRealCode

The document describes a rules-based strategy for the DAX GER30 on an hourly chart. It uses the prior period’s highest high and lowest low over a lookback window as breakout thresholds: a long entry follows an upward crossing of the high, while a short entry…

FuturesBreakoutTrend followingTechnical indicators
BigQuant

The document summarizes research that forecasts stock industry returns using lagged returns from a broad set of industries. Because including all industry predictors creates a high-dimensional regression with overfitting risk, the method uses LASSO to select…

EquitiesMachine learningMomentumPortfolio construction
MQL5 code base

NEMA is presented as a configurable family of exponential moving averages. Its depth setting selects the number of EMA iterations: depth one corresponds to EMA, depth two to DEMA, depth three to TEMA, with further depths extending the same pattern. The…

Technical indicatorsTrend followingBacktesting
BigQuant

This research summary presents a macro timing framework for Chinese equities and bonds built around monetary conditions and credit growth. It treats policy shifts as potentially informative because monetary policy is described as delayed and constrained by…

Multi-assetEquitiesFixed incomeStatistics
MQL5 code base

The document describes an Expert Advisor that trades signals from the X2MACandle indicator. Signals are generated when a bar closes and the candle color indicates a trend change. Its position-sizing rule reviews recent trades separately for buys and sells;…

ForexTechnical indicatorsPosition sizingRisk management
FMZ forum

The document presents a practical way to reduce the work required when a strategy needs only the latest one or two outputs from a technical indicator. Instead of passing the entire price history into a library function, pass only the recent bars that can…

Technical indicatorsBacktestingExecution
FMZ forum

This tutorial shows how to add a MACD signal to an existing automated trading framework. It calculates DIF and DEA series, displays them with the price chart, and compares values on adjacent bars to detect crossovers. A bullish crossover sets an entry…

Technical indicatorsTrend followingExecutionBacktesting
SuperMind

This forum discussion outlines a proposed parameter search for a volume-based timing rule on the Consumer Electronics industry index. It tests seven volume-smoothing windows and ten historical-volume percentile cutoffs. The proposed rule exits to cash when…

EquitiesChina marketsStatisticsBacktesting
BigQuant

This forum exchange addresses a BigQuant error reporting a missing “position” field. The response describes two changes: set the input mode of the feature-input module to SQL, and revise the weight variable used in the backtest function of the trading…

BacktestingExecution
MQL5 code base

This MetaTrader Expert Advisor generates trade signals when a bar closes and the main and signal lines of the i-SpectrAnalysis_RVI oscillator cross while the indicator cloud changes color. It requires the separately compiled indicator file to operate. The…

ForexTechnical indicatorsBacktestingExecution
SuperMind

The document proposes an equity screening rule that combines a large intraday range, a prior-day 9:15 auction price matching a limit-down condition, and at least one large up day during the preceding 25 trading days. Its later, expanded version adds a…

EquitiesTechnical indicatorsMomentumFactor investing
BigQuant

This meetup summary covers factor research, equity strategy design, AI models, and live signal timing. For factor processing, it recommends checking both the source data and the calculation logic, including data coverage and accuracy. It suggests studying…

Factor investingMachine learningStatisticsBacktesting
MQL5 code base

This document describes a simplified ZigZag indicator intended to identify local price highs and lows and connect them into refined upward and downward swings. Such swing points can support chart constructions including trend lines, channels, and Fibonacci…

Technical indicatorsTrend followingBacktestingExecution
SuperMind

This Chinese equity screening concept combines three criteria: amplitude above 1, a MACD reading below zero two days earlier, and favorable stock performance during 2021. It is framed as a way to consider volatility, a technical indicator, and past market…

EquitiesChina marketsTechnical indicatorsVolatility
SuperMind

The document describes a daily equity screen intended to find active stocks with a positive opening and a bounded price move. Its stated filters are amplitude above one, current volume above ten thousand lots, an open above the previous close, and percentage…

EquitiesChina marketsTechnical indicatorsBacktesting
MQL5 code base

The described Expert Advisor uses the direction of a slow moving average to open positions and a fast moving average to close them. It buys when the slow average rises and exits when the fast average falls; it sells when the slow average falls and exits when…

ForexTrend followingTechnical indicatorsBacktesting
Stratmill research code

This Rust example shows how to wrap HftBacktest’s local processor to add custom handling around market events and order responses. The wrapper implements the local processor interface by forwarding order submission, modification, cancellation, state, depth,…

BacktestingHigh-frequency tradingExecutionMarket microstructure
BigQuant

This tutorial explains how to construct target labels for supervised learning in equity selection. It distinguishes classification labels, which group observations into discrete outcomes, from continuous regression targets. Label definitions should reflect…

Machine learningEquitiesStatisticsBacktesting
TqSdk

This example describes a mean-reversion strategy for two SHFE futures contracts. It uses a Kalman filter to update the hedge ratio between the instruments, calculates the resulting spread, and standardizes it against a rolling window to create a z-score. The…

FuturesPairs tradingMean reversionBacktesting