Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 9)

Scripts written for Pine Script version 6, the current version of TradingView's language. They paste into the Pine Editor and run as they are.

Pine scripts4,367
Code shown here2,412open licence
Updated in a year4,021
No repaint flag3,857

Pine Script v6: Indicators, Strategies and Libraries

Aggressive Scalper

by femibol
1 stars

An open-source momentum scalping strategy for intraday charts of fast-moving stocks. It trades fast and slow EMA lines with a volume surge, a minimum momentum over a lookback, an optional VWAP condition and optional pullback re-entries, capped at a set number

Strategy v6 ScalpingOscillators & momentum
Updated 6 weeks ago · None stated GitHub repository of Aggressive Scalper

Mac Buy/Sell Indicator

by acquillemac
1 stars

A SuperTrend-style indicator built on ATR and RMA bands that prints buy and sell signals when the direction flips, optionally filtered by a 9 and 21 EMA cross. It draws two ATR-based take profit levels, background colour and a stats table that scores past sign

Indicator v6 TrendSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Mac Buy/Sell Indicator

SMT Divergence

by Rickylel
1 stars

An indicator that detects SMT divergence between correlated markets, mainly NQ and ES. It pairs confirmed swing highs and lows from both instruments and draws a line and label when one market breaks its reference level and the other does not. The correlated as

Indicator v6 SMC / ICT / price actionDivergence Repaints
Updated 6 weeks ago · MIT GitHub repository of SMT Divergence
1 stars

An indicator that plots Bollinger Bands and labels candles whose wicks pierce the upper or lower band, using a body-to-wick ratio to decide what counts as a wick. It checks 15-minute, 1-hour and 4-hour data and can send alerts for the current timeframe or the

Indicator v6 Volatility & bandsMean reversion
Updated 6 weeks ago · MIT GitHub repository of Bollinger Band Wick Marker MTF
1 stars

A signal overlay that merges two entry sources: an Andean oscillator with clustered Money Flow Index levels, and a UT Bot ATR trailing stop. Signals pass through optional filters: a FRAMA trend channel, a choppiness index, an ATR percentage range, a higher-tim

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of MUFCA AtomDC v3.1 Elite

BTC Trading Assistant

by tc3oliver
1 stars

BTC Trading Assistant is an indicator for discretionary Bitcoin traders. It calculates cost-aware position size from supplied direction, stop price, equity and risk percentage. The tool draws risk and reward zones, break-even line, R targets and estimated net

Indicator v6 Support & resistanceScreeners & dashboards
Updated 7 weeks ago · MPL-2.0 GitHub repository of BTC Trading Assistant
1 stars

A Pine v6 overlay that tracks 39 key price levels, including 4 hour, daily, weekly, monthly, quarterly and yearly opens, previous highs, lows and midpoints, the Monday range, and London and New York session ranges. For each level it flags two events: a sweep,

Indicator v6 Support & resistanceSessions & time
Updated 7 weeks ago · MIT GitHub repository of Key Level Sweep & Rejection

BTCUSD Long Only

by Pr-ashant-pawar
1 stars

This overlay indicator detects candles that stay entirely below a short exponential moving average and groups them into a sequence. When price later closes above the sequence high, it waits for a pullback that touches that level and then marks a long entry, re

Indicator v6 Moving averagesBreakout
Updated 7 weeks ago · None stated GitHub repository of BTCUSD Long Only

SuperTrend MTF

by Onair-santa
1 stars

Plots a Supertrend-based oscillator in a separate pane, scaled between -100 and 100, with a signal line, histogram and bands at 80 and -80. Buy and sell labels appear when price crosses the Supertrend line. An optional filter requires two higher timeframes, by

Indicator v6 TrendVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of SuperTrend MTF

ADR 50 SR Pro

by DEVfancybear
1 stars

