This Pine Script strategy detects volatility squeeze releases using parallel Bollinger Bands and Keltner Channels calculated with length 20 and specified multipliers. It plots the bands and channels overlaid on the price chart. The strategy enters a long posit
A strategy that builds an opening range from 09:30 to 09:45 New York time and enters long or short on the first close beyond it each day. The position is split across three take profit targets set as risk multiples, with adjustable percentages. The stop sits a
An opening range strategy for the New York session that records the high and low of a short opening window, then trades retests of that range. Setup A follows drift from the range with a retest, and a conservative Setup B uses breakout plus retest. Filters ski
This indicator plots the 100-bar percent rank of ATR in a separate pane and draws a midline at 50. It colors that midline green, red, or gray by comparing the close with the open a set number of bars earlier against a multiple of ATR across a lookback window.
GARY - Patterns is a multi-horizon chart pattern detection indicator that identifies wedge and triangle patterns across short-term, medium-term, and long-term lookback periods. It evaluates swing high and low pivot points using customizable lookback spans and
This Pine Script strategy detects pivot liquidity sweeps on the price chart. It identifies swing highs and lows using ta.pivothigh and ta.pivotlow with user-defined left and right bar counts. The script maintains state for the last confirmed pivot and flags a
An overlay indicator that records the high and low of a chosen opening session, by default five minutes starting at 09:15, and plots them as circles after the session ends. It prints a B label when price crosses above the range high and an S label when it cros
This strategy identifies volatility expansion breakouts while filtering out fakeouts using candle strength conditions. It measures ATR relative to an ATR moving average to detect expanding volatility. A long or short entry triggers when price breaks out of a m
This strategy executes pullback trades based on internally computed Bollinger Bands and candle price action directly on the main price chart. It tracks breakout and pullback states to trigger long and short entries. Users can select among three distinct take p
This strategy dynamically switches between breakout and mean-reversion modes based on market volatility. It compares the Average True Range (ATR) against a simple moving average lookback to classify the regime as high or low volatility. During low volatility,
This strategy builds Keltner-style bands around an exponential or simple moving average of the chosen source. Band width uses average true range, raw true range, or a smoothed high-low range, scaled by a multiplier. When the source crosses above the upper band
TN Session Sovereign V6 is a session breakout strategy designed for Pine Script v6. It calculates the high and low range established during the Asia session and monitors breakouts during the London session using lower-timeframe data. Entries trigger when price
This strategy detects liquidity sweeps and break of structure events using SMC concepts. It plots BOS labels, sweep markers, and matrix floor ceiling lines on the price chart. The SMC structure sensitivity setting adjusts lookback for scalping, standard, or sw
This indicator detects recursive reversal chart patterns directly on the price chart using multi-level zigzag swings. It identifies structures including double taps, triple taps, cup and handle formations, and head and shoulders patterns. Optional secondary co
This strategy plots a close VWAP and percentage-offset high and low VWAP bands on the price chart. It enters long when the bar opens above the high band, optionally only on a green candle, and short when the bar opens below the low band, optionally only on a r
A strategy that changes its entry type with volatility and uses a 200 EMA as a direction gate, long above and short below. When ATR is below its average it fades moves beyond the prior range. When ATR is expanding it takes range breakouts that close with a str
Bjorgum Double Tap is a price-chart strategy that detects double-bottom and double-top patterns from pivots. It enters long or short when those patterns form, and it can flip into the opposite direction while a position is open. Targets and stops are Fibonacci
The Price Channel indicator calculates and plots the dynamic highest high and lowest low over a user-defined lookback period, alongside a central midpoint line. Built using monotonic deques for optimized streaming runtime efficiency, it plots an upper channel
A strategy based on Bollinger Bands that enters long positions when price crosses above the lower band and short positions when price crosses below the upper band. Take-profit, stop-loss, and scale-in price levels are dynamically calculated from the position a
The strategy monitors the lower timeframe close crossing above the previous daily high obtained via request.security on the daily chart. It enters a long position of one unit upon detection of this cross-up condition and closes the position when the close fall
The Tn Sovereign BB Breakout v6 strategy identifies volatility squeezes on the price chart by checking when Bollinger Bands lie inside Keltner Channels. It enters long positions on crossover above the upper BB band when a volume audit passes, and shorts on cro
This strategy trades breakouts beyond Bollinger Bands on the main price chart. It features optional trend filters using various moving average types, a volatility filter based on standard deviation relative to its moving average, and a daily rate-of-change fil
A trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. It uses an ATR structure trail and requires a breakout of a prior swing, so minor pullbacks do not produce signals. Presets cover scalp, gold and fore
ICT ORB draws the opening range for a chosen session and marks breakout conditions on the price chart. It can require relative volume, a volume spike, a liquidity sweep, displacement, trend alignment, an order block, and higher-timeframe bias before a fair-val
Bearish-only overlay indicator that plots 36 sell-side detection markers on the price chart. It combines high-volume candles, standard deviation displacement and a PBJ trend filter, with a revised price-spike relative volume ladder in this build. Toggles switc
This strategy identifies pivot-based Darvas Box levels on the price chart and trades re-entries following box sweeps. A long position arms when the price dips below the lower boundary and triggers when it closes back inside, provided the price is above a highe
This overlay indicator marks a session opening range on the price chart and filters breakouts with relative volume. Session type, duration, and optional custom start time set the range, and historical ranges can stay on the chart. Full mode can require a liqui
Bearish half of a split HV+D and PBJ indicator, drawn on the price chart. It plots 36 sell-side markers that combine high-volume candles, standard deviation displacement and a PBJ moving average and Supertrend filter. Each pattern, such as the DDDD, DDD, Foxtr
This strategy plots Donchian upper and lower channels along with the midpoint on the price chart. It generates long signals on a price crossover above the upper Donchian band when volume exceeds a moving average multiple if the filter is enabled, and short sig
This indicator tracks Opening Range Breakout (ORB) levels for selected sessions such as New York, London, or custom hours directly on the price chart. It detects market structure shifts (MSS), fair value gaps (FVG), and order blocks to signal potential trade e
Tick-chart-safe bearish half of a split HV+D and PBJ overlay indicator. It plots 36 sell-side markers that combine high-volume candles, standard deviation displacement and a PBJ moving average and Supertrend filter. Guards give a tick-chart fallback bar length
This indicator is a manual trading companion that marks opening-range breakouts on the price chart. It builds a session range for New York, London, Asia, custom times, or preset windows, then flags breakouts by close, wick, or body. Signals can require a fair
Second revision of the bearish half of a split HV+D and PBJ indicator, drawn on the price chart. It plots 36 sell-side markers built from high-volume candles, standard deviation displacement and a PBJ trend filter. Visibility toggles control patterns such as D
This strategy backtests opening-range breakouts on the price chart for New York, London, Asia, or a custom session. Simple mode follows the opening-range direction when relative volume is high enough. ICT mode can require a fair value gap, displacement, and an
An overlay signal indicator that makes entries harder and reversals slower than earlier versions. Entries need a persistent confirmed trend, a fresh trigger, and price not too extended from the zero-lag line. Exits need opposite evidence and a minimum ATR retr
Bullish-only overlay indicator that plots 38 buy-side detection markers on the price chart. It combines high-volume candles, standard deviation displacement and a PBJ trend filter, with a revised price-spike relative volume ladder in this build. Toggles switch
This strategy buys when price breaks above the upper Bollinger Band and exits by trailing a stop on the lower band. Trades can execute on a wick or a candle close, and an optional fixed-percentage stop can set a tighter initial exit until the lower band catche
Bullish half of a split HV+D and PBJ indicator, drawn on the price chart. It plots 38 buy-side markers that combine high-volume candles, standard deviation displacement and a PBJ moving average and Supertrend filter. Each pattern, such as the UUUU, UUU, Foxtro
This strategy calculates standard Bollinger Bands and plots the basis, upper band, and lower band directly on the price chart. It places breakout stop orders, entering long when price crosses above the upper band and short when price falls below the lower band
Tick-chart-safe bullish half of a split HV+D and PBJ overlay indicator. It plots 38 buy-side markers that combine high-volume candles, standard deviation displacement and a PBJ moving average and Supertrend filter. An input sets a fallback bar length in second
Trend Breakout is a price-chart strategy that builds a simple moving average and upper and lower bands from a multiple of standard deviation. It enters long when close crosses above the upper band and short when close crosses below the lower band. Position siz
Overlay indicator that combines several detection pipelines on the price chart: high-volume candles with large displacement, a PBJ trend filter built from a moving average and Supertrend, and relative-volume lanes. Markers appear when these conditions coincide
This overlay indicator detects a trading range from clustered pivots, falling back to the highest and lowest prices over a lookback, and scores it with eight weighted factors. The score moves the range through Inactive, Building, Confirmed, Mature, and Breakin
A price-chart indicator that prints buy and sell labels aimed at one larger intraday price move per UTC day, with the target size set in price units. A first signal can come from a trend breakout or a completed Asia range break, optionally preferring the day-o
Overlay indicator that looks for co-occurrence of high-volume displacement candles and a PBJ trend filter, then marks the result on the price chart. Both bullish and bearish pattern families are included, with toggles for UUUU, UUU, UU and Omega variants. Sett
The TN Sovereign Footprint POC v6 strategy calculates a simulated Point of Control by identifying the highest volume node in a lookback period using the average of high, low, and close prices. It plots on the price chart as an overlay and signals buy or sell e
Plots two step-line levels on the price chart at the previous bar's midpoint plus and minus a moving average of ATR measured over about 15 minutes of bars. When price closes beyond a level while making a new extreme, the matching line is drawn thicker in red.
Breakout Trend Follower is a price-chart strategy that enters long when price breaks a recent swing high. It places the stop at the recent swing low and trails that stop upward as higher lows form, exiting when a higher low is breached. A pivot lookback sets h
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.