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

4,613 documents

MQL5 code base

The document describes a chart-based trading expert advisor that lets a trader draw cycle lines and trade price breaks through them. It also provides manual trade controls and settings for stop loss, take profit, trailing stops, break-even adjustments, trade…

BreakoutRisk managementPosition sizingExecution
BigQuant

The document presents a Chinese-stock ranking workflow embedded in a report about a Papermill execution error that arose when submitting a strategy for simulated trading. It constructs price, volume, valuation, and technical features, creates a…

China marketsEquitiesMachine learningTechnical indicators
ProRealCode

The document presents an intraday CAC 40 strategy built around trend filters across several timeframes, from seconds to tens of minutes. It calculates position size from capital and price, then uses one-minute ATR crossovers to trigger long entries when a…

FuturesTrend followingTechnical indicatorsPosition sizing
pysystemtrade

The document describes a portfolio stage in a systematic trading framework that converts subsystem positions into portfolio-level positions. It applies instrument weights and a diversification multiplier, optionally scales positions with a risk overlay, then…

Portfolio constructionRisk managementPosition sizing
MQL5 code base

This listing describes an automated trading system that combines Bollinger Bands with two moving averages. It says the system is intended for hourly and four-hour charts and mentions major forex pairs and Nasdaq stocks. The listing mostly explains…

ForexEquitiesTechnical indicatorsRisk management
FMZ forum

The article proposes a grid strategy intended to balance frequent trading with reduced risk of running out of funds during a sustained decline. It compares arithmetic grids, which use fixed price intervals and can exhaust their range, with geometric grids,…

Grid tradingRisk managementPosition sizingBacktesting
MQL5 code base

This expert advisor describes a Martingale-style sequence: after a position is closed by its stop loss, it opens a position in the opposite direction and increases the lot size by a configured factor. Inputs include a starting lot, multiplier, cap on the…

ForexPosition sizingRisk management
BigQuant

This brief Q&A explains how to trigger a stock purchase on a chosen trading date within a BigQuant strategy’s main function. The suggested method is to read the simulation’s current date and time through the platform’s current-time interface, compare it with…

EquitiesBacktestingExecutionPosition sizing
ProRealCode

This indicator design extends SuperTrend with an efficiency-weighted ATR and a four-part Trend Quality Index (TQI) based on price efficiency, volume or volatility regime, position within a recent range, and directional persistence. TQI adjusts the stop and…

Technical indicatorsTrend followingVolatilityPosition sizing
MQL5 code base

This document describes an MQL4 Expert Advisor that combines four signals from six indicators: volume, Parabolic SAR, Stochastic, Bulls and Bears Power, ATR, and Money Flow Index. It can trade stocks, forex, indices, or metals when supplied with suitable…

ForexEquitiesTechnical indicatorsPosition sizing
Cryptohopper blog

The document explains stop losses as planned exits for positions that move against a trader. Long positions generally place them below the entry price and short positions above it. A stop level can follow the trading strategy, such as a level near a recent…

Risk managementPosition sizingTechnical indicatorsBacktesting
pysystemtrade

This Python module provides diagnostics and configuration helpers for a systematic trading system. It compares each rule’s capped forecasts and each instrument’s combined forecasts with a target average forecast magnitude, ranking the largest discrepancies…

FuturesStatisticsRisk managementPosition sizing
MQL5 code base

The document describes a trading-platform panel that estimates the largest lot size an account can place using its available margin. It is intended to handle market and pending orders on both sides of the market, including buy, sell, pending buy, and pending…

Position sizingRisk management
MQL5 code base

This guide advocates planning trade risk and profit targets as percentages of account equity rather than as fixed cash amounts or pip distances. Its example compares the same 10% risk allocation on accounts of different sizes to illustrate how the dollar…

Risk managementPosition sizingForexExecution
SuperMind

These notes summarize a systematic approach to trading that begins with personal goals, constraints, and psychological tendencies. They review common judgment errors in system design, testing, and live execution, including overfitting, hindsight bias, seeing…

Risk managementPosition sizingBacktestingPortfolio construction
BigQuant

The document describes an intraday trend strategy for Chinese equity index futures, based on a reported persistent opening momentum effect. It defines a bullish sequence as rising opening, low, and closing prices across bars, and a bearish sequence as…

FuturesChina marketsMomentumTrend following
MQL5 code base

This document describes a MetaTrader script for placing a buy stop at a set distance above the current price, with stop loss and take profit levels measured from the trigger. Its main configurable feature is a money management input that determines trade…

ExecutionPosition sizingRisk management
BigQuant

This article proposes changing position sizes and take-profit distances in a grid strategy to recover from underwater positions sooner. Instead of a fixed base position, it describes increasing additions in stages as price falls: one unit per grid initially,…

Grid tradingPosition sizingRisk managementMean reversion
MQL5 code base

This document outlines a manual sequence of opposing trades intended to recover from adverse price movement. After an initial buy or sell, the trader opens an opposite position when price moves against the first trade by a chosen distance, using a somewhat…

ForexGrid tradingPosition sizingRisk management
ProRealCode

The strategy takes a directional position based on the first five-minute bar after the DAX market opens: it buys after an upward bar and sells short after a downward bar. The description specifies a mini DAX contract, a one-point spread, a five-minute…

FuturesBreakoutTechnical indicatorsPosition sizing
Freqtrade

This strategy outline describes a long-only crypto trend-following system on hourly candles. It combines moving-average trend states with pullbacks and bounces around moving averages, while also calculating RSI, ADX, MACD, Bollinger Bands, volume measures,…

CryptoTrend followingTechnical indicatorsRisk management
MQL5 code base

This Expert Advisor opens a new buy position on each new bar when DeMarker is below a lower threshold, and a sell position when it is above an upper threshold. By default, it can add positions while others remain open, without checking whether the new entry…

Technical indicatorsForexPosition sizingRisk management
Awesome Systematic Trading

The document describes a chart indicator for calculating trade size from an entry price, stop level, and a user-selected risk budget. Traders can set risk as a percentage of account balance, a percentage of equity, or a fixed cash amount. The calculation…

Risk managementPosition sizing
MQL5 code base

This function describes a trade-management rule for open buy and sell orders. Once price moves favorably by a configurable pip threshold, it modifies the order’s stop loss to the opening price, aiming to remove the trade’s initial price risk. Optional…

Risk managementExecutionPosition sizing