Pine Library · 4,643 open-source scripts

Free Pine Script v5 Scripts (page 92)

Scripts written for Pine Script version 5. They still run in TradingView as they are, and the Pine Editor can convert them to version 6.

Pine scripts4,643
Code shown here2,378open licence
Updated in a year2,687
No repaint flag4,051

Pine Script v5: Indicators, Strategies and Libraries

1 stars

This strategy calculates dynamic upper and lower boundaries over a specified lookback period alongside expanding mathematical spiral levels. It monitors price rejections where candles penetrate the upper or lower spiral bounds but close back within them. When

Strategy v5 Support & resistanceMean reversion
Updated 7 weeks ago · None stated GitHub repository of Spiral Symmetric Strategy
1 stars

Finds volume order blocks, zones built from heavy volume around moving average crossovers, and draws them on the price chart. This multiples-only edition focuses on combined events: strict ladder patterns across six sensitivity tiers, multi-zone coincidences,

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Multiples Tick-Friendly

MTF EFI Test

by g-moe
3 stars

This overlay indicator calculates a smoothed Elder Force Index and compares it across up to seven user-selected timeframes. Each timeframe can be switched on or off and given separate buy and sell threshold values. The force index length and the smoothing meth

Indicator v5 Oscillators & momentumVolume Repaints
Updated 5 months ago · None stated GitHub repository of MTF EFI Test

Performance

by regalouisei
2 stars

The Performance indicator calculates percentage price changes across multiple customizable higher timeframes, displaying the results in an on-screen dashboard table overlay. Users can toggle up to nine timeframes, including weekly, monthly, and multi-month per

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

VOB v11.10

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on a single candle, tier clusters and all-time-high-volume

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.10
3 stars

Calculates and projects multi-timeframe supply and demand zones directly on the price chart. The indicator identifies pivot points and renders colored zone boxes across configurable timeframes ranging from 5 minutes to 1 week. Settings allow users to adjust pi

Indicator v5 Support & resistanceSMC / ICT / price action Repaints
Updated 5 months ago · None stated GitHub repository of MTF Supply/Demand

Point of Control

by regalouisei
2 stars

This indicator tracks and plots the Point of Control (POC) directly on the price chart by distributing volume across discrete price increments. It can reset calculations daily, weekly, or after a custom number of bars. Additional options allow plotting histori

Indicator v5 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of Point of Control
1 stars

A momentum oscillator in a separate pane that compares upward and downward candle force over a lookback of 21 bars, scaled from minus 100 to plus 100, then smooths it with a short average and adds a signal line and histogram. Overbought and oversold levels def

Indicator v5 Oscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Spiral Trend Exhaustion (STE) Pro

VOB v11.10 Tick

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on a single candle, tier clusters and all-time-high-volume

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.10 Tick
3 stars

This indicator draws multi-timeframe supply and demand zones as boxes on the price chart. It uses a swing length to locate pivots and a width setting to set zone thickness, and it can optionally add one-minute and five-minute zones. Users can allow overlapping

Indicator v5 Support & resistanceSMC / ICT / price action Repaints
Updated 5 months ago · None stated GitHub repository of MTF Supply/Demand v2

This indicator enables traders to construct and evaluate a custom multi-asset portfolio directly on the chart. Users can select multiple symbols, assign specific weighting percentages, and designate long or short positions. It calculates cumulative percentage

Indicator v5 Screeners & dashboards
Updated 8 months ago · None stated GitHub repository of Portfolio Laboratory [Kioseff Trading]

VOB v11.11

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clusters and all-time-high-volume bars

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.11
3 stars

This indicator plots four simple moving averages of periods 5, 10, 20, and 50 on the price chart. It calculates and sends alert conditions for every pairwise crossover and crossunder between the moving averages, including MA5 cross above MA10, MA10 cross above

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Multi MA Crossover Alerts

Probability Cones

by regalouisei
2 stars

Calculates and projects statistical probability cones forward onto the price chart based on historical sample data over a selectable lookback period. It supports standard deviation, Laplace distribution, and absolute deviation calculation methods. The cone anc

Indicator v5 Volatility & bandsSupport & resistance
Updated 8 months ago · None stated GitHub repository of Probability Cones

VOB v11.11 Tick

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clusters and all-time-high-volume bars

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.11 Tick

My Fractals

by g-moe
3 stars

This indicator calculates and plots Bill Williams style swing high and swing low fractals directly on the price chart. It evaluates high and low price relationships across surrounding bars according to a configurable period setting. Reversal points are visuall

