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

Search the library

4,613 documents

BigQuant

This June 2022 market-timing note characterizes the broad Chinese equity market as ranging near a lower zone, with moderate-to-low valuations and limited scope for improved risk appetite. It recommends keeping exposure measured and using the 10-day moving…

EquitiesChina marketsTechnical indicatorsPosition sizing
MQL5 code base

This expert advisor uses the RIVOT indicator to choose a trade direction: it buys when price is above the indicator line and sells when price is below it. It then adds positions at a configurable point interval, increasing each new position's size by a…

ForexPosition sizingRisk management
MQL5 code base

MoneyRain is described as a trading Expert Advisor that uses a Martingale-like approach: it seeks to recover a losing sequence by expecting wins to follow losses. Its listed inputs include a DeMarker period, take-profit and stop-loss distances, initial lot…

ForexMean reversionPosition sizingRisk management
MQL5 code base

This listing describes an expert advisor intended for EUR/USD on the one-hour chart. It identifies configurable position size, stop loss, take profit, trailing stop, and trailing step. It also exposes a lookback count used to search for the highest and…

ForexTechnical indicatorsPosition sizingRisk management
MQL5 code base

The Expert Advisor demonstrates how to move positions from an expiring futures contract to its successor. It manages three instruments specified through input parameters. For each instrument, the configured volume determines both the position size and…

FuturesExecutionPosition sizingPortfolio construction
MQL5 code base

This document describes an Expert Advisor that uses the Relative Strength Index to open trades. If a trade does not reach its take profit, the system adds further trades, applying a martingale approach. It says the method requires no separate indicator and…

ForexTechnical indicatorsMean reversionPosition sizing
MQL5 code base

This document describes an H1 breakout research tool that builds a price box from a chosen number of hourly candles, using GMT-adjusted session times. When the box is complete, it places buy-stop and sell-stop orders beyond its boundaries. Researchers can…

BreakoutBacktestingRisk managementPosition sizing
BigQuant

The document outlines a workflow for developing a simple EUR/USD trading system with market data from an API and code generation through an AI coding tool. Its example strategy buys when a short moving average crosses above a longer one and sells on the…

ForexTechnical indicatorsMachine learningBacktesting
OctoBot

This guide describes a flexible grid trading mode for spot markets. Instead of starting from a chosen number of open orders, the trader specifies upper and lower price bounds along with grid spacing and increments. The system then determines the required buy…

CryptoGrid tradingSpot marketsExecution
MQL5 code base

The document describes a script for calculating a position size from either a percentage of account value or a fixed risk amount and a user-entered stop-loss distance. For forex, it adjusts a four-digit pip input for five-digit broker quotes. For non-forex…

Position sizingRisk managementForexCommodities
FMZ forum

This essay argues that traders should define their market position, objective, and route before trading, including choosing whether they intend to trade short, medium, or longer horizons. It warns that switching horizons to chase an apparent quick gain can…

FuturesRisk managementPosition sizing
MQL5 code base

The document describes an expert advisor that monitors an existing position and opens an opposite position when the original position’s loss exceeds a configured pip threshold. For a losing buy, it opens a sell of the same lot size. It then monitors that…

Risk managementPosition sizing
MQL5 code base

The document explains a position sizing calculator that converts a trader’s risk budget and stop-loss distance into a proposed lot size. The budget may be specified as a fraction of account equity or a fixed account-currency amount. The calculator uses the…

Position sizingRisk managementForex
MQL5 code base

This trading advisor uses the Relative Strength Index to identify possible entries. It examines a configurable recent window of candles and buys when RSI reaches its minimum within that window, or sells when RSI reaches its maximum. Positions are closed at…

Technical indicatorsMean reversionPosition sizingRisk management
SuperMind

This stock screen selects companies classified in China’s metaverse industry when the opening price is near the 10-day moving average and circulating market value exceeds 10 billion yuan. The article presents both a formula-based screen and a Python example.…

EquitiesChina marketsTechnical indicatorsPosition sizing
MQL5 code base

This document describes a forex and stock trading EA that enters trades after a retracement from Donchian Channel levels. It lists configurable parameters for channel lookback, retracement candles, moving averages, trade size, stop loss, take profit, and…

ForexEquitiesTechnical indicatorsRisk management
MQL5 code base

This document explains a trading platform Expert Advisor that manages protective orders on open positions. When a position lacks a stop-loss or take-profit, the tool can place an initial order at a configured distance. It can then adjust either order as…

Risk managementExecutionPosition sizing
MQL5 code base

This Expert Advisor trades one configured symbol and chooses a trade direction by comparing the combined profit of its existing buy positions with that of its sell positions. When the buy side has lower profit, it opens another buy; when the sell side has…

ForexPosition sizingRisk managementBacktesting
MQL5 code base

This expert-advisor description presents a crossover strategy based on the Chaikin Oscillator and a moving-average-smoothed version of that oscillator. A crossing between the two lines generates a trade signal. An optional zero-level filter makes buy signals…

Technical indicatorsRisk managementPosition sizingBacktesting
MQL5 code base

This expert-advisor concept monitors every open position, regardless of symbol or magic number, including positions opened manually or by another advisor. When a position’s loss reaches a configured threshold, the system opens an opposite position. The hedge…

Risk managementPosition sizingExecutionForex
MQL5 code base

The document describes an expert advisor that runs two independent systems based on the BykovTrend and ColorX2MA indicators. Each system generates a trade signal when a bar closes and an indicator changes color to show a trend shift. Position size can be…

Trend followingTechnical indicatorsPosition sizingRisk management
MQL5 code base

The document describes an Expert Advisor containing three independent trading systems that use XWAMI indicators. Signals are generated at bar close when a trend change is indicated by an indicator color change. Each system can be enabled or disabled, and its…

ForexTrend followingTechnical indicatorsPosition sizing
Lumibot

This example shows how to run a historical backtest of a cryptocurrency portfolio using a drift rebalancer and Alpaca’s backtesting data source. The described method compares holdings with target weights and trades assets that have drifted from those…

CryptoPortfolio constructionBacktestingPosition sizing
Cryptohopper blog

The document explains dollar-cost averaging (DCA): investing a fixed amount at regular intervals instead of committing the full investment at once. Because each contribution buys at the asset’s current price, the investor acquires more units when prices are…

CryptoSpot marketsPosition sizingRisk management