Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 11)

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

An overlay indicator that scans a configurable lookback window for Bat, Butterfly, Crab and Shark harmonic patterns using Fibonacci ratio checks with an adjustable tolerance. It draws pattern lines, labels, price levels, a projected completion point and a qual

Indicator v6 Support & resistance
Updated 4 months ago · MIT GitHub repository of Harmonic Pattern Recognition

Trade Signal Indicator

by ashishgkwd
1 stars

Trade Signal Indicator is an overlay script that combines three tools: an EMA crossover (13 and 48 by default), an adaptive trend finder channel and a Nadaraya-Watson envelope. Each can be enabled separately, and colours, deviation multiplier, bandwidth and so

Indicator v6 TrendMoving averages Repaints
Updated 4 months ago · None stated GitHub repository of Trade Signal Indicator

po3_Cx

by PraiseSinkamba
1 stars

A price-chart indicator for a sweep, change in state of delivery and expansion model. It marks a liquidity sweep of a swing pivot, then a displacement candle that confirms the change within a set number of bars, and draws entry, stop and target lines with a ta

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of po3_Cx
1 stars

A fractional differencing Z-score oscillator in a separate pane for one-minute Nasdaq futures that adds a regime gate based on a three-vote model of directional efficiency, range expansion and VWAP slope, allowing entries only in a mean-reversion state. Furthe

Indicator v6 Mean reversionOscillators & momentum
Updated 4 months ago · None stated GitHub repository of FracDiff Z NQ 1m + HMM Policy A
1 stars

ADX Trend Filter Pro is a separate-pane indicator built on the directional movement system. It plots ADX with DI plus and DI minus, classifies trend strength as weak, moderate, strong or very strong from adjustable thresholds, and overlays a fast and slow EMA

Indicator v6 TrendOscillators & momentum
Updated 4 months ago · MPL-2.0 GitHub repository of ADX Trend Filter Pro

OOTM Strategy

by FRX132
1 stars

This strategy tracks the Asia, London and New York session highs and lows and draws them on the price chart. In Sweeps mode it looks for a wick beyond a finished session level that closes back inside; Breakouts mode looks for a close beyond it. Optional EMA 20

Strategy v6 Sessions & timeBreakout
Updated 4 months ago · None stated GitHub repository of OOTM Strategy

ADX and DI

by rubbermetal
1 stars

A separate-pane indicator that calculates the Average Directional Index and the plus and minus directional indicators with Wilder-style smoothing over an adjustable length. It plots ADX with grid lines at weak, strong and extreme levels, optional DI+ and DI- l

Indicator v6 TrendOscillators & momentum
Updated 4 months ago · MPL-2.0 GitHub repository of ADX and DI

UT Bot v6

by Stolzel
1 stars

This indicator calculates and plots trend-following signals based on an adaptive UT Bot trailing stop mechanism on the price chart. Entry signals trigger on trailing stop crossovers, with sensitivity keys adjusting dynamically between trending and ranging mark

Indicator v6 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of UT Bot v6
1 stars

A manual annotation indicator for the price chart. The user types in an entry, stop and target price, a direction, a status and a confidence number, and the script draws those three levels as lines with labels and shows a small summary table in the corner. It

Indicator v6 Support & resistanceScreeners & dashboards
Updated 4 months ago · None stated GitHub repository of Setup Receipt Template
1 stars

Array Advanced Helpers is a Pine Script v6 strategy that plots on the price chart. It builds arrays from close, open, high and hl2 to compute the lowest and highest values along with the last index of the highest. Two EMAs with periods 8 and 21 generate crosso

Strategy v6 TrendMoving averages
Updated 4 months ago · MIT GitHub repository of Array Advanced Helpers
1 stars

Plots volume as coloured columns in a separate pane with a 20-bar volume average and threshold lines for high volume and climax volume. Bars are shaded by direction and by how large volume is relative to the average. Optional volume spread analysis labels mark

Indicator v6 Volume
Updated 4 months ago · None stated GitHub repository of Volume Distribution Analyzer

Nexus Flow

by darkwader26
1 stars

