Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 19)

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

1 stars

Measures the high to low range of a morning session and an afternoon session each weekday, defaulting to 0930 to 1200 and 1200 to 1600, and draws them as boxes on the price chart. A dashboard compares the two ranges and keeps statistics over previous days. A w

Indicator v6 Sessions & timeScreeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of AM vs PM Range Analysis

Cumulative Volume Index

by AkashSasikumar47
1 stars

A Pine v6 indicator in a separate pane that plots a running total of advancing volume minus declining volume for a chosen US exchange. The exchange can be NYSE, NASDAQ, AMEX, ARCX, US total or Dow Jones. It reads the exchange up-volume and down-volume symbols

Indicator v6 Volume
Updated 2 weeks ago · MIT GitHub repository of Cumulative Volume Index

Fibonacci Retracement

by AkashSasikumar47
1 stars

This indicator automatically calculates and plots Fibonacci retracement and extension levels directly on the price chart. Utilizing a ZigZag library to identify major price swings, it draws horizontal levels corresponding to key ratios such as 0.236, 0.382, 0.

Indicator v6 Support & resistance Repaints
Updated 2 weeks ago · MIT GitHub repository of Fibonacci Retracement
1 stars

A test script that plots a long list of built-in values on the price chart so a converter can be checked against exported chart data. It includes Supertrend, parabolic SAR, VWAP with weekly bands, volume indicators such as OBV and accumulation distribution, pi

Indicator v6 TrendVolume Repaints
Updated 3 weeks ago · Apache-2.0 GitHub repository of AlphaResin Conformance 2

Fibonacci SR Strategy

by moonyroy
1 stars

This strategy identifies bullish and bearish Pin Bar or Engulfing candlestick patterns interacting with Fibonacci levels calculated from a 1,440-bar lookback range. It enters long or short positions when a valid candlestick pattern crosses a Fibonacci level. E

Strategy v6 Support & resistanceCandlestick patterns
Updated 3 weeks ago · None stated GitHub repository of Fibonacci SR Strategy

Adaptive Signals V18

by Matthew-Eucaristo
1 stars

A crypto futures signal indicator in a separate pane, the later version of the V17 script. It scores setups and shows only those passing a validity gate, using a trend pullback engine with limit-style entries and a range engine that fades stretched moves. Filt

Indicator v6 TrendMean reversion
Updated 3 weeks ago · MIT GitHub repository of Adaptive Signals V18

[ad] SFP + FVG / IFVG

by amadeo987
1 stars

This overlay indicator draws swing-based liquidity levels, fair value gaps and inverted fair value gaps on the price chart. It marks a sweep as RAW after a wick takes a swing and price closes back, then shows a short confirmation label after a later close beyo

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of [ad] SFP + FVG / IFVG

FVG Screener TW

by gplee789-afk
1 stars

This indicator scans up to 40 symbols across a user-defined timeframe to identify Smart Money Concepts Fair Value Gaps, Inversion FVGs, displacement bars, and internal order blocks. It calculates a weighted quality score for each gap, monitors price proximity,

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 4 weeks ago · MPL-2.0 GitHub repository of FVG Screener TW

Inside Bar Breakout

by JACKZHOU0521
1 stars

The Inside Bar Breakout indicator identifies inside bar patterns and detects subsequent price breakouts beyond the mother bar boundaries. It marks inside bars with diamonds, plots mother bar high and low reference lines, and generates close-confirmed breakout

Indicator v6 BreakoutCandlestick patterns
Updated 5 weeks ago · None stated GitHub repository of Inside Bar Breakout

ORB + ICT Backtest Strategy v2

by mccallister-dev
1 stars

This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f

Strategy v6 BreakoutSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Backtest Strategy v2
1 stars

This indicator calculates a multi-factor trend and momentum score by combining triple exponential moving averages, Supertrend, ADX regime filters, WaveTrend, and StochRSI oscillators. It identifies regular divergences across pivot points, checks multi-timefram

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Momentum Confluence Suite [MCS] v2

Kernal Cipher 1

by kdricha0602
1 stars

A large price-chart overlay that combines many filters into tagged signal markers. It uses a 21, 50 and 200 EMA stack with slope, a higher-timeframe reference, Supertrend, ADX regime, WaveTrend, StochRSI, regular and hidden divergence, relative strength agains

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Kernal Cipher 1

EQH / EQL Liquidity

by mumbi-dev
1 stars

An overlay indicator that finds pivot highs and lows and marks equal highs and equal lows, the areas where buy-side and sell-side liquidity tend to rest. Pivots must match within a percentage tolerance, sit a minimum number of bars apart and pass an ATR promin

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 weeks ago · MIT GitHub repository of EQH / EQL Liquidity
1 stars

A long-only strategy ported from a bot, intended for five-minute crypto charts. It buys dips when a reversal candle appears, a three-day trend gate is satisfied, and one of three paths holds: Z-score with RSI, Z-score with the lower Bollinger Band, or RSI with

Strategy v6 Mean reversionScalping
Updated 6 weeks ago · None stated GitHub repository of Crypto Mean Reversion
1 stars

