Discord Alerts builds TradingView alert text as Discord webhook JSON. It calculates percentage price change, a 14-period RSI, and a 14-period ATR, then formats those values into an embed with a bot name, avatar, icons, title link, optional message, and optiona
This indicator serves as a synthetic test script demonstrating tuple destructuring syntax in Pine Script v6. It calls multiple technical functions that return tuples, including a custom min-max function on candle bodies, MACD, Supertrend, Bollinger Bands, and
DEPV2 DEBUG S7 is a Pine Script v6 indicator that draws in a separate pane. It tracks up to twenty user-selected symbols, defaulting to Binance USDT perpetual crypto pairs. Signals use trend, momentum, volatility, and volume methods alone, together, or in a ti
This indicator plots three detrended price series and their moving averages in a separate pane. It converts a user-selected start and end time into a bar length, then builds simple moving averages of close at that length and at 1.618 and 0.618 multiples. Each
An indicator for the price chart that draws a merged set of daily reference levels: previous day high, low, open and midpoint, a central pivot range, Camarilla levels, optional floor pivots, previous week extremes, range expansion targets beyond yesterday's ra
A non-repainting build of a volume pattern indicator that draws toggleable signals on the price chart. It includes relative volume signals such as SAAB, Kratos, Grand Slam, MOAB, Hiroshima and Nagasaki, plus long and short setups and four combo sets pairing fa
This indicator combines three dominant cycle lengths, pivot highs and lows, and candlestick pattern matching to project future turning prices and dates. Bollinger Band, Keltner Channel and volatility lengths are also available as inputs. Projected values appea
An indicator in a separate pane built on traded value, volume times the mid price, taken from 30-second data and cumulated over one, three, five and ten minutes. For each window it computes a percentile level over a settable number of bars and checks the value
The TD Sequential indicator calculates and tracks trend exhaustion and potential reversal points based on Tom DeMark's sequential counting logic. It evaluates relative high and low price conditions across historical bars to determine setup, continuation, and r
The UTC Clock is a simple indicator that shows the current UTC time on the chart. It uses the timenow function to calculate the current hour, minute and second. These values are formatted with leading zeros to ensure two-digit display for hours, minutes and se
CEL Tracker visualizes historical buy and sell transactions executed by ARK Invest directly on the price chart. The indicator places text labels at specific historical timestamps corresponding to public trade reports, displaying buy or sell activity alongside
This indicator overlays a rescaled locally weighted regression on price and compares it with a standard linear regression of the same source. A long label appears when the weighted series crosses under the linear regression while falling across the chosen span
This indicator plots John Ehlers' Adaptive Laguerre Filter on the price chart. It estimates tracking error from the absolute difference between the source and the last filter value, normalizes that error with the highest and lowest values over the length windo
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.
Calculates and plots a forward price prediction directly on the main chart using an on-chart multilayer perceptron neural network. The model processes technical input features including moving average ratios, RSI, normalized ATR, and Bollinger bandwidth throug
This indicator classifies market conditions into Trend, Range, or Chaos regimes by combining the Kaufman Efficiency Ratio, Fractal Dimension Index, and Choppiness Index into a single trendiness metric. It normalizes and applies custom weightings to each sensor
Calculates and plots support and resistance levels using pivot high and pivot low structures based on Malaysian SnR concepts. It draws active support and resistance price zones, tracks role reversal lines when levels break, includes a simple moving average fil
This overlay indicator tracks CRT models at 1:00, 5:00 and 9:00 and a session state machine covering CBDR, Asia, London, London lunch and the New York open. It analyzes draw-on-liquidity pivots, market structure, liquidity pools, volume profile and multi-pair
Indicatorv5SMC / ICT / price actionSessions & time
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
Smart Money Zones (FVG + OB) + MTF Trend Panel plots Fair Value Gaps and Order Blocks on the price chart, with colors indicating bullish or bearish zones. Zones are detected based on body percentages and lookback periods, with strength rated by size relative t
This indicator calculates multi-period performance metrics across multiple horizons, including one week, one month, three months, six months, one year, and year-to-date, alongside historical seasonal comparisons. It renders visual panels and comparison polylin
This indicator calculates the Relative Volatility Index (RVI), which measures price volatility directionally in a separate pane. RVI applies Wilder's smoothing to upward and downward standard deviations of price changes over a specified lookback period, genera
This indicator uses time sessions to control when alerts trigger on the price chart. It defines a main trading session along with optional pre-market and after-market periods. The InSession function checks whether the current bar falls inside the session using
This script tests Pine Script v6 syntax by declaring and operating on multiple data types including integers, floats, booleans, strings, colors, arrays, matrices, maps, and drawing objects such as lines, labels, boxes, and tables. It calculates a plot value by
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
DEPV2 DEBUG S8 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-selected crypto perpetual symbols, defaulting to Binance USDT perpetual contracts. Direction comes from four classes: trend, momentum, volatility, and volu
This indicator plots a combined colored moving average on the price chart and optional copies from higher and lower timeframes. It finds pivot highs and lows, then draws sine waves whose frequency comes from the bar count between successive pivots. Intensity c
An always-in flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. A regime layer classifies the market as range or trend using ADX, efficiency and a range box, and can freeze aggressive paths in a range. The ATR
Tick-chart-safe overlay indicator combining relative volume tiers with fair value gap and matrix combinations. Combo sets one and two pair a fair value gap with standard or regular-at-time relative volume, while sets three and four pair a matrix number lookbac
This indicator combines three dominant cycle lengths, pivot highs and lows, and candlestick pattern matching to project future turning prices and dates. Bollinger Band, Keltner Channel and volatility lengths are also available as inputs. Projected values appea
An indicator in a separate pane that analyses traded value, volume times the mid price, with percentile levels over a settable number of bars, including a 99th percentile, the maximum and a median-style level that can be ignored. It also tracks cumulative valu
The Vortex Bands indicator calculates a custom moving average basis from the selected source using a two-stage EMA approximation. It then plots an upper band as the basis plus a scaled deviation and a lower band symmetrically. The script fills the background b
This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition
This indicator visualizes historical purchase and sale transactions made by ARK Invest funds on the price chart. It plots labels indicating buy and sell activity, allowing users to filter trades by specific ARK ETFs or view aggregate records. The settings incl
This indicator fits a quadratic regression curve to price data using polynomial calculations based on cumulative functions and moving averages. It fits a parabolic trend line over a specified lookback window and projects future trajectory onto the chart using
This indicator estimates a smoothed dominant cycle from price using John Ehlers' autocorrelation periodogram. It high-pass filters the source, applies a band-pass filter, computes Pearson autocorrelation across lags, and converts that spectrum into a dominant-
Calculates a True Range balance value by comparing the current True Range against historical True Range values over a user-defined lookback period using a loop. For each historical bar within the lookback window, it evaluates the sign of the True Range differe
Calculates mean reversion signals using statistical deviation metrics such as MAD, Standard Deviation, ATR, Z-Score, IQR, or Mean AD relative to customizable moving averages. It applies optional volume spike thresholds and trend filters to generate bullish and
The Notch Filter is a second-order IIR digital filter designed to attenuate a specific cyclic frequency component from price data while leaving other frequencies intact. It computes a band-stop filter based on a target cycle period and relative bandwidth. The
Detects bullish inverted hammer candlestick patterns directly on the price chart. It identifies candles with a small real body in the lower half of the range, an upper shadow at least twice the body length, and a minimal lower shadow occurring in a downtrend.
This overlay classifies the chart into bull, bear, or neutral regimes from moving-average zone position and an adaptive engine driven by the efficiency ratio and ATR entry and exit bands. A volatility percentile rank adds quiet, normal, or volatile context, pl
This overlay indicator calculates ADX, DI+ and DI- from directional movement and true range, and a Money Flow Index from typical price and volume. It classifies bias as long when DI+ exceeds 25 and DI- stays under 20, short under the opposite condition, and ne
This overlay indicator runs a CRT state engine on the price chart. It can analyze draw-on-liquidity pivots, a session state machine, and optional 1AM, 5AM, and 9AM CRT models. Optional modules track market structure, liquidity pools, volume-profile levels, and
Indicatorv5SMC / ICT / price actionSessions & time
This indicator calculates and plots previous higher-timeframe structural levels directly onto the main price chart. It retrieves the prior high, low, and close levels for daily, weekly, and monthly periods using dashed horizontal reference lines and labels ext
The SMC Target Liquidity indicator identifies key pivot highs and lows to track liquidity zones on the price chart based on Smart Money Concepts. It projects active liquidity levels and color-codes them according to custom trading sessions, including Asian, Lo
Calculates momentum acceleration based on price or On Balance Volume by evaluating the rate of change between velocity and acceleration. It plots signals and visual overlays directly on the price chart, with options to project momentum oscillators. Settings al
This indicator estimates the close that would produce a chosen Stochastic %J from the relation of %J to %K and %D. It computes current %K, a simple-average %D, and %J, then solves an approximate required close from the lookback high, low, and current %D. Setti
This indicator customizes candle appearance on the price chart using plotcandle. Bullish candles appear in green with blue wicks and lime borders. Bearish candles appear in maroon with orange wicks and red borders. The script directly plots these colored candl
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.