This strategy identifies breakout setups using Mark Minervini volatility contraction patterns, trend templates, and volume surges. It enters long positions when price breaks above base resistance under favorable benchmark regime and relative strength condition
This Pine Script strategy tests type casting and mathematical operations using logarithmic scaling on price deviation. It calculates a simple moving average over a user-defined length, computes the absolute spread between price and the average, and scales it u
A strategy version of a crypto signal indicator that goes long or short when a 50 and 200 EMA trend, RSI and fast MACD ranges, ATR percent, volume ratio and ADX all pass a minimum entry score. An optional macro filter checks Bitcoin, dominance, TOTAL2 and TOTA
A multi-layer strategy for crypto futures that groups indicators into trend, momentum and volume layers. Trend uses Supertrend, KAMA and Ichimoku, momentum uses MACD, Stochastic RSI and PZO, and volume uses relative volume. A first-come-first-served queue lets
A strategy that finds impulsive engulfing-style candles to define order block zones, then waits for a zone to fail when price closes through it. A failed bullish zone becomes a short setup on a retest below a 200 EMA, and a failed bearish zone becomes a long s
A futures strategy that bundles five entry styles, pivot rejection, dynamic zone rejection, opening range breakout, VWAP rejection and EMA bounce, each of which can be switched on or off. Trades pass optional filters for VWAP, EMA, RSI momentum, volume, a VIX
A long-only dip-buying strategy for leveraged futures. Entries fire when price falls a set share of its recent high, with the depth optionally scaled to the asset's own historical maximum dip, when price sits below an EMA by a set percentage, or after a MACD c
The BVortex Multi strategy combines a Vortex indicator with an ADX filter to detect trend changes. It calculates Vortex values scaled for stronger signals and confirms trend direction using swing pivots on high and low prices. Buy triggers occur when Vortex cr
A strategy built on the same smart money concepts as its indicator sibling: swing structure, order blocks and fair value gaps scored into a confluence value that must pass a minimum before a trade. Size is set from a risk percentage per trade, with an optional
A long-only strategy for stocks that enters when the close is above both a 50-period and a 200-period SMA, RSI is above a set minimum, volume exceeds a multiple of its average, price has stayed above the 50 SMA for several bars and dollar volume passes a floor
A strategy version of a price-action signal set with eleven switchable entry setups, such as trend breakout, trend pullback, false breakout of a key level, range edge, breakout retest and double top or bottom. Levels come from clustered swing points, with 20,
A long-only first-hour breakout strategy for Nasdaq futures on the 15-minute chart. It records the 9:30 to 10:30 New York range, then enters at the close of the first bar after 10:30 that closes above it while price is above a 50-period EMA. The stop is an ATR
Beginner EMA + RSI + ATR is a long-only trend-following strategy plotted directly on the price chart. It identifies an uptrend when the 50-period EMA trades above the 200-period EMA, triggering long entries when the 14-period RSI crosses above the 50 centerlin
A strategy version of an oscillator indicator built on a channel length, average length and short length. It opens long and short positions from the oscillator signals, uses 10 percent of equity per order and allows a very high pyramiding count, so many same-d
This strategy trades reversal candlestick patterns such as hammer, doji, engulfing, stars, harami, piercing line and shooting star on the price chart. Pattern strength, ratios and size are adjustable, and optional filters use volume, a trend EMA, RSI, moving a
This Pine Script strategy detects ICT smart money concepts including order test zones, fair value gaps, and wicks on BTC and XAUUSD price charts. It calculates swings using pivot high and low. Signals enter long or short when the order test zone is hit with su
A long-only strategy that combines a market breadth index, the percentage of stocks above their 50-day average, with a long moving average of 225 periods. When price is above the average, it buys if breadth drops below 25. In bear mode, which is off by default
The NQ SSR Strategy is a trading strategy for Nasdaq futures contracts. It generates buy and sell signals based on multi-timeframe pivot high and low detection across 4H, 1H and 5M timeframes. Signals are plotted directly on the price chart as entry and exit p
A strategy for automated order routing that formats alert messages for a MetaTrader connector service. Inputs cover a license identifier field, symbol prefix, suffix and mapping, lot size, a magic number, a pip multiplier and a base risk percentage. Selected i
A stock-oriented strategy that scores each bar from minus 100 to plus 100 by combining RSI, an impulse MACD, VIDYA, volume spikes, a spread and wick proxy for market depth, and sector ETF strength against a benchmark. Buy entries need the score above a thresho
BTC ATH Golden Cycle is a long-only position trading strategy designed for Bitcoin. It tracks price drawdowns relative to All-Time High (ATH) levels to execute a five-stage dollar-cost averaging entry schedule. As prices decline by configurable percentage tier
This strategy identifies the Initial Balance session on the chart and detects confluence with VWAP levels for trade signals. It enters positions when price shows rejection at the confluence zone via a candle with sufficient wick to body ratio. The main setting
This strategy implements the classic Turtle Trading System using Donchian channels. It enters long when the price breaks above the upper entry channel and short when it breaks below the lower channel, with an optional filter that skips signals following a winn
A Pine v5 strategy that trades engulfing candle patterns on the price chart. A pattern needs the current body to cover a set percentage of the previous body, with options for opposite color, doji handling and a maximum previous body size in ATR. Optional confi
A Pine v5 long-only strategy that buys when RSI falls below an entry level and then trails an exit level behind the highest close using an ATR multiple. The position is closed when the close drops below that trailing level, which is drawn as a red line on the
This strategy demonstrates a training, testing, and deployment lifecycle for Pine Script strategies. It calculates a simple moving average (SMA 20) and generates buy signals on crossover. The runMode input selects between Training, Testing, and Deployment. In
A long-only strategy generated from the TrendLab research project, drawn on the price chart. It calculates the Parabolic SAR with acceleration start 0.01, step 0.08 and maximum 0.37. It buys when the close crosses above the SAR and closes the position when the
A monthly rotation strategy based on the global equity momentum approach. It requests monthly closes for a US equity ETF, an international equity ETF and a bond ETF, compares their returns over a lookback in months and checks the stronger equity against a manu
This strategy fades ES opening gaps during the New York regular session and plots on the price chart. It records the prior regular close, overnight high and low, and a five, fifteen, or thirty minute opening range. Long and short fade entries require the gap t
This strategy identifies long entry setups by combining WaveTrend momentum, an exponential moving average trend filter, and automated Fibonacci retracements. It triggers an entry when the price trades above the baseline EMA, pulls back into the 0.5 to 0.618 Fi
This strategy wraps a breakout candle system in a framework that handles position sizing, trade tracking and logging. Settings cover a gap zone block around midnight in the Prague time zone, the number of candles in an accumulation zone, a risk percentage per
A long-only strategy ported from a Freqtrade bot, aimed at five-minute crypto charts. It combines an Ichimoku-style cloud with a ladder of EMA pairs and a fan magnitude ratio that must keep growing, so it only enters in strong trends. Exits come from a time-st
This strategy detects regular and hidden RSI divergences using pivot points on a 9-period RSI and plots them on the price chart with labels. By default it only opens long positions, on bullish divergences, and exits when RSI reaches a take-profit level or by a
A long-only strategy using a 50-period Hull moving average and a 50-period EMA. It buys when the Hull crosses above the EMA, and buys again when the Hull turns upward while still above the EMA and no position is open. It closes when the Hull turns down or cros
This strategy identifies trend re-entries by combining volatility spikes, short-term pullbacks, and moving average crossovers. It detects strong bar expansions using an ATR multiplier, checks a lookback window for pullbacks, and triggers entries when price cro
A second variant of a reversal strategy for a 15-minute TRUMP perpetual swap chart. It reacts to candles whose range exceeds a larger percentage threshold than version one, entering with a limit order against the candle direction. Take profit, stop loss, slipp
This strategy uses Bill Williams indicators including the Alligator (jaw, teeth, lips with RMA smoothing and offsets), Awesome Oscillator, and Accelerator Oscillator. It also plots fractals on the chart. Long entries occur when the Alligator is aligned bullish
A long-only accumulation strategy that buys near the lower edge of a smoothed channel built from an EMA of the highest high and lowest low over an adjustable range. A buy fires when price touches the lower line while RSI turns up from an oversold reading, limi
This strategy plots Bollinger Bands directly on the price chart. It computes the middle band as the simple moving average of the close price over the input length and the upper and lower bands by multiplying the standard deviation by the multiplier and adding
A strategy that goes long when price sits near a recent pivot low, RSI is below an oversold level, a hammer or bullish engulfing candle forms, price is above an EMA and volume spikes above its 20-bar average. Shorts mirror this near pivot highs with overbought
EA_2 is a basic strategy template that generates trade entries based on price crossovers with a Simple Moving Average. It monitors a fast moving average relative to a selected price source, entering a long position when the price crosses above the moving avera
This strategy executes long trades based on price interaction with a daily simple moving average. It calculates a higher-timeframe daily SMA and its derivative using a three-point backward difference formula. Long entries trigger when the close sits within a s
A pivot breakout strategy designed for the S50 futures on a 30-minute chart. It detects swing highs and lows from left and right bar counts and places stop entries just beyond them. Stops sit one ATR beyond the pivot, targets are ATR multiples set by a risk to
This strategy computes the direction of the altcoin market via the Others.D MTPI index. It merges outputs from Median Supertrend, FDI-Adaptive Supertrend, Hyperbolic Tangent Volatility Stop, Dema AFR, and Normalized KAMA Oscillator to generate long or short si
A template version of a test strategy used by a browser automation project. Placeholder tokens stand in for the input defaults and are filled in before the script is injected into TradingView, so it is not usable as published. The logic goes long on a 14 over
This strategy trades EMA crossovers on the price chart. It enters long when the fast EMA crosses above the slow EMA and price is above a longer trend EMA, and enters short on the opposite cross below that filter. Entries are allowed only in a morning session o
TrendTwisterV1.5 is a Pine Script strategy that uses a 12-period Hull Moving Average and a 5-period EMA shifted forward by 2 bars to identify trend changes. It plots the Hull MA in orange and the shifted EMA in blue on the price chart with buy and sell signal
This script combines five distinct RSI pattern setups with volume ratio filters to generate trading signals. It identifies RSI double bottoms, hooks, bullish divergences, oversold bounces, and midline breakouts to form long conditions, alongside overbought dow
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.