An enhanced version of the ATR SuperTrend-style buy and sell indicator. Signals can be gated by a 9 and 21 EMA cross, and two ATR take profit levels are drawn. A smart money layer adds clustered support and resistance zones, break of structure and change of ch

Indicator v6 TrendSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Zimpact Buy/Sell v3 Enhanced

An extended version of a Bollinger Band wick marker that labels candles with wicks beyond the bands on the 15-minute timeframe. It adds RSI overbought and oversold alerts, an RSI divergence check, a repeated-wick warning, shooting star and engulfing candle det

Indicator v6 Volatility & bandsCandlestick patterns
Updated 7 weeks ago · MIT GitHub repository of Bollinger Band Wick Marker with RSI Alerts
1 stars

A signal overlay that merges Andean oscillator with clustered Money Flow Index entries and UT Bot ATR trailing stop entries. Signals can be filtered by a FRAMA trend channel, a choppiness index, an ATR percentage range and, new in this version, an optional Hur

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of MUFCA AtomDC v4.0 Elite

Scale Binding POC

by tc3oliver
1 stars

A diagnostic proof-of-concept that checks which price scale chart drawings attach to. It draws lines on the price chart at one test price using a forced-overlay setting and again without it, and compares them with the marker TradingView adds for a price input.

Indicator v6
Updated 7 weeks ago · MPL-2.0 GitHub repository of Scale Binding POC

BTCUSD Short Only

by Pr-ashant-pawar
1 stars

A Pine v6 indicator that looks for short setups using a 5-period EMA on the price chart. It finds runs of candles that stay entirely above the EMA, waits for a close below the low of that run, then waits for a pullback to that level before marking a short entr

Indicator v6 TrendBreakout
Updated 7 weeks ago · None stated GitHub repository of BTCUSD Short Only

Better RSI

by DEVfancybear
1 stars

Better RSI is a momentum indicator plotted in a separate pane that calculates the relative strength index with enhanced visual horizontal levels and a state-tracking cycler. It highlights overbought and oversold extremes at 70 and 30 and tracks momentum cycles

Indicator v6 Oscillators & momentum
Updated 7 weeks ago · MIT GitHub repository of Better RSI

Bitmoon System

by morindok
1 stars

The Bitmoon System is an overlay indicator that projects geometric price reflections and symmetric channel levels onto the price chart. It calculates mirrored open, high, low, and close values based on user-defined central and secondary price mirror levels, al

Indicator v6 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System
1 stars

This template provides a foundational structure for building momentum oscillators in a separate pane below the price chart. It features configurable lookback periods, overbought and oversold horizontal reference levels, and an optional EMA signal line. Dynamic

Indicator v6 Oscillators & momentumScreeners & dashboards
Updated 8 weeks ago · MPL-2.0 GitHub repository of Indicator Oscillator Template
1 stars

A second version of an index-oriented strategy that uses TRAMA adaptive moving averages with short and long lengths, a hold percentage and a hedge percentage. It can add an RSI slope filter on a chosen timeframe and an optional Turtle-style mode that adds to p

Strategy v6 TrendMoving averages
Updated 2 months ago · MIT GitHub repository of Hedge Fund Manager 2 SIGIL

Calculates and plots customizable sets of moving averages across intraday, daily, weekly, and monthly timeframes directly on the main price chart. Supports SMA, EMA, RMA, VWMA, and WMA calculations with per-line width and color options, moving average clouds,

Indicator v6 Moving averagesTrend Repaints
Updated 2 months ago · MPL-2.0 GitHub repository of Moving Averages For All Timeframes

Delta Pulse

by Robwhitlow3
1 stars

Delta Pulse is a price chart overlay indicator that visualizes orderflow delta in three layers. It approximates delta per bar from lower-timeframe tick data by classifying volume as ask or bid. The gradient map colors bars by z-score of delta using configurabl

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Delta Pulse

Basic Structure

by Alaamo7
1 stars

Basic Structure is an introductory educational script from a Pine Script v6 course. It demonstrates the fundamental syntax of a TradingView indicator by assigning the current bar closing price to a variable and plotting it directly on the main price chart. It

Indicator v6
Updated 2 months ago · Custom licence GitHub repository of Basic Structure

Regime Overlay

by iamsteveng
1 stars

A price-chart overlay that reuses the same six-signal vote engine (moving average cross, RSI, MACD, Bollinger, OBV, Ichimoku) to mark entry signals and warn of drawdown conditions, depending on a Mode setting. A trend driver input chooses which signal leads. M

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Regime Overlay

Custom RSI Indicator

by vedkanani123
1 stars

A plain RSI oscillator drawn in a separate pane. It plots the relative strength index of a chosen source over an adjustable length, defaulting to 14, with horizontal lines at 70, 50 and 30 and background shading when the reading is above 70 or below 30. A buy

Indicator v6 Oscillators & momentum
Updated 2 months ago · None stated GitHub repository of Custom RSI Indicator

A price-chart indicator that measures how a signal performs against fixed target distances. The signal can come from a predefined moving average cross, from two external series crossing, or from an external plotted signal. For each signal it tracks three take

