Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 20)

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

Dynamic Anchored VWAP calculates a volume-weighted average price starting from a selected dynamic or manual anchor point, such as the chart start, daily start, weekly start, monthly start, or a specific timestamp. It calculates and plots the anchored VWAP alon

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · GPL-3.0 GitHub repository of Dynamic Anchored VWAP

Options MA Bollinger

by ShadowBrokersDevs
1 stars

An indicator on the price chart that draws a 20 period and a 50 period EMA together with Bollinger Bands, 20 period and 2 standard deviations by default, and fills the band area. It marks a buy triangle when the fast EMA crosses above the slow EMA or price clo

Indicator v6 Moving averagesVolatility & bands
Updated 1 year ago · MIT GitHub repository of Options MA Bollinger

FusionBell Pro

by saleh-ato
1 stars

This indicator combines four technical tools into a unified scoring system directly on the price chart. It evaluates an exponential moving average trend crossover, relative strength index levels, MACD line positioning against its signal line, and Bollinger Ban

Indicator v6 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of FusionBell Pro

Entry Zone Marker

by TradingX-TF
1 stars

Entry Zone Marker is a simple position calculator that draws on the price chart. The user types an initial entry, position volume, averaging volume and averaging price for a long and a short position. The script computes the volume-weighted average entry for e

Indicator v5
Updated 1 year ago · None stated GitHub repository of Entry Zone Marker

Crown Club Strategy

by GigantePT
1 stars

Crown Club Strategy is an overlay indicator that plots two simple moving averages, 50 and 200 by default, together with the previous week's and yesterday's high and low. For each period it adds Fibonacci levels and a golden zone, oriented by a long or short bi

Indicator v6 Support & resistanceMoving averages Repaints
Updated 1 year ago · Custom licence GitHub repository of Crown Club Strategy
1 stars

This Pine Script indicator identifies potential trade entries for the USDJPY pair exclusively on 5-minute and 15-minute charts. It plots three Exponential Moving Averages: 9-period fast, 20-period slow, and 200-period trend filter. Signals trigger on EMA 9 cro

Indicator v6 Moving averagesVolatility & bands

MOST on RSI

by CihadCengiz
1 stars

An oscillator that applies the MOST (moving stop) trailing line to an RSI-based moving average. It plots RSI with a smoothed average and the stop line in a separate pane, with fixed 30, 50 and 70 levels. The average type can be SMA, EMA, RMA, WMA, VWMA, Bollin

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of MOST on RSI

Draw-On-Liquidity

by harshaldulera
1 stars

Draw-On-Liquidity is an overlay indicator that marks liquidity on the price chart. It reads highs and lows from a chosen higher timeframe and draws extended lines with buy-side and sell-side liquidity labels when consecutive values fall within a percentage thr

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of Draw-On-Liquidity

An overlay indicator that detects swing structure on up to three configurable timeframes and marks break of structure and market structure shift events with lines and labels. Each timeframe has its own swing length, line style, colours and a choice between clo

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Multi Timeframe Break of Structure (BOS) & Market Structure Shift (MSS)
1 stars

This indicator visualizes Wyckoff Volume Spread Analysis principles directly on the price chart. It calculates volume moving averages, bar spread, and close location values to categorize individual candlestick behavior relative to average trading activity. Whe

Indicator v5 VolumeCandlestick patterns
Updated 1 year ago · MIT GitHub repository of VSA Volume Spread Analysis

Raj Reversion Strategy

by LongVu219
1 stars

Measures how far price sits from an Arnaud Legoux moving average, shown as a percentage in a separate pane. The average length is scaled by the ratio between a chosen higher timeframe, 60 minutes by default, and the chart timeframe so values stay comparable ac

Indicator v6 Mean reversionOscillators & momentum
Updated 1 year ago · Apache-2.0 GitHub repository of Raj Reversion Strategy
1 stars

Calculates take profit and stop loss levels from the Average True Range and shows them on the price chart for long and short setups. Settings are the ATR period and separate multipliers for the stop loss and the take profit. The levels are computed from the la

