Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 82)

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,239
No repaint flag6,673

Indicators: All

Hello World

by fiji-solutions
1 stars

This indicator plots a background color fill on the price chart to highlight a specific time session. It checks if the current time falls within the user-defined session range and colors the background red when active. The main setting lets users customize the

Indicator v5 Sessions & time
Updated 2 years ago · None stated GitHub repository of Hello World

[e2] Setup

by amico1234
1 stars

Calculates and plots sequential countdown setups similar to DeMark TD Setup, tracking price flips with a configurable lookback and count limit directly on the price chart. It identifies completed counts, perfection, intersections, and multi-setup occurrences s

Indicator v4 Support & resistanceTrend
Updated 2 years ago · None stated GitHub repository of [e2] Setup

Advance VWAP

by nvFede
1 stars

A Pine v4 overlay that calculates a volume-weighted average price which restarts at the beginning of each day, using the typical price by default. The line turns green when rising and red when falling. Two more lines sit two standard deviations of the VWAP ove

Indicator v4 VolumeMean reversion
Updated 3 years ago · None stated GitHub repository of Advance VWAP

Efficiency Ratio

by JohnsonHsiao
1 stars

Efficiency Ratio measures market efficiency and trend strength over a configurable rolling window by dividing net price displacement by the sum of absolute bar-by-bar price changes. It plots the calculated ratio as an oscillator in a separate pane alongside ho

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Efficiency Ratio
947 stars

The Adaptive Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec

Indicator v4 TrendMoving averages
Updated 13 days ago · GPL-3.0 GitHub repository of Adaptive Laguerre Filter
575 stars

ICT Mitigation Block Scanner is an overlay indicator that screens a pasted list of symbols for ICT mitigation blocks or retracement conditions. It lists long and short hits in a configurable table and can draw a zig zag with colored boxes on the price chart. U

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Mitigation Block Scanner

ACIC-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell labels for ACIC directly on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, and marks how many selected funds traded that day with an X count

Indicator v4
Updated 2 years ago · None stated GitHub repository of ACIC-tracker
261 stars

This indicator defines a function that computes a weighted mean of sample values using a matching weight array. It returns zero when the arrays differ in length or are empty, otherwise it divides the sum of each value times its weight by the sum of the weights

Indicator v5
Updated 4 years ago · None stated GitHub repository of Function - Array Average Weighted

Debug Panel Template

by TradersPost
228 stars

The Debug Panel Template displays an on-chart information dashboard on the price pane to assist developers in monitoring real-time market data and custom variables. It calculates and shows price changes, bar metrics like wick sizes and total range, volume stat

Indicator v6 Screeners & dashboards
Updated 3 months ago · None stated GitHub repository of Debug Panel Template
219 stars

This indicator marks swing highs on the price chart. It treats a bar as a high when that bar's high equals the highest high across a window of twice the user setting plus one bar, centered on the bar offset by the setting. When the condition is true, it places

Indicator v4 Support & resistance Repaints
Updated 5 years ago · None stated GitHub repository of 教學:尋找高低點3

Coppock Curve Strategy

by capissimo
114 stars

This study builds a Coppock curve from two rate-of-change readings smoothed by a weighted moving average and marks signals on the price chart. Long entries occur when the curve crosses above zero or a simple moving-average trigger, and short entries occur on t

Indicator v4 Oscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Coppock Curve Strategy

The indicator calculates the Average Directional Movement Index (ADX) along with +DI and -DI lines to measure trend strength and direction. It plots ADX, +DI and -DI in a separate pane on the chart. The main setting is the period length for smoothing, defaulti

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Average Directional Movement Index (ADX)

Example 1

by be-thomas
65 stars

This script is a TradingView documentation example demonstrating how to fill background spaces between plots and horizontal lines in a separate indicator pane. It calculates and plots the sine of the high price, the cosine of the low price, and the sine of the

Indicator v5
Updated 7 days ago · GPL-3.0 GitHub repository of Example 1

Volume Flow Analysis

