Synced with GitHub · updated yesterday

Free TradingView Pine Scripts

10,850 free, open-source indicators, strategies and libraries for TradingView. Copy any script and paste it into the Pine Editor to use it on your chart.

New scripts by RSS
10,850 scripts

ARPS Pivots

by ali-rajabpour
1 stars

Draws pivot point levels on the price chart in several calculation types: Traditional, Fibonacci, Woodie, Classic, DM and Camarilla. The pivot period can follow the chart automatically or be fixed from daily up to multi-year. Each of the pivot, support and res

Indicator v5 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of ARPS Pivots

ARPS Long Term Strategy

by ali-rajabpour
1 stars

Despite its name, this is an indicator that stacks many studies on the price chart: an Ichimoku-style set of lines and cloud, a Hull moving average with a Tillson T3 line, a configurable moving average with several smoothing methods, WaveTrend signals, ATR-bas

Indicator v5 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of ARPS Long Term Strategy

ARPS Info Table

by ali-rajabpour
1 stars

An overlay that gathers several studies into an on-chart table. It reads 200-period simple and exponential moving averages on 30 minute, 1 hour, 4 hour, 6 hour, 12 hour, daily and weekly timeframes, and calculates ATR-based long and short stop levels. It also

Indicator v5 Moving averagesScreeners & dashboards
Updated 6 months ago · None stated GitHub repository of ARPS Info Table
1 stars

A smart money concepts overlay that marks internal and swing market structure with break of structure and change of character labels, optional internal and swing order blocks, fair value gaps, equal highs and lows, and premium and discount zones. It also plots

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of ARPS ICT Smart Money Assistant

ARPS IchiGann

by ali-rajabpour
1 stars

An Ichimoku-based indicator on the price chart that plots the Tenkan, Kijun and Chikou lines and the Kumo cloud, and adds projected future values for Tenkan, Kijun, Span B and the cloud. It marks valid Tenkan, Kijun and Span B levels, highlights support and re

Indicator v5 TrendSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of ARPS IchiGann

ARPS Scalp Strategy

by ali-rajabpour
1 stars

A Pine v4 study, despite its name not a backtesting strategy, that combines many tools on the price chart. It plots zero-lag 50 and 200 EMAs, an awesome-style oscillator, an RSI and stochastic cross, Parabolic SAR, a trend continuation factor and an optional I

Indicator v4 Candlestick patternsOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS Scalp Strategy
1 stars

Detects a long list of candlestick patterns, such as engulfing, harami, morning star, evening star, hammer, doji and marubozu, and prints a label on the price chart for each match. Every pattern has its own on/off switch. A trend rule based on the 50-bar avera

Indicator v5 Candlestick patterns
Updated 6 months ago · None stated GitHub repository of ARPS All Candlestick Patterns

Algo1.0

by dtheran1
1 stars

A combined overlay with two modules for the price chart. The ATR Trend module draws a trend line from an ATR-based band, with ten choices of smoothing type, an optional fast trend, a smoothed range channel and buy and sell markers when the trend flips. The sec

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 6 months ago · None stated GitHub repository of Algo1.0

MTF Confluence Strategy

by DirtDemon31
1 stars

A multi-timeframe confluence indicator that scores setups from several components: an EMA ribbon with ADX and DMI, MACD, Bollinger Bands, volume against its average, VWAP with pivot points, and Stochastic RSI timing. Daily, 4-hour and 1-hour closes versus an E

Indicator v5 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of MTF Confluence Strategy
1 stars

An overlay indicator that finds liquidity pools from repeated swing touches and signals when price sweeps one. Signals can require a displacement candle sized by ATR, a trend bias from a higher-timeframe moving average, active London, New York or Asia sessions

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Liquidity Model [Prop Firm]
1 stars

A Pine Script v6 indicator that draws bullish and bearish order block zones on the price chart with volume information in each zone. Swing length, maximum ATR multiplier, zone count, zone combining and invalidation method set how zones form and expire. A lower

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Volumized Order Blocks MTF 2026-2
1 stars

