A gold futures strategy meant for the micro contract on the 30-minute chart. It records the first New York hour range from 9:30 to 10:30, then fades the first breakout between 10:30 and 13:00, taking the opposite direction of the break. ATR-based stop and targ
A single indicator that combines two systems and enables each only on its own timeframe. On a fifteen-minute chart it runs a volatility squeeze breakout using an ATR percentile and a regime filter. On a four-hour chart it runs a VWAP mean reversion with standa
This strategy identifies Initial Balance periods on NQ and ES futures charts using user-defined start and end hours in Eastern Time. It classifies days as narrow or wide based on average range lookback and skips narrow or trending days per settings. Entries tr
This strategy calculates the RSI indicator to detect mean reversion in AU stocks. It enters long positions when RSI falls below the oversold level with no current position and closes positions when RSI rises above the overbought level. Position size uses a fix
This strategy fades opening gaps on ES during the New York regular session. It requires a gap that meets percentage, point, and optional ATR thresholds, then places long or short fade entries after a selectable 5-, 15-, or 30-minute opening range. A TICK bread
This strategy evaluates market conditions using a combination of WaveTrend, RSI, Stochastic RSI, and a custom Money Flow Index calculation inspired by VuManChu. It enters long positions when multiple oscillators hit oversold thresholds and generate an upward c
This strategy calculates the relative strength index of the close and plots that oscillator plus oversold and overbought horizontal levels on the price chart because overlay is on. It opens a long when RSI crosses above the oversold level and a short when RSI
This indicator implements Tom DeMark Sequential logic directly on the price chart. It calculates TD buy and sell setups by comparing closes against four bars prior, tracks setup counts up to nine, and evaluates bar lows and highs to identify perfected setup co
An overlay for crypto charts that follows a staged sequence built from RSI and four simple moving averages. It flags bearish candles with RSI under 20, records their lows, watches for crosses above the 50-period and 300-period averages, and stores the low of a
This strategy trades mean-reversion bounces using Bollinger Bands and constructs JSON webhook payloads for automated execution. It opens a long position when the price crosses back above the lower band within a specified date filter and closes the position whe
A Pine v4 indicator in a separate pane that is a variant of a volume-weighted z-score oscillator. It measures the close against a rolling volume-weighted mean and divides by a volatility term smoothed with an adaptive Kaufman-style average instead of a simple
This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po
This pair trading strategy calculates the daily price movement ratio of Google using multi-symbol data requests and plots it in a separate pane. When Google drops by more than 5% within a day, the strategy enters a long position of 100 units on the chart symbo
Exhaustion Reversal identifies potential market exhaustion and reversal points on the price chart by detecting strong force bars followed by price give-back patterns. A force bar is defined by an above-average body reaching recent extreme highs or lows. The sc
This strategy fades Bollinger Band extremes on the close. It opens a short when price crosses above the upper band and the 14-period RSI is above 75, and a long when price crosses below the lower band and RSI is above 25. Shorts close when RSI falls below 30 a
BodyOutlier A003 is a mean-reversion trading strategy designed for automated execution via Zignaly alerts. It identifies candlestick body outliers to place limit orders, buying at the low of unusually large bullish candles or selling at the high of large beari
The Enhanced DCA Strategy invests a fixed dollar amount at regular intervals (daily, weekly or monthly) into the asset after start date, deducting trading fees and tracking total invested, units acquired, current value, profit, ROI, Sharpe ratio, Sortino ratio
RG Structure v2.0 [Visual Edition] is a strategy that identifies pivot points over a lookback window to construct trendlines. It evaluates breaks and retests of these trendlines using scoring weights, violation penalties, and regime detection to generate entry
This strategy enters long positions when price tests and bounces off the prior week's low level within an allowed point tolerance during designated UTC trading hours. It requires the bar low to approach the prior week low and the close to rebound above it whil
This indicator plots directional trade signals, ATR-based target and stop-loss boxes, and SuperSmoother reversal bands directly on the price chart. It evaluates market conditions across selectable technical strategies, displaying confidence scores alongside an
This strategy overlays trade setups directly on the price chart using fast, slow, and trend EMAs alongside RSI, ATR, ADX, and volume moving averages. It generates long and short signals through trend-pullback or mean-reversion logic, filtered across multiple t
This strategy executes mean-reversion trades when the Relative Strength Index rebounds from overbought or oversold zones in the direction of a higher-period trend EMA. It calculates indicators using confirmed bar closes to prevent live-bar recalculation. Entri
This indicator tracks consecutive closing price movements to identify trend changes. It maintains separate counters for periods where close is higher than close[4] (buy direction) and lower than close[4] (sell direction). Counters reset when the condition no l
Sapphire Fibonacci Strategies is a multi-mode strategy that combines Momentum Breakout, Mean Reversion, and Fibonacci Retracement models built on Fibonacci-period moving averages. It generates long and short trade signals based on price crossovers and moving a
The Scalp Agiota strategy calculates RSI and MFI values to identify overbought and oversold conditions for cryptocurrency scalping trades. It plots upward triangles on the price chart below the bar when RSI drops to 20 or lower and MFI to 10 or lower, signalin
Plots Donchian Channels and identifies trading setups based on price testing the channel extremes during high volume spikes. In long mode, it places limit buy orders when the low touches the lower Donchian band with volume exceeding a volume moving average mul
RSI Bounce calculates custom Relative Strength Index levels scaled back onto price, creating nine price-equivalent RSI band series centered around a median RSI baseline. It combines short-term RSI extreme checks with customized MACD signal line crossovers to i
This strategy fades liquidity sweeps of confirmed swing highs and lows. It enters a reversal only after price sweeps a prior swing and closes back inside the range. The stop sits an ATR multiple beyond the sweep wick, the target is a fixed reward-to-risk multi
Calculates custom exponential moving averages and standard deviation envelopes based on price offsets and lookback windows. It plots dynamic channel bands, mean reversion zones, and squeeze indicators in a separate pane. Users can adjust the moving average len
A Pine version 6 overlay that marks reversal entries and exits for same-day index option trades on five-minute bars. Entries need a stochastic reversal cross, an EMA trend filter, a cooldown and a time window, and must pass a confluence score, a VIX stand-asid
This indicator is a mean-reversion scalper for index futures on one to five minute charts. It plots session VWAP with one and two standard deviation bands and previous day high and low, and arms setups only when an Efficiency Ratio shows choppy rather than tre
An oscillator in a separate pane that applies fractional differencing to a price source, keeping long-run memory while making the series more stationary, then converts it into a rolling Z-score. Bands at a chosen number of standard deviations mark stretched co
An overlay indicator that flags possible reversals using pivot points, candle patterns and confirmation filters. It detects swing highs and lows with separate left and right bar counts, bullish and bearish engulfing candles, and pin bars such as hammers and sh
BVortex Strategy v1 calculates a scaled Vortex Indicator difference to detect overbought and oversold conditions relative to predefined upper and lower thresholds. It filters entries using market trend direction established by confirmed swing pivot highs and l
An indicator that classifies the market as trending, ranging or breakout using ADX and ATR ratios, then blends three signal families into one confidence score from 0 to 100. The families are EMA trend following, Bollinger and RSI mean reversion, and Donchian w
A Bitcoin strategy that ranks the current daily close against the previous 600 daily closes and scales the long position in tranches as that percentile falls, reaching full size near the 5th percentile, with a step of 10 percentile points per tranche by defaul
This strategy calculates intraday volatility mean reversion using session VWAP standard deviation bands, RSI overbought and oversold levels, and candle wick exhaustion ratios. It enters trades when price reaches statistical extremes filtered by RSI and wick co
This strategy fades ES opening gaps during the New York regular session and plots on the price chart. It requires a gap above a minimum percentage, point size, and optional ATR multiple, then applies a five, fifteen, or thirty minute opening range and an NYSE
A strategy for the price chart that combines Bollinger Bands, the MACD line and a small-candle-body test. Shorts follow a close above the upper band with a small body and MACD above zero, then a lower close; longs follow a close below the lower band with a sma
A two-sided mean reversion strategy built on a very short RSI and a 200-period SMA. Longs are taken after a deeply oversold RSI reading while price is above the SMA, and shorts after an overbought reading below it, with RSI-based closing rules. Stop loss, take
An overlay for crypto, stocks and commodities that runs two parallel sets of the same staged logic, each with its own RSI length and 21, 50, 100 and 300-period simple moving averages. The logic flags bearish candles with RSI below 20, tracks crosses above the
This indicator measures how far the close sits from a Hull moving average and plots that gap as a percentage in a separate pane. It also calculates an exponential moving average over the same trend length. The plotted line is red above 20, green below zero, an
This long-only strategy plots Bollinger Bands, 20 bars and 2.5 deviations by default, along with a 10 and a 50 period EMA and a background that shades the EMA trend. When flat, it buys after the close crosses back above the lower band, and it closes the positi
A long-only strategy that buys when the 14-bar RSI is below 30 inside a chosen date range. It closes all positions when price reaches a percentage profit target or falls to a percentage stop loss, checked on closes. The order size doubles after each close, a p
This Pine v5 strategy calculates a 20-period Bollinger Band basis and places stop-style entry orders at the basis. A long order is placed when the close crosses above the basis and a short order when it crosses below, and pending orders are cancelled on bars w
This strategy draws on the price chart and combines Stochastic RSI, the Money Flow Index, and an exponential moving average to open long or short trades. Longs use the lower oscillator thresholds and shorts use the upper ones, with direction limited to longs,
This strategy executes trades on the current chart based on daily percentage price changes of an external ticker (GOOG). It fetches the daily open and close prices of the reference symbol to compute its intraday price change ratio. When the reference asset dro
This strategy builds Bollinger bands from a simple moving average and the standard deviation of the close. It opens a short when price crosses above the upper band and the 14-period RSI is above 80, and opens a long when price crosses below the lower band and
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.