Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 35)

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 Pip Control

by ricksimpsontrading
3 stars

ATR Pip Control is a volatility indicator that computes the Average True Range over a user-specified period and plots adaptive upper and lower bands around price using coefficients for band width. It applies a minimum filter size in ticks or pips to validate s

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 10 days ago · None stated GitHub repository of ATR Pip Control

Relative Momentum Index

by AkashSasikumar47
3 stars

The Relative Momentum Index (RMI) is a momentum oscillator calculated in a separate pane. It modifies the standard RSI formula by evaluating price changes relative to a specified momentum lookback period rather than consecutive bars. The script plots the RMI o

Indicator v6 Oscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of Relative Momentum Index

Oscillator Scaffold

by jpantsjoha
3 stars

The Oscillator Scaffold calculates an RSI value using the selected source and bar length. It plots the oscillator in a separate pane along with horizontal lines for overbought and oversold levels. The script fills the region between those levels and draws cond

Indicator v6 Oscillators & momentumSupport & resistance
Updated 4 weeks ago · Custom licence GitHub repository of Oscillator Scaffold

Average True Range

by jash-git
3 stars

This indicator calculates the average true range by taking a simple moving average of the true range over a user-set length. It plots that value as a thick line in a separate pane. The only setting changes the smoothing length, which defaults to 13 bars. The p

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

This indicator combines Supertrend for main trend filtering, DeMarker for momentum extremes, and Stochastic RSI for overbought/oversold signals on multiple timeframes. It plots buy/sell arrows and trend labels directly on the price chart. Additional filters in

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Zerith - Supertrend + DeMarker + Stoch RSI Multi-TF Signal

Mc War v2

by tuanmcwar
3 stars

Calculates and plots Smart Money Concepts market structure elements directly on the main price chart. It highlights bullish and bearish market structure breaks, including Change of Character and Break of Structure, alongside swing points and strong or weak lev

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of Mc War v2

MTF Confluence Dashboard

by WiseManAlgo
3 stars

This indicator displays a multi-timeframe confluence dashboard and signal arrows directly on the main price chart. It evaluates trend and momentum across five configurable timeframes for up to three symbols using an exponential moving average and the relative

Indicator v5 Screeners & dashboardsTrend
Updated 4 months ago · None stated GitHub repository of MTF Confluence Dashboard

% Chg Lines

by g-moe
3 stars

This indicator plots the previous daily close and five pairs of price levels set a chosen percentage above and below that close. It draws the previous close and each offset as cross-style plots on the price chart, fills the span to the outermost upper and lowe

Indicator v5 Support & resistance
Updated 5 months ago · None stated GitHub repository of % Chg Lines

Value Zones

by LucasRibeiroCaetano
3 stars

Value Zones plots a 200-week simple moving average that is further smoothed with a 20-period exponential moving average, then draws fixed multiples of that average on the price chart. Zones are filled and labeled from the average itself through one-and-a-half,

Indicator v6 Moving averagesSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Value Zones

This indicator plots the high, midpoint, and low of the previous day, week, and month as lines on the price chart. Daily levels appear on intraday charts, weekly levels on intraday or daily charts, and monthly levels on charts that are not monthly. Users can t

Indicator v6 Support & resistanceMoving averages Repaints
Updated 12 months ago · None stated GitHub repository of High/Mid/Low of the Previous Month, Week and Day + MA
3 stars

This overlay indicator recreates short-setup conditions and audits their later outcomes on the price chart. It scores optional percent-surge, RSI overbought rollover, Bollinger exhaustion, volume spike, and EMA trend filters, then marks BASE or STRONG signals

Indicator v6 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Hedge Short Setup Outcome Auditor

Pi Cycle Top Indicator

by EngineeredSuccess
3 stars

The Pi Cycle Top Indicator calculates a 111-period simple moving average alongside a scaled 350-period simple moving average to detect potential market cycle highs, historically utilized for Bitcoin analysis. It identifies crossovers between the moving average

Indicator v6 Moving averagesTrend
Updated 1 year ago · Custom licence GitHub repository of Pi Cycle Top Indicator
3 stars

BTMM Comprehensive Risk Management is an overlay indicator that calculates position sizing, stop loss levels, and multiple take profit targets based on the Beat The Market Maker methodology. It supports various stop loss methods including ATR, EMA, Asian Range

Indicator v5 Support & resistanceScreeners & dashboards

MOTO ka AgniAstra

by HelloMoto069
3 stars

MOTO ka AgniAstra is a price-chart overlay that smooths the selected source with a Gaussian window and draws upper and lower bands from a scaled mean absolute error. When repainting smoothing is on, it recalculates the curve across recent bars and marks band c

Indicator v5 Volatility & bandsTrend Repaints
Updated 1 year ago · None stated GitHub repository of MOTO ka AgniAstra

This indicator marks bullish and bearish engulfing candlestick patterns on the price chart. A bullish signal needs a bullish candle after a bearish candle, a high-low range that covers the previous bar, and a floored body that covers the previous body. A beari

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Engulfing Bullish/Bearish (Candlestick Pattern)

