Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 24)

Scripts written for Pine Script version 6, the current version of TradingView's language. They paste into the Pine Editor and run as they are.

Pine scripts4,367
Code shown here2,412open licence
Updated in a year4,021
No repaint flag3,857

Pine Script v6: Indicators, Strategies and Libraries

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

GEO P Momentum Strategy

by newsfriend
2 stars

Implements a rule-based momentum trading strategy that detects Bollinger Band challenges followed by synchronized trendline or range breakouts on the price chart. Entries trigger under configurable strictness modes using multi-timeframe Tide and Wave alignment

Strategy v6 Oscillators & momentumVolatility & bands
Updated 8 weeks ago · None stated GitHub repository of GEO P Momentum Strategy
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

Implements a strategy combining Oliver Kell's Cycle of Price Action with Mark Minervini's Volatility Contraction Pattern (VCP). It identifies breakout setups such as wedge pops and EMA crossbacks aligned with EMA 10/20/50/200 and an optional Minervini Trend Te

Strategy v6 TrendBreakout
Updated 3 months ago · Custom licence GitHub repository of Kell + Minervini VCP Backtest
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 trend-following strategy for XAUUSD checks alignment across three Simple Moving Averages (20, 50, and 200) calculated on closed bars. It enters long when price and all three SMAs are stacked in ascending order, and enters short when stacked in descending

Strategy v6 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of XAUUSD Dollar Trader Martingale
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

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

fungi Bands [aifungi]

by mushroom-men-Trading
2 stars

This indicator draws three bands on the price chart from the highest and lowest prices over a chosen length, expanded by a long ATR times a deviation setting. It smooths the stored extremes into upper and lower bands and an average midpoint, then changes the m

Indicator v6 Volatility & bandsMean reversion
Updated 9 months ago · None stated GitHub repository of fungi Bands [aifungi]

This breakout strategy uses dynamic moving averages plotted on the price chart for MA10, MA50, MA100, and MA200 based on user selections. It generates entry signals on breakouts that exceed a volume multiplier, with optional requirements for gaps or strong can

Strategy v6 Moving averagesBreakout Repaints
Updated 10 months ago · MIT GitHub repository of Ede – MA + Breakout Strategie (Dynamic MAs)

QQE + AK Trend + EFI

by realanthonyc
2 stars

This Pine Script indicator combines QQE, AK Trend, and EFI indicators. It calculates the QQE using RSI with smoothing and displays it as a histogram in a separate pane. The AK Trend line is formed by two exponential moving averages whose scale adjusts accordin

Indicator v6 Oscillators & momentumTrend
Updated 11 months ago · MPL-2.0 GitHub repository of QQE + AK Trend + EFI
2 stars

Identifies and displays classical candlestick formations directly on the price chart. The indicator scans bar structure relationships across consecutive candles to detect Evening Star, Morning Star, Shooting Star, Hammer, and Gravestone patterns. Bearish forma

Indicator v6 Candlestick patterns
Updated 1 year ago · MPL-2.0 GitHub repository of Candlestick Patterns

LabelManagement

by Electrified-Trading
2 stars

This library manages TradingView chart labels through configuration templates, change-aware updaters, and a named registry. It lets callers set position, text, colors, style, size, and tooltips with a fluent interface, then apply only properties that differ fr

Library v6
Updated 1 year ago · MPL-2.0 GitHub repository of LabelManagement

Tik 2 USD

by keiru517
2 stars

Tik 2 USD is an overlay indicator that plots a grid of fixed price level lines and entry/exit offset lines across a user-defined price range. It uses a loop between specified start and end ratios to draw main target levels along with intermediate subdivided ra

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of Tik 2 USD
2 stars

PriceCatch Intraday Volume tracks and compares intraday buying and selling volume, total traded value, and candle counts directly on the chart. It allocates confirmed bar volume into buy and sell components using price range ratios, resetting accumulations at

Indicator v6 VolumeScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of PriceCatch Intraday Volume

SUMMARY

by ryangaraygay
2 stars

This indicator aggregates multiple technical signals into an on-chart summary table. It calculates a session-based VWAP, a triple-EMA-smoothed price-volume oscillator, an EMA 9/21 trend spread, multi-timeframe Donchian channel breakouts, and an opening range h

Indicator v6 Screeners & dashboardsSessions & time
Updated 1 year ago · MIT GitHub repository of SUMMARY

Gamma/X Session Sweeps

by OverleveragedWhale
1 stars

An indicator that looks for a sweep and reclaim of the prior session's high or low during the first hour after the Asia, London and New York opens. Setups are marked on the price chart with a stop past the sweep, a fixed ES or NQ point target and an optional b

Indicator v6 SMC / ICT / price actionSessions & time
Updated 2 days ago · None stated GitHub repository of Gamma/X Session Sweeps

MA Slope

by xopromo
1 stars

An indicator on the price chart that trades the turning points of a moving average. A long or short idea starts when the average changes direction beyond a minimum slope filter. Exits come from slope slowing, the price to average spread narrowing or the averag

Indicator v6 Moving averagesTrend
Updated 2 days ago · None stated GitHub repository of MA Slope

Bollinger Bands

by mydcc
1 stars