Indicator v6 Screeners & dashboardsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of LuxAlgo Universal Signal Backtester

CH033 ORB+ Strategy

by sandovalchristian033
1 stars

A Pine v6 backtest strategy for the New York opening range on index futures. It marks the 09:30 to 09:45 range, then looks for a break by wick or close, a return inside the range, and a close across session VWAP in the opposite direction before entering. Stop

Strategy v6 Sessions & timeBreakout
Updated 2 months ago · None stated GitHub repository of CH033 ORB+ Strategy

Seconds v1

by nishpa800
1 stars

A high-volume plus displacement detection suite that draws 14 marker lanes, seven families on each side. Lanes combine a highest-volume test over a configurable window with a large body displacement, pocket pullback conditions, relative volume tiers and a Naga

Indicator v6 VolumeSessions & time
Updated 2 months ago · None stated GitHub repository of Seconds v1

Session Boxes

by insomniac-asif
1 stars

Draws shaded boxes on the price chart for intraday futures sessions in New York time: pre-market from 4:00, the New York open from 9:30, lunch from 11:00, afternoon from 13:00 and the close from 15:00 to 16:00. Each box spans the high and low of its window, an

Indicator v6 Sessions & time
Updated 2 months ago · MIT GitHub repository of Session Boxes

MM Pro v2

by monikerprivacy-byte
1 stars

MM Pro v2 is a supply and demand zone indicator for TradingView. It calculates swing highs and lows based on user-selected sensitivity levels and minimum swing percentage. The indicator draws persistent zone boxes on the price chart using ATR for width. It als

Indicator v6 Support & resistanceTrend
Updated 2 months ago · None stated GitHub repository of MM Pro v2

Liquidity & Inducements

by BrandonFreire
1 stars

An indicator for the price chart, built on an imported price action library, that marks liquidity events and inducements. It detects grabs, larger grabs, sweeps and turtle soups, each with its own pivot lengths, lookback, timeframe and colour, plus equal highs

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Liquidity & Inducements

Daddy's Turtle Strategy

by timoanttila
1 stars

Daddy's Turtle Strategy is an indicator that marks long and short entries when a candle closes beyond the highest high or lowest low of a configurable lookback, plus an ATR buffer. Candles must have a minimum body share and must not exceed a maximum ATR size.

Indicator v6 BreakoutTrend
Updated 2 months ago · GPL-3.0 GitHub repository of Daddy's Turtle Strategy
1 stars

This strategy plots the Donchian Channel bands on the price chart to identify breakouts. It enters a long position by placing a buy stop order when price breaks above the upper band during a target execution hour. The order remains open until filled or cancele

Strategy v6 BreakoutVolatility & bands
Updated 2 months ago · None stated GitHub repository of Tn Sovereign Donchian Breakout
1 stars

A chart-overlay indicator that extends a volume profile and Heikin-Ashi MACD setup with a swing-anchored VWAP. It plots the point of control and value area edges from a recent window, tracks a VWAP that re-anchors at swing highs and lows with an adaptive smoot

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v2 VWAP
1 stars

This strategy looks for pullbacks to the 21 EMA while the 21, 50 and 200 EMAs are stacked in trend order, with shorts enabled and longs switched off by default. Entries are screened by ADX, RSI range, volume against its average, candle body size, an ATR floor,

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Adaptive Pullback Momentum v2.5
1 stars

This is a synchronised build of a basket strategy that places a stop entry just beyond the close of a confirmed signal candle, for 10 lots, inside a trading session. Take profit and stop orders are armed together with the entry so same-bar touches execute corr

Strategy v6 ScalpingTrend Repaints
Updated 2 months ago · Custom licence GitHub repository of 5m Weapon One Leg Basket Synced
1 stars

A Pine v6 overlay that builds a volume-style profile over a lookback window and draws it on the price chart as shelves, meaning price bins with concentrated activity. It separates buy and sell shares, marks a point of control line, and uses a reference EMA wit

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Meridian Liquidity Ledger
1 stars

Satoshi Clock is an overlay indicator for Bitcoin that uses two coordinates. The clock is the number of days since the latest halving, and the spring is how far price sits from a power law fitted only on past data. It draws a power-law corridor, shades cycle w

Indicator v6 Support & resistanceMean reversion
Updated 3 months ago · Custom licence GitHub repository of Satoshi Clock - Clock and Spring

PineFlow — ICT FVG Liquidity Model

by loveyuanfandj-glitch
1 stars

PineFlow is an ICT-based multi-timeframe strategy that identifies fair value gaps on 4H context and 15m setup timeframes to signal liquidity-driven entries on the 1m execution chart. It plots FVG zones as support and resistance levels directly on the price cha

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · MIT GitHub repository of PineFlow — ICT FVG Liquidity Model

MTF Confluence Trend

by aretephi
1 stars

MTF Confluence Trend plots trend signals when conditions align across timeframes. It detects Supertrend direction flips on the chart timeframe and confirms them against a higher timeframe Supertrend. Optional filters require an ADX strength threshold and a vol

Indicator v6 TrendVolatility & bands
Updated 3 months ago · None stated GitHub repository of MTF Confluence Trend

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