An overlay indicator for opening range breakouts on Nasdaq futures. The range can start automatically at the session open or use a custom window, with an adjustable length in minutes. A breakout by close or wick produces a signal with a stop based on ATR, the
Calculates and visualizes multi-symbol signals across four distinct metric categories: trend, momentum, volatility, and volume. It tracks up to 20 cryptocurrency pairs simultaneously, supporting signal combination modes like single-method execution, simultaneo
A Bollinger Band breakout strategy with Spanish-language settings. It goes long when price closes above the upper band and short when it closes below the lower band, limited to a configurable date range and a cooldown of bars between trades. Three take-profit
A machine learning strategy using k-nearest neighbours with a Lorentzian distance. Four normalised features, RSI, price rate of change, CCI and volume rate of change, are stored in a rolling matrix with a label for whether the next close was higher. Each bar i
Plots the Price Volume Trend in a separate pane: a running total of volume weighted by the percentage change in close. Rising values show volume accompanying upward closes, falling values the reverse. It has no inputs and no signals. The script raises an error
Session Filter Template highlights major global trading sessions including Asia, London, New York, and a user-defined custom session directly on the price chart. It visualizes active sessions using background color fills, tracks high and low price levels for e
Calculates the Pearson correlation coefficient between price data and a linear time index over a customizable lookback period. It measures linear trend strength and direction, outputting values bounded between -1.0 and +1.0. The script uses an optimized increm
The Inertia oscillator measures trend deviation by calculating the distance between the current price and a linear regression line endpoint. It computes a linear regression fit across the specified lookback period and subtracts the projected line value from th
This trend-following strategy executes long and short trades based on Donchian channel breakouts directly on the price chart. It enters positions when price breaks a multi-bar high or low and exits on opposing Donchian channel band crosses. Risk management inc
This indicator plots an anchored MIDAS support and resistance curve from launch-anchored volume-weighted price on the price chart. It adds two configurable volume-weighted standard-deviation, ATR, or hybrid bands and a topfinder or bottomfinder accelerated exh
This price-chart overlay compares market effort with price result and does not generate buy or sell signals. Effort combines current volume divided by a moving average of volume with true range divided by ATR. Result uses absolute net progress over a lookback
This strategy trades momentum breakouts based on the alignment of three exponential moving averages. It enters a long position when all three EMAs align in ascending order and enters short when they align in descending order. Positions are managed with ATR-bas
The Dual-Phase Trend Regime Oscillator evaluates market trend strength by switching between fast and slow trend oscillators depending on the current volatility environment. It measures trend using price correlation with time across configurable lookback period
This indicator calculates a modified moving average that mixes a simple moving average with a weighted component over a circular buffer. It plots the resulting line on the price chart. The period sets the lookback, which must be at least 2, and the source choo
This Pine Script v6 library exports core data types, enums, and drawing wrappers designed for Smart Money Concepts tools. It defines structured arguments for drawing lines, labels, boxes, and chart points to simplify visual rendering on price charts for concep
A minimal strategy that compares On Balance Volume with a 21-period EMA of itself. It enters long when OBV crosses above the average and short when it crosses below, reversing the position each time. It has no adjustable inputs, no stop loss and no take profit
This indicator is a Pine Script v6 parser fixture that builds five string literals containing escaped double quotes, escaped single quotes, backslashes, a newline escape, hash and slash characters, and Unicode text. It adds the character lengths of those strin
An overlay indicator that studies how price approaches, tests and resolves confirmed swing zones, role-reversal levels and CUSUM change-point levels that fade with age. A state machine follows a level, impulse, pullback and higher-low or lower-high sequence an
This indicator monitors and analyzes up to twenty cryptocurrency perpetual futures pairs from a separate pane. It evaluates market conditions across four distinct analytical dimensions: trend, momentum, volatility, and volume. The script tests signal confirmat
A pattern indicator on the price chart that looks for converging channels, such as triangles and wedges, from swing pivots. A channel needs a minimum number of touches per boundary, a maximum width, a minimum convergence rate and ATR-based tolerances. Breakout
A liquidity sweep strategy on the price chart. It flags bars that push beyond the recent high or low and close back inside, then scores the setup using volume, a higher-timeframe EMA trend, an ATR noise filter and a lower-timeframe rejection check. The signal
Plots the Rank Correlation Index of a chosen source over a set length, 10 by default, in a separate pane with bands at plus and minus 80 and a middle line. An optional smoothing line can be added using SMA, EMA, SMMA, WMA or VWMA, or SMA with Bollinger Bands w
Calculates and plots Smart Money Concepts (SMC) elements directly on the price chart, including swing and internal market structure (Break of Structure and Change of Character), order blocks, fair value gaps, and liquidity pools. Features multi-timeframe analy
Calculates the statistical covariance between the current chart instrument and an external symbol over a specified rolling window. The calculation uses an optimized circular buffer to maintain running sums and computes joint variability in a single pass. Users
This indicator calculates the Integral of Linear Regression Slope (ILRS), an overlay trend filter originally described by John Ehlers. It computes the rolling least-squares linear regression slope over a user-defined window using a circular buffer and integrat
This strategy enters long or short when price closes beyond a Donchian channel and can require a slow moving average, called the tide, to agree with the direction. It sizes each unit from ATR risk, sets an initial ATR stop, and adds units after further ATR mov
Modern Trend Regime classifies price action into trend, range, and transition modes using a score rather than a strict conjunction of conditions. It builds fast, base, and slow structure from a price-range, EMA, WMA, or SMA calculation, then compares ATR-norma
EMA System plots four exponential moving averages on the price chart and marks a long-only pullback setup. It treats price above the 200 EMA and the 21 EMA above the 50 EMA as a valid trend, then flags a buy when price is near the 21 EMA, volume is below its s
This strategy plots a fast and a slow exponential moving average on the price chart and enters when they cross. A long opens when the fast average crosses above the slow average, and a short opens on a cross below unless long-only mode is on. An optional trend
The Dynamic Equity Allocation Model is an indicator that calculates and plots dynamic allocation percentages between equity and cash in a separate pane. It weighs five factors including market regime detection, risk metrics, valuation, sentiment, and macro con
This indicator calculates and plots the Money Flow Index (MFI) in a separate pane. It measures buying and selling pressure by weighting typical price movements with trading volume over a user-defined lookback window. The implementation uses circular buffers to
SMC Hold Manager is a visual decision-support overlay for managing Smart Money Concept trade positions. It connects to the SMC Engine BUS v2 system or accepts manual trade inputs to display trade lifecycle levels on the price chart. The indicator tracks entry
This validation strategy evaluates the execution timing of stop loss and take profit orders in Pine Script. It enters a single long position at fixed daily wall-clock times (00:00 and 12:00 UTC) whenever the strategy is flat. Stop loss and limit profit targets
P_fmt_tabs_mixed is an indicator that tracks net candle direction by maintaining a running cumulative counter. It increments the counter by one on bullish bars where the closing price exceeds the opening price, and decrements it by one on bearish bars where th
A strategy version of a structure indicator that studies how price interacts with confirmed swing zones, role-reversal levels and CUSUM change-point levels. A state machine tracks a level, impulse, pullback and higher-low or lower-high sequence, then grades th
DEPV2 is a multi-symbol cryptocurrency indicator that processes 20 major crypto pairs including BTC, ETH, SOL, BNB and others. It evaluates four signal classes consisting of trend, momentum, volatility and volume. Signals are generated according to user-select
A simple price-chart indicator that plots a fast and a slow moving average, defaulting to 21 and 55 periods, and fills the space between them as a ribbon. Both lines and the fill are blue when the fast average is above the slow one and red when below. The aver
This strategy identifies liquidity sweeps around swing pivot levels and trades reversals aligned with higher-timeframe trend context. It enters long when price pierces a prior pivot low and closes back above it while trading above the daily 200 EMA. Short entr
Plots three Rank Correlation Index lines of different lengths, 10, 30 and 50 bars by default, in one separate pane, coloured blue, red and green. Horizontal levels at zero and plus and minus 80 frame the range with a shaded area between the outer levels. Sourc
This strategy identifies trade opportunities based on candlestick wick imbalances relative to the Average True Range. It enters positions when candle wicks exceed defined thresholds and filters out doji candles using a minimum body ATR requirement. Exits are h
This indicator plots a cumulative moving average, also called a running mean, of a chosen price series on the price chart. It updates one bar at a time with Welford's method, weighting each new value by one over the bar count so the line is the mean of all his
The Interquartile Range (IQR) indicator measures the statistical dispersion of price data over a user-defined lookback window. It computes the 25th percentile (Q1) and 75th percentile (Q3) using array sorting and linear interpolation, plotting the difference b
Seykota Alt 6 Pure ATR Stop is a trend-following strategy based on Donchian channel breakouts and ATR volatility trailing stops. It enters trades when price breaks out beyond the Donchian lookback channel, provided optional market regime and volume filters are
This indicator implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR
This indicator calculates the overnight session price range (18:00 to 09:30 exchange time) and measures it as a percentage of the 14-day daily Average True Range (ATR). Depending on configurable percentage thresholds, it categorizes the market regime into chop
This strategy trades USD/JPY on the price chart during Tokyo and London sessions. It enters long when the fast EMA crosses above the slow EMA while price is above the trend EMA and RSI is above its midpoint, and it enters short on the opposite cross. Position
Dynamic Gap Probability Tool is a price-chart indicator that plots a selectable moving average and measures how far the close sits from it as a rounded percentage. It stores historical counts of bars above and below that average at each deviation size, then sh
This script provides a consolidated library of moving average calculations in Pine Script v6. It implements FIR functions including ALMA using Gaussian weights, BLMA with Blackman window, and BWMA using Bessel function, along with IIR moving averages from miha
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.