Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 83)

Open-source Pine Script indicators that draw on your TradingView chart or in their own pane. Copy one and paste it into the Pine Editor.

Pine scripts7,612
Code shown here3,783open licence
Updated in a year5,239
No repaint flag6,673

Indicators: All

Currency Strength Chart

by itmakesyousick
3 stars

This indicator calculates and plots the relative strength of major forex currencies and optional commodities in a separate pane. It fetches price data across configurable broker feeds to calculate relative performance over a selected resolution or lookback per

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart

ROC = Rate of Change

by piecioshka
2 stars

This indicator calculates the rate of change of a chosen source over a set number of bars and plots it as columns in a separate pane, colored green above zero and red below. A horizontal zero line marks the sign change. Optional markers appear on the price cha

Indicator v6 Oscillators & momentum
Updated 13 days ago · MIT GitHub repository of ROC = Rate of Change

TTM Squeeze Pro

by TamTH-Dev
2 stars

This indicator identifies volatility compression and momentum direction in a separate pane. It calculates Bollinger Bands against three tiers of Keltner Channels to detect low, medium, and high squeeze states, displaying them as color-coded dots along the zero

Indicator v6 Volatility & bandsOscillators & momentum
Updated 6 weeks ago · None stated GitHub repository of TTM Squeeze Pro

This indicator displays company fundamentals in a separate pane. It plots one selected series, such as EPS, revenue, margins, cash flow, assets, equity, or ratios, across a chosen number of fiscal quarters or years. Four optional tables cover profitability and

Indicator v6 Screeners & dashboards Repaints
Updated 8 months ago · None stated GitHub repository of Financial Statement Indicator PRO by zdmre

Chaikin A/D Oscillator (ADOSC)

by mushroom-men-Trading
2 stars

This indicator calculates the Chaikin Accumulation/Distribution Oscillator in a separate pane. It builds a cumulative accumulation/distribution line from the money-flow multiplier of high, low, close and volume, then subtracts a long exponential moving average

Indicator v6 Oscillators & momentumVolume
Updated 9 months ago · None stated GitHub repository of Chaikin A/D Oscillator (ADOSC)

Radius Trend [ChartPrime]

by wynnforthework
2 stars

This indicator tracks directional market movement directly on the price chart using adaptive curved bands. It measures volatility via a smoothed high-low bar range, setting an initial boundary when trend flips occur. As the trend persists across bars, the scri

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Radius Trend [ChartPrime]

My Super Fancy Script

by Web3Degenerate
2 stars

My Super Fancy Script is an introductory Pine Script indicator that plots the daily closing price on the main price chart alongside a visual text label on the most recent bar. Designed as a basic tutorial example, it demonstrates how to configure indicator ove

Indicator v5
Updated 2 years ago · None stated GitHub repository of My Super Fancy Script

HTF Candles & Pivots

by itmakesyousick
2 stars

This indicator overlays higher-timeframe candles and traditional pivot levels on the price chart. It draws open-close or high-low ranges with optional wicks, thickness, filled negative candles, and bar coloring. History can show only new candles, all candles,

Indicator v5 Support & resistanceCandlestick patterns
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

This indicator builds a volume profile over a chosen number of recent bars and draws it on the price chart. It splits each bar's range into price bins, assigns a share of volume to the bins the bar overlaps, and separates that volume into buy and sell using th

Indicator v4 VolumeSupport & resistance
Updated 3 years ago · None stated GitHub repository of Fr3d0's Volume Profile Visible Range
1 stars

A table overlay on the price chart, short title Fundamentals, that shows company financial data pulled with TradingView's financial data requests. It lists diluted earnings per share, total revenue and operating margin for recent quarters or years, with quarte

Indicator v5 Screeners & dashboards
Updated 4 days ago · None stated GitHub repository of Earnings & Fundamentals Dashboard

Martingale Lab

by jayadevrana
1 stars

Martingale Lab is an educational indicator that tests position sizing models, including flat stake, martingale, and anti-martingale, on simulated trade results from an EMA crossover strategy. It logs trade returns in R-multiples using ATR-based stop losses and

