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
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
1 stars

An overlay indicator that draws a heat map to the right of the last bar showing the estimated probability that price touches each of several levels above and below within growing time horizons. Levels are spaced in ATR or percent steps. The estimate uses a clo

Indicator v5 Volatility & bandsSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of ATLAS Probabilistic Reach Map

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

A strategy that scores long and short setups from a three-EMA trend alignment, an RSI position above or below 50 and a volume spike above its 20-bar average. A trade opens when the score reaches a confidence threshold input. Each entry has an ATR-based stop an

Strategy v5 TrendOscillators & momentum
Updated 7 weeks ago · MIT GitHub repository of Lyzer Core Runtime Proxy
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 7 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 8 weeks 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

Gold Dominator Pro

by thanvish21
1 stars

Gold Dominator Pro is an overlay strategy aimed at gold. It reads a higher-timeframe trend from three exponential moving averages and includes RSI, MACD, Stochastic RSI, ADX, ATR, and volume settings. Optional session, equity-curve, and maximum-drawdown guards

Strategy v5 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of Gold Dominator Pro

Alien Wash

by XingHan98
1 stars

Alien Wash is a price-chart indicator that draws the latest green horizontal line at the previous candle high after an up close beyond a USD buffer, and the latest red line at the previous candle low after a down close beyond that buffer. A buy signal fires wh

Indicator v5 Support & resistanceOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Alien Wash

Shiva Sniper v6.5 TV Exporter

by saniroy3311-spec
1 stars

A helper indicator that plots raw indicator values in a separate pane so they can be compared bar by bar with an external Python bot. It outputs a 200 and a 50 period EMA, ATR, RSI, the plus and minus directional indicators, raw ADX and an EMA-smoothed ADX, a

Indicator v5
Updated 2 months ago · None stated GitHub repository of Shiva Sniper v6.5 TV Exporter

GrimmArty Strategy

by GreyssonEnterprises
1 stars

A Pine v5 strategy version of a candle and moving average indicator. It draws four smoothed moving averages (21, 50, 100 and 200), a trend fill against the 200 average, three line strike markers and engulfing-style candle markers, and can shade a time-zone tra

Strategy v5 Moving averagesCandlestick patterns
Updated 2 months ago · MIT GitHub repository of GrimmArty Strategy
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

TTP VIX Spy

by AubakirovArman
1 stars

Pulls the VIX and builds a MACD histogram from it, then uses that with a SuperTrend, a band width test, price and RSI slope checks and an optional working-days filter to print B1, B2, S1 and S2 labels on the price chart. The SuperTrend fill is coloured by the

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · MIT GitHub repository of TTP VIX Spy

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
1 stars

A separate-pane indicator that builds a 0 to 100 score from price momentum, nudged by the prior move of a chosen US index and pulled toward 50 in high-volatility regimes. Background colours mark calm, elevated or panic volatility, found by comparing recent vol

Indicator v5 Volatility & bandsOscillators & momentum
Updated 3 months ago · MIT GitHub repository of SPE Regime & Prob Proxy

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

MACD Crossover Strategy

by jaichaturvedi88
1 stars

This strategy plots on the price chart and trades long when the MACD line crosses above its signal line. It closes the long when the MACD line crosses back below the signal. Position size is the number of shares that a fixed ten thousand Indian rupees can buy

Strategy v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD Crossover Strategy
1 stars

A variant of the Elephant Bars overlay that considers only one-bar retracements. It flags candles whose body is at least a set multiple of the average body, then marks a following bar as a retracement when its body is small relative to the elephant bar and its

Indicator v5 Candlestick patternsMoving averages
Updated 3 months ago · None stated GitHub repository of Elephant Bars Single Retracement

Volume Profile (Free)

by mervinj3546
1 stars

A Pine v6 indicator that draws a horizontal volume-at-price profile to the right of price over a chosen number of recent bars. It marks the point of control and the value area high and low using an adjustable value area percentage, with settings for row count,

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Volume Profile (Free)

SPY Elliott Wave Count

by fededamis
1 stars

This indicator overlays a precomputed Elliott Wave count for SPY on the price chart. It draws primary and alternate impulse and corrective waves as colored lines and price labels, including optional subwaves, projected points, invalidation levels, and Fibonacc

Indicator v6 Support & resistance
Updated 3 months ago · None stated GitHub repository of SPY Elliott Wave Count
1 stars

Plots Ethereum options Max Pain levels sourced from Deribit as horizontal dashed lines on the price chart. Each line extends from the current bar to the settlement timestamp of its corresponding expiration date. Line thickness scales relative to total open int

Indicator v6 Support & resistance
Updated 3 months ago · MIT GitHub repository of ETH Max Pain (Deribit)

Buddha Bollinger Bands

by DarthBuddha
1 stars

A chart-overlay indicator that draws Bollinger-style envelopes from a daily, weekly or monthly anchor timeframe, so the bands stay fixed relative to a higher timeframe while viewing a lower one. It plots two standard deviation zones, a slower one at 2.0 and a

Indicator v6 Volatility & bands
Updated 3 months ago · MIT GitHub repository of Buddha Bollinger Bands

Macro Dashboard

by tthanhvu002sgu
1 stars

A two-part macro valuation display drawn over the price chart, calculated on weekly data. The PnL Matrix compares price with volume-weighted cost bases over one to four years and ranks the average gap as a percentile over a lookback in weeks. The Valuator fits

Indicator v6 Screeners & dashboardsMean reversion
Updated 3 months ago · None stated GitHub repository of Macro Dashboard

Fusion Cipher B Oscillator

by shahzaib-574
1 stars

The Fusion Cipher B Oscillator plots a multi-part momentum stack in a separate pane below the price chart. It calculates wave momentum with blue and white waves, money flow polarity, VWAP oscillator, RSI, Stochastic RSI, dots, and divergences. The script detec

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of Fusion Cipher B Oscillator

Library Template

by maxenko
1 stars

A Pine v6 library template showing how to structure exported code. It defines a Pivot type holding bar index, price and direction, a higher timeframe request helper that reads the previous closed bar, a method that returns a confirmed swing pivot only after th

Library v6
Updated 3 months ago · MIT GitHub repository of Library Template

FVG Hunter Pro

by DANIELMANZRU
1 stars

An indicator that draws bullish and bearish fair value gap boxes and shows a dashboard saying whether conditions are aligned for a long, a short, or to wait. A signal requires a minimum number of confirmations from gap size, impulse, volume, 200 EMA trend, pre

Indicator v5 SMC / ICT / price actionOscillators & momentum
Updated 3 months ago · None stated GitHub repository of FVG Hunter Pro

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