Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 111)

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

ATR

by be-thomas
65 stars

This indicator calculates the Average True Range over a user-chosen period and shows the latest value in a single-cell table at the top right of the price chart. A helper builds a format string from the symbol's minimum tick so the number is printed to tick pr

Indicator v4 Volatility & bandsScreeners & dashboards
Updated 6 days ago · GPL-3.0 GitHub repository of ATR

NQ Stats Helper

by TamaraKGreen
47 stars

NQ Stats Helper is an overlay indicator that plots custom trading session ranges, session high and low boundaries, and 50% equilibrium levels directly on the price chart. It visualizes major sessions like New York, London, and Asia with colored range boxes and

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of NQ Stats Helper
47 stars

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

Indicator v6 Moving averagesMean reversion
Updated 8 months ago · MIT GitHub repository of Hyperbolic Tangent (TANH)

Elders Force Index

by TWODS-CAPITAL
37 stars

This indicator calculates the Elders Force Index as an exponential moving average of the close-to-close price change multiplied by volume. It plots that oscillator in a separate pane and draws a horizontal zero line. The only input is the EMA length, which def

Indicator v5 Oscillators & momentumVolume
Updated 3 years ago · MIT GitHub repository of Elders Force Index

RSIScreener A003

by ruckard
13 stars

RSIScreener A003 is an indicator that plots RSI oscillator values on the price chart for multiple monitored symbols. It calculates RSI with user-defined length and source, along with customizable overbought and oversold levels. The script can enforce a higher

Indicator v5 Oscillators & momentumSupport & resistance
Updated 1 year ago · None stated GitHub repository of RSIScreener A003
9 stars

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

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of MFI Advanced [WavesUnchained]

Apex Protocol v3.3

by alboogycOdR
6 stars

Apex Protocol v3.3 is a Smart Money Concepts trading indicator that plots order blocks, fair value gaps, BOS and MSS markers, auto Fibonacci levels, area of interest zones and external internal structures on the price chart. It supports multiple killzone sessi

Indicator v5 SMC / ICT / price actionScalping Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol v3.3
5 stars

This indicator plots 50, 100 and 150 period exponential moving averages on the price chart and measures each average slope in degrees. It places a long label when the averages stack upward, all slopes exceed the angle limit, and price closes back above the sho

Indicator v4 TrendMoving averages Repaints
Updated 3 years ago · Apache-2.0 GitHub repository of Triple EMA + Sloping Trend

This indicator plots entry signals directly on the price chart by combining Directional Movement Index (DMI) and Moving Average Convergence Divergence (MACD) indicators. It offers two distinct signal logic modes that trigger when DMI and MACD confirm each othe

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DMI ADX Signals with MACD Signals

VitAlgo

by IAMATOMIC001
3 stars

VitAlgo is an overlay technical indicator suite that provides signal generation and visual trend tracking tools directly on the main price chart. It integrates multiple analysis modules, including customizable Sensitivity-based signal modes, Smart Trail, Rever

Indicator v5 TrendOscillators & momentum
Updated 12 months ago · None stated GitHub repository of VitAlgo

One Setup for Life ICT

by alvinng214
2 stars

This indicator plots horizontal lines, boxes and text labels on the price chart to mark key trading sessions. It displays daily session ranges, Silver Bullet, LN, NY, PM, London, Prev AM, Lunch and PM sessions using New York timezone calculations. The script c

Indicator v5 Sessions & timeSupport & resistance
Updated 2 months ago · None stated GitHub repository of One Setup for Life ICT

WaveTrend [LazyBear]

by avatar-lavventura
2 stars

This indicator calculates LazyBear's WaveTrend oscillator to identify overbought and oversold market conditions. It computes an exponential moving average channel on typical price (HLC3) to generate the primary oscillator line and a 4-period simple moving aver

Indicator v4 Oscillators & momentum
Updated 7 months ago · None stated GitHub repository of WaveTrend [LazyBear]

MESA Adaptive Moving Average (MAMA)

by mushroom-men-Trading
2 stars

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