Indicator v6 Moving averagesScreeners & dashboards
Updated 5 days ago · MPL-2.0 GitHub repository of Martingale Lab

SMC HTF Confluence

by skipp-dev
1 stars

SMC HTF Confluence calculates multi-timeframe market structure and setup scores using confirmed higher-timeframe data. It evaluates exponential moving averages for trend alignment, RSI for divergences, ATR for volatility regimes, and Bollinger Band Squeezes re

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 5 days ago · None stated GitHub repository of SMC HTF Confluence

P Syn Time Functions

by GammaExpansion
1 stars

This indicator plots the sum of several time variables using Pine Script v6. It defines multiple timestamp values with different formats and timezones, then applies functions including dayofweek, hour, minute, second, year, month, dayofmonth, weekofyear, timef

Indicator v6
Updated 8 days ago · MIT GitHub repository of P Syn Time Functions

DEPV2 C2 · SIRALAMA

by YuceSezar89
1 stars

This indicator ranks five user-selected symbols in a separate pane. On a chosen signal timeframe it computes a 12-bar log return, an ATR percentage, a directional state, and a score equal to direction times return divided by ATR. An RSI reading above 40 gates

Indicator v6 Oscillators & momentumVolatility & bands
Updated 2 weeks ago · None stated GitHub repository of DEPV2 C2 · SIRALAMA

An overlay indicator that records the high and low of a configurable opening range, starting at a set market open hour and minute, and projects the average, sub-levels and second and third support and resistance lines from it. It also plots 9 and 21 EMAs with

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of OR Levels + EMA Cross Integrated

Nexus Fusion Engine ML

by vedkanani123
1 stars

An oscillator in a separate pane, adapted from an earlier oscillator under an open license. It smooths price with a selectable method such as DEMA, adds a signal line and marks crosses with dots. Overbought and oversold zones default to 80 and 20. Optional lay

Indicator v6 Oscillators & momentumDivergence
Updated 2 months ago · None stated GitHub repository of Nexus Fusion Engine ML

MES + XSP Busby Pivot

by majohnst
1 stars

This indicator draws Busby-style pivot levels on the price chart for XSP, using a selectable MES or ES futures symbol. It stores New York premarket highs, lows, and closes on the chart and on a 15-minute MES series, then builds an opening-range box after the r

Indicator v5 Support & resistanceSessions & time
Updated 4 months ago · None stated GitHub repository of MES + XSP Busby Pivot

EMA-Flat

by riegodavid-git
1 stars

A separate-pane indicator that measures how flat an exponential moving average is. It takes the absolute one-bar change of the EMA and divides it by the ATR, then plots that ratio as a histogram. Bars are teal when the ratio is below a flat threshold and orang

Indicator v5 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of EMA-Flat

RS vs KLCI 63d

by kevinesk
1 stars

RS vs KLCI 63d measures the relative strength of a stock compared to a benchmark index over a customizable lookback period, defaulting to 63 trading days against the FTSE Malaysia KLCI. It calculates the difference between the stock's percentage return and the

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 4 months ago · None stated GitHub repository of RS vs KLCI 63d

Quad Rotation 9 3

by rubbermetal
1 stars

Quad Rotation 9 3 is the fast pane of a four-stochastic setup with periods 9, 14, 40 and 60. It plots the 9/3 stochastic K and D lines in a separate pane with oversold and overbought zones, K/D cross triangles inside extreme zones, and a convergence band weigh

Indicator v6 Oscillators & momentumDivergence
Updated 4 months ago · MPL-2.0 GitHub repository of Quad Rotation 9 3

SMC Confluence Engine v4

by shubhamtaywade82
1 stars

Scores smart money confluence across a four-layer timeframe stack on the price chart. A 4-hour EMA bias and premium or discount zone set direction, 1-hour structure confirms it, 15-minute order blocks and liquidity sweeps define the entry zone, and a chart-tim

