This strategy marks the latest confirmed swing high and low as potential liquidity levels. A long setup occurs when price trades below a swing low and closes back above it; a short setup reverses that condition around a swing high. A volume filter requires…
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
16,761 documents
This strategy combines three directional filters: Trend Magic, a Squeeze Momentum calculation, and cumulative delta volume. Long signals require price and CCI conditions to align with positive momentum and rising delta; short signals apply corresponding…
This strategy combines a Reversal 123 signal with a Center of Gravity filter. The reversal component looks for a three-bar price pattern alongside the relationship between smoothed fast and slow Stochastic values. The COG component uses linear regression…
This strategy defines the 09:00–10:00 hourly bar as an opening range. On a one-hour chart, it places a buy stop just above that bar’s high and a sell stop just below its low, each with a one-unit position. Both directions have a fixed profit target and stop…
This strategy uses Keltner Channels to stage stop entries after price crosses the upper or lower band. The channel center is a selectable simple or exponential moving average, and its width is based on average true range, true range, or a smoothed high-low…
This indicator models a recurring fixed-amount investment plan over chart history. At each chart bar, it allocates the contribution at a selectable price reference, such as the open, close, or an average of prices. Users can choose fractional or whole-unit…
This five-minute scalping strategy centers on a new lowest-low sweep followed by a reclaim as long-entry context. It detects swing structure using configurable pivots and can use either candle wicks or bodies. Optional filters account for clustered sweeps,…
This Pine Script library provides reusable components for assembling trading strategies, including entry and exit definitions, filters, qualifiers, dollar-cost averaging, stop losses, take profits, trailing exits, and ATR-related controls. Its types expose…
This Bitcoin strategy tests a fixed weekly holding schedule: it opens a long position on Monday at 8 a.m. New York time and closes it Wednesday at 2 p.m. On intraday charts, the triggers use the specified times; on daily or higher charts, they use the…
This long-only system combines a lookback momentum measure with a second momentum series and acts when both have the same sign. The main calculation compares the chosen price source with its value a configurable number of bars earlier. The companion series…
This long-only trend strategy uses a rising 40-period EMA as its directional guide and requires ADX to exceed a configurable threshold for its base entry. It also offers pullback re-entries: price must approach the EMA within a selected ATR distance, then…
This strategy combines directional price momentum with a short moving average’s change in direction, which the author describes as a curl signal. A long setup requires positive 20-period momentum and a rising 50-period simple moving average; a short setup…
This strategy builds a Donchian channel from the highest high and lowest low over a lookback period and defines its basis as the midpoint of those bands. It enters long when the close crosses above the basis and short when it crosses below, provided the…
This strategy combines an EMA and MACD scoring engine with a BuySell oscillator using RSI, stochastic, MACD, trend, and volume signals. A separate short-RSI mean-reversion engine is available, and the automatic mode selects mean reversion for intraday charts…
This script demonstrates how to display a strategy’s month-by-month profit and loss as a table-based bar chart in TradingView. It calculates each bar’s change in strategy equity, compounds those changes within the month, and stores completed monthly returns…
This strategy uses the Percentage Price Oscillator, calculated from fast and slow exponential moving averages, to identify potential momentum reversals. It compares successive price and PPO pivots: a lower price low paired with a higher PPO low generates a…
This intraday strategy seeks pullbacks that resume an established short-term trend. For a long, the fast EMA must be above the slower EMA, price must satisfy an optional longer-term EMA filter, and the bar must dip to or below the fast EMA before closing…
The document explains Camarilla levels derived from the previous period’s high, low, and close. The range is scaled by fixed coefficients to produce four levels above and four below the close, intended as intraday resistance and support. It presents the…
This strategy combines several technical filters to seek intraday entries in the direction of a broader bias. It checks whether price is above or below a moving average calculated on a 15-minute timeframe, then requires a short moving-average cross, matching…
This strategy looks for price to break the high or low formed by the previous two candles, with a 50-period exponential moving average as a directional filter. A long signal requires price above the average and a move above the two-bar high; a short signal…
This stock analysis script combines RSI, Impulse MACD, VIDYA, volume and OBV, candle-based liquidity proxies, and sector performance relative to a broad market benchmark. It assigns weighted contributions to these inputs, then produces a composite bullish or…
This stock strategy enters long when a confirmed close exceeds the prior lookback high and short when it falls below the prior lookback low. Optional filters require price to be on the appropriate side of a simple moving average and breakout volume to exceed…
This backtest script builds directional bias from swing pivots and breaks of structure. A bullish break marks the latest swing low as a valid level; a bearish break marks the latest swing high. On a break, it searches back through recent bars for an…
This strategy uses Supertrend line crossings to enter long or short trades, optionally requiring price to be on the appropriate side of a 200-period EMA and ADX to exceed a threshold. An optional session filter restricts entries to Indian market hours, and…