Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 52)

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,283
No repaint flag6,673

Indicators: All

This indicator identifies and plots minor and major swing highs and lows directly on the price chart. Minor swings are calculated using a 3-bar pivot structure, while major swings expand upon traditional 5-bar Williams Fractals. Users can toggle the visibility

Indicator v4 Support & resistanceCandlestick patterns Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of Chad's Swing Points (@tradeprophet)
9 stars

Calculates volume-weighted average price anchored to automatically detected swing pivots, period starts, or a custom manual timestamp. It plots volume-weighted standard deviation bands with configurable multiples and measures price distance from VWAP in standa

Indicator v6 Moving averagesVolatility & bands Repaints
Updated 3 days ago · MIT GitHub repository of Anchored VWAP [WavesUnchained]

Nexural JMA

by JasonTeixeira
9 stars

Nexural JMA plots a Jurik moving average on the price chart. Length, phase, power, and source change the average. It scores momentum from rate of change, volume from a volume percentile, volatility from ATR, and trend strength from price distance to the averag

Indicator v6 Moving averagesOscillators & momentum
Updated 2 weeks ago · Custom licence GitHub repository of Nexural JMA

This indicator plots the Pearson correlation between the chart source and a user-chosen comparison symbol in a separate pane. It offers raw R or an adjusted R estimate over a lookback length, then uses a Fisher transform and its inverse to draw a confidence ba

Indicator v4 Screeners & dashboards
Updated 5 years ago · None stated GitHub repository of Correlation with P-Value & Confidence Interval

Ichimoku

by PipC
8 stars

This indicator plots the standard Ichimoku Kinko Hyo components directly onto the price chart. It calculates the Tenkan-sen and Kijun-sen midpoints, shifts the Chikou Span backward, and projects the Senkou Span A and Senkou Span B ahead to form the colored Kum

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Ichimoku

TR KAP Marker

by Enesp4rl4k
7 stars

This indicator overlays labels on a BIST equity price chart at bars whose time window contains a material KAP disclosure. Event times, titles, and categories come from a static snapshot written into parallel arrays when the recipe is generated, not from a live

Indicator v6
Updated 7 days ago · MIT GitHub repository of TR KAP Marker

Laguerre RSI

by lunarticktrading
7 stars

This indicator plots a Laguerre RSI oscillator in a separate pane. It offers a classic four-stage Laguerre filter on close, controlled by alpha, and an alternate mode that builds alpha from fractal-energy style filters on open, high, low, and close. Shaded fil

Indicator v6 Oscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of Laguerre RSI
7 stars

This indicator plots a double relative strength index in a separate pane. It computes RSI from the selected source and length, then calculates RSI of that RSI and combines them as twice the first RSI minus the second. A persistent state turns long above the lo

Indicator v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of Double Relative Strength Index - DRSI

This indicator analyzes order flow dynamics directly on the price chart by inspecting lower-timeframe intrabar data. It uses cumulative volume delta to tint the chart background according to market sentiment, and plots colored circle bubbles at exact price lev

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Deep Chart - Order Flow Bubbles

ATR Bands

by SynergOps
7 stars

This indicator plots upper and lower bands around price using a scaled average true range. It offsets the bands from the close and lets the user set the ATR period and multiplier. Optional opposite bands mark take-profit zones at a separate scale factor. An op

Indicator v5 Volatility & bandsSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ATR Bands

FX Market Sessions

by itmakesyousick
7 stars

This overlay indicator draws up to three named trading sessions, defaulting to London, New York, and Tokyo, as colored boxes on the price chart. It uses a selectable timezone and optional history, and each session can be extended, given Fibonacci levels, or gi

Indicator v5 Sessions & timeSupport & resistance
Updated 3 years ago · None stated GitHub repository of FX Market Sessions

Confluence

by trsdn
6 stars

The Confluence indicator combines Bollinger Bands, RSI and MACD to generate signals on the price chart. It plots the upper Bollinger Band in green, lower Bollinger Band in red, the middle basis in blue, the RSI value and the MACD line with signal. A confluence

Indicator v5 TrendOscillators & momentum
Updated 7 days ago · MIT GitHub repository of Confluence
6 stars

