Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 39)

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

This indicator identifies high and low pivot points on the price chart using user-defined left and right bars around each bar. It connects pivot points with wave lines, plots PH and PL marks, and labels the latest P1 to P8 patterns. A table shows pivot details

Indicator v5 Support & resistanceTrend
Updated 11 months ago · MIT GitHub repository of Pivot Waves + 8-Pattern + CHoCH
1 stars

Draws a Fibonacci channel on a logarithmic price scale on the price chart. The user sets two high dates and one low date; the script reads monthly highs and lows around those dates, converts them to base-10 logarithms and derives a sloped channel from the two

Indicator v6 Support & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Log Scale Fibonacci (LSF)

Code Improvement Template

by NakliTechie
1 stars

This script is a template for improving Pine Script indicators and strategies. It provides a structured framework with sections for documenting original code, listing improvements, adding or modifying input parameters, performing calculations, modifying plot s

Indicator v5
Updated 1 year ago · MIT GitHub repository of Code Improvement Template

StrongBuy

by dsjrego
1 stars

A minimal overlay that watches a 20-period EMA and prints a green STRONGBUY label below the bar each time the close crosses above it. It has no inputs, no exit logic and no filters, so every upward cross of the average produces a label, including during sidewa

Indicator v5 Moving averages
Updated 1 year ago · None stated GitHub repository of StrongBuy

Sessions [LuxAlgo]

by lappingio
1 stars

A session overlay that marks up to four trading sessions, by default New York, London, Tokyo and Sydney, with shaded range boxes. For each session it can also show a trendline, a mean line, a session VWAP and maximum and minimum markers. Session names, times a

Indicator v5 Sessions & time
Updated 1 year ago · None stated GitHub repository of Sessions [LuxAlgo]

Smoothed Heiken Ashi

by turnupdigital
1 stars

An indicator that draws smoothed Heiken Ashi candles on the price chart. Prices are smoothed with a selectable moving average type and length before the Heiken Ashi calculation and again afterwards, using an imported library of average types. Candles are shade

Indicator v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Smoothed Heiken Ashi
1 stars

This indicator identifies significant volume spikes on daily and weekly timeframes by comparing current volume against moving averages over user-defined lookback periods. It plots the daily volume ratio as a histogram in a separate pane, with blue columns for

Indicator v5 Volume
Updated 1 year ago · GPL-3.0 GitHub repository of ezVolume Spike Detector
1 stars

This indicator plots envelope bands based on a moving average or exponential moving average of a chosen price source. It computes RSI with user-set length and source. Signals trigger on crossovers: buy when price crosses the lower envelope band while RSI falls

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of ENVELOPE - RSI - Buy Sell Signals

Range

by equitymarkets
1 stars

Range calculates relative price ranges across four user-specified currency pairs by comparing high and low values against close prices from a secondary timeframe. It computes the average range across these pairs to establish a baseline volatility benchmark. Th

Indicator v6 Volatility & bandsScreeners & dashboards
Updated 1 year ago · MIT GitHub repository of Range
1 stars

Shows a compact table on the price chart counting down the time left until the next candle closes on several timeframes: 1, 5 and 15 minutes, 1 hour, 4 hours and 1 day. Each row can be switched on or off and given its own colour. The text turns to a warning co

Indicator v6 Screeners & dashboardsSessions & time

RSI形态策略

by fuyuanyuan
1 stars

This indicator evaluates multiple Relative Strength Index (RSI) patterns combined with volume surge criteria to identify potential trend reversals and breakout entries. It tracks five distinct bullish setups, including double bottoms, hook reversals, bullish d

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of RSI形态策略
1 stars

A separate-pane indicator that computes the Money Flow Index and adapts its overbought, neutral and oversold levels using a clustering routine trained on recent data. Inputs set the MFI length, the number of training bars and the iterations per bar. An adjuste

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · None stated GitHub repository of AI Adaptive Money Flow Index

COT Legacy

by ivansoft
1 stars

An indicator in a separate pane that plots Commitment of Traders legacy report metrics for the chart symbol, such as open interest, noncommercial, commercial and nonreportable positions and trader counts. Settings pick the metric, direction, data type, a selec

