Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 155)

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

99 stars

The ROC indicator calculates the percentage change in price from the current bar to N bars ago. It draws the resulting values in a separate pane on the chart. The main setting allows selection of a price source such as close and a length parameter that control

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Rate of Change Percentage (ROC)
3 stars

Psychological Lines draws a grid of horizontal round-number levels on the price chart. It rounds a baseline price by the Rounding Value, then plots whole, half, and quarter steps above and below that baseline, up to ten steps on each side. Each group can be tu

Indicator v5 Support & resistance
Updated 5 months ago · None stated GitHub repository of Psychological Lines
2 stars

The McDonald's Pattern indicator detects specific price patterns on the chart by finding top and bottom points using highest and lowest values over a user-defined length. It plots fries above top points and hamburgers below bottom points, then connects selecte

Indicator v5 Support & resistanceCandlestick patterns
Updated 8 months ago · None stated GitHub repository of McDonald's Pattern [LuxAlgo]

RTP Tracker

by Allen1212
303 stars

RTP Tracker visualizes historical buy and sell trades executed by ARK Invest funds on the RTP ticker. The script draws green labels below price bars for buy orders and red labels above bars for sell orders directly on the price chart, showing the relative fund

Indicator v4
Updated 2 years ago · None stated GitHub repository of RTP Tracker
99 stars

This indicator calculates a rate of change ratio: the current source value divided by the source value a set number of bars earlier. It plots that ratio as a yellow line in a separate pane and does not mark entries, exits, or price levels. The source defaults

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Rate of Change Ratio (ROCR)

RUBY Tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell trade records directly onto the price chart using visual labels. It identifies the dates on which ARK funds bought or sold shares of the stock, indicating transaction counts and trade activity above or

Indicator v4 SMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of RUBY Tracker

This indicator calculates the Range Action Verification Index as the absolute percentage difference between a short simple moving average and a long simple moving average of close. It plots that value in a separate pane with a dashed threshold line and a dotte

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of RAVI: Chande Range Action Verification Index
2 stars

The Moving Regression Prediction Bands indicator calculates polynomial regression bands from historical price data using a moving window. It fits a polynomial curve of specified degree to generate upper and lower bands representing expected price ranges with p

Indicator v5 Moving averagesVolatility & bands
Updated 8 months ago · None stated GitHub repository of Moving Regression Prediction Bands

RXRX-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest funds for RXRX stock directly on the main price chart. It hardcodes transaction records and creates labeled markers indicating the direction and the number of participating ARK fu

Indicator v4
Updated 2 years ago · None stated GitHub repository of RXRX-tracker
99 stars

This indicator applies the rectified linear unit to the difference between the selected source and a 20-period simple moving average. Positive deviations plot in green and negative deviations plot in red in a separate pane. The only input changes the price ser

Indicator v6 Moving averagesAI / machine learning
Updated 4 weeks ago · Apache-2.0 GitHub repository of Rectified Linear Unit (ReLU)
2 stars

Plots normalized percentage changes for groups of multiple assets in a separate pane to create a comparative spaghetti chart. It tracks relative performance using price, on-balance volume (OBV), or open interest, anchored to customizable periods or timestamps.

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Multi-Asset Performance Spaghetti

SAND-tracker

by Allen1212
303 stars

SAND-tracker is an overlay indicator that marks recorded ARK Invest activity on the SAND price chart. The visible script places one red label above the bar dated 17 January 2020, with the text Sell and X1. An ETF setting is present but only offers ALL, so this

Indicator v4
Updated 2 years ago · None stated GitHub repository of SAND-tracker

This indicator applies a recursive least squares adaptive FIR filter to a chosen price source and plots the resulting smoothed series on the price chart. Each bar it predicts from past source values, updates a weight vector from the prediction error, and refre

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Recursive Least Squares Adaptive Filter (RLS)

Neglected Volume by DGT

by regalouisei
2 stars

This indicator calculates relative volume metrics and combines them with On Balance Volume (OBV) momentum and price-OBV correlation in a separate pane. It evaluates volume strength against simple moving averages and standard deviation thresholds, while offerin

