This document outlines a proposed position-sizing engine for algorithmic trading. It combines Kelly sizing, which uses estimated win rate and payoff ratio, with volatility adjustment based on Average True Range and tick value. The stated goal is to reduce…
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.
Search the library
12,303 documents
The document describes a price oscillator modified by incorporating volume before the indicator's final smoothing step. Because this changes the oscillator's scale and smoothing behavior, the overbought and oversold thresholds must be recalculated for the…
This post proposes selecting stocks with a daily range threshold, substantial prior-day trading activity, and a pattern described as an engulfing reversal. The range and turnover filters are presented as ways to focus on actively traded, volatile shares,…
The document explains an exponentially weighted moving average crossover (EWMAC) forecast. It subtracts a slower exponential moving average of price from a faster one, then divides that difference by daily price volatility. A positive or negative result…
The SSL Hybrid combines several moving average channels with ATR bands to show trend direction, possible continuation entries, exits, and volatility. SSL1 acts as the baseline trend signal: its color indicates bullish or bearish conditions, while a neutral…
This helper prepares spread changes and their lagged values as inputs for a regression model. It can expand the lag features with pairwise products, split a chosen in-sample period into ordered training and test sets, and keep a separate out-of-sample…
This Chinese A-share screening proposal filters for stocks with an intraday range above 1% during 2021, then keeps observations where price change multiplied by an estimate of very large order flow is positive. The intended interpretation is that volatility…
This Chinese A-share screening idea selects stocks whose intraday high-low range exceeds 1%, whose day low is between 4% and 5% below the prior close, and whose MACD is above zero. The rationale combines elevated volatility and a sharp intraday decline with…
This brief coding question outlines a way to calculate fund performance statistics from a price series. It first derives periodic returns from price changes, then uses a performance-analysis library to compute cumulative return, annualized return, Sharpe…
This Chinese equity screen combines price amplitude above one, appearance on the previous day’s market top list, and a positive price-to-earnings ratio. The article interprets amplitude as a sign of short-term volatility, top-list inclusion as a possible…
This article introduces the autoregressive moving-average model as a combination of AR terms, which use past observations, and MA terms, which represent past shocks. It describes choosing the orders p and q with autocorrelation and partial autocorrelation…
This note describes Trend Force, an indicator that displays bullish and bearish trend strength as separate measures. Bullish strength compares the close with the lowest low over a recent lookback, while bearish strength compares the highest high with the…
The document summary highlights two applications of machine learning in quantitative investing. First, it describes forecasting volatility to inform how capital is allocated among strategies, based on the claim that many strategies’ profitability is closely…
Adaptive Momentum Fusion modifies MACD by recalculating the smoothing speed of its fast and slow averages on each bar. Six selectable engines use efficiency, volatility, fractal behavior, momentum, volume, or a composite of those measures to adjust…
This Chinese equity screen selects stocks associated with the robotics concept, with turnover from 3% to 12%, circulating market value below 10 billion yuan, and price amplitude above 1%. The stated rationale is to combine sector exposure and smaller float…
The document describes a weighted price average in which each bar receives weight according to its high minus low range. It places this method within a general weighted-average framework: price observations are multiplied by weights and divided by the sum of…
This proposed Chinese equity screen combines daily amplitude above 1, circulating market capitalization above 10 billion yuan, and convergence among five moving averages. The post presents amplitude as a measure of volatility, market capitalization as a size…
This post proposes a Chinese equity screen combining price movement and Bollinger Band position. It selects stocks with a daily high-to-low range above a volatility threshold, at least one daily gain of 10% or more during the previous 25 trading days, and a…
This Chinese-language post outlines a stock screen combining price movement, recent strength, and MACD. The initial criteria look for stocks with a large daily high-low range, at least one session with a gain of 10% or more in the recent 25 trading days, and…
This brief indicator note describes ATRratio_HTF, a version of the ATRratio indicator that lets the user choose the chart period through an input parameter. The example period shown is four hours, illustrating that the indicator can be configured to use a…
This brief document describes a customizable version of Bollinger Bands. Its distinguishing feature is that users can choose the moving average method used in the calculation and select which price series supplies the input. The listed average methods…
This indicator overlays two kinds of bands calculated from log-transformed closing prices. The statistical bands use a rolling average and standard deviation, similar in spirit to Bollinger Bands. The regression bands use a rolling ordinary least squares…
The document describes a Chinese A-share stock screen combining price amplitude above 1%, a circulating share count no greater than 5.5 billion, and auction-period price movement accompanied by large and extra-large buy-flow volume above the stated…
The document proposes screening Chinese A-share stocks using three conditions: daily price amplitude above 1%, a nonempty convertible-bond name, and at least one limit-up event within the preceding month. It interprets amplitude as a volatility filter, the…