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

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

MACD DEMA Pro

by ebarkinkaras-lang
1 stars

A separate-pane oscillator that builds a MACD from double exponential moving averages to reduce lag, with a signal line and a colored histogram that changes shade as momentum rises or falls. It can mark regular divergences using pivot lookback and offers an op

Indicator v5 Oscillators & momentumDivergence
Updated 5 months ago · None stated GitHub repository of MACD DEMA Pro
1 stars

An overlay indicator that combines smart money concepts with order blocks and moving averages. It draws swing and internal market structure with sweep and bubble options, volumetric order blocks that show recent buy and sell activity, optional breaker blocks a

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Combined Indicators: SMC + OBD + 7MA
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

OMEGA ULTIMATE

by princeleuel-code
1 stars

An all-in-one smart money overlay that marks swing points, break of structure and change of character, order blocks, fair value gaps, liquidity levels and sweeps, a 50 percent equilibrium line, power-of-three session phases and SMT divergence. It adds a dashbo

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of OMEGA ULTIMATE
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

BWC Mean Reversion v5

by tonimaxx
1 stars

A long-only strategy for stocks that buys when a very short RSI is below a threshold, the close is under the lower Bollinger Band, price is above a 200-period SMA, the opening gap down is small and average dollar volume clears a floor. It closes the position w

Strategy v5 Mean reversion
Updated 5 months ago · Custom licence GitHub repository of BWC Mean Reversion v5
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

News Dash

by SarpSoysal
1 stars

News Dash is an overlay indicator that flags bars where both volume and bar range are unusually large. A bar is marked when its volume exceeds the recent average by one multiplier and its high-low range exceeds the ATR by another, with a lookback period settin

Indicator v5 Volatility & bandsVolume
Updated 6 months ago · MIT GitHub repository of News Dash

SmartFlow Market Indicator

by Nadarisgetae
1 stars

This indicator gives buy and sell labels on the price chart by combining a triple moving average trend filter (EMA 21, EMA 50 and SMA 200), an RSI zone check, a volume spike on a candle of the same direction, and an optional pivot breakout. It also marks pivot

Indicator v5 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of SmartFlow Market Indicator

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

APEX Scalper v3

by Sandesh30-cloud
1 stars

A Pine v5 strategy that scores trade setups from several indicators before entering. Inputs cover an 8, 21 and 50 EMA ribbon, a higher-timeframe EMA trend check using previous-bar values, RSI, MACD, Stochastic RSI, ADX, a volume spike test and optional London

Strategy v5 ScalpingTrend
Updated 6 months ago · None stated GitHub repository of APEX Scalper v3
1 stars

This indicator detects bullish and bearish Fair Value Gaps (FVGs) using three-bar price imbalance logic directly on the main price chart. When an imbalance occurs, it highlights the price gap with semi-transparent boxes and plots triangular shape markers above

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of FVG Scanner - Institutional Bridge

Strategy Template

by rubenterlouw
1 stars

A blank strategy template where the author's own entry conditions are meant to be added, with risk controls already coded. These include streak loss control that pauses trading for a timeframe after consecutive losses, a maximum drawdown halt, long and short s

Strategy v6
Updated 6 months ago · None stated GitHub repository of Strategy Template

ARPS ZEMA Cross

by ali-rajabpour
1 stars

An overlay indicator written in Pine v4 that plots two zero-lag EMAs, a fast 50-period and a slow 200-period line, and labels long and short entries where they cross. Both averages are calculated from a fixed ten-minute BTCUSDT series rather than the chart sym

Indicator v4 Moving averagesTrend
Updated 6 months ago · None stated GitHub repository of ARPS ZEMA Cross

ARPS OB Scalp

by ali-rajabpour
1 stars

Overlay indicator that plots 200-period simple and exponential moving averages from the 30 minute, 1 hour and 4 hour timeframes on the price chart, using request.security. It also offers a Williams Fractal reversal display, toggled by a single setting. Intende

Indicator v5 Moving averagesScalping
Updated 6 months ago · None stated GitHub repository of ARPS OB Scalp

ARPS FastScalping Indicator

by ali-rajabpour
1 stars

A chart-overlay indicator written in Pine v4 for one-minute crypto charts. It plots a zero-lag EMA built from two 100-period EMAs, and two Tillson T3 moving averages, one with a Fibonacci volume factor, coloured by slope. A label on the last bar shows a limit

Indicator v4 Moving averagesScalping
Updated 6 months ago · None stated GitHub repository of ARPS FastScalping Indicator

ARPS Convergent Pro V5

by ali-rajabpour
1 stars

