UT Bot v2 is a trend-following method that maintains a trailing stop at a configurable multiple of Average True Range from a selected price source. The stop ratchets upward while price remains above it and downward while price remains below it; a confirmed…
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 script defines a two-sided trend-following strategy using a composite moving average formed by blending an Arnaud Legoux moving average with a smoothed zero-lag EMA calculation. Direction is determined by the composite line’s slope over a configurable…
This long-only strategy combines an Ichimoku trend entry with a money-flow filter for SOL/USDT on four-hour bars. Tenkan crossing above Kijun triggers a candidate entry, which is accepted only when the close is above the current cloud and the Money Flow…
This strategy combines UT Bot trailing-stop crossings with the direction of a Schaff Trend Cycle (STC) oscillator. It adds a confirmation window so an STC change may follow a UT signal by a limited number of bars, then applies configurable conditions for…
The Dynamic Momentum Index adapts the effective RSI period to recent price volatility. The document describes estimating volatility from a short standard deviation smoothed by a longer average, then using that estimate to vary the period within stated upper…
This strategy uses a selected moving average as the input to a Twin Optimized Trend Tracker. It derives upper and lower OTT bands and opens long or short positions when the moving average crosses the corresponding band. The moving average can be chosen from…
This short-term strategy seeks momentum reversals using Heikin-Ashi candle structure. A setup requires a preceding candle of the opposite color, followed by three same-direction candles with no wick on the entry side; each candle body must be larger than the…
This five-minute intraday strategy enters long when price crosses above a confirmed pivot resistance level and short when it crosses below pivot support. It requires elevated volume, a directional filter relative to an exponential moving average, a…
This Bitcoin strategy combines three simple moving averages to trade in both directions. It enters long when the fast average is above the slow average and price is above the longer trend average; it enters short when both relationships are reversed.…
This strategy compares a smoothed relative strength index of closing prices with a smoothed relative strength index of volume. The example calculates each RSI over a short lookback and applies a moving average to both. It opens a long position when the…
This scanner uses zigzag swing points to search price data for geometric chart formations. Its configurable pattern groups include channels, wedges, and triangles, which can be classified by slope, direction, and whether their boundaries converge, diverge,…
This strategy combines an EMA trend condition with a smoothed RSI trigger. It calculates RSI, smooths it with a simple moving average, and can signal entries when that smoothed value crosses configurable buy or sell levels. Signals are evaluated on confirmed…
This long-only strategy enters when price breaks the upper Donchian Channel, using either a candle close or a wick as the trigger. It exits through a stop based on the lower channel. An optional tighter channel can set the initial stop, with the wider lower…
This countertrend strategy looks for repeated tests of recent high or low levels within a configurable price tolerance. It counts earlier bars near the lookback high and low, then signals a short when price returns near a repeatedly tested high or a long…
This Pine Script tool creates artificial open, high, low, and close series for evaluating indicators in a controlled environment. Its recursive random process produces close values, while separate smoothed random components shape the highs and lows;…
This strategy combines two technical signals: a two-candle engulfing pattern and price relative to a moving average. The engulfing pattern marks a possible reversal when the second candle’s real body covers the first candle’s body. The moving-average…
This simple strategy calculates a 14-period relative strength index and uses its 50 level as the directional trigger. A cross above 50 opens a long and closes any short; a cross below 50 closes the long and opens a short. The script also colors the chart…
This strategy uses crossings between custom Aroon upper and lower series to generate long and short signals. By default, it filters trades so longs require price above both a 290-period simple moving average and a 200-period exponential moving average, while…
This long-only breakout system looks for a close above the recent high after a defined consolidation range, alongside volume above its 20-bar average. An optional OBV filter requires OBV to exceed its own moving average. A separate large-candle condition can…
The strategy combines an ATR expansion filter with a 20-bar price momentum check. It enters long when price is above its level 20 bars earlier, or short when below, provided current ATR exceeds half its 20-period average and is not below that average. The…
This long-only strategy tracks the highest closing price seen and triggers buys when the close falls by a configurable percentage from that peak. Position size is based on a selected share of strategy equity, adjusted by a leverage input. It exits when price…
This strategy divides a price range into geometric levels and uses confirmed bar closes to detect crossings. A downward cross through an unfilled level opens a buy; an upward cross through the next level closes it, aiming to capture the spacing between…
Trend Flow is a configurable directional strategy offering entry rules based on moving-average crosses, RSI, MACD, Bollinger Bands, SuperTrend, Stochastic, Ichimoku, Chaikin Money Flow, Parabolic SAR, squeeze releases, support and resistance, Fibonacci…
This strategy looks for a long setup when a dragonfly-style doji makes a new low relative to the preceding 50 bars and the current RSI exceeds its lowest value over that lookback. The short setup mirrors this logic: a gravestone-style doji makes a new high…