This intraday Nifty futures strategy builds an opening range from the 09:15–09:30 IST session window and considers entries after that range is locked. It allows a long when the close is above the range high or a short when it is below the range low, subject…
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
5,020 documents
This script describes an intraday options approach that opens short call and put positions around the current underlying price, using a configurable strike offset and simulated base premium. Its state-machine setup tracks the selected strikes, position…
This strategy seeks to re-enter an established trend after a countertrend pullback. It defines the trend using the relationship between fast and slow EMAs and the slow EMA’s slope. A short-period RSI detects a pullback, and a price close beyond the previous…
This short-term approach combines MACD and RSI information. Its explanation describes MACD line crossovers and histogram changes as signs of strengthening or weakening momentum, while RSI levels below 20 and above 80 mark oversold and overbought conditions.…
This strategy combines ATR and RSI to select trades and manage exits. It treats ATR above its moving average as a high-volatility condition, then uses RSI thresholds to determine long or short direction. In the supplied parameters, an RSI entry offset is…
This trend strategy uses a Hull Moving Average (HMA) as its main entry indicator. The document describes long entries when price breaks above the HMA and short entries when it breaks below, with optional baseline and confirmation indicators intended to…
This document presents a reusable charting-script component for displaying a strategy’s monthly performance in a table. The component reads strategy equity and closing prices, with options to show returns as percentages, net profit, or both. It can include a…
This partial strategy script seeks reversals around repeated highs or lows. It counts prior bars whose highs or lows fall within a configurable point tolerance of the current bar, then treats enough matches as equal-high or equal-low levels. Inputs control…
This strategy limits activity to the final 500 chart bars and uses internal position-state variables to alternate trade direction. With swing mode enabled, it opens a long or short position when flat, then switches to the opposite side after two bars in the…
The strategy combines three filters: volume and price behavior, MACD direction, and fair value gap location. A bullish volume signal requires an up candle, volume above its moving average, and a close above a recent high; the bearish condition mirrors these…
This long-only daily stock strategy looks for pullbacks within an established uptrend. It defines the bullish regime as the 50-period EMA above the 200-period EMA, with price above the faster average. After RSI has recently entered a pullback zone, it waits…
The script trades a spread between Dalian Commodity Exchange coke and coking coal futures. It estimates the spread from each contract's close, volume multiplier, and a fixed contract ratio, then calculates a z-score from a rolling set of daily observations.…
This BTC/USDT strategy uses a 20-period simple moving average with bands two standard deviations away. It opens long positions when price falls below the lower band by an adjustable point threshold and closes them after price rises above a separate threshold…
The narrative describes a trend-following method that enters long or short when price closes beyond a 20-day extreme, then filters entries unless price movement reaches a stated five-ATR threshold. It describes stops based on a two-N ATR distance from recent…
This strategy combines a WaveTrend oscillator with a ribbon of eight exponential moving averages. Long entries follow either a crossover of the second and eighth EMAs or a faster bullish EMA crossover unless a bearish combined signal is present. Short…
This strategy combines Keltner Channel levels with CCI and RSI conditions, a volume test, and an optional moving-average trend filter. A long setup requires price to reach below the lower channel alongside oversold readings from CCI and RSI; a short setup…
This strategy smooths an RSI series with local polynomial regression and uses the fitted curve’s first derivative, called Delta-RSI, as a momentum signal. Traders can enter when Delta-RSI crosses zero, crosses its EMA signal line, or changes direction. Long…
This trend-following method combines a fast and a slow moving average, with example periods of 10 and 30. It classifies each average by whether it is rising or falling compared with the previous bar. When both point upward, the strategy adopts a long bias;…
This strategy seeks potential turning points by counting sustained price moves relative to closes several bars earlier. It uses separate bullish and bearish counts and displays signals at three thresholds: 9, 12, and 14. The strategy enters in the direction…
This strategy identifies short-term price moves that exceed a configurable percentage threshold over a lookback interval, then trades against the move: an unusually large rise triggers a short, while an unusually large fall triggers a long. The description…
The visible portion describes a configurable strategy framework combining impulse, compression, breakout, and retest setups with trend pullbacks and liquidity sweeps. Users can choose breakout entry or wait for a retest, allow long or short trades, and set a…
This script outlines a strategy built around bullish and bearish fair value gaps. It detects a gap when the current candle’s low is above the high from two candles earlier, or when its high is below the low from two candles earlier. A same-direction candle…
This short-term strategy builds price bands around an EMA using ATR distances multiplied by configurable Fibonacci ratios. It offers several upper and lower thresholds, with entry conditions selected by choosing which prior-bar band the closing price must…
This strategy description combines an EMA50 direction filter with candle patterns and a retest condition. Long setups require price above the average, a bullish engulfing or pin-bar pattern, and a retest from below; short setups mirror these conditions below…