Indicator v5 VolumeOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Neglected Volume by DGT

SCHW-tracker

by Allen1212
303 stars

SCHW-tracker is an overlay indicator that marks historical ARK Invest purchases and sales of Charles Schwab stock on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, with text showing the direction

Indicator v4
Updated 2 years ago · None stated GitHub repository of SCHW-tracker
99 stars

Regression Channels calculates a linear regression trend line and standard deviation channel bands over a specified lookback period. It computes standard deviations from the residuals to form symmetrical upper and lower channel bands around the central regress

Indicator v6 TrendVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Regression Channels (REGCHANNEL)
3 stars

RT Candle Signals LCBigMoves recolors candlestick bars directly on the chart to emphasize specific price action patterns. It identifies and highlights opening session bars based on a configurable time window, long-wick rejection candles determined by wick-to-b

Indicator v5 Candlestick patternsSessions & time
Updated 5 months ago · None stated GitHub repository of RT Candle Signals LCBigMoves

SEDG-tracker

by Allen1212
303 stars

This indicator plots labels on the SEDG price chart to mark ARK Invest buy and sell trades from November 2019 onward. Labels indicate share volume changes at each trade date. The main input setting selects an ETF type to filter which trades are visualized. Lab

Indicator v4 Support & resistanceScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of SEDG-tracker
99 stars

Relative Absolute Error (RAE) measures the accuracy of a moving average model against an underlying price series. It compares the sum of absolute forecast errors between the source and its Exponential Moving Average to the baseline absolute errors relative to

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Relative Absolute Error (RAE)

S/R Average

by g-moe
3 stars

This indicator detects confirmed pivot highs and lows using a user-set pivot length and stores those prices in rolling arrays. It optionally draws extended horizontal support and resistance lines for each stored level and plots the average of the stored resist

Indicator v5 Support & resistance
Updated 5 months ago · None stated GitHub repository of S/R Average

Numbers Renko

by regalouisei
2 stars

This indicator calculates and overlays numerical volume or time metrics directly on chart bars, primarily tailored for Renko style analysis. It compares current values against an EMA or SMA baseline to grade activity across multiple visual tiers and color scal

Indicator v5 VolumeMoving averages
Updated 8 months ago · None stated GitHub repository of Numbers Renko

SEER-tracker

by Allen1212
303 stars

This indicator marks historical ARK Invest purchases and sales of SEER on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, with a same-day ETF count such as X1. An input switches between all recorde

Indicator v4
Updated 2 years ago · None stated GitHub repository of SEER-tracker

Relative Squared Error

by mihakralj
99 stars

This indicator calculates Relative Squared Error between a selected price source and an exponential moving average of that source. It divides the rolling sum of squared differences by the rolling sum of squared deviations from the source mean, using circular b

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Relative Squared Error
2 stars

This indicator generates geometric circular boundary plots anchored to the right edge of the chart. It calculates upper and lower arc curves across a set bar radius using circle equations and the distance to the final bar index. The indicator plots both bounds

Indicator v5 Repaints
Updated 8 months ago · None stated GitHub repository of Open Interest Chart Luxalgo

SGFY-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of SGFY on the price chart. It draws green buy labels below bars and red sell labels above bars at fixed dates, with each label showing a single-ETF count. An ETF input switches between all

Indicator v4
Updated 2 years ago · None stated GitHub repository of SGFY-tracker
99 stars

This indicator calculates the Relative Strength Index from a chosen price source using Wilder's smoothing of average gains and losses. It plots a single RSI line in a separate pane. The length sets the lookback period and the source selects the series used in

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Relative Strength Index (RSI)

SGL-tracker

by Allen1212
303 stars

SGL-tracker plots historical ARK Invest transactions for SGL directly on the price chart. It marks historical buy and sell actions using chart labels positioned at specific trade timestamps, detailing the action and the number of participating ARK ETFs. Users

Indicator v4
Updated 2 years ago · None stated GitHub repository of SGL-tracker
99 stars