Plots a channel-based oscillator in a separate pane, in the style of the WaveTrend family, using a channel length, an average length and a short smoothing length. It adds a percentage line over a chosen interval and circle markers when the oscillator reaches c

Indicator v6 Oscillators & momentum
Updated 6 months ago · None stated GitHub repository of Bull4Life Hunters Indicator

NVPOC Matrix

by h33rnan
1 stars

A Pine v6 indicator that finds naked volume points of control, the price with the most volume in a session that later price has not retested. It builds a volume profile from lower-timeframe candles using a chosen number of price bins, counts only regular tradi

Indicator v6 VolumeSupport & resistance
Updated 6 months ago · AGPL-3.0 GitHub repository of NVPOC Matrix
1 stars

An indicator that treats bar-to-bar price change per second as a velocity and plots it in a separate pane, alongside the summed upward and downward velocity over a window and their difference as a pressure balance line. It also counts consecutive bars moving i

Indicator v5 Oscillators & momentum
Updated 6 months ago · None stated GitHub repository of Velocimetro de Fluxo e Vetores

Range STR v3 IMBA v3

by martyn-ukrainian-trading-plan
1 stars

The SMC Range STR v3 IMBA v3 indicator detects swing ranges on multi-timeframe charts. It plots range boxes, support and resistance lines, and swing dots on the price chart. Users can configure the grace period, retracement percentage, swing timeframe, break m

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Range STR v3 IMBA v3

SMC Features

by yusuke746
1 stars

A price-chart indicator that computes a set of about thirty market features and prints them in a two-column table, one feature name and value per row, so an external tool can read them. Inputs cover 4H EMA lengths, ATR, RSI, MACD, Bollinger Bands, swing lookba

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 6 months ago · None stated GitHub repository of SMC Features
1 stars

The Adaptive Liquidity Matrix indicator calculates and plots a synthetic liquidity matrix on the price chart. It anchors to the highest volume candle on a selected macro timeframe, reads its polarity to set support or resistance levels, and expands the matrix

Indicator v6 Volatility & bandsSupport & resistance
Updated 6 months ago · AGPL-3.0 GitHub repository of Adaptive Liquidity Matrix

Ghost Engine

by h33rnan
1 stars

Ghost Engine is an overlay indicator that tracks the Asian session range, London and New York killzones, and the New York midnight open. It prints a trap tag when price sweeps an Asian high or low and then closes back inside the range. It maps break of structu

Indicator v6 SMC / ICT / price actionSessions & time
Updated 6 months ago · MIT GitHub repository of Ghost Engine

BTC Dip Alerts HQ

by gabriel-chiappa
1 stars

An alert-generation indicator for Bitcoin charts that places no orders. It watches for intraday drops from the reference open at six adjustable percentage thresholds, a daily close drop threshold, and price crossing down through a ladder of eight adjustable pr

Indicator v5 Support & resistance
Updated 6 months ago · None stated GitHub repository of BTC Dip Alerts HQ

SUPER3 Brahmastra

by sukur123
1 stars

A bundle of overlay tools on one price chart: central pivot range levels for today, tomorrow and the week, with R1 to R3 and S1 to S3 lines, previous day high, low and close, and an optional VWAP. It also includes an ATR-based trend line with buy and sell labe

Indicator v5 Support & resistanceTrend Repaints
Updated 6 months ago · None stated GitHub repository of SUPER3 Brahmastra
1 stars

A Pine v6 indicator that finds swing-based liquidity zones on the price chart and classifies them by age, volume and rejection strength as weak, maturing or wall zones. Zones carry an age label, and sweeps of a wick are shown and removed once price crosses bac

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of Liquidity Matrix EVO
1 stars

Surgical Deep Engine PRO is an overlay indicator that marks bullish and bearish order-block boxes from a two-candle displacement pattern, optionally only when volume exceeds the 20-period average by 20 percent. It extends those zones and, according to its docu

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · MIT GitHub repository of Surgical Deep Engine PRO

