A strategy for gold futures based on the initial balance, the high and low of a set New York time window that starts at 9:30 and ends at 10:30 by default. Ranges outside a minimum and maximum percent of price are skipped. After price breaks the range, it waits
A strategy that trades breaks of swing points. It detects pivot highs and pivot lows using left and right bar counts, then places a long stop order one tick above the latest pivot high and a short stop order one tick below the latest pivot low. A pending order
This indicator plots a classic Relative Strength Index in a separate pane. It calculates RSI from a chosen price source and length, then draws dashed oversold and overbought levels plus a dotted midline at 50. Background shading highlights when RSI is above th
The Connors RSI indicator calculates a composite momentum oscillator as the average of standard RSI on the input source, RSI on directional price streaks, and percent rank of one-bar rate of change. It plots this value in a separate pane below the price chart.
This indicator calculates John Ehlers' Hilbert Transform Trend Mode algorithm to classify whether the market is trending or cycling. It computes in-phase and quadrature components from a smoothed price input to determine dominant cycle phases, an instantaneous
This strategy implements a trend-following Donchian channel breakout system with momentum-based position sizing. It enters an initial scaled position on a channel breakout to minimize false breakout risk, then adds to the position if RSI confirms directional s
This strategy evaluates the dynamic relationship between price and a chosen moving average across six diagnostic dimensions: trend, respect, extension, compression, acceleration, and exhaustion. It plots a normalized relationship oscillator bounded between -10
The indicator calculates total volume for the IMOEX Russian index by summing volumes of 30+ constituent stocks fetched via request.security. Dollar volume is normalized by multiplying close prices with volumes. The script detects index mode and plots the resul
This strategy executes trades based on Stochastic Oscillator crossovers combined with a trend filter and ATR-based risk management. It calculates smoothed %K and %D lines alongside an Exponential Moving Average (EMA). A long signal triggers when %K crosses abo
This indicator creates a heatmap table in a separate pane showing cointegration strength between a user-defined list of symbols. It calculates aligned returns from sum and difference spreads for each symbol pair, then derives a cointegration proxy as the resid
The Mass Index indicator measures volatility and potential trend reversals by examining the range between high and low prices. It calculates a single exponential moving average (EMA) and a double EMA of the high-low difference, computes their ratio, and sums t
This indicator renders a top-right table dashboard with a baked-in snapshot of the last open-prep run. It lists up to ten watchlist symbols, their playbook labels, directional bias, composite scores, tier tags, gap percentages, and relative volume. A freshness
This long-only strategy identifies trend-following entries using moving average crossovers filtered by higher-timeframe trend alignment. It plots directly on the main price chart. Entries trigger when a fast exponential moving average crosses above a slow movi
P_fmt_crlf is a basic test indicator that calculates a custom formula using the closing price and plots the result directly on the main chart area. It defines a user-defined function that doubles the input value and adds one, then executes this on the current
An overlay indicator for smart money concepts on Nasdaq futures. It marks order blocks, fair value gaps, break of structure and change of character, liquidity sweeps and premium and discount zones, with lookbacks for each. London, New York and Asian sessions c
DEPV2 DEBUG S27 is a multi-asset signal evaluation indicator designed to monitor up to twenty cryptocurrency pairs simultaneously. It classifies market behavior into four analytical dimensions: trend, momentum, volatility, and volume. The script supports multi
A price-chart indicator with Portuguese labels that combines Bollinger Bands, a fast 13 and slow 34 exponential average, and coloured clouds. Bands default to an exponential basis and can use simple, smoothed or weighted types. The average cloud changes colour
A smart money style strategy that scores setups from 0 to 100 using market structure, momentum, range context and liquidity sweeps, with fair value gaps and order blocks drawn on the price chart. Trades need a minimum score, optional higher-timeframe agreement
An indicator in a separate pane that shows how far each bar's high, low, close and optionally open, size or high-low combinations moved from the previous bar, as columns. Percentile levels over a chosen number of bars mark unusually large moves, and a cumulati
The RSI Divergence Scanner calculates the Relative Strength Index and identifies regular and hidden bullish or bearish divergences against price using pivot high and low points. It plots divergence lines and customizable labels directly on the price chart. Inp
This indicator computes the Continuous Wavelet Transform magnitude of a chosen source series using a Morlet wavelet at one scale. It applies a Gaussian-windowed sine and cosine kernel over a window of about three scales, then plots the resulting power in a sep
This indicator plots a Hull Moving Average on the price chart. It computes weighted moving averages of the selected source over half the period and the full period, subtracts the full average from twice the half average, then smooths that difference with a wei
This strategy trades an asymmetric long and short trend system on the price chart. Longs use shorter Donchian entry and exit lengths, tighter ATR stops, more pyramid units, and a higher risk percent per unit than shorts. Each unit is sized from equity and stop
Markov State Engine classifies market conditions into six distinct regimes, including strong trends, weak trends, compression, and expansion. It evaluates historical state transitions using an exit-conditional Markov model with Laplace smoothing to estimate re
The Dual Super Trend Indicator calculates and evaluates Supertrend values across two customizable timeframes to determine combined trend direction. A bullish signal triggers when both timeframes register a bullish Supertrend direction, while a bearish signal t
This indicator calculates the ATR-based Supertrend line overlaid directly on the price chart to identify market trend direction. It computes upper and lower bands around the median price using Average True Range (ATR) scaled by a configurable multiplier. The s
This indicator segments market history into bull and bear cycle periods based on user-defined percentage movements or elapsed time duration. It overlays cycle stages directly on the price chart using colored background highlights, peak and trough labels, and d
The McGinley Dynamic Indicator calculates an adaptive smoothed value that responds dynamically to recent price changes. It plots one line on the price chart to show trend direction and strength. Users set the lookback period for the initial average and the fac
This overlay indicator marks a four-stage bullish entry ladder on the price chart. It tracks fast and slow EMAs, swing structure, break of structure or change of character, liquidity sweep or reclaim, and optional displacement candles. Volume type, a multi-len
This Pine Script strategy identifies trend changes by checking for crossovers between fast and slow EMAs on the current timeframe. It confirms the trend with a higher timeframe EMA confluence gate set to 60 minutes. The strategy draws its signals directly on t
The P_fmt_long_line indicator calculates a complex expression on a separate pane. It sums open, high, low, close values and derived ranges like hl2, hlc3 and ohlc4 across the current bar and the prior nine bars, plus their maximum and minimum. The result is as
An indicator in a separate pane that splits each bar's volume into a buy part and a sell part, drawn as stacked columns. The split is estimated from lower-timeframe sub-bars, each classed as up or down by its own close versus open, so it approximates order flo
DEPV2 DEBUG S28 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-chosen symbols, defaulting to Binance perpetual crypto pairs, and combines four method classes: trend, momentum, volatility, and volume. Signal mode can u
A price-chart indicator by BigBeluga that detects abnormal candle moves either as a fixed percentage or as a multiple of ATR, using candle bodies or full high-to-low range. Each spike is marked with an arrow, a size percentage label and an optional dashed mid-
An ICT-style strategy on the price chart that requires two confirmations before entering: an inverse fair value gap flip and a change in state of delivery, which is a structure break from recent swing levels. Optional filters are an EMA trend check, a liquidit
An indicator in a separate pane that measures candle wick sizes, the distance from the body to the high and to the low, and shows them as columns for the chart timeframe along with 15-minute and 60-minute versions requested with lookahead. Percentile levels ov
This indicator plots the Relative Strength Index in a separate pane and marks regular and hidden bullish and bearish divergences. It compares confirmed price pivots with RSI pivots within a lookback window: regular divergence contrasts a price extreme with the
This indicator calculates the Coppock Curve as a weighted moving average of the sum of a long and a short rate of change of a chosen source. It plots that oscillator in a separate pane and draws a dotted zero line. Inputs set the source, the long ROC lookback,
This indicator applies the hyperbolic tangent to a chosen source series and plots the result in a separate pane. It centers the transform on a 200-bar simple moving average of that source, multiplies the deviation by a steepness factor, and maps the output int
This strategy trades Donchian breakouts measured on weekly bars while orders execute on the chart timeframe. It allows long and short entries when price breaks the prior weekly channel and exits against the shorter weekly channel. Position size risks a set per
MFI Advanced is a separate pane volume-and-momentum oscillator that enhances the traditional Money Flow Index with pluggable smoothing options such as JMA, KAMA, and SuperSmoother. It plots a smoothed fast MFI line, a signal line, a slow trend context line, an
Dynamic Extreme Channels & Reversals tracks evolving price highs and lows to plot adaptive channel bands and a midline directly on the price chart. When no new extremes occur within the specified lookback window, the channel boundaries interpolate toward price
This trend-following strategy calculates the Supertrend indicator using average bar prices and Average True Range (ATR). It plots a color-coded trend line directly on the price chart along with buy and sell shapes. The strategy enters a long position when the
Deviation Trend Profile overlays moving average-based deviation bands on the price chart and plots a price distribution profile for the active trend. It calculates standard deviation levels using ATR and simple moving averages, identifying trend changes via sl
The MAMA indicator calculates the MESA Adaptive Moving Average and Filtered Adaptive Moving Average using Ehlers' MESA algorithm. It plots both lines in yellow directly on the price chart as a smoothed trend indicator. Main settings include the source series a
This indicator identifies bullish Change of Character (CHoCH) structure shifts directly on the price chart using pivot swing points. It tracks swing highs and lows governed by configurable left and right lengths and maximum swing age. The script highlights CHo
A strategy that builds a score from minus three to plus three using RSI against 50, price against an EMA, and price against the Bollinger mid line. It enters long when the score reaches two or more and short when it reaches minus two or lower. Positions close
P_fmt_number_literals is a test indicator that evaluates number literal syntax and formatting in Pine Script v6, including scientific notation, standard decimals, integers, and hexadecimal color definitions. It calculates a combination of variable assignments
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.