This strategy template compares a configurable fast trend series with a slower one. It can select among many smoothing and trend calculations, including common moving averages and adaptive variants, with separate lengths and a selectable price source. When…
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
9,797 documents
This countertrend system uses RSI extremes to initiate trades: it buys when RSI falls to the lower trigger and sells short at the corresponding upper trigger. The description specifies a fixed trade amount, a profit target, a stop threshold, and a pause…
The described system enters long when a 10-period simple moving average crosses above a 20-period average and enters short on the reverse crossover. It sets a percentage stop from the entry price and describes trailing stops based on the most favorable high…
This long-only strategy uses confirmed fractal highs as resistance. A fractal high is a bar whose high exceeds those of the two bars on either side; when the selected price closes above the latest fractal level, the system enters long. It also averages…
This five-minute strategy constructs two adaptive moving averages from price efficiency ratios. For each line, it compares the net close-price change over a lookback with the sum of absolute one-bar changes, then uses that ratio to adapt a smoothing…
This short-term strategy uses an altered MACD-style indicator to trade against its crossover signals. It calculates a 32-period and a 5-period exponential moving average of closing prices, takes their difference, and smooths that difference with another…
This scalping system seeks breakouts when short-term volatility rises and the higher-timeframe trend agrees. It compares a seven-period ATR with a fourteen-period EMA of ATR, requiring the ATR to exceed the smoothed value by a stated multiplier. Direction…
This trend and momentum strategy combines a fast and slow simple moving average crossover with a longer moving average as a directional filter. The described settings use five-, thirteen-, and fifty-period averages: a bullish crossover above the trend…
This short-term strategy adapts a Sequential-style setup by comparing each bar’s high and low with those from two bars earlier. Consecutive higher highs or lower lows build a count capped at seven; a completed count signals a reversal entry against the…
This trend-following system uses a 9-period and 15-period simple moving average crossover for direction, filtered by a 200-period exponential moving average. The stated entry rules allow longs after a bullish crossover when price is above the long-term EMA,…
This strategy compares a fast exponential moving average with a slower simple moving average. The stated default periods are 13 and 30. When the fast average is above the slow one, the basic logic enters long; when the slow average is above the fast one, it…
This strategy uses a fast exponential moving average and a slower simple moving average to switch between long and short positions. The documented default periods are 13 for the EMA and 30 for the SMA. The basic rule enters long when the fast average is…
This strategy combines price crossings of volume-weighted average price (VWAP) with the direction of a Supertrend indicator. A long signal occurs when price moves above VWAP while Supertrend is positive; a short signal requires a move below VWAP while…
This strategy uses Ichimoku components to identify long and short trends. Entries require the current and projected clouds to favor the trade direction, with optional checks for the conversion line, base line, price position, and indicator slopes. The…
This strategy scores the alignment of price and a set of moving averages to estimate trend strength. It awards weighted points when price stands above successive averages and when shorter averages exceed longer ones, then sums the score over a configurable…
This one-hour trend strategy uses Ichimoku conversion and base lines to identify direction changes, then applies ADX as a trend-strength filter. The document specifies lookback lengths of 18 bars for Tenkan and 58 for Kijun; a cross upward is treated as…
This long-only trend strategy builds an enhanced MACD series in stages: it subtracts a slow EMA from a fast EMA, smooths that difference with a signal EMA, then smooths the residual between MACD and its signal. The stated approach enters long when the…
This strategy combines swing-based breaks of structure with fair value gaps. It records recent swing highs and lows, treats a confirmed close beyond one as a directional break, and looks for a same-direction gap formed within a specified bar window. A long…
This strategy uses the direction changes of a short-period Hull moving average (HMA) to time entries and a longer-period HMA to confirm the broader trend. A short HMA turn triggers a trade only when the long HMA points in the same direction, aiming to filter…
This strategy combines Bollinger Bands, a moving average, and RSI to seek short-term trades. The described long condition requires price above the upper band and moving average while RSI is below a lower threshold. The code also defines the mirror-image…
This strategy combines a 123 Reversal signal with an Elder-style power measure. It takes a long position when both components signal long, a short position when both signal short, and closes positions when they disagree. The reversal component uses recent…
This long-only strategy combines a long-period exponential moving average with RSI. It enters when price crosses above the EMA and RSI is above its specified entry threshold, using the EMA as a broad trend filter and RSI as a momentum condition. It exits…
This long-entry system replaces a fixed RSI trigger with Bufi’s Adaptive Threshold method. It calculates a short-period RSI, estimates price-trend slope with linear regression, and measures dispersion with standard deviation. The normalized slope adjusts the…
This strategy combines the SuperB indicator’s SpreadVol momentum measure with a price-based trend tracker. SpreadVol is derived from price range, volume, and the open-to-close move; its smoothed values and dispersion contribute to trend thresholds. A trend…