Indicator v6 SMC / ICT / price actionSupport & resistance Archived
Updated 5 months ago · None stated GitHub repository of SMC Confluence Engine v4
1 stars

This compact indicator labels Elliott Wave counts on the price chart. It runs a zig-zag at several depths, chooses the depth that gives the best fit, and applies Elliott Wave rules, with a strict mode that forces an A-B-C count when the rules break. A correcti

Indicator v6 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Mini Elliott Wave 2026-4
1 stars

This indicator combines Volume Weighted Bands, a Keltner Hull Suite, High Volume Nodes, and Supply and Demand Zones directly on the main price chart. It calculates a smoothed volume-weighted trend line surrounded by ATR-based bands to define market bias and hi

Indicator v6 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Keltner Hull Suite Integrated

MegaBarAlgo

by Tradehook-org
1 stars

A Pine v5 script that detects unusually large candles on the price chart. A mega bar is one whose high-to-low range exceeds a multiple of its recent average range, optionally with volume above a multiple of average volume. Bullish bars get a green triangle and

Indicator v5 Volatility & bandsBreakout
Updated 8 months ago · None stated GitHub repository of MegaBarAlgo

SPX Gamma (DTE:30)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for SPX (the S&P 500 index) expiring in thirty days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-03, produced offline fro

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of SPX Gamma (DTE:30)

RB Rejection Blocks

by Ahmed1926
1 stars

A simple overlay indicator that marks rejection blocks from three-candle price structure. A bullish block is a down candle whose low is lower than the candles on both sides, and a bearish block is an up candle whose high is higher than both neighbours. Each bl

Indicator v5 SMC / ICT / price actionCandlestick patterns
Updated 9 months ago · None stated GitHub repository of RB Rejection Blocks
1 stars

This indicator identifies market trends and projects dynamic price targets directly on the price chart. It calculates high and low bands using simple moving averages offset by a smoothed Average True Range buffer. Bullish and bearish trend signals trigger when

Indicator v5 TrendMoving averages
Updated 9 months ago · None stated GitHub repository of Target Trend [BigBeluga]

A chart-overlay indicator that extends a LuxAlgo-style smart money concepts framework with trend and momentum filters. It marks internal and swing break of structure and change of character, order blocks, equal highs and lows, fair value gaps, premium and disc

Indicator v5 SMC / ICT / price actionTrend Repaints
Updated 9 months ago · None stated GitHub repository of Smart Money Concepts + EMA + RSI

Kyle Algo v1

by turnupdigital
1 stars

An indicator on the price chart that draws a ribbon of fifteen EMAs of the high, from 9 to 51 bars, coloured by whether the close is above each one when the energy option is on. A Supertrend variant based on a Keltner-style channel range, scaled by a sensitivi

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Kyle Algo v1

Average Price VWAP

by ivansoft
1 stars

An indicator in a separate pane that works on the average of open and close and an anchored volume weighted average price. The VWAP and optional standard deviation bands are drawn on the price chart, with a settable multiplier and anchor period, daily by defau

Indicator v6 VolumeMean reversion
Updated 1 year ago · None stated GitHub repository of Average Price VWAP
1 stars

This indicator calculates the MACD histogram from the fast and slow exponential moving averages. It plots the MACD line, signal line, and a histogram divergence column on a separate pane. The histogram divergence uses green columns for positive changes and red

Indicator v5 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of [Z] MACD Hist Divergence

Hello World

by fiji-solutions
1 stars

This educational script demonstrates how to evaluate bar states in Pine Script v5. It retrieves the status of the current price bar using the built-in barstate.isconfirmed variable to check if a bar has officially closed. When the bar state is confirmed, it pl

Indicator v5
Updated 2 years ago · None stated GitHub repository of Hello World

BB Volume

by nvFede
1 stars

A Pine v4 indicator that plots volume multiplied by VWAP as columns, coloured by where the bar midpoint sits against Bollinger Bands on price. Blue columns mean the midpoint is between the middle and upper band, red between the middle and lower band, and a pal

