This strategy treats a long-period EMA as dynamic support or resistance and looks for price to return to a configurable zone around it. Long signals occur near the EMA from above; short signals occur near it from below. Optional filters use RSI relative to…
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
4,613 documents
This trend-following strategy generates entries when the midpoint of a candle’s open and close crosses either a 4-period EMA or an 8-period SMA. Each average can trigger an entry, allowing up to two entries in the same direction. On a signal in the opposite…
The strategy forms an entry band from the highest and lowest prices over a lookback period. A move above the upper boundary triggers a long entry, while a move below the lower boundary triggers a short entry; it generates no additional entry signals while a…
The described method uses the prior day's high, low, and close to derive a pivot reference, then considers long trades when price reaches support and short trades when it reaches resistance. ATR sets volatility-scaled stop-loss and take-profit distances,…
This intraday trend-following strategy derives three moving-average series by applying selected Fourier sinusoidal components to price, then smoothing them with a configurable moving-average type. It enters long when the fast series is above the middle…
WJ Strategy B builds a composite score from three kinds of weakness: price below the lower Bollinger Band, price below progressively longer moving averages, and low RSI readings. When the score reaches at least 3, the strategy starts monitoring rather than…
This strategy buys when a 14-period relative strength index (RSI), calculated on 30-minute data, falls below 30. It is described as a multi-timeframe setup for trading on a 1-hour chart. After entry, the script records a take-profit price set at a default 3%…
This document introduces a Bitcoin strategy intended for 1-hour charts. It describes a multi-timeframe engulfing setup with stop-loss flips, pyramiding, and tuned indicators. The visible settings include equity-based trade sizing, a drawdown halt, a capped…
This strategy uses a Donchian price channel, defined by the highest high and lowest low over a lookback period, with their midpoint as a center line. A break above the upper boundary triggers a long entry, while a break below the lower boundary triggers a…
This strategy enters when a fast moving average crosses a slow one, with the crossover direction determining whether it takes a long or short position. It requires ADX to exceed a configurable entry threshold, using trend strength as a filter. The code…
This strategy uses RSI thresholds to take contrarian positions: it buys when RSI crosses above a low threshold and sells short when RSI crosses below a high threshold. The example settings specify a 14-period RSI, a buy level of 35, a sell level of 75, and a…
This Bitcoin strategy compares the current price with a harmonic mean of historical prices and a logarithmic trend price derived from Bitcoin’s age. It combines these references into AHR999 and AHR999X indicators. When AHR999 falls below a lower threshold,…
This multi-signal strategy combines three directional indicators: RSI, CCI, and a fast-versus-slow simple moving average comparison. RSI values above or below thresholds centered around 50 produce long or short signals; CCI uses positive and negative…
This Bitcoin strategy enters long when a shorter EMA crosses above a WMA and short when it crosses below, provided there is no open position. It then uses two profit targets and two stop levels. At the first target, part of the position is intended to close…
This Bitcoin trading system fits a rolling multi-factor linear regression using inputs such as BTC dominance, trading volume, lagged prices, and optional interaction terms. It uses the predicted price and the standard deviation of regression residuals to set…
This trend-following system combines fast and slow exponential moving averages with smoothed positive and negative directional indicators. It signals long when the positive directional measure leads and the fast EMA is above the slow EMA; it signals short…
Strategy001 is a five-minute long-only template that uses exponential moving averages and Heikin-Ashi candles to define entries and exits. It enters when the 20-period EMA crosses above the 50-period EMA, with a bullish Heikin-Ashi candle closing above the…
This compact rule set starts with configurable long and short positions. For a long position, it trims a specified quantity after price rises by a defined distance from the stored reference price, and adds quantity after price falls by a defined distance.…
This document describes a spot crypto strategy that seeks to keep the account value split roughly evenly between a coin and cash. It estimates the coin’s share of total account value from the latest price and account balances. When that share moves outside…
This implementation describes a Turtle-style trend-following system organized around market selection, position sizing, entries, stops, exits, and execution. It uses Donchian channel breakouts for entries and exits: the text distinguishes a shorter System 1…
This strategy combines short and longer simple moving average crossovers with candlestick pattern recognition to generate trade signals. It also marks price crossings of a 22-period SMA with visual labels. The listed patterns include engulfing candles,…
The available portion of this strategy script defines fractal support and resistance using a five-bar shape: the center bar’s high or low is compared with neighboring bars, and its volume must exceed a six-bar average. The latest qualifying high and low are…
This TradingView strategy lays evenly spaced price levels between upper and lower bounds. Bounds can be set manually or calculated from recent highs and lows or a simple moving average, with a lookback and deviation parameter to adjust the range. When price…
This daily-chart strategy uses the prior weekly EMA 8 as a trend reference and potential support or resistance. It enters long when a daily candle closes above the weekly average while forming a bullish engulfing pattern, hammer, or closing-price reversal. A…