ADR 50 SR Pro calculates key support and resistance levels based on 50% of the Average Daily Range (ADR) projected above and below the daily opening price. It plots horizontal level lines and customizable shaded zone boxes directly on the main price chart. Tra

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · MIT GitHub repository of ADR 50 SR Pro

OCI Ollie Conviction Index

by ollieLiu1988
1 stars

Combines RSI, Stochastic RSI, MACD histogram and Bollinger Band position into one weighted score from -5 to +5 that gauges whether price looks stretched high or low. An optional MFI vote is off by default. Settings cover indicator lengths, sensitivity presets,

Indicator v6 Oscillators & momentumVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of OCI Ollie Conviction Index

Bitmoon System

by morindok
1 stars

The Bitmoon System calculates symmetrical price projections and mirrored fractal levels directly on the price chart. It allows users to set central mirror levels, reference price points, and reference time anchors to project past fractal patterns forward or ac

Indicator v6 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System
1 stars

A strategy built around a session VWAP and ATR bands during the London window, 08:00 to 12:00 UTC by default. It looks for a pullback to an ATR band followed by a VWAP cross, filtered by an RSI threshold, and evaluates signals on confirmed bars. Stops and targ

Strategy v6 Sessions & timeMean reversion
Updated 7 weeks ago · None stated GitHub repository of EMP Session Momentum v6
1 stars

Calculates a Simple Moving Average (SMA) and Relative Strength Index (RSI) to render a live status dashboard table on the price chart. The script plots the SMA line directly on the price chart with color dynamic styling based on market trend direction. On the

Indicator v6 Screeners & dashboardsMoving averages
Updated 7 weeks ago · MPL-2.0 GitHub repository of Dashboard Block Pattern Reference
1 stars

A Pine v6 example strategy from a trading guide that enters long when a fast EMA crosses above a slow EMA and short when it crosses below, defaulting to 10 and 50 periods. Each open position gets a percent stop loss and a percent take profit measured from the

Strategy v6 Moving averagesTrend
Updated 7 weeks ago · MIT GitHub repository of MA Crossover (Guide Example)

IFVG + OTE Indicator

by tshepang31
1 stars

This indicator plots Inverse Fair Value Gaps (IFVG) and Optimal Trade Entry (OTE) zones directly on the price chart. It identifies bullish and bearish IFVGs from swing points and marks OTE levels at 0.62, 0.705 and 0.79 Fib extensions. The script detects confl

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of IFVG + OTE Indicator

BIST MTF Signal System

by Baran-Ozkann
1 stars

This indicator scores each bar of a BIST equity with a weighted confluence of thirteen layers and plots the result in a separate pane. Daily ADX, SMA and EMA alignment lock direction and can veto a candidate. The one-hour timeframe needs a PAC touch plus a con

Indicator v6 TrendOscillators & momentum Repaints
Updated 8 weeks ago · None stated GitHub repository of BIST MTF Signal System
1 stars

Shows a position-sizing table on the price chart for an options-style account where each contract covers 100 units. Inputs are portfolio value, target premium, contracts allowed, active contracts and average cost. It reports a risk amount per trade, taken as o

Indicator v6 Screeners & dashboards
Updated 8 weeks ago · MIT GitHub repository of DCP Daily Contract Position

XAUUSD LiqSweep+MSS+VP System

by MuthuvelMukesh
1 stars

This intraday strategy executes trades on gold (XAUUSD) 5-minute charts using 15-minute higher-timeframe bias. It identifies key liquidity levels—such as previous day highs and lows, session levels, swings, and equal highs or lows—and waits for confirmed liqui

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of XAUUSD LiqSweep+MSS+VP System
1 stars

Calculates and plots customizable moving averages on the price chart using 20 native slots and 5 cross-timeframe overlay slots. Supports SMA, EMA, RMA, VWMA, and WMA moving average types with user-defined sources, lengths, colors, and line widths. Visibility c