Indicator v4 VolumeVolatility & bands
Updated 3 years ago · None stated GitHub repository of BB Volume

Fisher Standardize Index

by JohnsonHsiao
1 stars

The Fisher Standardize Index indicator calculates a standardized price between the lowest and highest values over a user-specified period, then applies the Fisher transformation formula to produce an oscillator value. It plots the resulting fisher_trans in a s

Indicator v5 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of Fisher Standardize Index

VCopyWave

by rajatjpatel
1 stars

A smoothed moving average drawn on the price chart, a renamed copy of the SAMA script. Prices are clamped inside a narrow standard deviation channel around a short weighted average, then passed through two weighted moving averages, one with an adjustable lengt

Indicator v5 Moving averagesTrend
Updated 4 years ago · None stated GitHub repository of VCopyWave
947 stars

The Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma

Indicator v4 Moving averagesOscillators & momentum
Updated 13 days ago · GPL-3.0 GitHub repository of Adaptive RSI Moving Average

This overlay indicator looks for price retracing toward an ICT order block defined from the highest high and lowest low over a set candle period. It marks bullish and bearish touches, with an optional vertical offset that widens the touch zone around the first

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Retracement to Order Block with Screener

ADBE-Tracker

by Allen1212
303 stars

ADBE Tracker displays historical buy and sell transactions executed by ARK Invest for Adobe Inc. directly on the main price chart. It plots color-coded labels above or below price bars corresponding to specific transaction timestamps, indicating whether ARK fu

Indicator v4
Updated 2 years ago · None stated GitHub repository of ADBE-Tracker
261 stars

The script defines two functions for Box-Cox array transformations in Pine Script v5. The regular function applies the transformation to stabilize variance using the provided lambda parameter, while the inverse function reverses the process. It demonstrates th

Indicator v5
Updated 4 years ago · None stated GitHub repository of Function - Array Transform Box-Cox

Dynamic Linear Regression

by TradersPost
228 stars

Dynamic Linear Regression calculates and plots linear regression trendlines and standard deviation channels directly on the price chart over a user-selected time period. Traders can configure static channels locked at the end time, dynamic channels that contin

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of Dynamic Linear Regression

Commitment Gauge

by harryguiacorn
220 stars

This indicator measures directional momentum by evaluating candlestick body proportions and volume over a user-defined lookback window. It computes the ratio of candle body to total range, weights the cumulative value by volume and absolute body size, and dete

Indicator v4 VolumeCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Commitment Gauge
219 stars

This indicator detects swing highs and swing lows across price action and plots markers directly on the price chart. It checks whether the high or low of a historical bar offset by a configurable lookback is the highest or lowest value within a symmetrical win

Indicator v4 Support & resistance
Updated 5 years ago · None stated GitHub repository of 教學:尋找高低點4

More Pine Script Categories

Browse the whole Pine Library

Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

Learn to Use Pine Scripts

Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.

  1. 1Using this librarySearch, filters, licences and what the badges mean.
  2. 2Add a script to TradingViewCopy, paste into the Pine Editor, save and add to chart.
  3. 3Indicators, strategies and librariesWhat each type does and how to tell them apart.
  4. 4Spot a script that repaintsWhy some signals change after the bar closes.
  5. 5Backtest a strategyStrategy Tester settings that keep results honest.
  6. 6Send alerts to MT4 or MT5From a TradingView alert to an order in MetaTrader.
  7. 7What Pine Script isThe language, what it can and cannot do, and where to start.
  8. 8Write your first indicatorA complete script, line by line, in the Pine Editor.
  9. 9Read a script before you trust itA routine for checking inputs, logic and red flags.
  10. 10Edit a script safelyChange colours and lengths, add a filter or an alert.
  11. 11Pine Script alertsalertcondition(), alert(), placeholders and webhooks.
  12. 12Build a crossover strategyAn EMA cross strategy with an ATR stop, ready to test.

Trade Your Charts With a Regulated Broker

Compare regulated brokers on platforms, spreads, minimum deposit and leverage.

Compare brokers