Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 143)

Open-source Pine Script indicators that draw on your TradingView chart or in their own pane. Copy one and paste it into the Pine Editor.

Pine scripts7,612
Code shown here3,783open licence
Updated in a year5,283
No repaint flag6,673

Indicators: All

1 stars

A gold-focused price-chart indicator that measures rolling correlation between the chart symbol and the dollar index, and when the correlation is inverse enough it generates signals from RSI crossing its oversold and overbought levels. It adds a Supertrend tre

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Wake Up, Neo Gold/DXY Confluence

Squarify 46 v3.1

by nishpa800
1 stars

Overlays up to 46 buy and sell marker signals on the price chart, built from standard deviation displacement, pullback pockets, relative volume tiers and fair value gap structures. Inputs set three displacement multipliers, a first-bar-only switch and per-sign

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Squarify 46 v3.1

Swing High/Low

by mikeyhu70
1 stars

Finds pivot highs and lows using separate left and right bar lengths and draws them on the price chart. A shift setting waits for the bar to close before printing a pivot, and an option shows the most recent low as a stop reference. Levels can extend to the ri

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of Swing High/Low

IBKR Tracker

by Allen1212
303 stars

This indicator visualizes historical transaction data for Interactive Brokers Group Inc (IBKR) executed by ARK Invest funds. It overlays visual labels directly onto the price chart at specific historical timestamps, indicating institutional buy and sell action

Indicator v4
Updated 2 years ago · None stated GitHub repository of IBKR Tracker

Test-Alphabet

by ricardosantos79
261 stars

This indicator builds a string from an integer by counting its digits, splitting the value into two-digit indices, and mapping each index to an uppercase letter or a printable ASCII character. A selector chooses which alphabet function is used, and the mapped

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test-Alphabet

Hurst Exponent (HURST)

by mihakralj
99 stars

Calculates and plots the Hurst Exponent to quantify the persistence, mean-reverting tendencies, or random walk characteristics of a time series. It computes logarithmic returns, segments the lookback window into sub-periods to determine rescaled range statisti

Indicator v6 TrendMean reversion
Updated 4 weeks ago · Apache-2.0 GitHub repository of Hurst Exponent (HURST)

My Script

by be-thomas
65 stars

This Pine Script indicator computes a simple moving average (SMA) of length 10 based on the close prices of the trading instrument. The script uses the study function to define the indicator and plots the SMA line in a separate pane. No signals are generated a

Indicator v4 Moving averages
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

Triple EMA

by TWODS-CAPITAL
37 stars

This indicator plots a triple exponential moving average of the closing price on the price chart. It smooths close with an exponential moving average of a chosen length, then applies the same average twice more, and combines the three results as three times th

Indicator v5 Moving averages
Updated 3 years ago · MIT GitHub repository of Triple EMA

VWAP Trader NXi

by eddiebelaval
7 stars

VWAP Trader NXi calculates a daily session-anchored Volume Weighted Average Price along with two custom standard deviation bands on the main price chart. It plots the core VWAP, Value Area bands, outer extension zones with background shading, and the previous

Indicator v5 VolumeVolatility & bands
Updated 3 months ago · None stated GitHub repository of VWAP Trader NXi
6 stars

This indicator marks a trading session in the GMT+2 timezone and builds a price range from the four hours before the session starts. It requests one-minute highs and lows, stores the range extremes, and draws two horizontal lines on the price chart that extend

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Range Rejection Trading Indicator

Market View++

by g-moe
3 stars

Market View++ is a multi-symbol market overview dashboard indicator that displays metrics across multiple financial assets on the price chart. It tracks up to ten customizable individual symbols alongside grouped composites, calculating key metrics such as rel

Indicator v5 Screeners & dashboardsSessions & time
Updated 5 months ago · None stated GitHub repository of Market View++

The Keltner Center Of Gravity Channel Mutations Indicator calculates adaptive channel metrics based on Donchian range Fibonacci levels (38.2% and 61.8%) and Average True Range (ATR) offsets. The lookback period automatically adjusts according to the active tim

Indicator v5 Volatility & bandsVolume
Updated 8 months ago · None stated GitHub repository of Keltner Center Of Gravity Channel Mutations Indicator

Moving Box

by morindok
1 stars

This indicator draws customizable boxes, rhombuses, or ellipses on the price chart centered on a selected moving average. It computes the box height from the MA's high-low range over a lookback period and applies optional golden ratio midpoints or symmetry. Sh

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Moving Box
1 stars

Overlays up to 46 buy and sell marker signals on the price chart, built from standard deviation displacement, pullback pockets, relative volume tiers and fair value gap structures. Inputs set three displacement multipliers, a first-bar-only switch and per-sign

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Squarify 46 v3.1 (Tick-Friendly)

Time Segmented Volume

by mikeyhu70
1 stars

Calculates a time segmented volume line in a separate pane by weighting volume by the change in price over a chosen length, then smoothing it with a moving average. An oscillating option changes how the line is presented. Positive readings suggest volume on ri

Indicator v4 VolumeOscillators & momentum
Updated 6 months ago · None stated GitHub repository of Time Segmented Volume