Nexus Flow is a multi-dimensional trend and momentum indicator that combines EMA and ALMA trend detection with Supertrend consensus for adaptive trend filtering. It incorporates an adaptive RSI for momentum analysis with volatility-adjusted lookback and plots

Indicator v6 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Nexus Flow

DST HMM v9 Mobile

by Javas128282
1 stars

DST HMM v9 Mobile is a variant of a gold-focused hidden Markov model regime indicator, adjusted for mobile screens. It classifies the market into Sideways, Bull and Bear states using Baum-Welch retraining on a rolling window, draws a Kalman filter line with co

Indicator v6 AI / machine learningTrend
Updated 5 months ago · None stated GitHub repository of DST HMM v9 Mobile

Bond Market Dashboard

by iyoshikawa
1 stars

A table-style dashboard that reads Treasury yields and futures through request.security on a chosen data timeframe, five minutes by default. Six rows show the 10-year yield and its rate of change, the 2-year yield, the yield curve spread and slope, bond future

Indicator v6 Screeners & dashboards
Updated 5 months ago · None stated GitHub repository of Bond Market Dashboard

Adaptive Supertrend Pro

by shubhamtaywade82
1 stars

Plots an adaptive Supertrend on the price chart whose multiplier moves between a minimum and maximum with volatility regime, using ATR, ADX and volume percentile settings. Signals are filtered by a higher-timeframe EMA and ATR check, liquidity sweeps, pullback

Indicator v6 TrendVolatility & bands Archived
Updated 5 months ago · None stated GitHub repository of Adaptive Supertrend Pro
1 stars

A futures strategy that looks for price touching pivot levels or dynamic touch zones during the regular session and enters on a rejection wick. A stack of optional filters must agree: VWAP, EMA, momentum, volume, a higher timeframe trend, a trend cloud, a VIX

Strategy v6 Support & resistanceSessions & time
Updated 5 months ago · None stated GitHub repository of Pivot Master Bot v4 Strict Zones

BOS & CHoCH [AFTHAB]

by kvmafthab-pixel
1 stars

This overlay indicator detects market structure on the price chart with two layers at once: internal structure on a five-bar leg and swing structure with a configurable length. It labels break of structure and change of character. After a break of structure, a

Indicator v6 SMC / ICT / price action
Updated 5 months ago · Custom licence GitHub repository of BOS & CHoCH [AFTHAB]

AMT ICT SMC v1

by latifangren
1 stars

This indicator plots premium and discount zones, equilibrium lines, fair value gaps (FVG) with center of equilibrium (CE) midpoints, inverted FVGs (IFVG), scored order blocks (OB), and CISD markers on the cryptocurrency price chart. It includes a compact dashb

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · MIT GitHub repository of AMT ICT SMC v1

BTC 1min CCI Reversal

by PETERSAMUELOPS12
1 stars

A one-minute Bitcoin strategy built on a short five-period CCI of the typical price. A cross above the upper level opens or flips to a long, and a cross below the lower level opens or flips to a short, with each direction switchable. It holds a single position

Strategy v6 Oscillators & momentumScalping
Updated 5 months ago · None stated GitHub repository of BTC 1min CCI Reversal

Sentiment 2

by ggamer5555
1 stars

Sentiment 2 is a trend-following strategy that calculates a normalized composite market sentiment score ranging between 0 and 1. It combines exponential and Hull moving average slopes, high/low midpoints, Supertrend distances, and Parabolic SAR metrics. Plotte

Strategy v6 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Sentiment 2

Gold indicator

by H4RsH-25
1 stars

The Gold indicator plots the 20 SMA and 200 EMA on the price chart together with $2 proximity zones around the SMA. It generates strong long signals when price enters the zone from below, stays above the SMA and MACD histogram is positive. Strong short signals

Indicator v6 TrendOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Gold indicator
1 stars

This indicator is tuned for 30-minute micro gold futures. It computes a Keltner-style band around a Hull-type moving average and draws a coloured cloud on the price chart. A separate pane shows a smoothed mountain-style oscillator and candles, while a four-lin