by iamrichardD
57 stars

This indicator calculates volume moving averages, volume spikes, and price-volume momentum to detect institutional order flow. It plots in a separate pane and generates visual signals for high-volume activity and flow persistence. Key inputs adjust the volume

Indicator v6 VolumeScalping
Updated 1 year ago · Apache-2.0 GitHub repository of Volume Flow Analysis
56 stars

An overlay indicator that plots dynamic trendlines and support/resistance channels on the price chart. It detects pivot high and low points across a configurable lookback period to draw S/R zones and calculate trendline slopes using ATR, standard deviation, or

Indicator v5 Support & resistanceTrend Repaints
Updated 2 months ago · None stated GitHub repository of Trendline Support Resistance 2024

SMA

by dcaoyuan
55 stars

This indicator plots three simple moving averages of the closing price on the price chart. The lengths default to 9, 21, and 36 and are labeled Fast MA, Slow MA, and Slowest MA. Each length can be changed independently through the inputs. It only draws the thr

Indicator v6 Moving averages
Updated 6 months ago · Apache-2.0 GitHub repository of SMA

Session Range Projections

by TamaraKGreen
47 stars

Session Range Projections measures the high-low or open-close range of a user-defined session and projects that range on the price chart. It draws horizontal range and deviation lines, optional range boxes, range extensions, and true standard deviations at sel

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of Session Range Projections
47 stars

The Convolution Moving Average (CONV) indicator calculates a smoothed price series via FIR convolution with a custom kernel. It plots the CONV value as an overlay line directly on the price chart. The main input allows selecting any source series while the ker

Indicator v6 Moving averagesTrend
Updated 8 months ago · MIT GitHub repository of Convolution Moving Average (CONV)
43 stars

This indicator builds a synthetic Heikin-Ashi series using only the current open and the opens of the previous three bars. It derives open, high, low, and close from those values, rounds each price to the symbol mintick, and plots the result as candles in a se

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Heikin-Ashi Open Only

Balance of Power

by TWODS-CAPITAL
37 stars

This indicator plots the Balance of Power of each bar in a separate pane. It calculates the ratio of the close-to-open difference to the high-to-low range and draws that value as a red line. Positive readings mean the close is above the open, and negative read

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Balance of Power

Zen Trading Toolkit

by Zen-Tim
29 stars

The Zen Trading Toolkit calculates and projects key volatility levels, intraday targets, and session statistics on the price chart. It features three main components: ABR-based measured moves projected from the prior day's close and extremes, an opening range

Indicator v6 Support & resistanceVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of Zen Trading Toolkit
26 stars

This overlay indicator marks swing highs and swing lows from a user-set pivot lookback and draws each swing as a level and a shaded area. Area size can follow the wick extremity or the full bar range. It counts bars, or accumulated volume, that trade through t

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · AGPL-3.0 GitHub repository of Liquidity Swings [LuxAlgo]

Market Sessions

by benso87
24 stars

This indicator highlights major regional trading sessions directly on the price chart, including Asia, Europe, and America. Users can customize the exact start and stop times in UTC for each region, as well as the background fill colors. Additional settings al

Indicator v5 Sessions & time
Updated 4 years ago · MPL-2.0 GitHub repository of Market Sessions
10 stars

This indicator overlays buy and sell signals on the price chart by combining multi-period Stochastic oscillators with a Traders Dynamic Index (TDI). It computes three Stochastic oscillators across different lengths and checks if all lengths concurrently reach

Indicator v4 Oscillators & momentumVolatility & bands
Updated 5 years ago · None stated GitHub repository of WE: TDI/STOCH/SIGNALS

This indicator identifies and plots price compression zones directly on the price chart using multi-module scoring. It measures ATR compression, ADX chop levels, boundary touches, volume dry-up, and historical pivot levels to identify consolidation areas and s

Indicator v6 BreakoutSupport & resistance
Updated 4 days ago · MIT GitHub repository of CoilForge Zones [WavesUnchained]