ICE-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell records from ARK Invest funds directly on the price chart for Intercontinental Exchange. It generates visual label markers timestamped to specific transaction dates, displaying trade direction and the count of funds

Indicator v4
Updated 2 years ago · None stated GitHub repository of ICE-tracker

Ichimoku Cloud

by mihakralj
99 stars

This indicator plots the five classic Ichimoku components on the price chart. It calculates Tenkan-sen, Kijun-sen, and Senkou Span B as midpoints of the highest high and lowest low over their periods, then derives Senkou Span A from Tenkan and Kijun. Chikou Sp

Indicator v6 TrendSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ichimoku Cloud

My Script

by be-thomas
65 stars

My Script is a minimal Pine Script v4 visual example that demonstrates how to align text inside a drawing label. It creates a persistent label on the chart using a var declaration and sets its text alignment to right. On each new price bar, the script updates

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

TRIX

by TWODS-CAPITAL
37 stars

This indicator calculates and plots the classic Triple Exponential Average (TRIX) momentum oscillator in a separate pane. It applies a triple exponential moving average to the natural logarithm of closing prices and computes the 1-bar rate of change multiplied

Indicator v5 Oscillators & momentumTrend
Updated 3 years ago · MIT GitHub repository of TRIX

Welles Wilders MAs - MTF

by eddiebelaval
7 stars

Calculates four Welles Wilder Moving Averages (RMA) using a user-specified timeframe and plots them directly on the price chart. The script tracks short, medium, extension, and long trend lines (default periods 34, 72, 89, and 144). Users can configure timefra

Indicator v5 Moving averagesTrend
Updated 3 months ago · None stated GitHub repository of Welles Wilders MAs - MTF
6 stars

The Shved Supply & Demand indicator identifies and draws dynamic supply and demand zones directly on the price chart using fast and slow pivot points. It determines zone height using an ATR multiplier and categorizes levels by strength, including untested, ver

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Shved Supply & Demand Optimized
3 stars

Matt Moheeka Candles repaints price chart candles using custom color rules based on session timing and price action structures. It identifies and highlights session opening candles, long-wick reversal candles such as hammers or shooting stars, and doji pattern

Indicator v5 Candlestick patternsSessions & time
Updated 5 months ago · None stated GitHub repository of Matt Moheeka Candles

Kernel Regression Toolkit

by regalouisei
2 stars

The Kernel Regression Toolkit calculates and plots non-linear regression estimations directly on the price chart. It provides multiple configurable kernel regression lines using functions such as Rational Quadratic, Gaussian, Periodic, and Locally Periodic ker

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of Kernel Regression Toolkit

Moving Box{Morindok}

by morindok
1 stars

This indicator plots geometric structures and moving averages directly on the price chart. It calculates a simple moving average alongside periodic high and low extremes to construct shapes such as boxes, rhombuses, ellipses, or spirals using polylines. Users

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Moving Box{Morindok}
1 stars

A price-chart indicator that plots a zero-lag EMA with an ATR band around it. The trend flips long when price closes above the upper band and short when it closes below the lower band, marked with buy and sell labels and a shaded channel. Optional features inc

Indicator v5 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of Adaptive Zero-Lag Reversal Engine

Squarify 64

by nishpa800
1 stars

Overlays up to 64 buy and sell marker signals on the price chart, built from standard deviation displacement, pullback pockets, relative volume tiers and fair value gap structures. Inputs set displacement multipliers, a first-bar-only switch and per-signal tog

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Squarify 64
1 stars

A Pine Script v4 indicator on the price chart that draws a moving average wave, a channel of exponential averages on the high, close and low with a default length of 38, centred on a chosen source. It can also colour candles by whether they close above, below

Indicator v4 Moving averagesTrend
Updated 6 months ago · None stated GitHub repository of ZLEMA Wave and GRaB Candles Alt2

ILMN-tracker

by Allen1212
303 stars

This indicator visualizes historical trade records executed by ARK Invest for Illumina (ILMN) directly on the price chart. It plots green buy labels below bars and red sell labels above bars at hardcoded historical timestamps, noting how many Ark ETFs traded o

Indicator v4
Updated 2 years ago · None stated GitHub repository of ILMN-tracker

Inertia Oscillator

by mihakralj
99 stars

This indicator calculates the Inertia Oscillator, measuring market trend strength based on the distance between price and its linear regression value. Over a user-defined length and price source, it computes the linear regression line and calculates the curren

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Inertia Oscillator

My Script

by be-thomas
65 stars

This script is a minimal documentation example demonstrating basic Pine Script syntax. It takes the closing price series of the current symbol and displays it as shapes in a separate indicator pane. It does not include configurable user inputs, signal logic, o

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

True Strength Indicator

by TWODS-CAPITAL
37 stars

This indicator plots the True Strength Index in a separate pane. It double-smooths price change and absolute price change with exponential moving averages, then expresses their ratio as a percentage. A signal line is an exponential moving average of that value

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of True Strength Indicator
6 stars

