This strategy combines internal and swing market structure breaks with fair value gap confirmation and premium or discount zones. Users can choose which structure scale to follow, adjust signal aggressiveness, and optionally require divergence or a Bollinger…
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 looks for price to exceed the highest high over a recent lookback while trading volume exceeds its moving average by a chosen multiple. It classifies such breakouts using a fast and slow exponential moving average trend filter and RSI momentum.…
The strategy combines a lower Bollinger Band score, a score based on price relative to long moving averages, and an RSI score to identify potential long entries. In its ordinary mode, it uses separate score thresholds for two entry paths: one can trigger…
This intraday strategy records the high and low of the first bar in a trading session as opening-range boundaries. It enters long when a confirmed close crosses above the high, or short when a confirmed close crosses below the low, provided it has no open…
This strategy combines swing structure, higher-timeframe supply and demand zones, fair value gaps, order blocks, and reversal signals. Pivot highs and lows are classified as higher highs, lower highs, higher lows, or lower lows; closing breaks of the latest…
This crypto strategy combines a zero-centered momentum measure with a volume-based money-flow indicator. The momentum series is derived from price relative to a rolling range and moving average, then smoothed with linear regression. A long signal occurs when…
This strategy applies a recursive Kalman-style filter to price and tracks a directional state. A stop line trails the filtered price at a percentage distance: it ratchets in the direction of the current trend and flips sides when the filter crosses it. The…
This strategy seeks breakouts from automatically drawn support and resistance lines. It constructs descending resistance from two successively lower pivot highs and rising support from two successively higher pivot lows. Pivots are confirmed after bars on…
This strategy combines a market regime model with several directional signals to qualify long and short trades. It identifies swing pivots, builds smoothed ATR bands around their midpoint, and changes its regime state when price crosses a band and satisfies…
This strategy classifies trend state using a smoothed oscillator formed from the difference between fast and slow simple averages of the bar midpoint. Its signal modes either enter when bullish or bearish bias begins, or trigger on the appearance of a strong…
This strategy combines Keltner Channel breakouts with position sizing based on a Kelly fraction calculated from the strategy’s closed-trade record. It estimates win probability from winning versus total trades and compares average wins with average losses.…
This indicator scans Zigzag pivots for user-configured harmonic patterns, using either five or six pivots. It calculates ratios between pivot legs and validates candidate patterns against enabled ratio targets or ranges. When a target is specified as a…
This strategy looks for directional breakouts beyond Bollinger Bands. A long setup requires price to cross above the upper band after the prior close was inside it; a short setup mirrors this below the lower band. RSI thresholds, volume above its moving…
This strategy combines a double Hull-style moving average, a volume-weighted moving average, and a longer weighted moving average. It compares the double Hull series with its prior-bar counterpart to establish direction, then uses the averages’ relative…
This strategy script combines time-based trade windows with breakout entries, configurable stop-loss and take-profit distances, and an optional ATR-based stop. It includes a choice of regime filters, including an Andean oscillator and a Larry Williams…
This long-only grid strategy divides a user-defined price range into levels spaced either geometrically or arithmetically. On a close crossing downward through an unowned level, it opens a position sized from an equal share of the specified investment; when…
This strategy takes long or short positions when momentum is positive or negative. Its momentum signal can use either a longer lookback reading or a one-bar change, and entries can require agreement between two momentum measures or use only one. An optional…
This document shows how to add a calendar-based return table to a TradingView strategy. It derives each bar’s equity return from consecutive strategy equity values, compounds those returns within the current month and year, and stores completed period…
This template uses RSI threshold crossings to generate mean-reversion entries: a move below the oversold level signals a long, while a move above the overbought level signals a short. For each position, it calculates a stop using a fixed price distance, ATR…
This strategy aims to capture multi-day swings in SPY using hourly bars. A long signal occurs when the fast EMA crosses above the slower EMA while RSI is above its midpoint. The stated exit condition combines weakening EMA alignment, a bearish MACD…
This configurable strategy framework studies opening range breakouts across multiple sessions. It offers entries on a range break by touch or close, retests of the range or a fair value gap, sweep reversals, fades of the first breakout, and a first-break…
This strategy enters long when the closing price crosses above the latest confirmed pivot resistance. It also requires the distance between the latest pivot support and resistance to remain below a configurable channel-width limit. Pivot confirmation uses…
This BNB/USDT strategy is a configurable system for accumulating and managing positions, with inputs for a historical trading window, price sources, lookback periods, profit targets, and capital allocation. It allows equal or incremental purchase sizing,…
This SPY strategy uses the relative strength index of the average of each bar’s open, high, low, and close, then smooths that indicator with two exponential moving averages. A faster smoothed line crossing above 50 opens a long position; a slower line…