Capital41 Confluence Core plots an EMA or SMA on the price chart and combines its direction with RSI, Williams %R, and a liquidity-sweep check into long and short confluence signals. Signal strictness is Strict, Standard, or Loose, which changes how far the os

Indicator v6 Oscillators & momentumMoving averages
Updated 2 months ago · MIT GitHub repository of Capital41 Confluence Core

Forever Model v2.0

by alboogycOdR
6 stars

This indicator maps Smart Money Concepts (SMC) elements directly onto the main price chart. It detects Fair Value Gaps (FVGs), external range liquidity, and confirmation lines across automatic or manual higher timeframes. The script highlights key ICT trading

Indicator v6 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of Forever Model v2.0

TheStrat Setup Screener

by 345-strategies
5 stars

This indicator screens Rob Smith's TheStrat setups across six configurable timeframes for TradingView's Pine Screener. It classifies bars and exposes inside reversals, 2-2 reversals and continuations, failing 2s, range expansions, and outside bars as numeric p

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 4 days ago · MPL-2.0 GitHub repository of TheStrat Setup Screener

30 Laws Dashboard

by AllienNova
5 stars

This indicator overlays a regime and risk dashboard on the price chart. It calculates ADX from DMI, an ATR ratio against a long moving average of ATR, and a daily VIX close. It labels the market SHOCK, TRENDING, RANGING, or TRANSITION using those thresholds. I

Indicator v5 Screeners & dashboardsTrend
Updated 8 weeks ago · None stated GitHub repository of 30 Laws Dashboard
5 stars

This indicator calculates and plots a virtual weekly candle structured as if the previous seven-day period finished yesterday relative to the current date. It queries daily price data to derive rolling weekly open, high, low, and close levels. Designed for ICT

Indicator v6 Candlestick patternsSMC / ICT / price action Repaints
Updated 7 months ago · MIT GitHub repository of Weekly candle closed yesterday
5 stars

This overlay indicator estimates a multivariate Kalman state from a chosen price source and draws the filtered result on the price chart. It runs a predict-update cycle with matrix transition and observation models, then forms a covariance update and forces th

Indicator v6
Updated 8 months ago · None stated GitHub repository of Multivariate Kalman Filter

MACD

by SiegerTerpstra
5 stars

This indicator calculates and plots the Moving Average Convergence Divergence (MACD) line, signal line, and histogram in a separate pane. It tracks trend direction and momentum shifts by calculating the difference between fast and slow exponential moving avera

Indicator v6 Oscillators & momentumTrend
Updated 9 months ago · None stated GitHub repository of MACD

ICT Concepts [LuxAlgo]

by rubystar0512
5 stars

This indicator identifies and visualizes key Inner Circle Trader (ICT) market structure concepts directly on the price chart. It detects Market Structure Shifts (MSS), Breaks of Structure (BOS), bullish and bearish Order Blocks (OB), Volume Imbalances, Fair Va

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of ICT Concepts [LuxAlgo]

Moving Average Pair

by InNoobWeTrust
4 stars

Moving Average Pair calculates and plots two customizable moving averages on the price chart. Users can choose separate moving average types, length periods, source prices, and line styling for both the fast and slow lines. The indicator detects bullish crosso

Indicator v6 Moving averagesTrend
Updated 2 days ago · None stated GitHub repository of Moving Average Pair

TF Bias Detector (SMC)

by Sidoine1991
4 stars

This indicator tracks multi-timeframe momentum and trend direction across M1, M15, H1, and H4 horizons. It plots four 14-period RSI curves in a separate pane alongside 30, 50, and 70 reference levels. Directional bias values are calculated by comparing price t

Indicator v6 Oscillators & momentumMoving averages
Updated 2 weeks ago · MIT GitHub repository of TF Bias Detector (SMC)
4 stars

Meridian Options Levels plots clustered reaction zones on the price chart for liquid options underlyings. It groups nearby candidate levels using confirmed daily ATR distance and tick or percent tolerances, then sizes each zone between minimum and maximum ATR