Indicator v6
Updated 1 year ago · None stated GitHub repository of COT Legacy

BTC Trend

by mkdir700
1 stars

A separate-pane indicator that plots the Bitcoin price from the BTCUSDT symbol, scaled by an adjustable factor so it fits beside other panes, whatever chart symbol is open. The line is coloured green when the latest change is up or zero and red when it is down

Indicator v5 Trend
Updated 1 year ago · None stated GitHub repository of BTC Trend
1 stars

This overlay indicator finds pivot highs and lows from high/low or close/open prices and uses them to draw support and resistance channels and trend lines on the price chart. Minimum strength, maximum channel width, and a cap on how many S/R levels appear filt

Indicator v5 Support & resistanceMoving averages
Updated 1 year ago · None stated GitHub repository of AMD-strategy (All Fixes)

Support Resistance - Dynamic v2

by MuhammadHussain07
1 stars

Support Resistance - Dynamic v2 finds pivot highs and lows on the price chart and groups nearby pivots into support and resistance channels. Settings set the pivot period, whether highs and lows or open and close are used, how many pivots are stored, the maxim

Indicator v5 Support & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Support Resistance - Dynamic v2
1 stars

A Pine v5 indicator, with Spanish labels, that draws liquidity voids, meaning fair value gaps, as boxes on the price chart. It can show gaps that have already been filled, add text labels, and switch between a historical mode and another mode. A bar count sets

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Liquidity Voids (FVG)
1 stars

HMA-Kahlman Trend & Trendlines plots a smoothed directional trend ribbon directly on the price chart by combining Hull Moving Average calculations with an optional Kalman filter. It evaluates two moving lines alongside their average, changing color to reflect

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of HMA-Kahlman Trend & Trendlines

Fractal Enculfing Caldles

by fiji-solutions
1 stars

This indicator identifies bullish and bearish engulfing candlestick patterns directly on the price chart. To refine signal quality, it provides three optional filters: an ATR filter to cap maximum candle size relative to volatility, a swing high or low filter

Indicator v5 Candlestick patternsMoving averages
Updated 2 years ago · None stated GitHub repository of Fractal Enculfing Caldles

Jinni v1

by Hurairahengg
1 stars

Jinni v1 is an overlay indicator that highlights the Sydney trading session and plots buy or sell signals based on dual exponential moving average trends. It draws a dynamic box around the Sydney session price range and applies time filters to exclude Fridays

Indicator v5 Sessions & timeMoving averages
Updated 2 years ago · None stated GitHub repository of Jinni v1

Average True Range

by JoeTonDev
1 stars

An ATR indicator in a separate pane with four display types: regular price units, percentage of close, ticks or currency value for a chosen position size. The smoothing method can be EMA, RMA, SMA or WMA, and an EMA of the ATR is plotted and colored by rising

Indicator v5 Volatility & bands
Updated 2 years ago · None stated GitHub repository of Average True Range

theIndicator v1.9

by darkshloser
1 stars

Overlays several SuperTrend-style trailing stop lines on the price chart, each built from an ATR period, ATR multiplier and source, with a choice of using wicks or closes. Lines are green while the direction is up and red while it is down, with a flip when pri

Indicator v5 Trend
Updated 2 years ago · Apache-2.0 GitHub repository of theIndicator v1.9

TD_Indicator

by subhrapratim07
1 stars

This indicator implements Tom DeMark Sequential logic directly on the price chart. It calculates TD buy and sell setups by comparing closes against four bars prior, tracks setup counts up to nine, and evaluates bar lows and highs to identify perfected setup co

Indicator v5 Mean reversionTrend
Updated 2 years ago · None stated GitHub repository of TD_Indicator

Rocket Launches

by yankeexlr
1 stars

An overlay for crypto charts that follows a staged sequence built from RSI and four simple moving averages. It flags bearish candles with RSI under 20, records their lows, watches for crosses above the 50-period and 300-period averages, and stores the low of a

Indicator v5 Mean reversionOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Rocket Launches

AmiComStrategy

by amico1234
1 stars

AmiComStrategy is an indicator that calculates correlations between securities using the Corell indicator over specified timeframes such as 5D. It filters trading opportunities based on session times like 1300-1700 and security up and down times such as 3H. Th

