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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Indicatorv6SMC / ICT / price actionSessions & time
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
An overlay indicator that fits two kernel regression lines, Rational Quadratic or Gaussian, and builds ATR or standard deviation envelopes around them. It marks first-pullback entries with an optional volume spike check and cooldown, and mean-reversion signals
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
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
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
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
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.