This script pairs a long-only RSI entry with an optional filter based on recent trade outcomes. Its unfiltered entry occurs when the 14-period RSI crosses below 35. The filter version instead checks a simple candle condition for entry and permits a trade…
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 strategy script defines candidate price bases by checking whether enough recent bars form lows near the current bar's bottom. It lets the user choose candle lows or the lower of opens and closes as the base source, set the lookback and required…
This document outlines a short-only dollar-cost averaging strategy for DOT perpetual futures. It starts a short when a nine-period RSI on a three-minute timeframe crosses down through 80, treating the move as a possible exhaustion of overbought momentum. If…
This strategy uses hourly candlesticks to detect unusually large intrabar moves. It labels an upward spike when the high stands sufficiently above the close, and a downward spike when the close stands sufficiently above the low. A signal is taken only when…
The strategy enters spot positions after a strong hourly or four-hour price rise, provided the candle’s high is not too far above its close. It exits after the position reaches a profit threshold and price pulls back from the highest price tracked since…
This automated trend system combines an 8-period EMA direction filter with pivot highs and lows to place breakout stop orders. It enters long above a recent pivot high when the EMA is rising, or short below a recent pivot low when the EMA is falling. The…
This short-term system combines fast and slow EMAs to identify trend direction with RSI filters intended to avoid entries when momentum is stretched. It requires signal conditions to persist across multiple candles, then enters in the trend direction. Risk…
This document describes a scalping strategy assembled from several technical indicators, including ADX, Parabolic SAR, a range filter, MACD, RSI, relative momentum, moving averages, volume, and ATR. Its settings allow choices such as price source, indicator…
This futures strategy opens a long position when a 15-minute bar crosses above the upper Bollinger Band, using a 30-bar window and a 2.2 standard-deviation setting. If price later falls at least 4% below the last entry, it adds another long position, with…
The strategy computes RSI, applies a stochastic calculation to that RSI, then smooths the K and D lines with simple moving averages. A long entry occurs when K crosses above the oversold threshold, set to 20 by default. The exit order combines a trailing…
This document describes a long-only dollar-cost averaging backtest. It opens a base position within a selected date window, then places a series of lower-priced safety orders. The order levels step farther apart according to a scale factor, while order size…
This strategy seeks a long entry after a high-volume bar makes a lower low and closes below the previous close. It requires the position to be flat. Position size is described as a risk amount based on account equity and a user-set risk percentage,…
This document outlines a Turtle-inspired breakout system that compares price with rolling highs and lows. It offers two entry and exit modes: one uses shorter lookback channels, while the other uses longer ones. Breaks above a prior high can initiate longs,…
This strategy uses a staged sequence of EMA and MACD signals to time trades. For longs, a fast EMA crossing above a slower EMA starts the setup; the MACD difference then moves above zero, makes a bearish crossover while still positive, and later crosses…
Despite its pair-trading label, this document describes a long-only strategy for a single instrument. It combines three simple moving averages and two exponential moving averages with candle and volume conditions to create two alternative entry signals. One…
This strategy combines a short-period RSI with consecutive candle colors to look for reversals after sustained moves. It uses an RSI period of 7 and a threshold of 30, treating readings below 30 as oversold and readings above the mirrored 70 level as…
This trend-following framework builds a range filter from a simple moving average and a smoothed measure of price deviation. It confirms an uptrend when price closes above the upper band for two consecutive periods and a downtrend after two closes below the…
This strategy defines consolidation on a four-hour chart and seeks entries on a five-minute chart after a breakout and retest. It uses the prior 12 higher-timeframe bars to form a range, requires a strong breakout candle and a buffer beyond the range, and…
This automated spot-trading script describes a long-only approach using MACD and price conditions. It checks for enough historical bars, then enters when the MACD difference is positive and the histogram moves above a configured threshold after being below a…
This short-only strategy for BCH perpetual futures seeks to fade overbought price spikes. Its entry signal is a 9-period RSI on a five-minute timeframe crossing down through 80. After the initial short, it can add up to three averaging orders at fixed…
This strategy combines RSI thresholds with a restricted trading window and staged position entries. It uses a 14-period RSI, with oversold and overbought levels of 30 and 70, and the source sets the default window to hours 2 through 4. Initial long or short…
This Pine Script strategy combines breakout entry logic with a configurable time window. Its inputs set the breakout lookback, define the allowed hours and minutes for trading, and provide chart display options. The script also exposes risk controls:…
This backtesting system places a limit entry at a configurable percentage above or below a selected price reference, depending on whether it is set to trade short or long. Once a position is open, it cancels the initial exit orders and sets profit-taking and…
This workflow describes automated cryptocurrency perpetual-futures trading that delegates per-asset decisions to a large language model. An hourly process gathers market indicators, funding rates, positions, account state, and historical trading performance,…