The Bollinger Bands indicator plots a middle band calculated from a moving average of the selected source and upper and lower bands that are a specified number of standard deviations away from the middle band. Users can adjust the length of the moving average,

Indicator v6 Moving averagesVolatility & bands
Updated 2 days ago · Custom licence GitHub repository of Bollinger Bands
1 stars

Detects liquidity sweeps around higher-timeframe compression zones and generates reversal trade signals. It screens setups using four layers: compression zones, volume vacuum detection, sweep classification (spike or grind), and pressure gradient momentum. An

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of Liquidity Echo[BullByte]

Draws weekly and monthly volatility forecast levels on the price chart from a text block pasted into a settings box. Lines show 75th percentile and median ranges for five-day and month high-low and open-close moves, together with week open, week high and low,

Indicator v6 Volatility & bandsSupport & resistance

ZeroDTE MEIC v1

by xynkro
1 stars

An overlay that follows a ladder of same-day iron condors on the S&P 500 index or its ETF and mini equivalents. At four configurable time slots in the afternoon it estimates short call and put strikes from realized volatility sampled on five-minute bars, using

Indicator v6 Sessions & timeVolatility & bands
Updated 2 days ago · None stated GitHub repository of ZeroDTE MEIC v1

Intraday Regime Follower

by nvolpe2007-cell
1 stars

A long and short trend strategy that compares a 50-bar and 200-bar EMA with price position and EMA slope. It goes long in an uptrend, short in a downtrend and flat otherwise. A hysteresis band must be broken before the state flips, and an ATR-versus-cost gate

Strategy v6 TrendMoving averages
Updated 2 days ago · None stated GitHub repository of Intraday Regime Follower
1 stars

This script is a deprecated compatibility stub for the Market Lab indicator. It intentionally plots no data on the price chart and emits no formulas, signals, or alerts. The purpose of this stub is to direct users toward the canonical Market Lab script. The as

Indicator v6 Screeners & dashboardsSupport & resistance
Updated 2 days ago · AGPL-3.0 GitHub repository of DEPRECATED - use canonical Market Lab
1 stars

A simulation indicator that adds a fixed monthly contribution to a cash pool and compares two ways of investing it on one symbol. The timed approach buys on Bollinger and MACD dip signals, or after idle cash waits a set number of bars. The regular approach inv

Indicator v6 Mean reversionScreeners & dashboards
Updated 3 days ago · None stated GitHub repository of Dip Mafia Timed HODL vs SIP

RCCE v2.2

by cianfru
1 stars

A price-chart indicator that classifies each symbol into a market regime using a long-period Z-score, volatility and fast versus slow energy readings, with thresholds for blow-off, trim and capitulation. It sets the asset class automatically as BTC, ETH, altco

Indicator v6 TrendScreeners & dashboards
Updated 3 days ago · None stated GitHub repository of RCCE v2.2

A multi-part overlay that combines a Gravity Squeeze module, supply and demand inflection zones and optional pivot levels. The squeeze module filters by minimum volume and a maximum ADX and can draw shark icons and support markings. Inflection zones are boxes

Indicator v6 Support & resistanceVolatility & bands Repaints

Over-Sold/Bought Cost

by ankurksoni
1 stars

A price-chart overlay that uses cumulative volume delta built from a lower timeframe, one minute by default, to study the cost of buying and selling pressure. It tracks swing structure in the delta, ranks moves by a high-cost percentile and flags areas that lo

Indicator v6 VolumeDivergence
Updated 3 days ago · None stated GitHub repository of Over-Sold/Bought Cost

TopBot Adaptive (5m)

by drewstake
1 stars

Prints manual long and short signal labels on the price chart using an adaptive method trained on recent settled trade paths, with a warmup count before signals begin. It uses the previous closed candles and enters at the current open, applying a minimum direc

Indicator v6 AI / machine learningScalping
Updated 4 days ago · None stated GitHub repository of TopBot Adaptive (5m)

Booming Bulls Sniper

by jayadevrana
1 stars

Implements liquidity sweep and prop firm breakout strategies inspired by the Booming Bulls methodology. The script monitors previous-day, previous-week, and current-day highs and lows for liquidity sweeps where price wicks beyond a level without closing past i

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of Booming Bulls Sniper

Skipp Math

by skipp-dev
1 stars

Skipp Math is a utility library for Pine Script v6 containing constants and functions for probability calculations, statistical analysis, and data normalization. It provides clamping utilities, logit and sigmoid transformations, range position computation, 95%

Library v6
Updated 4 days ago · None stated GitHub repository of Skipp Math

j14-E1 adv

by moonyroy
1 stars

This indicator plots ZigZag lines connecting swing highs and lows to map price structure. It draws candle body and shadow boxes on the price chart and detects CHoCH for potential trend shifts and BOS for continuation signals. The main setting toggles candle di

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 6 days ago · None stated GitHub repository of j14-E1 adv

Strategy RSI

by Jakub-Pinkowski
1 stars

Calculates the Relative Strength Index (RSI) to generate entry signals directly on the price chart. The strategy opens a long position when the RSI crosses above the oversold level and a short position when it crosses below the overbought level. Users can cust

Strategy v6 Oscillators & momentum
Updated 7 days ago · None stated GitHub repository of Strategy RSI

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