Combines several oscillators in one separate pane: a WaveTrend style indicator, Elliott Wave Oscillator, RSI, Stochastic RSI, RSI divergence markers and an optional squeeze momentum display. Each component has its own show switch, so the pane can be reduced to

Indicator v5 Oscillators & momentumDivergence
Updated 6 months ago · None stated GitHub repository of ARPS Convergent Pro V5
1 stars

A price-chart overlay built around a customised Ichimoku setup with Tenkan, Kijun, a coloured cloud, Chikou span, quality and direction lines, and Tenkan/Kijun cross markers. It adds an optional zero-lag EMA from a chosen timeframe, a T3 moving average system

Indicator v4 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of ARPS Zenith Ichimoku Framework
1 stars

A Pine v4 separate-pane indicator that bundles several oscillators in one script: a WaveTrend line with crossover dots, an Elliott Wave Oscillator histogram, a money flow area, RSI with optional divergence, and optional stochastic momentum index, MACD, Ehlers

Indicator v4 Oscillators & momentumDivergence
Updated 6 months ago · None stated GitHub repository of ARPS OmniFusion Technical Suite

TR 10 [Vaibhav]

by DeveloperVaibhav1
1 stars

TR 10 [Vaibhav] is an overlay indicator that plots buy and sell signals on the price chart. It calculates signals using multiple EMA periods for trend direction, RSI for momentum, and a confluence score combining these factors. Signals are generated when condi

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of TR 10 [Vaibhav]

BOS & CHoCH Strategy

by cavaldos
1 stars

A strategy that detects break of structure and change of character events from swing and internal pivots, based on LuxAlgo-style smart money logic, and draws them on the price chart. The trade-on setting chooses whether swing or internal structure drives trade

Strategy v5 SMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of BOS & CHoCH Strategy
1 stars

A large all-in-one overlay built for the 30-minute chart that bundles many tools in one script. It includes the Williams Alligator and fractal reversal setups, divergence detection, RSI, an ATR-ADX trend gauge, EMA crosses on 30-minute, 4-hour and daily frames

Indicator v5 TrendOscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of ARPS Ultimate Trading Solution (A)
1 stars

A Pine v4 indicator in a separate pane that combines many signal modules into one counter-style display for intraday charts. Modules include an adaptive ATR and ADX trend stop on a 4 hour interval, zero-lag EMA crosses on 30 minute, 4 hour and daily frames, Ic

Indicator v4 Oscillators & momentumTrend
Updated 6 months ago · None stated GitHub repository of ARPS Ultimate Signal Framework

ARPS Super Ichimoku

by ali-rajabpour
1 stars

An Ichimoku overlay that offers either the classic 9, 26, 52 settings or a longer set aimed at around-the-clock markets, with an optional denoiser. It plots Tenkan, Kijun, the cloud and Span B, projects future Tenkan, Kijun and Span B values, and marks valid m

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

ARPS Stoploss

by ali-rajabpour
1 stars

An indicator that calculates two suggested stop levels from a 7-period ATR: the current bar low minus the ATR for long trades, and the current bar high plus the ATR for short trades. The values appear in a small table in the bottom right of the price chart, gr

Indicator v5 Volatility & bands
Updated 6 months ago · None stated GitHub repository of ARPS Stoploss

ARPS Scalp Short Indicator

by ali-rajabpour
1 stars

A multi-signal overlay aimed at spotting short-side setups. It combines candlestick patterns such as dojis, shooting stars, harami and engulfing shapes with an RSI and weighted moving average cross, a stochastic, the Awesome Oscillator and optional single or d

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

ARPS Ultra Scalper

by ali-rajabpour
1 stars

A price-chart overlay that combines several signal sources into buy and sell markers: an RSI against its weighted moving average, a smoothed stochastic, WMA 50 and 200 crosses, candlestick patterns, an adjustable Ichimoku cloud and Parabolic SAR. Candle patter

Indicator v4 Candlestick patternsOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS Ultra Scalper

ARPS Scalp Suite

by ali-rajabpour
1 stars

A Pine v4 study that bundles many tools on the price chart: short and long SMAs, zero-lag 50 and 200 EMAs, an awesome oscillator, RSI and stochastic crosses, Parabolic SAR, a trend continuation factor and an optional Ichimoku cloud. It also reads a 200 EMA of

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

An indicator, despite the strategy name, that combines a 7-bar and 50-bar simple moving average cross with a crossover between a 102-bar RSI and its 204-bar average. Long and short labels grade signals by whether the MA and RSI crosses happen on the same bar o

Indicator v4 Moving averagesOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS RSI-MA Scalping Strategy

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