This indicator plots the Relative Strength Index and Money Flow Index together in a separate pane. It calculates both oscillators using user-defined lookback lengths and price source inputs. Horizontal reference lines mark standard levels at twenty, fifty, and

Indicator v5 Oscillators & momentumVolume
Updated 2 years ago · MIT GitHub repository of Relative Strength Index And Money Flow Index

The Bitcoin Wallet Transaction Volume indicator plots Bitcoin on-chain wallet transaction volume from Quandl BCHAIN/MWTRV in a separate pane. It calculates BWTV and colors volume bars lime when above EMA(periodo)*fator on up days or red on down days. An option

Indicator v4 VolumeMoving averages
Updated 3 years ago · Apache-2.0 GitHub repository of Bitcoin Wallet Transaction Volume (QUANDL:BCHAIN/MWTRV)

Forex Boxes

by maxits
3 stars

This indicator overlays custom session boxes and time markers directly on the price chart based on specified GMT-4 hours. It identifies distinct intraday timestamps including 4pm and the 3am to 3pm window while tracking volume and plotting one-minute closing p

Indicator v4 Sessions & time
Updated 4 years ago · None stated GitHub repository of Forex Boxes

Currency Strength Chart

by itmakesyousick
3 stars

Calculates and plots the relative strength of eight major forex currencies in a separate pane using logarithmic price differences across currency pairs. It visually displays relative currency performance using customizable lines, histograms, or dynamic table o

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart
3 stars

Greeffer's Hedge Mode Study is an indicator that plots multiple EMAs along with Donchian channels directly on the price chart. It calculates EMAs from 8, 17 and 72 periods using higher timeframe data from 240 minutes. The script monitors price action against t

Indicator v5 Moving averagesSupport & resistance
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Hedge Mode Study

HPI

by blackcat1402
3 stars

HPI marks a bar on the price chart when its open is the highest open over a configurable lookback and the bar is red, meaning the open is above the close. It plots a small red label reading HPI above that bar. The only setting, HPI Recent Bar, sets how many ba

Indicator v4 Candlestick patternsSupport & resistance Repaints
Updated 5 years ago · MIT GitHub repository of HPI

This overlay indicator plots a 20-period Bollinger Band envelope with a two-standard-deviation width on the price chart. It marks a long bounce when price reclaims the lower band, 14-period RSI is between 30 and 70, 14-period ADX is above 25, and Binance BTCUS

Indicator v6 Volatility & bandsOscillators & momentum

3x MA = Moving Average

by piecioshka
2 stars

The 3x MA indicator plots three moving averages on the price chart: a short-term, medium-term, and long-term average. Users can customize the period lengths, the type of moving average (including SMA, EMA, WMA, VWMA, and RMA), and the colors for each. Optional

Indicator v6 Moving averagesTrend
Updated 12 days ago · MIT GitHub repository of 3x MA = Moving Average

MA Spectrum 7

by vtnhqw
2 stars

MA Spectrum 7 plots up to seven configurable moving averages directly on the price chart across two distinct groupings. The faster tier calculates 20, 50, 100, and 200-period averages using a selectable calculation method, including SMA, EMA, RMA, WMA, and VWM

Indicator v6 Moving averagesTrend
Updated 12 days ago · None stated GitHub repository of MA Spectrum 7

Sukepoyo Sub

by Pesci1134
2 stars

This indicator plots two ZigZag lines and five EMAs on the price chart. ZigZag 1 uses depth 12, deviation 5 and backstep 3 for the main trend. ZigZag 2 uses depth 5, deviation 3 and backstep 2 for the fast trend. Five EMAs with lengths 20, 30, 40, 75 and 200 a

Indicator v6 Moving averagesTrend
Updated 2 weeks ago · None stated GitHub repository of Sukepoyo Sub

Calculates Gaussian kernel moving averages adjusted by directional price alignment and normalized by ATR. The indicator applies fast and slow smoothing lengths with custom kernel bandwidth and directional weighting settings to smooth price action while minimiz

Indicator v6 TrendMoving averages
Updated 2 weeks ago · MIT GitHub repository of Directional Kernel Filter [BackQuant]

Key Levels MP

by midngtpickle
2 stars

Key Levels MP draws session and higher-timeframe reference prices on the price chart. It plots the Asia session high, low, and midpoint, the Monday range high, low, and open, the daily open, previous-day high, low, and midpoint, and current-week high, low, and

Indicator v6 Support & resistanceSessions & time
Updated 4 weeks ago · Custom licence GitHub repository of Key Levels MP

Forex Trading Strategy

by AmjadSaidam
2 stars

Forex Trading Strategy is an overlay indicator designed for multi-timeframe session analysis on forex markets. It calculates open, high, and low values across 1-hour, 4-hour, and 8-hour timeframes to identify key session ranges. The script filters valid candle

Indicator v6 Support & resistanceSessions & time
Updated 5 weeks ago · MIT GitHub repository of Forex Trading Strategy

Algo

by TamTH-Dev
2 stars

Algo is an overlay indicator that combines Deviation Scaled Moving Averages (DSMA), multi-layer Ripster exponential moving average clouds, and ATR-based trading levels on the price chart. It calculates adaptive DSMA lines alongside five configurable EMA pairs

