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.
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
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
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
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
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
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
This strategy trades a 30-minute opening range breakout on Nifty stocks. After the 09:15–09:45 IST range, it enters long or short on a retest of the range high or low when volume exceeds a 20-bar average and optional VWAP and ADX filters agree. It sizes the po
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
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
Mirrors the signal and filter logic of a separate Python trading engine for visual research on the price chart. A selector chooses ATR breakout, moving average crossover, RSI mean reversion or no trade. Filters include confidence thresholds, a minimum reward-t
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
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
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
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-
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
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
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
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
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
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
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
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
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.
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
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
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.
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
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
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
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
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
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
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
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
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
A Pine v4 strategy drawn on the price chart that combines an Ehlers Stochastic CG oscillator, the Williams Alligator with fractals, and divergence detection across several oscillators to produce long and short entries. Its parameters are hard-coded rather than
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
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
A Pine v4 price-chart indicator that combines an Ehlers Stochastic CG oscillator, Bill Williams Alligator lines with regular and ideal fractals, and custom divergence detection. The oscillator gives long and short conditions from level crosses, and the Alligat
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
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
An all-in-one overlay tuned for the 6-hour chart, written in Pine v4. It bundles the Williams Alligator with fractal reversal setups, divergence detection, RSI, an ATR-ADX trend gauge at 8 hours, EMA crosses on 6-hour, 12-hour and daily frames, an Ichimoku clo
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
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
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
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
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
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
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.