Indicator v6 TrendMoving averages Repaints
Updated 9 months ago · None stated GitHub repository of MESA Adaptive Moving Average (MAMA)

Hammers & Shooting Stars

by Web3Degenerate
2 stars

This overlay indicator marks hammer and shooting star candles on the price chart. It places a Fibonacci level inside each candle and treats a hammer as a body sitting above the upper level and a shooting star as a body sitting below the lower level. Optional f

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Hammers & Shooting Stars
1 stars

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

Indicator v6 SMC / ICT / price actionBreakout
Updated 4 days ago · None stated GitHub repository of REV Ladder (Best Bullish CHoCH)

P_fmt_number_literals

by GammaExpansion
1 stars

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

Indicator v6
Updated 7 days ago · MIT GitHub repository of P_fmt_number_literals

Strong NQ ORB Breakouts

by rosijay17-cmd
1 stars

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

Indicator v6 BreakoutSessions & time
Updated 8 days ago · GPL-3.0 GitHub repository of Strong NQ ORB Breakouts

DEPV2 Debug S3

by YuceSezar89
1 stars

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

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 Debug S3
1 stars

Draws a moving price level that bounces between the highest high and lowest low of a rolling window, 50 bars by default, with the range midline and a mirrored close line on the price chart. Buy and sell labels appear when price crosses the mirrored line or the

Indicator v5 Mean reversionOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Auto Mirror Reversal Signals

Fable Bear HTF v1.3

by nishpa800
1 stars

A bearish-side detection indicator for higher timeframe charts that draws numbered signals on the price chart. It uses relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value gap engines. A

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bear HTF v1.3

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst spectral oscillator. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and plots the cycle waves, with an optional composite line. Each cycle has its o

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V4

Price Volume Trend

by ivansoft
1 stars

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

Indicator v6 Volume
Updated 1 year ago · None stated GitHub repository of Price Volume Trend
1 stars

A separate-pane indicator that builds On Balance Volume and subtracts its 20-period EMA to form an oscillator, drawn as a coloured line and area around a zero line. It detects regular bullish and bearish divergence between price pivots and the oscillator, labe

Indicator v5 VolumeDivergence
Updated 1 year ago · None stated GitHub repository of Neural Network Sub 41 OBV

Price Volume Trend

by everget
947 stars

This indicator plots Price Volume Trend in a separate pane and compares it with an optional smoothed signal. The signal is an SMA or EMA of the PVT series, with a default length of 21 and a selectable price source. When filling is on, the ribbon between the tw

Indicator v4 VolumeOscillators & momentum
Updated 12 days ago · GPL-3.0 GitHub repository of Price Volume Trend

BDT-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest purchase and sale transactions directly on the price chart using chart labels. It visualizes historical buy and sell records for the underlying stock, marking trade dates and fund activity. The input setting allows th

Indicator v4
Updated 2 years ago · None stated GitHub repository of BDT-tracker
257 stars

This overlay indicator looks for regular price divergences against a set of oscillators, using pivot highs and lows. It compares those pivots with RSI, MACD and its histogram, stochastic, CCI, momentum, OBV, a directional oscillator, volume-weighted MACD, Chai

Indicator v5 DivergenceOscillators & momentum Repaints
Updated 7 weeks ago · None stated GitHub repository of Snag - Best Futures V3

Session Filter Template

by TradersPost
228 stars

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

Indicator v6 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Session Filter Template
114 stars

This indicator computes a composite oscillator by min-max normalizing and averaging several technical factors, including the Relative Strength Index, Commodity Channel Index, Center of Gravity, and a sigmoid-transformed price slope. It also evaluates the compo

Indicator v4 Oscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal (Improved)
99 stars

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

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Correlation Trend Indicator (CTI)

Bands

by be-thomas
65 stars

Bands is a Pine Script v4 overlay indicator from a TradingView arrays example. It stores a base level equal to the lowest average OHLC of the prior 50 bars, taken 10 bars back, in a one-element array. A function multiplies that stored value by one and then by

