The MSNR Optimized indicator identifies key market structure support and resistance levels directly on the price chart, including Apex/Valley (A/V) swings, price gaps, and Quasimodo (QM) patterns. It uses configurable pivot lengths to detect structural pivots
Lin Reg Simplified calculates a custom linear regression channel overlaid on the main price chart. It uses a combination of weighted moving average (WMA) and simple moving average (SMA) applied to HLC3 prices to compute the trend slope, middle line, and standa
The Fast Fourier Transform (FFT) Filter decomposes time series price data into frequency components using a discrete Fourier transform algorithm. It plots the frequency-domain power spectrum in a separate pane to highlight dominant market cycles. Users can dis
This indicator tracks live order flow by counting up and down price ticks along with corresponding volume and distance changes on each bar. It calculates bull and bear pressure scores and outputs a directional prediction for the next candle as bullish, bearish
A trend line on the price chart from a recursive filter that corrects a fraction of its error against price on each bar. The correction rate is scheduled by efficiency and volatility weighting, can be biased by direction, and the filter structure can be Standa
Overlays a Keltner Channel and an ATR supertrend on the price chart and marks candles where several built-in detectors agree on the same bar. The detectors cover pullback patterns, displacement, relative volume and high-volume bars, shown as lettered markers.
This indicator calculates a smoothed momentum oscillator from price and plots many offset momentum lines in a separate pane as a colour-graded heat map. Moving average type, smoothing periods, the number of plotted lines and the colour theme are adjustable. It
Pine v4 experiment that sketches a synthetic dollar index from weighted currency pairs, kept in comments, but the active code only plots the chart's close price. It also prints a label with the timeframe multiplier, period and high, and requests a 15-minute IB
GH Tracker plots historical buy and sell transactions executed by ARK Invest funds for Guardant Health directly on the price chart. It uses hardcoded execution timestamps to render green buy labels below price bars and red sell labels above price bars. Users c
This script serves as a technical test demonstrating global array manipulation within custom functions in Pine Script. It initializes a global float array with ten elements set to the open price. On each bar execution, a user-defined function pops the last arr
This indicator plots an exponential decay envelope on the price chart. Each bar it keeps the source value when it exceeds the previous result, otherwise it multiplies the previous result by (length minus one) divided by length so the line falls exponentially a
This indicator is a TradingView documentation example that places a single label on the price chart. It creates the label once and then updates its coordinates each bar so the label stays at the current bar index and the bar high. The label text is three lines
This indicator plots the Relative Vigor Index in a separate pane. It divides the length-period sum of symmetrically weighted close-minus-open values by the matching sum of high-minus-low ranges, then plots that line and a symmetrically weighted moving average
WaveTrend v2 [WavesUnchained] is a momentum oscillator displayed in a separate pane. It derives channel index values using configurable price sources and smooths them with selectable algorithms including EMA, HMA, WMA, or JMA approximation. Traders can toggle
This indicator plots Smart Money Concepts and price action components directly on the price chart. It highlights bullish and bearish order blocks, multi-timeframe pivot points, market structure swings with key Fibonacci retracement levels (0.618 and 0.786), zo
This indicator detects and draws support and resistance structure levels directly on the price chart. It identifies Apex/Vortex (A/V) pivot levels, price gap levels, and Quasimodo (QM) pattern levels, tracking whether each level is fresh or previously tested.
This indicator calculates and plots a linear regression line alongside upper and lower deviation bands directly on the price chart. It determines linear regression slope and channel width using weighted and simple moving average formulas across a user-specifie
This indicator plots financial growth metrics in a separate pane as a customizable table. It calculates year-over-year and quarter-over-quarter changes plus CAGR for user-selected items including revenue, net income, EBITDA, EPS, dividends, total assets, liabi
This indicator calculates and plots a multi-factor order-flow analysis using tick counts, volume ratios, big player volume, recent delta momentum, and a K-nearest neighbors pattern matching algorithm. It evaluates bull and bear thresholds across multiple weigh
An adaptive trend indicator on the price chart. It draws ATR bands whose width reacts to an efficiency-based trend quality index that blends efficiency, volatility regime, structure and momentum persistence. Options include asymmetric bands, an efficiency-weig
Overlays a Keltner Channel and an ATR supertrend on the price chart and marks candles where several built-in detectors agree on the same bar. The detectors cover pullback patterns, displacement, relative volume and high-volume bars, shown as lettered markers.
This indicator builds a Detrended Rhythm Oscillator in a separate pane. It uses a detrended price oscillator with fast and slow lengths to find zig-zag swings, then draws dashed or dotted lines and labels showing the bar distance between successive highs. The
An educational Pine Script v4 indicator that demonstrates how higher timeframe requests behave with each combination of the gaps and lookahead settings of security(). It draws lines for the current and previous higher timeframe value on the price chart, with l
This indicator marks historical ARK Invest purchases and sales of GLBE on the price chart. Green labels sit below bars for buys and red labels sit above bars for sells, each showing a same-day ETF count such as X1. An ETF setting switches between all recorded
This script is a technical demonstration of custom array manipulation functions in Pine Script v4. It identifies pivot highs and pivot lows and dynamically manages their values and corresponding bar indices inside fixed-size float and integer arrays. It also d
This indicator calculates the Cumulative Distribution Function (CDF) of an exponential distribution applied to a price series. It normalizes source values into a zero-to-one range using a min-max window over a specified lookback period, then computes the expon
This indicator demonstrates how the history-referencing operator behaves inside user-defined functions versus a direct series reference. It plots the previous close returned by a function argument and by a function that reads close, but only on every other bar
This indicator plots the Relative Volatility Index in a separate pane. It measures the standard deviation of the close and splits that volatility into upward and downward price changes, then smooths each side with a fixed 14-period exponential moving average a
The Cyberpunk MACD Pulse Engine is a momentum indicator displayed in a separate pane. It calculates MACD line, signal line, and histogram values using configurable parameters or preset modes tailored for scalping, swing trading, and custom setups. The indicato
MSNR Ultimate detects and plots horizontal support and resistance structures directly on the price chart. It combines swing apex and valley (A/V) pivot levels, gap detection, and Qualified Move (QM) levels. Users can filter levels to display only fresh, unmiti
This indicator calculates a TTM-style squeeze by comparing Bollinger Bands with Keltner Channels alongside a linear regression momentum oscillator. It measures volatility compression when Bollinger Bands contract within the Keltner Channels and tracks the dura
Financials on Chart displays fundamental company financial metrics in a tabular overlay directly on the price chart. It retrieves statement items such as income statement and balance sheet data across reporting periods including fiscal year, financial quarter,
Live Tick Counter tracks up and down ticks on each price movement while weighting them against volume. It calculates a cumulative probability of upward movement by combining tick counts and volume totals from the last lookback bars plus the current bar. The in
A session-based swing structure indicator drawn on the price chart. For three configurable sessions, by default Asian, London and New York, it finds the highest and lowest pivots and labels them HH or LH and HL or LL. It then draws one Fibonacci or standard-de
Tick-chart extension study for a Keltner Channel combo indicator, carrying eighteen extra bullish and bearish markers on the price chart. They combine PB, RS and RC members with relative volume or Grand Slam and MOAB tiers, and high-volume ranks from 500 to 49
This indicator builds a Detrended Rhythm Oscillator in a separate pane. It uses a detrended price oscillator with fast and slow lengths to find zig-zag swings, then draws dashed or dotted lines and labels showing the bar distance between successive lows. The a
An educational Pine Script v4 indicator that compares three ways of handling moving average crossovers so that signals do not repaint when security() is not used. Method one evaluates on close and repaints during the live bar, method two uses the crossover fro
GLEO Tracker overlays historical ARK Invest buy and sell transactions directly onto the main price chart. It uses hardcoded transaction records to place green labels below price bars for buys and red labels above price bars for sells on specific trading dates.
This script plots multi-timeframe OHLC candlesticks in a separate chart pane using tuple security data fetching. It extracts open, high, low, and close prices from a user-specified timeframe, defaulting to Monthly, using a tuple-returning function. Traded valu
The Exponential Transformation indicator applies the natural exponential function y = e^x to the input source series. The transformed series is plotted as a line in a separate pane. The main setting allows selecting the input source with close as default. This
This overlay indicator draws a single text label above the price bar. On the first bar it creates a persistent label with the fixed text Colored label, then each bar it moves that same label to the current bar index and colors it with the user-chosen main colo
This overlay indicator detects the bullish Rising Three Methods continuation pattern on the price chart. It looks for a long white candle, three small black candles whose bodies stay inside the first candle’s range, and a long white candle that closes above th
This indicator draws a visible-range volume profile on the price chart. On the last bar it bins volume from bars currently shown into user-defined price rows, splitting up volume and down volume by candle direction. It highlights the value area around the heav
NY SMC Suite Multi-Killzone is a Smart Money Concepts indicator that plots session killzones and structural supply and demand zones directly on the price chart. It identifies Order Blocks, Fair Value Gaps, Change in State of Delivery levels, and wick rejection
Indicatorv5SMC / ICT / price actionSessions & time
This indicator plots linear regression bands on the price chart for multiple timeframes. It calculates regression lines with standard deviation bands for up to three timeframes, each configurable with length, deviation, color, width, and background transparenc
This indicator fits a trigonometric series to historical prices and projects future price movement directly on the price chart. Using the Quinn and Fernandes algorithm alongside least-squares fitting, it identifies dominant cycle frequencies across a user-defi
Live Tick Counter tracks real-time upward and downward tick price movements on active candles using intrabar variable updates. It accumulates directional tick statistics during live market execution and calculates directional probabilities over a customizable
An overlay indicator that combines a zero-lag EMA anti-whipsaw trail with range and chop suppression gates. The gates use a choppiness index, the slope of a baseline EMA and an ATR expansion test, and signals can require every enabled filter to agree. Further
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.