Indicator v5 Volatility & bandsSupport & resistance
Updated 1 year ago · None stated GitHub repository of ATR Auto TP/SL Calculator
1 stars

A plain Average True Range indicator in a separate pane. It plots the ATR of the chart with an adjustable averaging length, 14 by default, and has no signals, levels, alerts or trade rules. The repository description and README present it as a way to size stop

Indicator v5 Volatility & bands
Updated 1 year ago · None stated GitHub repository of Average True Range
1 stars

Draws Bollinger Bands from up to three user-chosen timeframes at once on the price chart. For each timeframe it can show the basis line and bands at one, two and three standard deviations, with its own period, offset and colours. The average type can be SMA, E

Indicator v6 Volatility & bandsMean reversion
Updated 1 year ago · None stated GitHub repository of MTF Bollinger Bands TT (3BB)

Micha 150

by crabiner
1 stars

Micha 150 is a trend-following overlay indicator that calculates a 150-period daily Simple Moving Average (SMA) along with its three-point backward difference derivative slope. It identifies entry and exit conditions using customizable percentage buffer zones

Indicator v5 TrendMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of Micha 150

ShinobiTrend

by Yasukeey
1 stars

A feature-rich overlay indicator that prints buy and sell signals with a sensitivity setting, a signal tuner and presets such as All Signals or Trend Scalper. It adds a trend cloud, a long-term trend tracer, pullback signals, trend heatmap candle colouring and

Indicator v5 TrendScreeners & dashboards
Updated 1 year ago · None stated GitHub repository of ShinobiTrend
1 stars

Scans recent price swings on the chart for four harmonic patterns, Bat, Butterfly, Crab and Shark, checking Fibonacci ratios within an adjustable tolerance over a lookback window. Detected patterns are drawn with labels, price levels, a completion marker and a

Indicator v5 Support & resistance
Updated 1 year ago · MIT GitHub repository of Harmonic Pattern Recognition
1 stars

An overlay that draws a ribbon of moving averages with lengths from 20 to 50 in steps of five, plus optional 100 and 200 length lines. A switch chooses exponential or simple averages, and the price source can be changed. The area between the 100 and 200 lines

Indicator v6 Moving averagesTrend
Updated 1 year ago · MIT GitHub repository of Moving Average Ribbon

BTC Fair Value Levels

by PitzTech
1 stars

An indicator that plots a 200-period simple moving average on the price chart and builds colour-filled bands from multiples of it: half, one and a half, two, two and a half and three times the average. The length is adjustable, and the intended use is the 200-

Indicator v6 Support & resistanceMoving averages
Updated 1 year ago · None stated GitHub repository of BTC Fair Value Levels
1 stars

This indicator plots a 14-period Relative Strength Index alongside two smoothed Stochastic oscillators in a separate pane. It displays momentum across fast and medium periods relative to a dashed 50 midline. Background coloring signals alignment: green indicat

Indicator v5 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of RSI + Stochastic Panel

MACD Divergence Analysis

by fuyuanyuan
1 stars

This indicator calculates the MACD line, signal line, and color-coded histogram in a separate pane below the chart. It includes a specialized divergence detection algorithm that splits a lookback period into recent and older segments to compare price extremes

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of MACD Divergence Analysis
1 stars

A candlestick pattern detector for the rising and falling three methods setup on a five-candle window. For a bullish final candle it checks that the three candles before it are bearish and sit within the range of the first candle, and for a bearish final candl

Indicator v5 Candlestick patterns
Updated 1 year ago · MIT GitHub repository of Rise/Fall of Three Methods
1 stars

Auto Trend Line Indicator is a minimal overlay script that looks back over a set number of bars for the most recent swing high and swing low, then draws a green line joining them. Swing length and lookback period are the only settings. A new line is created on

Indicator v5 Support & resistance Repaints
Updated 1 year ago · GPL-3.0 GitHub repository of Auto Trend Line Indicator

ADX & DI Histogram

by munlit
1 stars