This indicator calculates Kaufman's Efficiency Ratio normalized by an ATR ratio to create a dynamic volatility-adjusted threshold. It classifies market states into uptrend, downtrend, choppy, or consolidation regimes and colors price chart bars accordingly. It

Indicator v6 TrendVolatility & bands
Updated 6 months ago · None stated GitHub repository of Adaptive Regime Filter + Divergence (AER-VN) [KEYALGOS]
1 stars

This indicator detects reversal candlestick patterns, including hammer, hanging man, doji family, engulfing, morning and evening star, harami, piercing line, dark cloud, shooting star and inverted hammer, and marks them with signal labels on the price chart. P

Indicator v5 Candlestick patterns
Updated 6 months ago · Apache-2.0 GitHub repository of Advanced Candlestick Pattern Indicator
1 stars

A statistics indicator in a separate pane that estimates the autocorrelation of a chosen series using a fast rolling update rather than recomputing the whole window. The series can be log returns, absolute returns or the original source, over a lookback of 100

Indicator v5 Oscillators & momentum
Updated 6 months ago · None stated GitHub repository of Fast Autocorrelation Estimator
1 stars

This indicator visualizes Smart Money Concepts and Inner Circle Trader framework elements directly on the price chart. It detects bullish and bearish Fair Value Gaps with real-time mitigation tracking, marks Optimal Trade Entry retracement zones between 62% an

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MPL-2.0 GitHub repository of ICT Surgical Engine PRO

Structure TA

by trananh211
1 stars

A market structure overlay in the smart money style. It marks swing highs and lows, break of structure and change of character events, optionally with an inducement step, and shows internal structure and volume on major swings. It also draws previous day high

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Structure TA

ICI Confluence MTF

by Devtest-Dan
1 stars

ICI Confluence MTF is an overlay indicator that combines several analysis layers across timeframes into a confluence table. It works with two timeframe sets, H4, H1 and M15 or H1, M15 and M5, and can require an A-B-C Wyckoff style first layer. Swing pivots, a

Indicator v6 Support & resistanceCandlestick patterns
Updated 6 months ago · None stated GitHub repository of ICI Confluence MTF
1 stars

ICT v4-weinkya All-in-One overlays smart money concept structural elements directly on the price chart. It detects Market Structure Shifts (MSS), Breaks of Structure (BOS), Order Blocks, Fair Value Gaps (FVGs), and Buyside or Sellside Liquidity levels. Additio

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of ICT v4-weinkya All-in-One
1 stars

An indicator that looks for smart money technique divergences between the chart symbol and up to two correlated symbols, by default two US equity index futures. It uses a zigzag pivot engine from an imported library to find swings, then draws link lines and la

Indicator v6 SMC / ICT / price actionDivergence Repaints
Updated 6 months ago · None stated GitHub repository of Cracks in Correlation (SMT)

Jigsa God Mode Pro

by jigsabersisa
1 stars

This indicator overlays a 50 and 200 EMA trend filter, RSI confirmation and pivot-based zones on the price chart, and prints buy and sell signals with projected entry, ATR-based stop loss and risk to reward take profit lines. Optional layers include liquidity

Indicator v5 SMC / ICT / price actionTrend
Updated 6 months ago · GPL-3.0 GitHub repository of Jigsa God Mode Pro

ADX Backtest

by AlanGuo
1 stars

A long-only strategy that uses the Average Directional Index to time entries, with a moving average trend filter. It buys when ADX crosses above a threshold, optionally requiring the plus DI to lead, while price is above a 60-period SMA, EMA or RMA, or when pr

Strategy v6 TrendMoving averages
Updated 7 months ago · None stated GitHub repository of ADX Backtest

Advanced Doji Detector

by gabriel-klettur
1 stars

Advanced Doji Detector is an overlay indicator that identifies and categorizes five distinct types of Doji candlestick patterns: Standard, Gravestone, Dragonfly, Long-Legged, and Four-Price Doji. It calculates body size relative to total candle range and evalu