Indicator v5 Support & resistanceCandlestick patterns Repaints
Updated 5 months ago · None stated GitHub repository of My Fractals

This indicator provides four selectable analytical datasets directly on the price chart: quartile volume analysis, volume aggregation bars, US range bars, and gap tracking. Depending on the active mode, it plots synthetic candle structures, historical congesti

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Quartile Volume, Volume Aggregation, US Range Bars, Gaps

Spiral{Morindok}

by morindok
1 stars

Spiral{Morindok} draws a geometric spiral on the price chart between a user-selected center point and an edge point. It expands the curve with a growth ratio that defaults to a Fibonacci value, and it lets the user set turn count, start angle, clockwise direct

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Spiral{Morindok}

VOB v11.9

by nishpa800
1 stars

Detects volume order block zones from six pairs of moving averages at different sensitivity lengths and draws them on the price chart. It marks combined events such as strict ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.9
3 stars

My Historical Volatility plots annualized historical volatility in a separate pane. It measures the standard deviation of logarithmic close-to-close returns over a user-set length, scales that value by 100, and annualizes it with a factor that uses 365 days an

Indicator v5 Volatility & bands
Updated 5 months ago · None stated GitHub repository of My Historical Volatility

RedK Momentum Bars

by regalouisei
2 stars

Calculates and plots momentum bars in a separate pane using three moving averages: a fast MA, a slow MA with a delay setting, and a trend filter MA. Loosely inspired by the Elder Impulse system, it measures momentum relative to a zero filter line. Users can cu

Indicator v5 Oscillators & momentumMoving averages
Updated 8 months ago · None stated GitHub repository of RedK Momentum Bars

This indicator calculates a staircase trailing trend line based on recent highest highs and lowest lows over a customizable lookback period. It plots a step-line directly on the price chart, changing color between green for uptrends and red for downtrends. It

Indicator v5 TrendSupport & resistance Repaints

VOB v11.9 Tick

by nishpa800
1 stars

Detects volume order block zones from six pairs of moving averages at different sensitivity lengths and draws them on the price chart. It marks combined events such as strict ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.9 Tick
3 stars

This indicator calculates a scaled Chande Momentum Oscillator based on the hlc3 price source and displays it in a separate pane. It computes positive and negative price changes over a user-defined length, scales the resulting percentage with a multiplier, and

Indicator v5 Oscillators & momentum
Updated 5 months ago · None stated GitHub repository of My Matrix Momentum
2 stars

This indicator tracks custom multi-asset portfolio performance directly on the price chart using a clean dashboard table. It fetches live prices and dividend data for configured asset positions, calculating individual position values, total cost basis, and unr

Indicator v5 Screeners & dashboards
Updated 8 months ago · None stated GitHub repository of RedK Portfolio Tracker Table Version

Super Mirror

by morindok
1 stars

Super Mirror indicator plots multiple symmetric and reflected price lines directly on the price chart. It computes a moving average whose length varies based on the time interval between start and end times, then creates mirrored versions at two user-defined p

Indicator v5 Oscillators & momentumSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror

My QQE

by g-moe
3 stars

Calculates dual Quantitative Qualitative Estimation (QQE) oscillators paired with Bollinger Bands in a separate pane. It computes smoothed Relative Strength Index (RSI) values and tracks dynamic volatility bands based on Wilder-smoothed ATR of the RSI. A set o

Indicator v5 Oscillators & momentumVolatility & bands
Updated 5 months ago · None stated GitHub repository of My QQE
2 stars

This indicator estimates how much of each bar's volume is demand versus supply by weighting volume with the candle body and wick geometry. It double-smooths those shares with weighted moving averages and plots net volume as a colored area in a separate pane. S

Indicator v5 Volume
Updated 8 months ago · None stated GitHub repository of RedK Supply/Demand Volume Viewer

My Strategy

by g-moe
3 stars

This strategy calculates the average closing price from a lower 3-minute timeframe and plots the result in a separate pane using array sum on multi-bar aggregate data. It fetches lower-timeframe data via security lower tf and includes commented out crossover c

Strategy v5 Moving averages
Updated 5 months ago · None stated GitHub repository of My Strategy
2 stars

Calculates buying and selling pressure by evaluating high and low movements relative to a two-bar price range. Bull and bear pressures are averaged using weighted moving averages with optional pre-smoothing, and net pressure is derived through an additional sm

Indicator v5 Oscillators & momentumTrend
Updated 8 months ago · None stated GitHub repository of RedK Trader Pressure Index (TPX)
1 stars