Indicator v6 Support & resistanceSessions & time
Updated 7 weeks ago · MPL-2.0 GitHub repository of Meridian - Options Levels
4 stars

This indicator plots classic Bollinger Bands on the price chart using a simple moving average basis and upper and lower bands set by a length and multiplier. It shades the area between the bands and, when enabled, marks a squeeze when band width equals its low

Indicator v6 Volatility & bands
Updated 2 months ago · MIT GitHub repository of Bollinger Bands [trugurpala]

EFELER-DDT

by Kalumur
4 stars

EFELER-DDT plots multiple moving average overlays and pivot-based support and resistance levels directly on the price chart. It calculates dual Weighted Moving Averages (9 and 15 WMA), three standard Exponential Moving Averages (20, 50, and 200 EMA), and three

Indicator v5 Moving averagesTrend Repaints
Updated 2 years ago · None stated GitHub repository of EFELER-DDT

Gap Finder [KL]

by kevinhhl
4 stars

This indicator detects price gaps between consecutive bars and plots them directly on the price chart. Gaps are identified when current price ranges separate from the prior bar candle body beyond a user-defined absolute point or percentage threshold. It projec

Indicator v5 Support & resistance
Updated 3 years ago · None stated GitHub repository of Gap Finder [KL]

EMA_SMA

by might-tree
4 stars

This indicator draws a 21-period exponential moving average and a 21-period simple moving average of the closing price directly on the price chart. The exponential average is blue and the simple average is red. Settings for length, source, and offset are decla

Indicator v5 Moving averages
Updated 3 years ago · None stated GitHub repository of EMA_SMA

Bollinger Bands

by bfoura
4 stars

This indicator calculates standard Bollinger Bands using a simple moving average basis line along with upper and lower bands derived from standard deviation. It includes logic to detect when price action comes within a configurable distance of the lower or upp

Indicator v4 Volatility & bandsMoving averages
Updated 4 years ago · None stated GitHub repository of Bollinger Bands

This long-term trend-following indicator plots three Weighted Moving Averages (13, 48, and 200 periods) directly on the main price chart. It evaluates price crossovers against each moving average to detect early trend shifts, alongside crossovers between WMA l

Indicator v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of Snag - Swing Trade Long Term V3
4 stars

This script provides a boilerplate risk management template for TradingView indicators. It processes long and short signals to manage pyramiding depth and tracks position entry prices. The template calculates percentage-based take profit and stop loss threshol

Indicator v4
Updated 6 years ago · Apache-2.0 GitHub repository of StudyNameHere - DRR

Pivot Levels

by degenview
3 stars

Identifies confirmed swing highs and swing lows to draw horizontal support and resistance lines extended to the right, accompanied by price labels. It calculates pivot points using configurable left and right bar lookback periods. Once a pivot is confirmed, ho

Indicator v6 Support & resistance
Updated 2 days ago · GPL-3.0 GitHub repository of Pivot Levels
3 stars

This indicator calculates the Commodity Channel Index from a user-selected source and length and plots it in a separate pane. Dashed lines mark plus 100 and minus 100, a middle line sits at zero, and the area between the outer bands is filled. A smoothing line

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 2 days ago · None stated GitHub repository of Commodity Channel Index
3 stars

This indicator plots an eight-period and a twenty-period exponential moving average on the price chart and colors candles by their relationship. Candles are green when the faster average is above the slower average and red when it is below. The average lengths

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of 8/20 Cross Colored Candles
3 stars

This utility indicator benchmarks Pine Script execution performance, tracking execution time, estimated memory usage, and accuracy scores across customizable iteration counts. It allows comparison of custom routines against built-in calculations such as RSI, S

Indicator v5
Updated 7 months ago · None stated GitHub repository of Debug Performance Benchmark
3 stars

Stella's Support/Resistance Levels automatically identifies and plots horizontal support and resistance lines on the price chart based on pivot highs and lows. It draws green lines at confirmed pivot lows for support and red lines at confirmed pivot highs for

Indicator v6 Support & resistance
Updated 8 months ago · MIT GitHub repository of Stella's Support/Resistance Levels
3 stars