Indicator v6 TrendMoving averages Repaints
Updated 2 months ago · MPL-2.0 GitHub repository of MA Slots - Multi-Timeframe

AIO Albi

by Albidev1
1 stars

An all-in-one overlay that draws a fast EMA and a slow EMA taken from other timeframes, current day, previous day and previous week highs and lows, and unfilled daily fair value gaps with a dotted midline. Optional extras are untouched daily swing points, the

Indicator v6 Support & resistanceMoving averages
Updated 2 months ago · None stated GitHub repository of AIO Albi

4Y AVWAP SIP

by sidd99-nit
1 stars

This indicator calculates four-year accumulated volume weighted average prices with recency weighting for the current year, previous year, two years ago and three years ago. It plots lines for each individual AVWAP, a recency-weighted composite and an equal-we

Indicator v6 Moving averagesSupport & resistance
Updated 2 months ago · None stated GitHub repository of 4Y AVWAP SIP

CVD

by Robwhitlow3
1 stars

A separate-pane indicator that plots cumulative volume delta, estimated from lower-timeframe bars by classing each sub-bar as buying or selling volume. The line resets by session (regular hours, extended hours, daily, or never) and is colored above and below z

Indicator v6 VolumeDivergence
Updated 2 months ago · MIT GitHub repository of CVD

Consensus Meter

by iamsteveng
1 stars

A separate-pane indicator that adds up equal votes from up to six classic signals: a 20/50 moving average cross, RSI, MACD, Bollinger Bands, OBV and the Ichimoku cloud. Each signal votes plus one, minus one or zero, and the net total is plotted as a whole numb

Indicator v6 Oscillators & momentumMoving averages
Updated 2 months ago · None stated GitHub repository of Consensus Meter

Alpha Forge Core Elite

by vedkanani123
1 stars

A price-chart indicator that plots a basis line with volatility bands and graded buy and sell setups. Presets for Scalping, Day, Swing or Custom, plus an auto market profile that detects forex, gold, crypto, stocks or futures, set trend length, band width and

Indicator v6 TrendSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Alpha Forge Core Elite

MP TD Sequential V1

by mikepardo
1 stars

A Pine v6 overlay that implements a Tom DeMark style Sequential count. It tracks Setup counts of nine bars and Countdown counts to thirteen, with options for price flip, the 13-versus-8 qualifier, TDST cancellation, opposing setup cancellation and recycling. I

Indicator v6 Oscillators & momentumSupport & resistance
Updated 2 months ago · None stated GitHub repository of MP TD Sequential V1

A price-chart indicator based on the UT Bot ATR trailing stop, with separate buy and sell engines that each have their own key value and ATR period, so long and short signals can react at different speeds. Signals print as selectable label, triangle, arrow or

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of UT Bot Alerts 2026 Elite Edition

CH033 ORB+ PRO

by sandovalchristian033
1 stars

This indicator identifies failed opening range breakouts and plots session-based analytical overlays directly on the price chart. It defines the New York opening range from 09:30 to 09:45, identifies false breakouts that return inside the range, and triggers r

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of CH033 ORB+ PRO

Anish TB Foster Fix

by nishpa800
1 stars

Overlay indicator for stock-style charts that flags pocket pivot candles: a large percentage body whose volume beats the highest opposite-colour volume over a lookback. It also tests trend stages using 50, 150 and 200 period EMAs plus distance from the 52-week

Indicator v6 TrendVolume
Updated 2 months ago · None stated GitHub repository of Anish TB Foster Fix

Key Levels

by insomniac-asif
1 stars

Plots common futures reference levels on the price chart: previous day high, low and close, overnight high and low, the opening range, VWAP with bands, round numbers and a session background. Sessions use New York time, with a regular session of 0930 to 1600 a

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 months ago · MIT GitHub repository of Key Levels

Very Long Term RVOL Pro

by monikerprivacy-byte
1 stars