This indicator applies Singular Spectrum Analysis (SSA) to decompose price data into distinct structural components, including the underlying trend, long-term periodic cycles, short-term periodic cycles, and high-frequency noise. Using a configurable window le

Indicator v6 TrendOscillators & momentum
Updated 4 months ago · MIT GitHub repository of Singular Spectrum Decomposition [LuxAlgo]

|AG| Project

by Anderson-ALGO
9 stars

|AG| Project is a Pine Script v4 indicator that draws four mini charts in a separate pane. It requests open, high, low, and close for user-selected symbols, rescales those values with a stochastic calculation, and plots an exponential moving average of each sc

Indicator v4 Screeners & dashboardsCandlestick patterns
Updated 5 years ago · None stated GitHub repository of |AG| Project

EMA Cloud

by lunarticktrading
7 stars

This indicator plots a fast and a slow exponential moving average on the price chart and fills the space between them as an EMA cloud. The fill is green when the fast average is at or above the slow average and red when it is below. Arrows mark bullish crossov

Indicator v6 Moving averagesTrend
Updated 3 weeks ago · None stated GitHub repository of EMA Cloud

This indicator builds a channel from a Hull moving average of the source and an ATR scaled by a band multiplier, then normalizes price inside that channel into a 0 to 100 oscillator. It smooths the result with a weighted moving average and plots the line in a

Indicator v6 Mean reversionVolatility & bands
Updated 3 months ago · None stated GitHub repository of Radiant Mean Reversion Channels [Pineify]

Bollinger Bands

by suyons
7 stars

This indicator calculates and plots multi-timeframe Bollinger Bands directly on the price chart. Users can select from various moving average types for the basis line, such as SMA, EMA, WMA, HMA, RMA, VWMA, or ALMA, alongside customizable basis length, standar

Indicator v5 Volatility & bandsMoving averages
Updated 4 months ago · None stated GitHub repository of Bollinger Bands

Capital41 PDH/PDL Levels

by damianpitt
6 stars

This indicator plots previous-day high, low, and midpoint on the price chart, with optional previous-week and previous-month highs and lows. It fills the high-low ranges, places right-edge labels, and shows a status badge for distance to the daily extremes and

Indicator v6 Support & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 PDH/PDL Levels

This indicator implements an ICT Silver Bullet trading framework directly on the price chart. It detects and visualizes Fair Value Gaps (FVG), Market Structure Shifts (MSS), Order Blocks, Breaker Blocks, Breaks of Structure (BOS), and Equal Highs/Lows across d

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of ICT Silver Bullet Flux Charts v2 - Claude
5 stars

This diagnostic indicator computes a native footprint volume profile alongside broadening macro wall projections directly on the price chart. It aggregates 1-minute footprint data over user-specified start and end timestamps, calculates value area levels, and

Indicator v6 VolumeSupport & resistance Repaints
Updated 5 days ago · MPL-2.0 GitHub repository of VP + RSD Macro Wall Profile Diagnostic
5 stars

This indicator estimates a kernel density of the selected source over a chosen bar window and plots the price where that density peaks, the mode. Weights can emphasize recent bars by sequence and inferred volume. The user chooses the kernel, window anchor, sou

Indicator v6 Support & resistanceVolume
Updated 8 months ago · None stated GitHub repository of Weighted KDE Mode

Cerebr Bloop

by jerryinyang
5 stars

Cerebr Bloop is a momentum oscillator calculated by applying Heikin-Ashi candle logic to a zero-centered Relative Strength Index (RSI). Displayed in a separate pane, it visualizes smoothed RSI momentum candles alongside customizable overbought and oversold thr

Indicator v4 Oscillators & momentumCandlestick patterns
Updated 2 years ago · None stated GitHub repository of Cerebr Bloop
4 stars

This indicator calculates the Relative Strength Index alongside a smoothing moving average and multiple length tiers based on a fixed timeframe. It draws in a separate pane below the price chart, plotting tiered RSI levels and an optional multi-length average.