Indicator v6 Candlestick patternsScreeners & dashboards
Updated 7 months ago · None stated GitHub repository of Advanced Doji Detector
1 stars

This indicator overlays horizontal lines on the price chart for the high and low of the previous day, week and month, plus the mid-range of the previous day. It also plots the open price at midnight in the selected timezone (New York by default) or a custom ho

Indicator v6 Support & resistance Repaints
Updated 7 months ago · None stated GitHub repository of JCO Previous DWM + Midnight NY

AI Trading Signals

by ebrahim-sani
1 stars

An overlay indicator that prints buy and sell labels on the price chart using local technical rules: price above or below a fast and slow EMA, RSI between 50 and 70 or 30 and 50, and the MACD histogram sign. It can also draw take profit and stop loss levels ba

Indicator v5 TrendOscillators & momentum
Updated 7 months ago · Custom licence GitHub repository of AI Trading Signals

NQ SSR Indicator

by CathalF
1 stars

The NQ SSR Indicator plots SMC elements on the price chart, including key levels (PDH/PDL/ONH/ONL/VWAP), session zones, sweep markers, BOS lines & arrows, FVG boxes, OB boxes, signal arrows, HTF bias panel, and SSR panel. Toggle inputs control visibility of ea

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of NQ SSR Indicator

Killzones & Levels

by Jony2176
1 stars

Killzones & Levels is an overlay session indicator that highlights the London, New York and Asia sessions with boxes, using time zone names so daylight saving changes are handled automatically. For each session it can draw the high, low and midpoint. It also p

Indicator v5 Sessions & timeSupport & resistance
Updated 7 months ago · None stated GitHub repository of Killzones & Levels
1 stars

This indicator calculates volume anomaly metrics using rolling z-scores of window volume, trend cleanliness from directional price consistency, and relative price impact. It plots these in a separate pane alongside signals: yellow dots for volume building with

Indicator v6 VolumeVolatility & bands
Updated 7 months ago · None stated GitHub repository of Volume Flow Anomaly AnomIQ Preview
1 stars

CSA-15 Crypto Scalping Indicator is a TradingView Pine Script v5 overlay indicator designed for crypto scalping. It calculates multiple confirmations including trend direction from fast and slow EMAs, momentum via RSI, volume surge detection, squeeze and volat

Indicator v5 TrendOscillators & momentum
Updated 7 months ago · None stated GitHub repository of CSA-15 Crypto Scalping Indicator

TRADDY

by mehmetaltugakgul
1 stars

A price-chart indicator that plots KAMA and Bollinger Bands with squeeze shading, and combines more than twenty studies, such as MACD, RSI, stochastic, CCI, ADX and OBV, into one weighted bullish or bearish net score. Score thresholds label readings from stron

Indicator v5 Oscillators & momentumVolatility & bands
Updated 7 months ago · None stated GitHub repository of TRADDY

Novacron Test Dashboard

by TehbynDFRNT
1 stars

A small test overlay that plots a fast and a slow EMA on the price chart, marks bullish and bearish EMA crossovers with triangles, and flags volume spikes with small circles. A table in the top right corner shows the current trend, RSI, ATR, volume compared wi

Indicator v6 Moving averagesScreeners & dashboards
Updated 7 months ago · None stated GitHub repository of Novacron Test Dashboard
1 stars

The aggressive preset of a strategy that routes orders to MetaTrader through connector alert messages. Inputs cover symbol prefix, suffix and mapping, lot size, a magic number, a pip multiplier and a base risk percentage, with higher risk tiers for selected in

Strategy v6 Breakout
Updated 7 months ago · None stated GitHub repository of Energy Block V11 Aggressive

Wirezard Wave Rider

by udhansingh
1 stars

An overlay that combines ADX, RSI, an impulse MACD, VIDYA and volume to draw buy and sell markers, swing pivot labels, divergence markers and Fibonacci levels. A multi-timeframe score uses three higher timeframes, automatic at two, four and eight times the cha