This indicator plots smart-money market structure on the price chart. It marks internal and swing breaks of structure and changes of character, order blocks, equal highs and lows, fair value gaps, multi-timeframe highs and lows, and premium and discount zones.

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Smart Money Concepts [LuxAlgo]
3 stars

This indicator combines Bollinger Bands, fractal detection, and RSI-based swing analysis within a customizable trading session. It identifies regular or Bill Williams fractals during active session hours and generates long or short signals when fractal extreme

Indicator v5 Volatility & bandsSessions & time
Updated 5 months ago · None stated GitHub repository of MCF and Trendy Pipsy
2 stars

This indicator splits volume into buying and selling portions from candle body and wick proportions, then measures the linear-regression slope of those series over a chosen period. It plots the resulting trend strength in a separate pane as columns or another

Indicator v5 VolumeTrend
Updated 8 months ago · None stated GitHub repository of KINSKI Volume Regression Trend

Octahedron

by morindok
1 stars

Octahedron draws a geometric shape on the price chart using two user-defined points for time and price. It computes the delta between those points and plots eight blue polylines connecting points at fixed ratios to form the outline of an octahedron. The main s

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Octahedron

Apex Ultra Engine v3

by vedkanani123
1 stars

An overlay indicator built on a zero-lag EMA with an ATR trailing stop. It reads market regime from ADX, adds RSI and Stochastic RSI momentum filters, and treats volume or oversized candles as spikes with a cooldown. Entries can display three take profit level

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Apex Ultra Engine v3

Squarify Atoms v1

by nishpa800
1 stars

A companion verification indicator that exposes only the basic building-block signals, about 60 marker plots, with no combinations. All plots are off by default and each toggle explains its definition. The combination plots, alert aggregator and statistics are

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Squarify Atoms v1

INCR-tracker

by Allen1212
303 stars

This overlay indicator marks ARK Invest activity for the INCR listing on the price chart. When the ETF input is ALL, it draws red labels above bars on fixed calendar dates, each reading a one-fund sell. The only setting selects the ETF filter, and the publishe

Indicator v4
Updated 2 years ago · None stated GitHub repository of INCR-tracker

This Pine Script indicator plots a ZigZag on the price chart. It identifies reversal points when price moves more than a set percentage from the last pivot. The script calculates forecasts using zigzag data and labels detected geometric patterns including harm

Indicator v4 TrendSupport & resistance
99 stars

This indicator calculates the interquartile range of a chosen price source over a lookback window. It estimates the 25th and 75th percentiles with linear interpolation, then plots their difference as a line in a separate pane. The source and lookback period ar

Indicator v6 Volatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Interquartile Range (IQR)

My Script

by be-thomas
65 stars

This indicator draws a single text label on the price chart. On the realtime bar only, it places a label ten bars back with the text Label, positioned above the bar using yloc.abovebar. It does not calculate oscillators, moving averages, or trade signals, and

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

Tweezer Bottom - Bullish

by TWODS-CAPITAL
37 stars

This indicator detects Tweezer Bottom Bullish candlestick patterns on the price chart. It identifies a two-candle reversal during an uptrend, with the first candle long and red followed by a green candle with nearly identical lows. The script calculates trend

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of Tweezer Bottom - Bullish
7 stars

This indicator identifies a specific anchor candle based on user-defined start hour, start minute, and time zone inputs. It calculates the high-to-low price range of that anchor bar to project entry levels, stop losses, and target levels for both buy and sell

Indicator v5 BreakoutSupport & resistance
Updated 3 months ago · None stated GitHub repository of XAUUSD Dynamic Breakout + SL Points

SMC Killzone Engine

by alboogycOdR
6 stars

This overlay indicator tracks smart-money points of interest during optional London, New York, and Asian killzones. It can detect fair value gaps, order blocks, breakers, and mitigation blocks using separate entry, point-of-interest, and structure timeframes.

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of SMC Killzone Engine

More Pine Script Categories

Browse the whole Pine Library

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.

  1. 1Using this librarySearch, filters, licences and what the badges mean.
  2. 2Add a script to TradingViewCopy, paste into the Pine Editor, save and add to chart.
  3. 3Indicators, strategies and librariesWhat each type does and how to tell them apart.
  4. 4Spot a script that repaintsWhy some signals change after the bar closes.
  5. 5Backtest a strategyStrategy Tester settings that keep results honest.
  6. 6Send alerts to MT4 or MT5From a TradingView alert to an order in MetaTrader.
  7. 7What Pine Script isThe language, what it can and cannot do, and where to start.
  8. 8Write your first indicatorA complete script, line by line, in the Pine Editor.
  9. 9Read a script before you trust itA routine for checking inputs, logic and red flags.
  10. 10Edit a script safelyChange colours and lengths, add a filter or an alert.
  11. 11Pine Script alertsalertcondition(), alert(), placeholders and webhooks.
  12. 12Build a crossover strategyAn EMA cross strategy with an ATR stop, ready to test.

Trade Your Charts With a Regulated Broker

Compare regulated brokers on platforms, spreads, minimum deposit and leverage.

Compare brokers