Indicator v6 Volatility & bandsMoving averages
Updated 5 months ago · None stated GitHub repository of MMP v.17 Futures 30Min MGC

BVortex

by Alberto082544
1 stars

BVortex calculates a scaled Vortex Indicator presented as a histogram in a separate pane. It evaluates positive and negative directional movements over a specified lookback period relative to True Range. The histogram changes color to highlight extreme momentu

Indicator v6 Oscillators & momentumTrend
Updated 5 months ago · None stated GitHub repository of BVortex
1 stars

Plots two VIDYA adaptive moving averages, a short one of 9 bars and a long one of 21 bars by default, on the price chart. A buy label appears when the short line crosses above the long one while the positive directional index is above a threshold, and a sell l

Indicator v6 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of VIDYA Crossover with ADX Filter

MVRV Regime Monitor

by lonelyobserver0
1 stars

MVRV Regime Monitor is a separate-pane indicator for Bitcoin. It reads the free daily MVRV series from the IntoTheBlock feed on TradingView and compares it with four adjustable thresholds for entry, neutral, exit and euphoria zones. The background can be colou

Indicator v6 Support & resistance
Updated 5 months ago · Custom licence GitHub repository of MVRV Regime Monitor

BAKOME ICT Institutional

by BAKOME-Hub
1 stars

BAKOME ICT Institutional is an overlay indicator that implements Inner Circle Trader concepts directly on the price chart. It calculates 50 and 200 EMAs for trend direction, identifies market structure breaks and changes of character using pivot points, and de

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · MIT GitHub repository of BAKOME ICT Institutional

BAKOME HUNTER MT5

by BAKOME-Hub
1 stars

BAKOME HUNTER MT5 is an overlay indicator that prints buy and sell labels from a linear regression moving average, a Heikin Ashi trend and an ATR volatility check. Optional RSI, ADX and volume filters can be switched on or off. Each signal can show a stop loss

Indicator v6 TrendVolatility & bands
Updated 5 months ago · MIT GitHub repository of BAKOME HUNTER MT5

Hybrid Strategy Trend ORB MTF

by eliasvictor-trading
1 stars

An indicator for intraday futures that builds an opening range for each session and marks breakout signals once price clears it by a tick buffer, with gap filtering and one signal per direction per range. A trend filter uses two moving averages and a higher ti

Indicator v6 BreakoutSessions & time
Updated 5 months ago · MPL-2.0 GitHub repository of Hybrid Strategy Trend ORB MTF

Easy RSI

by Hubrtcode
1 stars

A simplified RSI in a separate pane that draws the RSI line with a thickness and colour that grow as the reading moves away from 50. It overlays a grey line showing price position inside its 100-bar range, normalised to the same scale, so price and momentum ca

Indicator v6 Oscillators & momentum
Updated 5 months ago · MIT GitHub repository of Easy RSI
1 stars

This strategy overlays a seven-step smart-money process on the price chart. It compares a higher-timeframe close with an EMA to shade bullish or bearish trend, then marks equal highs and lows, order blocks, fair value gaps, and changes of character. Inputs set

Strategy v6 SMC / ICT / price actionTrend
Updated 5 months ago · None stated GitHub repository of Kasper — 7 Étapes de Trading
1 stars

A long and short strategy that ports smart money concept logic into Pine: fair value gaps, order blocks, and break of structure and change of character from swing pivots. It combines a 4-hour trend timeframe, a 1-hour signal timeframe and a 15-minute confirmat

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of SMC OB+FVG+BOS/CHOCH

TRINITY 2.0

by sam56100
1 stars

A smart money concepts overlay that marks market structure shifts and breaks of structure, order blocks, volume imbalances, buyside and sellside liquidity zones and fair value gaps, with an optional balance price range view. A mode setting switches between sho

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of TRINITY 2.0
1 stars

A machine-learning style indicator that classifies each bar using a decision matrix built from two chosen independent variables, such as Stochastic, RSI, Z-Score, MFI, volume or a moving-average distance. The target to predict can be red or green candle, bulli

Indicator v6 AI / machine learningOscillators & momentum
Updated 6 months ago · MIT GitHub repository of Simple Decision Matrix Classification

