The visible portion of this strategy script defines an initial balance (opening range) window, with configurable start and end times and a choice of timezone. It also includes pivot settings that appear intended to provide swing references for stop…
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 framework combines three components: a cash reserve floor, recurring purchases of a core asset, and a smaller alpha sleeve that trades selected crypto perpetual contracts. The reserve rule skips purchases when spending would breach the configured…
This strategy identifies candidate buy and sell order blocks from recent highs and lows around opposing candle patterns. It enters long when price rises above a buy level and short when it falls below a sell level, then allocates exits across three profit…
This document describes a long-side inside-bar breakout setup. It identifies a bullish candle whose high and low remain within the previous candle's range, then defines a potential buy level just above the inside bar's high and a stop just below the prior…
This proposed system combines a fast and slow exponential moving average crossover with a Relative Volatility Index (RVI) sign check. Long signals require the shorter EMA to cross above the longer EMA while RVI is positive; short signals require the reverse…
This proposed long strategy combines a 13-period RSI and its average with a sequence of three higher highs. An entry requires RSI to be above its average and rising across recent readings, alongside the higher-high pattern. The description presents 21-, 55-,…
This strategy uses the Faytterro Estimator to derive a convergence and divergence measure from price, fit a quadratic curve, and look for a change in its direction as a possible trend signal. The described implementation compares nearby curve values at…
This Pine Script excerpt focuses on configurable trade management rather than a complete entry strategy. It provides inputs for cash allocated per position, the number of positions opened per signal, and three profit targets with separate counts of positions…
This short-term strategy combines price crossings of a 48-period EMA with RSI, MACD, Bollinger Bands, nearby support or resistance, and higher-timeframe context. Long entries require an upward EMA cross and bullish momentum confirmation; short entries use…
This strategy seeks reversals near support and resistance levels derived from recent highs and lows. It combines proximity to those levels with candlestick patterns or RSI divergence, a simple moving average trend filter, and a volume condition. Long setups…
This reversal framework looks for trades near recent support and resistance, defined by the lowest low and highest high over a lookback window. It requires price to be near one of those levels, then looks for a reversal cue such as a candlestick pattern or…
This strategy uses a volume-weighted moving average to define direction, entering long when price is above it and short when price is below. An RSI calculated on the VWMA acts as a filter for long entries, while an ATR trailing stop tracks price and can…
This script outlines an intraday strategy for MNQ futures that combines opening-range breakouts with prior-day high and low sweeps. It records the range during a configurable window after the New York open and permits breakout setups only when the range…
This strategy uses Kaufman’s Adaptive Moving Average (KAMA), whose smoothing responds to an efficiency ratio: it adjusts faster when price movement is more directional and slower when movement is choppy. Long and short signals are based on KAMA rising or…
This long-only trend-following method smooths OHLC prices with an EMA, derives modified Heikin-Ashi candles from those values, and smooths the resulting candle series a second time. A change in the smoothed candle color supplies the entry or exit signal: the…
This document describes a recurring cryptocurrency purchase routine that can run across multiple exchanges. At each interval, it checks account balances and market depth, then submits a buy if the available balance exceeds a reserve threshold, the requested…
This stock strategy enters after a confirmed close breaks above the recent high or below the recent low, using a configurable lookback. A simple moving average filter aligns long entries with an upward trend and short entries with a downward trend; a volume…
This long-only Bitcoin strategy uses a 14-period RSI on a four-hour timeframe to arm entries when RSI falls below 38. It adds up to five safety orders at fixed price declines from the base entry, with each order sized about 1.8 times larger than the previous…
This strategy divides each candle’s high-low range into thirds and classifies its pattern according to where the open and close fall. It combines the current candle’s class with the previous candle’s class to generate long or short signals. For a long…
This mean-reversion strategy looks for price extremes confirmed by RSI. It buys when price closes below the lower Bollinger Band while RSI is below its oversold threshold, and sells short when price closes above the upper band while RSI exceeds its…
This beginner-oriented script describes a long-only trend and risk model. It uses a 9-period and 21-period exponential moving average (EMA); a bullish crossover triggers a possible entry when RSI is between its stated oversold and overbought thresholds. A…
This strategy combines SuperTrend trend changes with volatility-based position sizing and grouped entries. It calculates the indicator from ATR bands around the midpoint price, then uses a close crossing a prior band to signal a change in direction. For each…
This ETH futures strategy classifies market conditions using highs and lows from daily and 30-minute windows. A breakout of the shorter window’s high or low beyond the corresponding daily level signals a bullish or bearish state; when both sides break, the…
This document describes a long-only dollar-cost averaging setup for an INTC-linked USDT perpetual futures market. It starts with a base order and adds equal-sized safety orders as price falls, using progressively wider price steps. The configuration…