This document describes an indicator that fits a polynomial regression trend to historical prices and draws a channel around it. The upper and lower lines are parallel to the regression curve, with their distance set by the maximum closing-price deviation…
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
21,023 documents
Trend Envelopes use price-change thresholds to decide whether a new trend has begun or the existing trend should continue. This variant bases the price-change calculation on standard deviation, allowing the envelope threshold to adjust to conditions…
The document defines a histogram oscillator built from two Relative Strength Index series with different lookback periods. It subtracts the slow RSI from the fast RSI, then applies a simple moving average to that difference. The resulting smoothed series is…
This indicator combines a volume-weighted average price with MACD-style trend measures to classify market conditions. It calculates the average closing price weighted by volume over a rolling lookback, then plots the distance between the current close and…
This document explains copula-based measures for comparing financial return series by separating marginal distributions from dependence. It presents Spearman’s rho as a rank-based dependence measure and contrasts it with Pearson correlation, which captures…
This document describes an expert advisor that counts observed spreads in predefined ranges as market ticks arrive. It reports the counts separately for each year and prints the statistics to the trading platform’s journal when it stops, making the output…
This BigQuant community post reports that applying a lagged value in a query that joins stock prefactors directly to an index-component table can produce zero-filled results. The example calculates a two-period stock return using a lagged close price, then…
This short forum answer addresses how to aggregate price-to-earnings data across stocks in an industry. It suggests using a grouped sum operation keyed by an industry classification and applying it to trailing-twelve-month P/E values in a stock-factor…
This article proposes interpreting value, momentum, quality, and low-volatility returns through a recurring factor cycle inferred from factor performance itself. It describes normal periods, episodes when value suffers a major drawdown due to growth stocks…
The HawkEye volume indicator colors a volume histogram according to rules combining current price action, bar range, and trading volume. It compares range and volume with moving averages over a lookback period, then locates the current close relative to…
The document describes preparing supervised-learning labels from Chinese daily stock bars. It calculates a forward price ratio using lead values, clips observations to the cross-sectional 1st and 99th percentile boundaries, and assigns the result as the…
This example introduces support vector machines through a hypothetical animal-classification task. It defines seven numeric features and labels an observation positive when every feature falls within a specified range. Randomly generated observations and…
Chaikin Money Flow (CMF) summarizes buying and selling pressure over a chosen lookback period. Its calculation weights volume according to where the close falls within each bar’s high-low range, then divides the period’s summed money-flow volume by summed…
This shared open-source example builds a daily classifier for Chinese stocks using price and volume data, technical indicators, and three supervised models: a random forest, logistic regression, and a linear support vector classifier. Features include…
The report describes applying OpenFE, an enumerate-and-filter framework, to discover interpretable fundamental factors from Chinese companies’ balance sheets, income statements, and cash-flow statements. It first removes fields with substantial missing data,…
This document defines a bull and bear power oscillator using binary signals derived from each bar’s high and low relative to an exponential moving average of closing prices. A bull signal is set when the high exceeds the EMA, while a bear signal is set when…
This experimental ADX variant uses a Vertical Horizontal Filter (VHF) to adapt its effective calculation period to price movement, and applies an Exponential Smoothing and Innovation State Space Model (ISSM) filter to high, low, and close inputs. It derives…
This indicator builds channels from the rolling highs and lows of several moving-average lines. It compares each moving-average channel’s width with a threshold based on the close-price range over the prior 300 bars. A sufficiently wide channel is treated as…
This research summary describes a monthly sector-rotation framework for Chinese equities. It groups 29 CITIC first-level industries into financial, cyclical, consumer, and growth sectors, builds market-cap-weighted sector indices, and proposes selecting…
This A-share stock screen selects listed companies whose turnover rate falls within the stated 3%–12% range, whose circulating market value is below 10 billion yuan, whose net income is positive, and whose stock code begins with 60. The document also…
This study proposes a market mechanism for trading data products by separating data ownership from the right to use the data. Ownership is divided into tradable units to support liquidity, while use rights remain indivisible and go to an end user. The…
This overview defines factors as common drivers of security returns and distinguishes systematic factor exposure from asset-specific risk. It traces the move from the market-only CAPM to multi-factor explanations such as the Fama–French market, size, and…
This indicator estimates the expected value of a long trade held for a fixed number of bars in two ways. Its empirical engine repeatedly samples overlapping historical trades, optionally applying take-profit and stop-loss rules, then calculates average…
The document introduces M2_MA, a technical indicator described as a smoothed, non-trivial linear combination of exponential and linearly weighted moving averages. It identifies the indicator’s author and notes that its implementation relies on reusable…