The Divergence Screener by Trendoscope identifies regular and hidden bullish and bearish divergences between price action and technical oscillators in a separate pane. It supports multiple oscillators including RSI, CCI, CMO, and COG, as well as custom externa

Indicator v6 DivergenceOscillators & momentum Repaints
Updated 12 months ago · None stated GitHub repository of Divergence Screener [Trendoscope]

Ultimate Trading System

by EngineeredSuccess
3 stars

The Ultimate Trading System is an integrated indicator that combines multiple analysis methodologies—including Pi Cycle Top, SPX/Gold ratio, Elliott Wave, and multi-source market signals—into a composite oscillator scored from 0 to 100. Plotted in a separate p

Indicator v6 Screeners & dashboardsOscillators & momentum
Updated 1 year ago · Custom licence GitHub repository of Ultimate Trading System

BTMM Entry System

by jcortes254
3 stars

The BTMM Entry System is a price-chart overlay indicator based on the Beat the Market Maker methodology. It detects Optimal Trade Entry (OTE) second-leg patterns and Fibonacci zones, combined with multi-factor confluence analysis including EMA alignments, sess

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM Entry System

This indicator marks Hammer and Hanging Man candlestick patterns on the price chart. A Hammer requires a bullish candle with a small real body, a long lower shadow, and a short upper shadow after a lookback downtrend. A Hanging Man uses the same body and shado

Indicator v5 Candlestick patternsTrend
Updated 2 years ago · None stated GitHub repository of Hammer and Hanging Man (Candlestick Pattern)

DFO 3

by jawauntb
3 stars

DFO 3 plots a directional flow oscillator in a separate pane. It averages five normalized components: a composite RSI momentum index, a cumulative volume delta built from one-minute volume, a price position over a 100-bar range, an EMA-versus-SMA trend spread,

Indicator v5 Oscillators & momentumVolume
Updated 2 years ago · GPL-3.0 GitHub repository of DFO 3

Currency Strength Chart

by itmakesyousick
3 stars

Calculates and plots the relative strength lines for major currencies including EUR, USD, JPY, GBP, CHF, AUD, CAD, and NZD in a separate pane. It evaluates cross-rate movement using data from major Forex brokers like OANDA or FOREXCOM. Users can smooth the str

Indicator v5 Oscillators & momentumMoving averages
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart
2 stars

MasterTrader V1 is an indicator that plots two exponential moving averages (fast length 9, slow length 21) and RSI (length 14) on the close price chart. It generates long entry signals when the fast EMA crosses above the slow EMA, RSI stays between 30 and 70,

Indicator v6 TrendOscillators & momentum
Updated 2 days ago · None stated GitHub repository of MasterTrader V1 Master Trader

Daily Seasonality

by piecioshka
2 stars

Daily Seasonality colors the chart background according to the day of the week to highlight recurring weekly price patterns. It draws distinct rainbow color overlays directly on the main price chart for each day from Monday to Sunday. Users can adjust backgrou

Indicator v6 Sessions & time
Updated 12 days ago · MIT GitHub repository of Daily Seasonality
2 stars

This script calculates short and medium-period Rank Correlation Index (RCI) values to identify potential reversal entry signals directly on the price chart. It checks whether the short-term RCI crosses oversold or overbought threshold levels and hooks back, co

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of GBPJPY Ver7 Phase2 - Entry Signal

PVSR Candles MP

by midngtpickle
2 stars

PVSR Candles MP is a Pine Script indicator that colors candlesticks on the price chart according to synchronized Price Volume Spread Ratio Analysis. It classifies each bar as climax volume (colored green or red when volume meets or exceeds average or volume-sp

Indicator v6 VolumeCandlestick patterns
Updated 4 weeks ago · Custom licence GitHub repository of PVSR Candles MP

Money Flow Index

by TamTH-Dev
2 stars

This indicator calculates and plots multi-timeframe Money Flow Index (MFI) values in a separate pane. It features two distinct MFI lines: a fast MFI based on the current or custom timeframe, and a slow MFI using a higher timeframe or automatic step-up timefram

Indicator v6 Oscillators & momentumVolume
Updated 6 weeks ago · None stated GitHub repository of Money Flow Index

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