This indicator is drawn on the price chart and classifies relative volume against a simple moving average of volume. It combines volume with candle-body effort, close location, wick bias, and ATR to label bullish, bearish, or mixed conditions. Configurable thr

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of Very Long Term RVOL Pro
1 stars

A configurable signal builder for the price chart. The user picks a leading indicator, with Range Filter as the default, and can then require confirmation from optional filters such as EMA position, two or three EMA crosses, Rational Quadratic Kernel, SuperTre

Indicator v6 TrendMoving averages Repaints
Updated 2 months ago · None stated GitHub repository of DIY Custom Strategy Builder v1

Vesper

by mavomen
1 stars

Vesper is an overlay session indicator that shades the Asia, London and New York windows on the price chart and highlights the overlaps between them. It can also draw session boxes and per-session high and low lines, show an information table with the active s

Indicator v6 Sessions & time
Updated 2 months ago · MIT GitHub repository of Vesper

Daddy's Special Mix

by timoanttila
1 stars

Daddy's Special Mix is an indicator that combines an anchored VWAP with a standard deviation band, ATR distances, RSI levels and turtle-style breakout windows. It tracks entries after VWAP crosses, allows a set number of additional entries, and flags exits on

Indicator v6 BreakoutTrend Repaints
Updated 2 months ago · GPL-3.0 GitHub repository of Daddy's Special Mix
1 stars

EMA & Time Exit Strategy v6 is an overlay trend-following strategy based on exponential moving averages and fixed-duration holding periods. It plots a fast EMA and a slow EMA directly on the price chart, triggering a long entry when the fast EMA crosses above

Strategy v6 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of EMA & Time Exit Strategy v6

MMC Order Block Strategy

by vproptrader10010-cmyk
1 stars

An indicator that detects swing highs and lows using a lookback setting and treats them as liquidity pools, plotting the latest ones as lines. It flags a stop-hunt sweep when price pushes beyond a swing level and closes back inside with an engulfing or hammer-

Indicator v6 SMC / ICT / price actionCandlestick patterns
Updated 2 months ago · None stated GitHub repository of MMC Order Block Strategy
1 stars

A Pine v6 indicator that plots the built-in Supertrend next to a hand-written expansion of the same calculation on the price chart. The explicit version builds ATR-based upper and lower bands from the midpoint of each bar and flips direction when the close cro

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of SuperTrend Explicit Port Reference

POC VA MACD HA v1

by syrilj
1 stars

A chart-overlay indicator that builds an approximate volume profile over a recent window, plotting the point of control and the value area high and low. It also computes a Heikin-Ashi version of a range-normalised MACD. A long condition is flagged with a green

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v1
1 stars

This strategy trades pullbacks to the 21 EMA inside a full EMA 21, 50, 200 stack, shorts only by default. Filters include ADX strength, an RSI range, volume relative to its average, a minimum candle body, an ATR floor, a panic-volatility check and an optional

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Adaptive Pullback Momentum 5m
1 stars

This strategy arms a stop entry slightly beyond the close of a confirmed signal candle, filtered by SuperTrend, fast and slow EMAs, MACD, RSI, rising ADX and higher timeframe checks, within a trading session. A basket of 10 lots books half at a one-point targe

Strategy v6 ScalpingTrend
Updated 2 months ago · Custom licence GitHub repository of 5m Weapon One Leg 10 Lots Basket

This indicator classifies market conditions into five regimes using Bandt-Pompe permutation entropy on price closes. It calculates an entropy score to assess order versus randomness, smooths it into a predictability metric, and computes an adaptive percentile

Indicator v6 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Permutation Entropy Regime [Jayadev Rana]

Contra v6

by jayadevrana
1 stars

This Pine Script strategy fades exhaustion moves into the Pivot Point SuperTrend band. It buys when price stretches down into the band and sells when price stretches up, using touch, reversal or both triggers. Entries support pyramiding with configurable steps

Strategy v6 Mean reversionVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Contra v6

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