Indicator v6 TrendOscillators & momentum
Updated 7 months ago · MIT GitHub repository of Wirezard Wave Rider

VWAP Professional

by Blendoxius
1 stars

An indicator that plots volume-weighted average price lines anchored to daily, weekly and monthly periods, plus an optional rolling VWAP over a set number of bars. Earlier sessions can be kept as frozen historical lines, with limits on how many are stored, and

Indicator v6 VolumeSupport & resistance
Updated 7 months ago · None stated GitHub repository of VWAP Professional

Blackflag FTS

by ymlee1104
1 stars

Blackflag FTS is an overlay trend-following indicator that calculates dynamic trailing stop levels using an ATR-based volatility filter and Wilder's moving average. It features both modified and standard true range calculations to limit extreme volatility spik

Indicator v6 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Blackflag FTS
1 stars

An indicator for the price chart that classifies the market regime from a daily EMA slope and price position, plus a four-hour ATR percentile rank for volatility. Based on the combination, it shades the chart background to show which of two companion strategie

Indicator v6 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Strategy Rotation (Regime-Based)

Breaker Blocks v6

by nexobanks-prep
1 stars

A Pine v6 rewrite of the breaker blocks indicator using user-defined types and methods. It finds pivot swing highs and lows, detects a break of structure, marks the last opposing candle as an order block, and turns it into a bullish or bearish breaker block wh

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Breaker Blocks v6

About the Pine Script Library

The ForexR Pine Script Library collects open-source TradingView indicators, strategies and libraries that are published on GitHub. Every script links to its repository, so you can see the author's latest version, issues and licence. Where the licence allows it, the full code is on the script's page, ready to copy into TradingView's Pine Editor. Stars, updates and licences are synced from GitHub every day, and new scripts are added every week.

Each script is read automatically before it is listed: it must declare an indicator, strategy or library for Pine Script version 4 or later, and copies of the same code are listed only once. The summaries and tags are written automatically from the code and the README. They describe what a script does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Indicators and backtests describe the past. Check any strategy in the Strategy Tester and on a demo account before you trade with it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

Pine Script Library FAQ

What is Pine Script?

Pine Script is the programming language of TradingView. Indicators, strategies and libraries written in it run directly on TradingView charts: an indicator draws lines, zones or signals, a strategy places simulated trades that the Strategy Tester reports on, and a library holds functions other scripts can import.

How do I add a Pine Script to my TradingView chart?

Open a script here and press Copy script. In TradingView, open the Pine Editor at the bottom of the chart, create a new indicator or strategy, select all of the template text and paste over it. Press Save, then Add to chart. A strategy's trades appear in the Strategy Tester tab.

Are these Pine Scripts free?

Yes. Every script listed here is published on GitHub, so you can read and use it at no cost. ForexR shows the full code only when the author published it under an open licence, such as MIT, GPL or the Mozilla Public License that TradingView adds to new scripts. For other scripts the Copy button reads the file straight from GitHub. Check the licence before reusing code in your own work.

Why are there no Pine Script v3 or older scripts?

Pine Script versions 1 to 3 are years out of date and miss most of the functions current scripts rely on. The library lists scripts written for versions 4, 5 and 6, and you can filter by version. Version 6 is the current one.

What does "Repaints" mean?

A repainting script can change its signals after the fact: on the live bar, or when it reads a higher timeframe before that bar has closed. Its history then looks better than it would have traded in real time. Scripts where the code or the author says so are marked Repaints, and the "Hide repainting" filter leaves them out.

How does ForexR choose which scripts to list?

A crawler searches GitHub every week for Pine Script files, reads each one and keeps scripts written for Pine version 4 or later in repositories with at least one star. Copies of the same code are listed once, under the most-starred repository. Repositories that ship programs, hide downloads behind passwords or show signs of bought stars are left out. Stars, updates and licences are refreshed from GitHub every day, and the summaries are written automatically from each script's code and README.

Trade on TradingView With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers