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

MQL5 code base

This expert advisor uses a Doji candle as a setup and waits for the next completed candle to confirm a directional break. When a new bar appears, it checks the two preceding bars: if the older candle qualifies as a Doji, a close of the newer candle above the…

ForexTechnical indicatorsBreakoutPosition sizing
MQL5 code base

This Expert Advisor contains two Vortex Indicator trading systems, one for long trades and one for short trades. Each side has its own settings, including a distinct magic number and position-sizing method, and can be enabled or disabled independently. The…

ForexTechnical indicatorsPosition sizingBacktesting
MQL5 code base

OsMaSter is an expert advisor that opens positions with a fixed volume and uses specified stop-loss and take-profit levels. The document lists its basic settings, including position volume and an identifier for the EA, but does not explain the entry or exit…

ForexBacktestingRisk managementPosition sizing
FMZ forum

This annotated strategy describes a directional grid that can operate buy-first or sell-first. In buy-first mode, it places a sequence of buy orders below an initial price at fixed intervals. When a buy fills, it places a sell order above that fill by a…

Grid tradingExecutionRisk managementPosition sizing
MQL5 code base

This tool description explains an expert advisor that monitors the combined net profit of a user-selected basket of currency pairs. It closes positions across the monitored pairs when the basket reaches a specified profit target; settings also include a…

ForexRisk managementExecutionPosition sizing
ProRealCode

The document describes KRev, an indicator intended to estimate the currency risk per unit of a position if price reaches the third Kase Dev Stop. Traders can use that estimate to compare markets or time frames with a fixed per-unit risk limit. The…

Technical indicatorsVolatilityRisk managementPosition sizing
MQL5 code base

This document describes a MetaTrader 5 SuperTrend indicator that adapts its volatility bands and selected trade parameters using prior signal outcomes. It offers reversal and failed-breakout signal modes, with optional confirmation from RSI, tick-volume…

Technical indicatorsTrend followingMachine learningRisk management
MQL5 code base

This product description outlines an automated trading system that uses an “Accelerator” indicator and trades from the open price of a candle. It says the EA is intended for major forex pairs and NASDAQ stocks, across timeframes, and recommends trying it on…

ForexEquitiesTechnical indicatorsRisk management
FMZ forum

This document describes a multi-coin spot strategy for Binance and OK accounts, with configurable entry sizes, add-on signals, take-profit signals, and order execution. It distinguishes market-style tracking from limit orders: tracking can respond to…

CryptoSpot marketsGrid tradingPosition sizing
FMZ forum

This essay argues that simulated trading can test whether a strategy is viable before risking real capital, while acknowledging that success in simulation does not guarantee live profits. It presents practice as a way to learn execution details and reduce…

Risk managementPosition sizingBacktesting
MQL5 code base

The system opens an initial position at a fixed lot size when the DeMarker indicator permits entry. If a position is already open and price moves a specified distance from the most recent entry, another position may be added when the indicator again allows…

ForexGrid tradingTechnical indicatorsPosition sizing
MQL5 code base

The document describes a manual trading tool with buttons to open and close positions and settings for stop losses, take profits, trailing exits, and trade size. It outlines both per-trade controls and a basket-level protocol that can close all positions…

ExecutionRisk managementPosition sizing
MQL5 code base

This short description introduces an MQL5 library for calculating Optimal f, a position-sizing method based on Ralph Vince’s work on money management. The author explains that the library was pursued as an alternative to the Kelly Criterion, which they…

Position sizingRisk managementStatistics
MQL5 code base

The document describes a trading utility that helps close positions according to a configured stop-loss amount and a take-profit multiple of that amount. The stop-loss input must be negative. It describes two stop-loss approaches: setting a stop on an order…

Risk managementPosition sizingExecution
vn.py community

This article walks through a deliberately random directional strategy for dYdX. It selects long or short entries with equal probability, uses fixed profit and loss thresholds to exit, and increases the next order size after a loss while resetting size after…

CryptoFuturesBacktestingRisk management
FMZ forum

This brief example describes a short-selling strategy that opens an initial position, then responds to price movement with either a cover or an added short. It closes the position when the buy price falls below the entry price by a specified profit…

Position sizingRisk managementBacktestingExecution
BigQuant

A BigQuant user asks why a strategy continues to submit buy orders even though the platform logs cancel them for insufficient cash. The example allocates a daily portion of portfolio value, reads the reported cash balance, calculates an order value, and…

FuturesCryptoRisk managementExecution
MQL5 code base

This Expert Advisor runs separate long and short systems using configurable ColorMETRO signals. Each direction has independent settings for sizing and a rule that examines recent trades in that direction. If the specified count of losses appears within the…

ForexPosition sizingRisk managementTechnical indicators
MQL5 code base

The document describes a trading robot that opens equal-volume long and short positions in the same asset, creating a lock whose opposing price exposure offsets at the position level. It then outlines ways to manage that locked position: average into both…

ForexRisk managementPosition sizing
MQL5 code base

The BS Living Now indicator marks chart highs and lows using filters that differ from those in the standard Bill Williams Fractals indicator. Its period parameter controls how many extrema appear: a larger setting produces fewer marks, while a smaller one…

ForexTechnical indicatorsTrend followingBreakout
backtrader

This Backtrader example combines two entry and exit signals on a selected data feed: a short and long simple moving average crossover, and a MACD line crossing its signal line. Each bullish crossover adds half of the strategy's target stake, while bearish…

EquitiesTechnical indicatorsTrend followingBacktesting
MQL5 code base

ZoneUS30 is an Expert Advisor for the US30 index that opens short positions when its internal conditions detect an upward price extension that may be followed by a correction. The approach combines counter-trend mean reversion with the possibility of…

Mean reversionCarryRisk managementPosition sizing
MQL5 code base

TimerEA is an expert advisor for opening and closing orders at specified dates and times on the symbol to which it is attached. Scheduling can be based on a day of the week or a day of the year. It supports market orders as well as pending stop and limit…

ExecutionRisk managementPosition sizing
BigQuant

The question asks how to limit the capital assigned to any one stock to 20% of the portfolio. The response refers to a calculated weight for a stock and places an order targeting a percentage of portfolio value. This points to a useful portfolio-construction…

EquitiesPosition sizingPortfolio construction