This strategy identifies entry setups on short timeframes by combining moving average trend filters with Bill Williams fractal breakouts. It tracks multi-bar high and low fractals to establish market structure, waiting for confirmed fractal breaks in the direc
A dollar-cost averaging strategy template designed to simulate algorithmic DCA trading bots. It initiates a base order immediately or based on indicator inputs, then scales into positions with safety orders as price deviates against the entry, applying configu
This multi-indicator strategy combines the Relative Strength Index (RSI), Choppiness Index, Stochastic Oscillator, and an Arnaud Legoux Moving Average (ALMA). It plots RSI, Stochastic, and Choppiness lines in a separate pane. Long entries trigger when RSI cros
A long-only strategy for crypto on the 4-hour chart that combines two entry types: an Ichimoku plus market structure break signal, and a structure break confirmed by a volume spike. Trend EMAs and a volume multiple filter entries, and each signal type has a co
A long and short strategy designed for four-hour charts with a daily trend filter. Entries come from three setups: a stacked EMA and MACD plus SuperTrend alignment, a 20-bar Donchian breakout on higher volume, or an RSI bounce from extreme levels. A choppiness
A trend-following swing strategy for Indian stocks. Longs need an EMA 21, 50 and 200 alignment with rising slopes, then enter on a pullback to the 21 EMA or a breakout above a recent swing high, filtered by ADX, volume against its average, RSI and an optional
A long-or-cash strategy where three trend checks vote at each daily close: price above a 100-bar SMA, above a 200-bar SMA, and above its close 90 bars earlier. It holds a long position when at least the required number of votes agree, two by default, and moves
A mean reversion strategy that buys when price dips below the lower Bollinger Band while Stochastic RSI is oversold and crosses up, and sells short on the mirror setup at the upper band. Entries are skipped when ADX is above a maximum, to avoid strong trends.
A smart money concepts strategy drawn on the price chart. It marks break of structure and change of character, order blocks, liquidity sweeps and optionally internal structure, equal highs and lows, fair value gaps and premium and discount zones. Long entries
This trend-following strategy implements Paul Tudor Jones' long-term moving average rule directly on the price chart. It calculates an SMA or EMA baseline with an optional percentage band and a confirmation close counter to filter out false breakouts. The stra
This strategy for index futures models an ICT sequence on the price chart. Price sweeps a liquidity pool, either the previous day high or low or confirmed swings. A displacement close then shifts market structure, and a limit order is placed at the fair value
A simple price-action strategy that goes long on a bullish bar closing above the prior close with a higher high, and short on the mirror-image bearish bar. Each entry comes with a stop, a limit and a trailing value set as percentages of price. It also closes a
A long-only daily strategy for E-mini S&P futures. It enters long when the 200-period SMA is rising, the candle is bearish and the whole bar sits below the 5-period SMA, and it closes the position when price closes above the 5-period SMA. Size is a fixed one c
A long-only trend strategy using a 50-period and a 200-period EMA with an RSI filter. It buys when price crosses above the fast EMA or the fast EMA crosses above the slow one, provided price is above the slow EMA and RSI is above a set level. It closes when th
A strategy that marks confirmed 4H and daily pivot highs and lows, draws Fibonacci levels with an optional golden zone shading, and plots EMA 50 and EMA 200. A Hardened MTF mode adds RSI confirmation, EMA alignment and candle checks, allowing one trade per con
This strategy calculates Kaufman's Adaptive Moving Average (KAMA) using a custom efficiency-ratio function on closing prices. It plots a color-coded KAMA line directly on the price chart, turning green when the slope is positive and red when negative. The stra
This test strategy demonstrates Pine Script v6 risk management using maximum consecutive losing days rules. Once the configured start time is reached, it opens long positions on set bar intervals and optionally executes partial position exits. It tests trading
This strategy calculates fast and slow EMAs crossed with an RSI filter to generate long and short signals on the price chart. It enters positions based on EMA crossover conditions filtered by RSI thresholds and exits using stop-loss and take-profit levels scal
A long-only strategy for short-term crypto trading that combines Bollinger Bands, RSI, a 9-period EMA, a 21-period SMA and a Fibonacci window covering about ten minutes of bars. It sizes positions as a percentage of equity and can require a minimum gain before
A strategy that builds a 15-minute opening range box from a configurable session and time zone, drawing its high, midpoint and low lines with price labels. It then trades a break, return and cross sequence around the range, with a reward-to-risk exit model, th
This strategy plots the previous trading day's high and low on the price chart and enters on the first close beyond either level, once per side per day, between 01:00 and 20:00 server time. A long starts above the high and a short below the low. The stop sits
A strategy for Indian stocks that lets the user choose one of five rule sets: SuperTrend with an EMA, an EMA crossover, RSI with MACD, a Bollinger Band squeeze, or a VWAP pullback. A time window in UTC limits trading to exchange hours. Risk management sizes by
This strategy trades the New York open on the price chart using an ICT workflow. It sets a higher-timeframe bias from an EMA, structure and session VWAP, requires SMT divergence against a correlated symbol, then waits for an inverse fair value gap and enters o
A Pine v6 day trading research strategy for crypto charts. It blends RSI, Fibonacci Bollinger Bands, trend and higher timeframe filters, pivot support and resistance zones, Ichimoku and pattern modules into a weighted score for entries. A session filter, auto-
A Pine v5 strategy, with Chinese input labels, that lets the user pick one of four setups: a short after an RSI overbought exhaustion, a long after an oversold reading, a Bollinger Band reversion, or a VWAP breakout with an EMA. Exits use three take-profit sta
This strategy identifies an Opening Price Range during a specified time window and trades breakouts above or below the established range during the New York trading session. Entries can be filtered using optional RSI extremes and EMA trend direction, restricte
A strategy designed for a fifteen-minute chart that takes one trade per AlphaTrend buy signal. Entries need price above 15-minute and 1-hour moving averages, plus filters for sideways markets (stacked rising averages, ADX floor, breakout above recent highs). A
This strategy executes opening range breakout trades during regular trading hours. It calculates a 15-minute opening range high and low alongside a 20-period EMA and a 14-period ATR. Long entries trigger when price crosses above the opening range high while hi
This strategy demonstrates a decoupled architecture where external Python optimization feeds parameters into Pine Script through a formatted configuration payload. The script parses the payload to set the SMA length, ATR length, take profit percentage, and ATR
This strategy builds an opening-range high and low during a user-defined session, then waits until that session ends. A close above the range enters long and a close below it enters short. The long exit uses the range low as the stop and a limit one range-widt
A long-entry strategy for the price chart that scores twelve conditions: RSI, MACD histogram, an EMA stack, SuperTrend, Bollinger position, ATR volatility, VWAP, volume ratio, stochastic, ADX, Ichimoku cloud and MFI. A buy needs at least nine to pass. Inputs s
This strategy trades Taiwan-stock fair value gaps on the price chart. It marks gaps that pass an ATR size and displacement filter, tracks inverse FVGs, internal order-block retests and sweeps, and scores enabled triggers with fixed weights. A signal confirms o
This strategy calculates the relative strength index of the closing price and enters a long position when the RSI crosses above a user-set oversold level. It exits that long with a fixed absolute stop price and a fixed absolute limit price. The main settings c
A strategy for 15-minute Bitcoin charts that opens a trade when several conditions agree: fast and slow EMA alignment, RSI inside a set band, MACD line and histogram direction, volume above a fraction of its average, price between the Bollinger basis and the n
A strategy for US index, energy, metal, agriculture and livestock futures that reads Commitments of Traders data through a TradingView library. It builds a commercial positioning index and combines it with an RSI to decide long and short entries. Exits can use
A Strategy Tester script for opening range breakouts during Asian, London or New York sessions. The range length is selectable, and entries use a close breakout, a break with retest, or a fuller sequence including a liquidity sweep and reclaim. Direction, bias
An open-source momentum scalping strategy for intraday charts of fast-moving stocks. It trades fast and slow EMA lines with a volume surge, a minimum momentum over a lookback, an optional VWAP condition and optional pullback re-entries, capped at a set number
A Pine v5 strategy that applies time-series momentum, taking the sign of past returns over about one, three and twelve months and averaging them into a long or short score. Position size is scaled to a target annual volatility with a maximum leverage cap, with
A strategy built around a session VWAP and ATR bands during the London window, 08:00 to 12:00 UTC by default. It looks for a pullback to an ATR band followed by a VWAP cross, filtered by an RSI threshold, and evaluates signals on confirmed bars. Stops and targ
This strategy implements quantitative intraday models tailored for NQ and MNQ futures contracts. Traders can select between EMA Pullback, Opening Range Breakout, or Liquidity Sweep setups with user-defined New York trading sessions. It handles position sizing
A simple strategy that goes long when a 20-period EMA crosses above a 50-period EMA and short on the opposite cross. Each entry gets a stop one ATR away and a take profit set at a risk to reward multiple of the ATR, adjustable by one input. Position size is a
A Pine v6 example strategy from a trading guide that enters long when a fast EMA crosses above a slow EMA and short when it crosses below, defaulting to 10 and 50 periods. Each open position gets a percent stop loss and a percent take profit measured from the
AEGIS Demo is an EMA crossover strategy designed to trigger webhook signals for an external automated execution bot. It calculates a 20-period fast exponential moving average and a 50-period slow exponential moving average, plotting both lines directly on the
This intraday strategy executes trades on gold (XAUUSD) 5-minute charts using 15-minute higher-timeframe bias. It identifies key liquidity levels—such as previous day highs and lows, session levels, swings, and equal highs or lows—and waits for confirmed liqui
A long and short strategy that finds the lowest low and highest high over a swing lookback of 20 bars. It enters long near the low or short near the high when the reward-to-risk ratio meets a minimum, sizing each trade from a capital figure and a risk percenta
EMA & Time Exit Strategy v6 is an overlay trend-following strategy based on exponential moving averages and fixed-duration holding periods. It plots a fast EMA and a slow EMA directly on the price chart, triggering a long entry when the fast EMA crosses above
This strategy trades pullbacks to the 21 EMA inside a full EMA 21, 50, 200 stack, shorts only by default. Filters include ADX strength, an RSI range, volume relative to its average, a minimum candle body, an ATR floor, a panic-volatility check and an optional
This strategy arms a stop entry slightly beyond the close of a confirmed signal candle, filtered by SuperTrend, fast and slow EMAs, MACD, RSI, rising ADX and higher timeframe checks, within a trading session. A basket of 10 lots books half at a one-point targe
Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
Learn to Use Pine Scripts
Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.