A separate-pane indicator that computes the directional movement system by hand, smoothing true range and plus and minus directional movement over a set length to derive DI values and ADX, and shows them as a histogram. An ADX threshold input sets the level fo

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of ADX & DI Histogram

Forex Sessions

by klimasevskiy
1 stars

This indicator highlights key trading sessions directly on the price chart to help identify periods of high volatility. It visualizes Asian, Frankfurt, London, and New York killzones using configurable background boxes, high and low boundary lines, and pip-ran

Indicator v5 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Forex Sessions

Liquidation Levels

by mrgunkin
1 stars

This indicator calculates estimated long and short liquidation prices from a manually entered base price and five leverage settings. A maintenance-margin factor shifts each level, and a nonlinear option changes the leverage used for inverse-style contracts. It

Indicator v6 Support & resistance
Updated 1 year ago · MIT GitHub repository of Liquidation Levels

Trade Value

by barnett-yuxiang
1 stars

This indicator calculates a trade value for each bar by multiplying volume by the average of open, high, low, and close. It plots that series on the price chart with a fully transparent line so the chart stays visually clear while the value remains readable in

Indicator v6 Volume
Updated 1 year ago · None stated GitHub repository of Trade Value

COT Disaggregated

by ivansoft
1 stars

An indicator in a separate pane that plots Commitment of Traders disaggregated report metrics for the chart symbol, such as open interest, producer merchant, swap, managed money and other reportable positions. Settings pick the metric, the direction (long, sho

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

MA50 Trend Signals

by mkdir700
1 stars

A price-chart overlay built on a 50-bar simple moving average. A green circle marks the bar where the close crosses above it and a red circle where it crosses below, and a small coloured dot at the top of the pane shows the current state, green after an upward

Indicator v6 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of MA50 Trend Signals

Million Moves Algo

by hasibulc71x
1 stars

A multi-feature chart overlay that generates buy and sell signals from a SuperTrend-style calculation with an adjustable sensitivity and a choice between all signals and smart signals. It can add a trend ribbon, trend cloud, chaos trend line, order blocks, a 2

Indicator v5 TrendScreeners & dashboards
Updated 1 year ago · None stated GitHub repository of Million Moves Algo

Kotegawa Pump Tracker

by davccavalcante
1 stars

Kotegawa Pump Tracker is an overlay indicator aimed at volatile crypto markets. It combines an adaptive SuperTrend with a clustering step that sorts recent volatility into high, medium and low levels over an analysis window, and it also uses RSI. According to

Indicator v6 Volatility & bandsTrend
Updated 1 year ago · None stated GitHub repository of Kotegawa Pump Tracker

TB: Auxiliary Indicators

by farias-hecdin
1 stars

This indicator bundles several oscillators into one separate pane: an RSI drawn as circles with bands at 20, 45, 50, 55 and 80, a smoothed Stochastic with %K and %D, and a MACD with line, signal and area histogram. Further sections, such as an absolute strengt

Indicator v5 Oscillators & momentum
Updated 1 year ago · MIT GitHub repository of TB: Auxiliary Indicators

LKG 1.0

by sudesharoshaseneviratne
1 stars

A combined overlay that calculates several well-known indicators in one script: an ATR-based stop distance that colors bars yellow when price moves beyond it, ADX with directional indices, RSI with a selectable moving average or Bollinger Bands and optional di

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of LKG 1.0

TICK.US Status Box

by BrayFlex
1 stars

TICK.US Status Box is an overlay indicator that reads the NYSE TICK index (TICK.US) on the chart's timeframe and shows its value in a small box. The box text reads very low, normal, high or very high depending on three adjustable level inputs, and the box colo

Indicator v6 Screeners & dashboardsOscillators & momentum
Updated 1 year ago · MPL-2.0 GitHub repository of TICK.US Status Box

This indicator combines Fibonacci Golden Zone retracements, VWAP-based divergence detection, and RSI optimized with Kernel Density Estimation (KDE). It identifies high and low swing points to overlay key Fibonacci retracement levels directly on the main price

Indicator v6 Support & resistanceOscillators & momentum

Shows a table on the price chart with swing trading data such as average daily range percent, relative volume, price volume, shares float, market cap and average dollar volume. Settings choose which rows appear, the table position and size, text colour, alignm

Indicator v6 Screeners & dashboardsVolume
Updated 1 year ago · None stated GitHub repository of Swing Data ADR RVol PVol Float Avg Dollar Volume
1 stars

Daily Range Volatility calculates the percentage range of each bar relative to its midpoint price. It plots this amplitude as silver columns in a separate pane alongside three simple moving averages: a 30-period baseline, a fast 3-period average, and a smoothe

Indicator v5 Volatility & bandsMoving averages
Updated 1 year ago · Apache-2.0 GitHub repository of Daily Range Volatility
1 stars

This indicator plots an EMA and RSI on the price chart. It signals overbought and oversold conditions through red and green triangular markers when the RSI crosses 75. A background highlight marks the active trading session between user-defined start and end t

Indicator v5 Moving averagesOscillators & momentum
Updated 1 year ago · None stated GitHub repository of EMA + RSI + Session Expiry

Bullish Indicator Strategy v2

by MuhammadHussain07
1 stars

Bullish Indicator Strategy v2 is a multi-indicator panel drawn in a separate pane. It calculates RSI, MACD, four simple moving averages (20, 50, 100 and 200), Bollinger Bands, ADX, a stochastic oscillator, OBV, a cumulative volume delta, Chaikin Money Flow and

Indicator v6 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of Bullish Indicator Strategy v2

RootNet Trader

by amiremadi
1 stars

A price-chart indicator that shows buy and sell signals together with a numeric strength score for each signal. Options include a signal strategy mode and sensitivity with an automatic setting, filters for consolidation, high volume and smart signals, candle c

Indicator v5 TrendVolatility & bands
Updated 1 year ago · GPL-3.0 GitHub repository of RootNet Trader

FVG Position Bar

by munlit
1 stars

A small Pine v5 indicator that marks fair value gaps on the price chart and shades their position relative to price, with separate colors for buy and sell sides. A single ATR multiplier setting controls how large a gap must be to qualify. Comments and settings

Indicator v5 SMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of FVG Position Bar

GDAX EMA Cross Signals

by zawawimanja
1 stars

Plots three exponential moving averages with lengths 12, 26 and 50 as thick lines on the price chart. The README describes using the 50-period line to judge the major trend and waiting for a pullback before entering with it. The visible code has no adjustable

Indicator v5 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of GDAX EMA Cross Signals
1 stars

A short overlay indicator that plots rolling resistance and support lines using the highest high and lowest low over a lookback period, 20 bars by default. When a level changes it adds a small label marking the new resistance or support. Inputs set the lookbac

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Support/Resistance Indicator

Bollinger Bands Signals

by techteam92
1 stars

This indicator calculates custom Bollinger Bands using one of four selectable moving averages, defaulting to VIDYA. It plots the upper band, lower band, and basis line directly on the price chart, with a filled background between the outer bands. Buy and sell

Indicator v5 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands Signals

Label Line

by immy2good
1 stars

A simple example indicator that draws a series of green labels and connects them with red lines on the price chart. On every bar it creates the chosen number of labels, spaced ten bars apart to the right and stepped upward from the high, and joins their coordi

Indicator v5
Updated 1 year ago · None stated GitHub repository of Label Line

MACD and SR Channel

by sina-parsania
1 stars

An overlay indicator that merges pivot-based support and resistance channels with MACD signals and a visual backtest module. Channels are built from pivot points inside a loopback window, with limits on width, strength and count, and are coloured when price si

Indicator v5 Support & resistanceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of MACD and SR Channel

Basic Engulfing Candles

by fiji-solutions
1 stars

This indicator identifies basic bullish and bearish engulfing candlestick patterns directly on the main price chart. A bullish engulfing signal triggers when a green candle opens at or below the prior bearish candle's close and closes at or above its open. A b

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Basic Engulfing Candles

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