Indicator v6 Oscillators & momentumMoving averages
Updated 3 days ago · None stated GitHub repository of RSI multi-length fixed timeframe

RSI Basic Indicator

by mitchell-917
4 stars

This indicator calculates the Relative Strength Index from a chosen source and length and plots it in a separate pane. It draws overbought, oversold, and midline levels, optionally shades the background when RSI is outside those levels, and marks crosses into

Indicator v5 Oscillators & momentum
Updated 11 months ago · Custom licence GitHub repository of RSI Basic Indicator

USTA

by Kalumur
4 stars

USTA combines multiple trend-following mechanisms on the price chart, primarily integrating SuperTrend and AlphaTrend overlay components. It calculates ATR-based volatility trailing lines to determine overall market direction, displaying visual buy and sell si

Indicator v5 TrendVolatility & bands
Updated 2 years ago · None stated GitHub repository of USTA

Snagprofit WMA MA

by dearvn
4 stars

Snagprofit WMA MA is a multi-timeframe trend indicator overlaid on the price chart. It calculates a weighted moving average across 1-minute, 5-minute, 15-minute, and 1-hour timeframes alongside a simple moving average on the active chart. Momentum shapes signa

Indicator v5 Moving averagesTrend Repaints
Updated 4 years ago · None stated GitHub repository of Snagprofit WMA MA

P-Dipmix Kripto

by gocaman
3 stars

P-Dipmix Kripto is a multi-indicator oscillator and screener designed to detect dip opportunities in cryptocurrency markets. It calculates WaveTrend oscillator lines, Bollinger Bands, the Awesome Oscillator, and the Accelerator Oscillator to evaluate oversold

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 3 days ago · None stated GitHub repository of P-Dipmix Kripto

Jash Test

by jash-git
3 stars

This indicator plots five exponential moving averages of lengths 3, 13, 34, 55 and 144 on the price chart. Fast lines are red and orange, slower lines are blue and purple, and a black 144-period average acts as a trend filter. It draws buy and sell labels when

Indicator v5 TrendMoving averages Repaints
Updated 5 weeks ago · None stated GitHub repository of Jash Test
3 stars

Canca's Sweeps n Raids is a price-chart indicator that marks bullish and bearish liquidity sweeps of prior swing highs and lows. It scans historical bars for swing levels that price has swept, using either a wick-only or regular close condition, then draws a l

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Canca's Sweeps n Raids
3 stars

TradingView Debug Example is an overlay indicator that calculates RSI, a simple moving average, and MACD, then marks buy and sell shapes on the price chart. A buy appears when RSI is below 30 and price is above the SMA; a sell appears when RSI is above 70 and

Indicator v5 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of TradingView Debug Example

This indicator identifies and plots market structure and smart money concept elements directly on the price chart. It detects swing structure, internal structure, liquidity sweeps, and strong or weak highs and lows. It also visualizes order blocks with buying

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Price Action Smart Money Concepts [BigBeluga]

BTMM Stop Hunt Detection

by jcortes254
3 stars

The BTMM Stop Hunt Detection indicator identifies liquidity sweeps, stop hunts, and market maker manipulation zones directly on the main price chart. It tracks key liquidity levels, Optimal Trade Entry (OTE) zones, and premium or discount areas based on swing

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM Stop Hunt Detection
3 stars

This indicator computes and plots the Slow Stochastic momentum oscillator in a separate chart pane. It calculates the raw stochastic percentage based on price location within the highest high and lowest low range over a user-defined period, smoothing the resul

Indicator v5 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of Stochastic Slow (Momentum Oscillator)

PE and PEG Over Time

by jawauntb
3 stars

This indicator calculates the price-to-earnings (P/E) and price-to-earnings growth (PEG) ratios for a target stock and for QQQ. It fetches earnings per share basic one year growth and PEG ratio data using financial API calls, then derives P/E as close divided

Indicator v5
Updated 2 years ago · GPL-3.0 GitHub repository of PE and PEG Over Time

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