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

3,012 documents

MQL5 articles

This article describes a reusable position sizing engine that separates risk policy from the conversion of risk into lots. It presents four policies: fixed fractional risk based on balance, a fixed cash amount, volatility scaling in which ATR informs stop…

Risk managementPosition sizingVolatility
MQL5 articles

The article presents an MQL5 strategy based on Candle Range Theory’s accumulation, manipulation, and distribution phases. It defines an accumulation range from a candle on a chosen timeframe, then treats a breach beyond the range as potential manipulation.…

ForexMean reversionBreakoutRisk management
MQL5 articles

The article explains how to extend an MQL5 Expert Advisor so it can receive Telegram messages, parse updates returned by the Telegram API as JSON, interpret user commands, and send responses back through the chat. It describes preparing the MQL5 environment,…

ExecutionMarket microstructure
MQL5 articles

The article outlines a prototype that connects Python, MetaTrader 5, and a hosted language model to analyze OHLCV candles and generate trade decisions. Its prompt asks the model to identify support and resistance from recent bars, assess price action at…

Machine learningTechnical indicatorsExecutionRisk management
MQL5 articles

The article turns a basic moving average crossover Expert Advisor into a more reliable implementation by addressing common production failures. The starting EA checks for a crossover on each tick, uses fixed stop distances, and does not isolate its trades or…

Technical indicatorsRisk managementExecutionVolatility
MQL5 articles

The article explains why an automated strategy needs to distinguish broker server time from UTC and account for daylight saving time when it trades around market sessions. A one-hour server-clock shift can change which broker-time hour corresponds to a…

ForexVolatilityBacktestingExecution
MQL5 articles

The article proposes linking weather in agricultural regions to related currency pairs: Australian conditions with AUDUSD, New Zealand conditions with NZDUSD, and Canadian prairie conditions with USDCAD. It describes collecting historical weather and quote…

ForexStatisticsMachine learningBacktesting
MQL5 articles

The article describes a Forex system based on Chuvashov’s Fork, a pattern drawn from recent fractals. A main trend line uses two neighboring fractals, and a third helps form a lateral line; a break of that lateral line signals a possible trade against the…

ForexBreakoutTechnical indicatorsTrend following
MQL5 articles

This article outlines an MQL5 trading framework that filters raw swing highs and lows before treating them as meaningful market structure. Candidate swings are validated when they show a momentum-based break of structure, a strong displacement move, a…

Technical indicatorsBreakoutRisk managementPosition sizing
MQL5 articles

The article explores combining Bollinger Bands with RSI to find mean-reversion trades. The baseline rules consider longs after price falls below the lower band with RSI oversold, and shorts after price rises above the upper band with RSI overbought. The…

ForexMean reversionTechnical indicatorsStatistics
MQL5 articles

This article extends an MQL5 administrator panel with controls intended to make chart interaction and messaging quicker. It describes minimize, maximize, and close buttons, including behavior for hiding and restoring the panel or removing its Expert Advisor.…

Execution
MQL5 articles

This installment explains how an MQL5 trading library can track account events on netting accounts and how their position behavior differs from hedging accounts. A hedging account can hold multiple positions per symbol, while a netting account maintains one.…

ExecutionMarket microstructure
MQL5 articles

This article describes an MQL5 indicator that identifies rising and falling wedges from confirmed swing highs and lows. Its detection framework checks for multiple pivot touches on each boundary, compares the direction and relative steepness of the…

Technical indicatorsBreakoutStatistics
MQL5 articles

The article presents a way to review parameter-optimization reports by mapping three selected performance measures to color components. It describes parsing an optimization report, converting its string values into numeric fields, and assigning each pass a…

BacktestingStatisticsRisk management
MQL5 articles

This article describes a configurable short-term breakout Expert Advisor built around swing structure, volatility expansion, and optional time filters. A bullish or bearish setup is identified from a three-bar swing point. Rather than entering immediately,…

CommoditiesBreakoutVolatilityRisk management
MQL5 articles

The article compares fixed-lot sizing with two balance-linked approaches: position size proportional to account balance, and size proportional to its square root. It uses a single EURUSD Expert Advisor, left at default strategy settings, to illustrate how…

ForexPosition sizingRisk managementBacktesting
MQL5 articles

This article explains the Firefly Algorithm, a population-based optimizer inspired by fireflies moving toward brighter neighbors. Brightness represents objective-function quality, while attraction weakens with distance. Less attractive fireflies move toward…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains the Gator Oscillator, derived from the separation and convergence of the Alligator indicator’s smoothed moving-average lines. It describes the oscillator’s bars above and below zero and uses whether each bar rises or falls to classify…

Technical indicatorsTrend followingBacktesting
MQL5 articles

The article introduces Proximal Policy Optimization (PPO) as an actor-critic reinforcement learning method designed to limit how sharply a policy changes during training. It gathers state, action, reward, and action-probability data under the current policy,…

Machine learningStatisticsBacktestingPosition sizing
MQL5 articles

The article describes a simple way to estimate potential support and resistance levels by counting how many historical bars span each price. A script scans prices from the lowest low to the highest high across a selected history window, increments a count…

ForexTechnical indicatorsStatistics
MQL5 articles

The article explains Competitive Swarm Optimizer (CSO), a population-based optimization method proposed as an alternative to particle swarm optimization when direct attraction to a global leader causes the population to lose diversity. Agents are randomly…

Machine learningStatisticsBacktesting
MQL5 articles

The article introduces hierarchical reinforcement learning as a way to divide trading decisions among levels, such as broad strategy selection and more local actions including entries, exits, risk control, and allocation. It presents potential benefits…

Machine learningStatisticsBacktestingRisk management
MQL5 articles

This installment describes adding event handling for graphical objects in a MetaTrader library. Its aim is to let an expert advisor respond to object changes through chart events instead of repeatedly polling object properties, which the article…

ExecutionTechnical indicators