Indicator v4 Sessions & timeVolatility & bands
Updated 2 years ago · None stated GitHub repository of AmiComStrategy

ARI-DPO 2.0

by alessioricco
1 stars

This indicator calculates the Detrended Price Oscillator (DPO) and applies Hull Moving Average (HMA) and Exponential Moving Average (EMA) smoothing to it. It also evaluates Relative Strength Index (RSI) levels. The script determines market state by comparing t

Indicator v4 Oscillators & momentumMoving averages
Updated 2 years ago · Apache-2.0 GitHub repository of ARI-DPO 2.0

Pivots HL

by btm2021
1 stars

A small indicator that finds confirmed pivot highs and pivot lows using a single length setting and labels each one as a higher high, lower high, higher low or lower low by comparing it with the previous pivot of the same kind. Labels are drawn on the price ch

Indicator v4 Support & resistance
Updated 2 years ago · None stated GitHub repository of Pivots HL
1 stars

A price-chart overlay that approximates a volume profile over a custom number of recent bars. On the last bar it finds the highest and lowest mid-price in the chosen range, divides that span into thirty price bands and counts how many bars fall into each. It t

Indicator v4 VolumeSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Pseudo VPVR Custom Range

This indicator scans price charts to identify multiple classic bullish, bearish, and neutral candlestick patterns, including Hammers, Engulfing patterns, Dojis, Stars, and Marubozus. It evaluates prevailing market trends using simple moving average rules (SMA5

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of Woverine - Candlestick Patterns
1 stars

An indicator in a separate pane that compares a symbol's performance with a reference symbol, set to a Polish index by default. Performance is measured over the four quarters of a year with the most recent quarter weighted more, and falls back to recent quarte

Indicator v5 Oscillators & momentum
Updated 3 years ago · GPL-3.0 GitHub repository of Relative Strength (IBD Style)

Stx Ma-Trend Finder

by arrabyte
1 stars

Plots one moving average on the price chart and colours it by slope strength. The average type can be SMA, EMA, HMA, RMA, WMA, SWMA, VWMA or TEMA, with adjustable length and source. The slope of each bar is compared with the largest slope seen so far; when it

Indicator v5 TrendMoving averages
Updated 3 years ago · None stated GitHub repository of Stx Ma-Trend Finder

Bull Market Support Band

by krosenfeld7
1 stars

The Bull Market Support Band indicator overlays a higher-timeframe exponential moving average and simple moving average onto the price chart to visualize dynamic support or resistance zones. It calculates both moving averages using a user-defined timeframe res

Indicator v4 TrendMoving averages
Updated 3 years ago · Apache-2.0 GitHub repository of Bull Market Support Band

Heikin Ashi

by jubayernil
1 stars

This indicator calculates and plots Heikin Ashi candlesticks in a separate pane below the main price chart. It retrieves the open, high, low, and close values of the Heikin Ashi synthetic ticker for the chart's current timeframe. Bullish candles, where the Hei

Indicator v4 Candlestick patternsTrend
Updated 3 years ago · None stated GitHub repository of Heikin Ashi

Kama-WAP

by nvFede
1 stars

A Pine v4 indicator in a separate pane that is a variant of a volume-weighted z-score oscillator. It measures the close against a rolling volume-weighted mean and divides by a volatility term smoothed with an adaptive Kaufman-style average instead of a simple

Indicator v4 Mean reversionVolume
Updated 3 years ago · None stated GitHub repository of Kama-WAP

Aroon RSI Adjusted Net

by JohnsonHsiao
1 stars

The Aroon RSI Adjusted Net indicator combines the standard Aroon oscillator with RSI calculations over a user-defined rolling period. It calculates Aroon Up and Aroon Down values for both raw price and the RSI indicator, measuring the spread between price Aroo

Indicator v5 Oscillators & momentumTrend
Updated 3 years ago · None stated GitHub repository of Aroon RSI Adjusted Net

DMI+OBV+RSI

by rajatjpatel
1 stars

A separate-pane tool that merges three studies. A histogram shows normalized On Balance Volume minus its moving average, with different colors for growing and falling bars above and below zero. A shaded band between the 30 and 70 lines uses the directional mov

Indicator v5 VolumeOscillators & momentum
Updated 4 years ago · None stated GitHub repository of DMI+OBV+RSI

BTC Futures Daily Bias

by 0xfffangel
1 stars

An overlay meant for the daily chart that gives a long, short or neutral bias for Bitcoin. It takes daily prices from a chosen source such as CME futures, an index feed or Binance, then compares two EMAs (8 and 21 by default) with an 80-period Hull moving aver

Indicator v4 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of BTC Futures Daily Bias

Barbwire v3.0.0

by itmakesyousick
1 stars

Detects barbwire zones, runs of bars with unusually small size, and boxes them on the price chart. Bar size defaults to a hybrid blend of Heikin-Ashi, open-close and high-low measures. A mixed method is on by default, with optional stochastic and percent-rank

Indicator v5 Candlestick patternsVolatility & bands
Updated 4 years ago · None stated GitHub repository of Barbwire v3.0.0

micayael EMAs

by micayael
1 stars

An overlay that plots a selection of exponential moving averages: a main pair at 10 and 55 drawn as circles, and an optional set at 7, 21, 30, 50, 100 and 200. Optional extras are an ADX-based movement strength display with a key level, a pullback display, and

Indicator v4 Moving averagesTrend
Updated 4 years ago · None stated GitHub repository of micayael EMAs

My Squeeze Play

by modster
1 stars

This indicator requests a five-minute Bitcoin series and plots two lines offset 5,000 price units above and below the bar average. It raises a short squeeze alert when the high exceeds the upper line and a long squeeze alert when the low falls below the lower

Indicator v4 Breakout Repaints
Updated 4 years ago · MIT GitHub repository of My Squeeze Play

Nasdaq

by rosskevin
1 stars

This indicator plots market breadth metrics for the Nasdaq exchange in a separate pane. It calculates a simple moving average of the Nasdaq Advance-Decline line, switching between a 10-period average on weekly charts and a 50-period average on daily charts, co

Indicator v4 TrendMoving averages
Updated 5 years ago · AGPL-3.0 GitHub repository of Nasdaq

XXXNOK

by taco-c
1 stars

The XXXNOK indicator plots the exchange rate of a chosen currency (USD or EUR) to NOK sourced via OANDA. It presents the rate on the main price chart as a black line with a simple width. A single input setting allows selection between USD and EUR. The script u

Indicator v4 Support & resistance
Updated 5 years ago · MPL-2.0 GitHub repository of XXXNOK
1 stars

A single file that bundles several standard TradingView indicators as reference snippets. The first plots Accumulation/Distribution, a cumulative volume line, in a separate pane. Later sections include ADX, ATR with selectable smoothing, Bollinger Percent B, H

Indicator v4 VolumeVolatility & bands
Updated 6 years ago · None stated GitHub repository of Accumulation/Distribution

This indicator calculates and plots logarithmic growth curves and intermediate Fibonacci levels directly on the main price chart to outline long-term channel boundaries for Bitcoin. It computes upper and lower growth curves based on historical time elapsed sin

Indicator v4 TrendSupport & resistance
Updated 6 years ago · GPL-3.0 GitHub repository of Bitcoin Logarithmic Growth Curves

HalfTrend

by everget
947 stars

HalfTrend plots a trailing trend line on the price chart. It tracks recent highs and lows over an amplitude window and flips between up and down when a simple moving average of highs or lows crosses the tracked extreme and price confirms. The line is blue in a

Indicator v6 TrendVolatility & bands
Updated 12 days ago · GPL-3.0 GitHub repository of HalfTrend

ICT Liquidity Void Fill

by ArunKBhaskar
575 stars

This overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Void Fill
318 stars

Calculates and plots moving averages on selected VIX volatility terms (VIX9D, VIX, VIX3M, or VIX6M) in a separate pane. The script computes user-defined short and long moving averages using EMA or SMA. It shades the background red when the short-term moving av

Indicator v5 Volatility & bandsMoving averages
Updated 2 months ago · MIT GitHub repository of [TVT] VIX Short Term Danger

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