This strategy combines a four-candle 1-2-3 reversal setup with moving-average trend filters and MACD momentum confirmation. A long signal requires a bullish first candle, a bearish second candle, a third candle closing above the first candle’s close, and a…
Knjižnica znanja
Povzetki in ključne ideje knjig, razprav, člankov in kode, ki jih berejo naši agenti UI, pripravljeni s Stratmillovim raziskovalnim agentom. Na vsaki strani je povezava do izvirnika.
Iskanje po knjižnici
7,910 dokumentov
This intraday strategy records the highs and lows observed during a user-selected session, then enters long when the close crosses above the recorded high or short when it crosses below the low. It permits only one open position at a time. Stop levels are…
This example demonstrates how an algorithm can load a changing equity universe from custom daily data. A custom data class reads a ranked list of NYSE gainers, assigns each symbol a rank, and passes the records to a universe-selection function that keeps the…
This strategy uses a fast RSI to identify possible oscillating conditions and candle body size to filter entry signals. It calculates RSI with separate upward and downward periods, then treats readings above 70 or below 30 as qualifying zones. A trade signal…
VADER is a technical indicator that combines bar-to-bar price movement with volume to estimate directional buying and selling pressure. It treats the price change relative to a recent bar range as displacement, scales that measure by a chosen volume…
This strategy combines RSI, MACD, Bollinger Bands, volume, and a moving-average trend check. Each component is classified as bullish or bearish, and the system enters a long or short position when at least three of the five conditions agree. The described…
This strategy smooths the Commodity Channel Index with an exponential moving average and uses the smoothed value to generate directional signals. The document explains CCI as a measure of price deviation from its moving average. It describes entering long…
This trend-following system uses a fast and slow exponential moving average to set directional bias, then waits for price to return near the fast average before entering. The accompanying description gives periods of 200 and 800 for the averages, a 0.2%…
This strategy uses the difference between closing price and a simple moving average as a detrended oscillator. It compares that value with a trigger level: crossing above it sets a long direction and crossing below it sets a short direction. A reverse option…
This strategy combines several trend measures to seek medium- to long-term directional trades. It scores the alignment of moving averages, tracks recent highs and lows over a lookback window, and can optionally apply conditions based on yearly highs and…
This multi-symbol expert advisor uses Commitments of Traders data to generate directional currency signals, with an optional Supertrend filter. It fetches two selected COT report classes and modes, queries positioning and changes in positions, and derives…
This document describes a strategy that alternates between long and short entries on successive bars, using bar parity rather than a market breakout condition to choose direction. Its narrative frames the approach as holding both sides so a move in either…
This open source strategy targets long positions in MCX silver using momentum signals calculated on a configurable timeframe. Its indicators include volume weighted average price, rate of change, and a standard deviation band. Optional entry filters require…
This example demonstrates staged trade management after a position opens. Its sample entry is a crossover of 14- and 28-period simple moving averages. Profit thresholds and the initial stop are expressed as percentages of the average entry price and…
This strategy combines moving-average signals with an ATR-based stop. It enters a long position when price crosses above the slow SMA and exits when price crosses below the fast SMA. The described defaults use a 14-period fast SMA, a 100-period slow SMA, and…
This intraday-oriented strategy uses a 9-period exponential moving average and VWAP to generate directional entries. It goes long when the EMA crosses above VWAP and short when it crosses below. The script calculates ATR, then sets trailing exits using an…
This system identifies support and resistance from recent pivot highs and lows, then looks for either breakouts or reversals near those levels. Long setups include a move above resistance or a rejection at support; short setups include a move below support…
This strategy seeks reversals when the stochastic oscillator reaches asymmetric extreme zones: a K-line crossover above the D-line below the oversold threshold can trigger a long, with a corresponding short setup near the overbought boundary. It uses fixed…
This small Lean algorithm example shows how to configure a range consolidator to receive tick-resolution data. It subclasses a shared range-consolidator algorithm, sets the range parameter to five, selects tick resolution, and limits the example run to a…
This indicator tracks price deviations from a central level using thresholds that expand by successive Fibonacci values. The threshold can be set as a manual distance or as a multiple of the 200-period Average True Range. As price moves farther from the…
This script treats a bullish engulfing pattern as a possible long signal. The pattern consists of a down candle followed by an up candle whose real body contains and exceeds the prior candle’s body, subject to a minimum prior-body size. When the conditions…
This strategy combines Bollinger Bands, which reflect price dispersion, with an exponential moving average used to gauge trend direction. It enters long when the close crosses above the EMA and is above the upper band, and short when the close crosses below…
This educational script identifies doji candles by comparing the open and close, with an input that sets the maximum body size. It associates a doji with a directional condition based on whether the current close is below or above the close from two bars…
This short-only strategy aims to fade an extended run of bullish Heikin Ashi candles. It combines a streak condition on a selectable Heikin Ashi timeframe with an RSI filter on a separate timeframe to identify possible short entries. The script describes a…