Indicator v4 Support & resistance
Updated 6 days ago · GPL-3.0 GitHub repository of Bands
47 stars

This indicator plots the New York 5-minute and 15-minute Opening Ranges (ORB) directly on the main price chart. It projects opening range boxes along with midlines and median extensions to identify intraday key levels. Additionally, it can draw custom lower ti

Indicator v5 Support & resistanceSessions & time Repaints
Updated 8 weeks ago · None stated GitHub repository of NY Opening Range (Enhanced with LTF)

Inertia

by mihakralj
47 stars

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

Indicator v6 Oscillators & momentumTrend
Updated 8 months ago · MIT GitHub repository of Inertia

Engulfing - Bearish

by TWODS-CAPITAL
37 stars

This indicator identifies and labels bearish engulfing candlestick patterns directly on the price chart. It checks for a small bullish candle followed by a large bearish candle that engulfs the previous body. Pattern detection can be filtered using moving aver

Indicator v5 Candlestick patternsTrend
Updated 3 years ago · MIT GitHub repository of Engulfing - Bearish
9 stars

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

Indicator v6 Mean reversionSupport & resistance Repaints
Updated 3 days ago · MIT GitHub repository of MIDAS 2.0 [WavesUnchained]
7 stars

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

Indicator v6 VolumeVolatility & bands
Updated 3 months ago · None stated GitHub repository of Effort vs Result Context Overlay
6 stars

Apex Protocol - The SMC Engine is a comprehensive Smart Money Concepts indicator that overlays key market structure levels directly on the main price chart. It calculates internal and external market structures (BOS and MSS), Order Blocks, Fair Value Gaps (FVG

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol v3.4 - The SMC Engine

DTEK Candles

by g-moe
3 stars

This indicator calculates dual trend filters by combining a custom SuperTrend with a Commodity Channel Index ATR trailing stop. The SuperTrend component utilizes customizable moving average types, including Hull, Exponential, and Simple Moving Averages. When p

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DTEK Candles

Xpert Algo

by IAMATOMIC001
3 stars

Xpert Algo is a multi-feature technical indicator that plots trend-following and contrarian trade signals on the price chart. It calculates adaptive entry signals, trend clouds, reversal dots, and market structure swing points. The indicator features dynamic t

Indicator v5 TrendSupport & resistance
Updated 12 months ago · None stated GitHub repository of Xpert Algo

Order-Block Detector

by alvinng214
2 stars

Order-Block Detector identifies bullish and bearish order blocks based on candle direction changes and draws them on the price chart. It also detects fair value gaps (FVGs) and generates signals for potential entries when these levels are respected. The script

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Order-Block Detector

Wick Hunter VWAP

by avatar-lavventura
2 stars

This indicator calculates the volume-weighted average price using a specified period and plots it on the price chart along with upper and lower bands set at a percentage deviation above and below the VWAP value. The bands serve as reference levels for potentia

Indicator v4 Moving averagesSupport & resistance
Updated 7 months ago · None stated GitHub repository of Wick Hunter VWAP

Modified Moving Average (MMA)

by mushroom-men-Trading
2 stars

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

Indicator v6 Moving averages
Updated 9 months ago · None stated GitHub repository of Modified Moving Average (MMA)

Wave Trend Overbought Oversold

by wynnforthework
2 stars

This indicator plots the WaveTrend Oscillator in a separate pane. It computes an EMA of normalized price deviations from the median price divided by standard deviation, then applies an SMA to generate the oscillator line. Signals trigger on overbought conditio

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of Wave Trend Overbought Oversold

HMD ATR Trailing Stop Tool

by Web3Degenerate
2 stars

The HMD ATR Trailing Stop Tool calculates and plots a dynamic trailing stop line directly on the price chart. Users select a Long or Short direction, an anchor start time, structure lookback bars, and Average True Range parameters. For long positions, the stop

Indicator v5 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of HMD ATR Trailing Stop Tool

P_fmt_quotes_escapes

by GammaExpansion
1 stars

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

Indicator v6
Updated 7 days ago · MIT GitHub repository of P_fmt_quotes_escapes

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