This strategy combines two directional signals: an EMA-based rule that compares recent highs and lows with an exponential average, and a three-line system using simple averages of median price. The three averages use configurable lengths and offsets, with…
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
8,851 documents
This indicator builds a resistance line from the two latest confirmed swing highs and a support line from the two latest confirmed swing lows. It calculates each line’s slope and projects its current value across bars, while plotting pivot markers and line…
This XAUUSD strategy uses the relationship between 20-period and 50-period exponential moving averages to define direction. It enters long when price crosses above the faster average while that average is above the slower one, and enters short on the inverse…
This strategy uses a SuperTrend calculation based on average true range to classify the market as rising or falling. Users can choose among several averaging methods for the ATR, set its period and multiplier, and optionally filter unusually large true-range…
This strategy detects a broad collection of bullish and bearish candlestick formations, including reversal and continuation patterns. Candle attributes such as body size, shadow length, direction, and gaps are compared with recent averages and…
This strategy builds an initial balance range from the first hour of the Asia, London, and New York sessions. It classifies a symbol as bullish when its close is above all three session highs, bearish when below all three lows, and neutral otherwise. The…
This strategy uses the SuperTrend indicator, calculated from ATR length and multiplier inputs, to classify the market as bullish or bearish. It generates a long entry when direction flips from bearish to bullish and a short entry when it flips the other way.…
This intraday strategy identifies recent pivot highs and lows, then treats a move beyond a swing level that closes back inside it as a liquidity sweep. Long setups require a sweep below a swing low while price is above a 200-period EMA; short setups require…
This strategy takes long or short positions according to whether a selected higher-timeframe candle closes above or below its open. It can add a chart-timeframe EMA filter, requiring price to be above the EMA for longs and below it for shorts, and a volume…
This strategy calculates approximately one year of price return and compares it with a moving average of that return. Its lookback adapts to chart frequency: the script uses 252 bars for daily data, 52 for weekly, 12 for monthly, and estimates the number of…
This strategy uses a fast and a slow exponential moving average to classify direction and trade crossovers. With the defaults shown, the fast average uses 12 periods and the slow average uses 21. A cross of the fast average above the slow one opens a long…
This strategy combines a trend measure and a momentum measure into a bounded oscillator. It compares a 24-period Arnaud Legoux moving average with a 120-period volume-weighted moving average, scales their relative difference, and combines that result with…
This strategy organizes Ichimoku conditions into a directional score for the current chart timeframe and a higher timeframe. Its components assess whether price is above or below the cloud, the relative ordering of the projected cloud spans and…
This document explains MACD as a trend and momentum indicator, then presents an overlay that lets users choose among traditional MACD, a histogram-based variant, a reduced-lag leader calculation, or source-adaptive smoothing. Fast and slow moving averages…
This gold trading approach combines fair value gap zones, ZigZag market structure, and an EMA trend filter. It seeks entries when price is aligned with the trend and interacts with a fair value gap, with structure used as confirmation. Release notes add…
This strategy is designed for Nasdaq futures and combines short-period Hull moving averages of highs and lows with a longer exponential moving average and a rate-of-change filter. It enters long when price crosses above a trailing boundary while above the…
This strategy uses pivot levels calculated from a selected higher timeframe to generate directional entries. It buys when the source crosses above the first resistance level and sells short when it crosses below the second support level. The script lets…
This strategy looks for pullbacks within a longer-term trend. It calculates 50-period and 200-period exponential moving averages, then uses their relationship with price to define potential long and short setups. A WaveTrend-style oscillator provides the…
This strategy combines two Supertrend indicators calculated with different deviation factors to reduce noise. It opens long positions when both indicators align bullishly and short positions when both align bearishly, subject to one-signal state controls. It…
Average Force is a smoothed oscillator that locates the close within the high-low range over a selected lookback period. The calculation scales the close's position between the period's lowest low and highest high, then shifts the result around zero. A…
This strategy derives long and exit signals from simple candle relationships. A bullish candle whose open is above the prior close forms a basic buy condition; a bearish candle whose open is below the prior close forms a sell condition. With moving average…
This strategy enters long when price breaks above a recent pivot high, using a smaller chart timeframe for entries and moving averages calculated on a selectable higher timeframe for trend context. A slow moving average can filter out signals when the…
This allocation strategy combines a trend regime filter with volatility-based position sizing for leveraged index ETFs. It holds exposure only when price is above a long-term simple moving average; otherwise, it moves to cash. While the regime is favorable,…
This TradingView strategy enters long when a fast exponential moving average crosses above a slow one and enters short on the reverse crossover, provided it is flat. Its default EMA lengths are 20 and 50. Each entry starts with a profit target and stop-loss…