Indicator v6 Moving averagesTrend Repaints
Updated 6 weeks ago · None stated GitHub repository of Algo
2 stars

Qtus SMC-Sniper System v2 is a comprehensive chart overlay indicator combining Smart Money Concepts (SMC), ICT elements, price action, and momentum filters. It identifies and plots Fair Value Gaps (FVG), Order Blocks, Breaker Blocks, Liquidity Zones, and Marke

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · Custom licence GitHub repository of Qtus SMC-Sniper System v2

Basic Usage Examples

by danielbodnar
2 stars

Demonstrates fundamental Pine Script v6 syntax and built-in technical analysis functions as a reference snippet. It calculates and plots simple and exponential moving averages, Bollinger Bands fills, and visual shapes for price crossovers against the moving av

Indicator v6 Moving averages
Updated 2 months ago · MIT GitHub repository of Basic Usage Examples

FVG Zones with Signals

by alvinng214
2 stars

The FVG Zones with Signals indicator detects Fair Value Gaps on the price chart by comparing high-low ranges against average candle body size over a user-defined length. It plots bull and bear FVG zones as semi-transparent colored boxes with border styles and

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of FVG Zones with Signals
2 stars

This indicator plots two customizable moving averages on the price chart: a fast MA and a slow MA. Users can select from SMA, EMA, WMA and other types, with source options such as close. It fills the area between the lines with color based on which MA is above

Indicator v6 Moving averages
Updated 3 months ago · Apache-2.0 GitHub repository of Dual Moving Average Ribbon
2 stars

This indicator identifies and visualizes potential liquidity pools based on Smart Money Concepts (SMC). It scans past price action within a configurable lookback window to detect equal highs and equal lows using an ATR-based tolerance threshold. When equal pea

Indicator v6 SMC / ICT / price actionSupport & resistance
2 stars

SMC Toolkit detects core Smart Money Concepts on the price chart, including market structure breaks (BoS and CHoCH), Order Blocks, Fair Value Gaps (FVGs), and liquidity levels such as equal highs and lows. Active zones project forward and freeze or stop extend

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · MPL-2.0 GitHub repository of SMC Toolkit [btankutt]

VP Low-TF LVN Levels

by teaceo-debug
2 stars

This indicator calculates volume profile distributions using lower timeframe security data to identify and draw Low Volume Nodes (LVNs) directly on the price chart. Users can adjust the volume profile timeframe, lower timeframe resolution, row count, and LVN s

Indicator v6 VolumeSupport & resistance
Updated 4 months ago · None stated GitHub repository of VP Low-TF LVN Levels
2 stars

This indicator builds a wick-based liquidity profile from a selectable lower timeframe and draws bullish and bearish levels on the price chart. It highlights bars when volume RSI is high and the wick exceeds a multiple of the average wick. Optional overlays ma

Indicator v6 SMC / ICT / price actionVolume
Updated 5 months ago · None stated GitHub repository of Zero Lag Liquidity [AlgoAlpha]

LTP Levels v1

by mhs54
2 stars

LTP Levels v1 plots key day-trading support and resistance boundaries directly on the price chart. It projects pre-market high and low levels from recent trading sessions alongside buffer zones and automatically calculated target levels extracted from historic

Indicator v6 Support & resistanceSessions & time Repaints
Updated 6 months ago · None stated GitHub repository of LTP Levels v1
2 stars

Ghost Zone v9 GTI Signals v18 is an overlay technical indicator designed to replicate Ghost Trade Pro methodology. It calculates anchored Supertrend channels, previous weekly close levels, fair value gaps, and volume profile high-volume nodes. The script evalu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Ghost Zone v9 GTI Signals v18
2 stars

This indicator detects and draws trendlines, zones, and neutral bands directly on the price chart. It generates long and short breakout signals when price breaches detected trendlines, displaying configurable target and stop-loss lines based on an adjustable r

Indicator v5 BreakoutSupport & resistance
Updated 7 months ago · None stated GitHub repository of SilverHawk Trendline Breakouts

This indicator calculates grid range boundaries for the Grid Bot system using two moving averages. It supports nine different moving average types, including SMA, EMA, HMA, DEMA, TEMA, and ZLEMA, across customizable fast and slow periods. Users can configure d

Indicator v6 Moving averagesSupport & resistance Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot [Grid Range Plugin] Two Moving Averages
2 stars

This indicator aggregates up to ten external data sources and evaluates custom rules through a text-based condition builder. It parses logical operators to detect entry conditions and tracks simulated trade performance using configurable stop loss and take pro

Indicator v6 Repaints
Updated 8 months ago · None stated GitHub repository of BE-Indicator Aggregator Toolkit

Smart Money / LIT - M1 Structure & OB

by ifreddyman2014-tech
2 stars

This overlay indicator marks market structure on the price chart. It finds swing highs and lows with a configurable pivot length, flags displacement candles whose body exceeds the recent average body by a set factor, and can label breaks of structure. It also

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Smart Money / LIT - M1 Structure & OB

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