Takes two user-chosen anchor points of time and price, adds an optional sloped angle scaled per bar, and computes a simple moving average whose length equals the number of bars between the anchors. It detrends the sloped levels and the average, builds mirrored

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror - Signals Only

This overlay indicator plots automatic Midas-style anchored VWAPs on the price chart. It finds the bars of the highest high and lowest low inside a user-set length, then builds volume-weighted averages of high or low and of the HLC3 midpoint back to those bars

Indicator v5 VolumeTrend
Updated 5 months ago · None stated GitHub repository of Nubia - Auto Midas Anchored VWAP [xdecow]

RedK Volume-Accelerated Directional Energy Ratio (VADER) measures directional momentum accelerated by volume activity. It calculates price change relative to the average bar range, limits the ratio, and scales it using relative, raw, or static volume weighting

Indicator v5 VolumeOscillators & momentum
Updated 8 months ago · None stated GitHub repository of RedK Volume-Accelerated Directional Energy Ratio
1 stars

Super Mirror By BITMOON618 is an overlay indicator on the TradingView price chart. It calculates mirrored price levels based on user-defined price1 and price2, and a moving average of close. The indicator monitors price movements within a specified time range

Indicator v5 Support & resistanceSessions & time
Updated 7 weeks ago · None stated GitHub repository of Super Mirror By BITMOON618

Opening Range

by g-moe
3 stars

The Opening Range indicator combines multiple technical analysis tools onto the main price chart. It calculates MACD momentum sequences alongside Stochastic oscillator limits to generate buy and sell triangle shapes. Additionally, it evaluates trend alignment

Indicator v5 TrendOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Opening Range

Relative Bandwidth Filter

by regalouisei
2 stars

Calculates normalized bandwidth readings across various volatility channel types including Bollinger Bands, Keltner Channels, and Donchian Channels. It compares bandwidth values against a secondary band baseline to evaluate relative volatility expansion or con

Indicator v5 Volatility & bandsMoving averages
Updated 8 months ago · None stated GitHub repository of Relative Bandwidth Filter

Super Mirror Guide

by morindok
1 stars

Projects two vertical guide lines forward from a pivot time the user selects, drawn on the price chart. It builds a Fibonacci number sequence between a minimum and maximum bar count, finds the next number in that progression, and places one line at 0.618 of th

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror Guide

Opening Range

by g-moe
3 stars

This indicator overlays a Directional Sentiment Line ribbon on the price chart using moving averages of high, low, open, and close prices. It combines higher-timeframe MACD and RSI filters with standard deviation volume heatmap thresholds to assess directional

Indicator v5 TrendOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Opening Range

Renko Candles Overlay

by regalouisei
2 stars

This indicator calculates and displays a Renko brick overlay directly on the main price chart. It supports multiple brick size calculation methods, including traditional fixed values, percentage-based sizing, and ATR-derived variations (ATR, ATR/2, and ATR/4).

Indicator v5 TrendCandlestick patterns
Updated 8 months ago · None stated GitHub repository of Renko Candles Overlay

Super Mirror v2

by morindok
1 stars

Mirrors price around a baseline between two user-chosen levels and times, drawn on the price chart. The baseline can be one of nine types: golden-ratio cloud, moving average, highest-high and lowest-low range, ATR bands, Bollinger Bands, Ichimoku cloud, RSI, C

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror v2

ORB Hooplah

by g-moe
3 stars

The ORB Hooplah indicator calculates the opening range high and low for a user-selected session such as 0930-1000 in New York time. It plots the OR band on the price chart, fills the area between high and low, and colors candles accordingly based on whether th

Indicator v5 BreakoutSessions & time
Updated 5 months ago · None stated GitHub repository of ORB Hooplah

Risk Management Chart

by regalouisei
2 stars

Risk Management Chart simulates theoretical equity curves using a Monte Carlo approach based on user-defined risk parameters. It models multiple potential account trajectories across a specified number of consecutive trades using starting equity, win probabili

Indicator v5
Updated 8 months ago · None stated GitHub repository of Risk Management Chart

Super Mirror v3

by morindok
1 stars

Mirrors price around a selectable baseline between two points of time and price that the user picks on the chart. This version adds two reflection ratios, a source and timeframe selection read through security calls, and a Fibo Wave baseline with a symmetry ce

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror v3
3 stars

This strategy detects Opening Range Breakouts in a specified session. It calculates the high and low of the opening range bar then plots these levels on the price chart and fills the area between them. Candles are colored based on their relation to the ORB hig

Strategy v5 BreakoutSupport & resistance
Updated 5 months ago · None stated GitHub repository of ORB Hooplah Strategy

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