Chintan Cheatcode

by onlyspx
1 stars

This indicator overlays a stack of reference lines on the price chart for index trading: session VWAP, optional two-day, weekly and monthly VWAP, an hourly 20-period average, daily 5, 20, 50 and 200 averages and a daily halfback midpoint. It can also show ATR-

Indicator v6 Moving averagesSupport & resistance
Updated 6 months ago · None stated GitHub repository of Chintan Cheatcode

IRL ERL Liquidity Map

by sanjeev1968
1 stars

IRL ERL Liquidity Map is an overlay indicator that maps internal and external range liquidity using ICT-style concepts. It tracks up to six timeframes from 15 minutes to monthly, each with an automatic or manual bias, and draws fair value gap and breakaway gap

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · GPL-3.0 GitHub repository of IRL ERL Liquidity Map
1 stars

Visual companion that labels market structure on the price chart from fractal pivots: swing labels, break of structure, change of character and market structure shift, using a sweep lookback. It marks CISD displacement candles whose body exceeds a multiple of

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · Custom licence GitHub repository of NeuroTrader Structure Companion

Luo Sheng Indicator

by Chovy-King
1 stars

An overlay that detects up to eleven price-action entry setups, each with its own switch: trend breakout, trend pullback, false breakout of a key level, range edge, breakout retest, double top or bottom, and others. It builds key levels by clustering swing poi

Indicator v6 Support & resistanceTrend
Updated 6 months ago · None stated GitHub repository of Luo Sheng Indicator

Melgo Sequence Classifier

by jeffreymelgo
1 stars

Melgo Sequence Classifier ranks the HL2, HLC3 and OHLC4 values of each completed higher-timeframe candle to assign one of six structural states: bull trend, bear trend, bull rejection, bear indecision, distribution or accumulation. It reads four timeframes, de

Indicator v6 Screeners & dashboardsTrend
Updated 6 months ago · Custom licence GitHub repository of Melgo Sequence Classifier

Combined Trend Indicator

by modiritrade
1 stars

A Pine v6 indicator that classes the chart as long, short or neutral by adding up four votes. Supertrend direction, MACD line against its signal line, price against a 50-period EMA, and a hand-built ADX with directional indicators each add or subtract one, wit

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of Combined Trend Indicator

AlgoBot CL Crude Oil Strategy

by ghostnathan30-ops
1 stars

A first-hour breakout strategy for crude oil futures that captures the 9:30 to 10:30 New York range, then looks for a break between 10:30 and 13:00 in the direction of a 50-period EMA bias. It skips the Wednesday inventory report window and calculates ATR-base

Strategy v6 BreakoutSessions & time
Updated 6 months ago · None stated GitHub repository of AlgoBot CL Crude Oil Strategy

SMC + VWAP Edge Strategy

by StockPro-AI
1 stars

This strategy combines Smart Money Concepts with Order Blocks and Fair Value Gaps alongside multiple VWAP levels including session, weekly, monthly, and anchored variants. It detects confluence zones to generate long and short entry signals on the price chart.

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of SMC + VWAP Edge Strategy
1 stars

This Pine Script indicator computes a Confluence Score from 0 to 100 by aggregating seven breakout identification strategies based on VCP trend template, TTM squeeze, volume analysis, relative strength, MA setup, RSI momentum and price near resistance. It plot

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of Breakout Confluence Scanner

This indicator scores seven approaches on every bar: RSI, volume, VWAP, EMA trend, MACD, Bollinger Bands and a volume-delta module. Each score is weighted by a rolling record of that approach's recent agreement with price, and the weighted total must pass an a

Indicator v6 AI / machine learningOscillators & momentum
Updated 6 months ago · None stated GitHub repository of SignalForge v5 Volume Intelligence
1 stars

This strategy trades BIST30 futures on the price chart using a fast 9-period and slow 21-period EMA crossover signal. It generates buy signals only during Turkish market session hours of 09:30-18:15 UTC+3 and closes all positions automatically at session end.

Strategy v6 TrendOscillators & momentum
Updated 6 months ago · MIT GitHub repository of VİOP Session Strategy

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