This indicator plots Relative Strength Xtra in a separate pane. It splits the source into positive and negative bar-to-bar changes, then smooths each side with an integrated Jurik-style moving average before combining them into an RSX momentum reading. Length

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Relative Strength Xtra (RSX)

This indicator tracks key price levels and range boundaries across user-defined trading sessions on the main price chart. It calculates session extremes, including highest high, lowest low, session midpoint, and highest or lowest candle body levels during a sp

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Session High Low Levels with Session Breakout Box Strategy

SI-tracker

by Allen1212
303 stars

SI-tracker is an overlay indicator that places historical ARK Invest purchase marks for this stock under the price bars. Each mark is a green label at a fixed calendar date and shows a buy count rather than a calculated signal. The ETF input switches among ALL

Indicator v4
Updated 2 years ago · None stated GitHub repository of SI-tracker
99 stars

This indicator plots the Relative Vigor Index and a four-bar symmetrically weighted signal line in a separate pane. It compares the close-open range with the high-low range using fixed four-bar SWMA weights, then divides a simple moving average of the numerato

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Relative Vigor Index (RVGI)

Session High Low Levels with Session Breakout Box Strategy tracks customizable trading sessions to calculate and display key price levels directly on the main chart overlay. It identifies the highest high, lowest low, highest candle body, lowest candle body, a

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Session High Low Levels with Session Breakout Box Strategy

SIE-tracker

by Allen1212
303 stars

SIE-tracker plots historical ARK Invest transaction data for SIE directly onto the price chart. It uses chart labels positioned above or below price bars to mark specific dates when ARK funds bought or sold shares, showing buy or sell designations alongside tr

Indicator v4
Updated 2 years ago · None stated GitHub repository of SIE-tracker

Rolling Sum

by mihakralj
99 stars

This indicator calculates and plots a rolling sum of an input price series over a specified lookback period in a separate pane. It implements the Kahan-Babuška algorithm to maintain numerical precision and mitigate floating-point errors across rolling addition

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Rolling Sum

Pivot and Price Discovery

by regalouisei
2 stars

This indicator overlays a population-sampled linear regression channel with standard deviation bounds onto the price chart to evaluate price distribution and pivot momentum. It calculates statistical moments including mean, variance, skewness, and kurtosis to

Indicator v5 TrendVolatility & bands
Updated 8 months ago · None stated GitHub repository of Pivot and Price Discovery

SILC-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest sell markers for SILC on the price chart. When the ETF input is set to ALL, it places red labels above the bars dated 15 and 16 January 2020, each showing a single sell count. The only setting selects the ETF view,

Indicator v4
Updated 2 years ago · None stated GitHub repository of SILC-tracker
99 stars

This indicator measures the root mean squared error between a chosen price source and an exponential moving average of that same source. It averages squared differences over a user-set lookback with a circular buffer, then plots the square root as a red area i

Indicator v6 Moving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Root Mean Squared Error (RMSE)

Portfolio Performance

by regalouisei
2 stars

This indicator tracks and visualizes the historical performance of a multi-asset portfolio against a selected benchmark symbol. It displays performance metrics, specification details, and asset allocations directly on the price chart using customizable on-scre

Indicator v5 Screeners & dashboards
Updated 8 months ago · None stated GitHub repository of Portfolio Performance

SKLZ-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest purchase marks for SKLZ on the price chart. It places green labels below bars on fixed calendar dates, each reading Buy with an X1 count, using bar time rather than a calculated signal. The only setting chooses whi

Indicator v4
Updated 2 years ago · None stated GitHub repository of SKLZ-tracker

SLGC-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest trade marks for the SLGC stock on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, each marked with an ETF count such as X1. An input switches the view

Indicator v4
Updated 2 years ago · None stated GitHub repository of SLGC-tracker

This indicator calculates the R-squared coefficient of determination between a chosen price source and its exponential moving average over a specified lookback period. It plots the resulting statistical fit score as an area curve in a separate pane, alongside

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of R² Coefficient of Determination (RSQUARED)

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