Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 7)

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

1 stars

A confluence scoring indicator for smart money setups on the price chart. It checks a higher timeframe EMA bias, break of structure, liquidity sweeps, three-candle fair value gap zones and a rejection candle, and adds weighted points into a score. Buy or sell

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated yesterday · None stated GitHub repository of TraderWatch SMC/ICT Confluence

BTC Genius

by tatianathevisionary
1 stars

A price-chart indicator for Bitcoin on the daily timeframe that gathers daily data from Nasdaq futures, gold, the dollar index, the ten-year yield and Brent crude. It computes rolling correlations with Nasdaq and gold, a macro pressure-release score, a seller-

Indicator v6 Support & resistanceVolatility & bands
Updated yesterday · None stated GitHub repository of BTC Genius

Indicator Template

by Jahanzaib211
1 stars

A starter indicator template that plots a fast and slow exponential moving average on the price chart. A long or short marker appears on a confirmed bar when the averages cross and RSI is above or below 50. Each signal calculates an ATR-based stop level and a

Indicator v6 Moving averagesTrend
Updated yesterday · MIT GitHub repository of Indicator Template

BTC Trend Ensemble 2-of-3

by nvolpe2007-cell
1 stars

A long-or-cash strategy where three trend checks vote at each daily close: price above a 100-bar SMA, above a 200-bar SMA, and above its close 90 bars earlier. It holds a long position when at least the required number of votes agree, two by default, and moves

Strategy v6 TrendMoving averages
Updated yesterday · None stated GitHub repository of BTC Trend Ensemble 2-of-3

BL-ESW Pinbar Market Lab

by tulukakaniwa
1 stars

BL-ESW Pinbar Market Lab is an overlay indicator that calculates rolling VWAP cost anchors across multiple fixed windows to establish dynamic price levels. It detects Pinbar candlestick patterns using customizable wick-to-body ratios and plots GetDelta volatil

Indicator v6 Support & resistanceCandlestick patterns
Updated yesterday · AGPL-3.0 GitHub repository of BL-ESW Pinbar Market Lab

GEX Levels

by aoimiku
1 stars

GEX Levels is an overlay indicator that draws options gamma exposure levels on NAS100, XAUUSD and BTCUSD charts. A companion Python script calculates the levels, and the user pastes its one-line output into a text setting. The indicator picks the block matchin

Indicator v6 Support & resistance
Updated yesterday · None stated GitHub repository of GEX Levels

HA Candles

by teshmi9z-beep
1 stars

An overlay that redraws the chart using an alternative candle type. The user can choose normal candlesticks, Heikin Ashi candles, or candles built from linear regression of open, high, low and close over an adjustable length. Alternative candles are coloured c

Indicator v6 Trend
Updated yesterday · MIT GitHub repository of HA Candles

ML Smart Adaptive Indicator

by GeekRabbit007
1 stars

An overlay that displays signals produced by an outside machine-learning server, delivered through a data repository read with request.seed. It treats the seeded close value as the direction, volume as confidence, and other fields as strength, anomaly score an

Indicator v6 AI / machine learning
Updated 2 days ago · None stated GitHub repository of ML Smart Adaptive Indicator
1 stars

A long-only dip signal indicator that combines a 200-bar Bollinger Band filter with MACD crossovers. A buy marker appears when price has touched the lower band and, by default, still closes below the midline, then a standard or Impulse MACD crossover confirms.

Indicator v6 Mean reversionOscillators & momentum
Updated 2 days ago · None stated GitHub repository of Dip Mafia BB(200) Gate + MACD
1 stars

A separate-pane chart port of a scanner's decision logic, intended to read setups bar by bar. It reproduces a Z-score regime engine, a weekly midline heat phase, absorption and climax markers, nine core checks and a final signal tree, plus an optional divergen

Indicator v6 TrendScreeners & dashboards Repaints
Updated 2 days ago · None stated GitHub repository of Reflex RCCE - Engine View

GEX PRO - NQ / ES

by WSEVwevx
1 stars

GEX PRO draws options gamma exposure levels on NQ and ES futures charts. The levels are calculated outside TradingView and pasted into a text setting as a payload. The script then maps the index prices to the futures chart and plots zero gamma, call wall, put

Indicator v6 Support & resistance
Updated 2 days ago · None stated GitHub repository of GEX PRO - NQ / ES

Koncorde Plus

by mphinance
1 stars

A volume-based oscillator pane built around the Koncorde idea of separating large and small participants, with pattern markers named Zero, Mirror, Bear Hug, Harpoon, Spring and Crossing that can be switched on or off. Optional layers add MACD dots, RSI or MFI

Indicator v6 VolumeOscillators & momentum
Updated 2 days ago · Custom licence GitHub repository of Koncorde Plus

RiskSentinel Full Context

by imanisworld
1 stars

An indicator built mainly as a data and alert engine for futures. It tracks an opening range window, New York and London sessions, four EMAs, a volume average and break of structure swings, and sends confirmed-bar alerts that carry this context, with a webhook

Indicator v6 Sessions & timeSupport & resistance
Updated 2 days ago · Custom licence GitHub repository of RiskSentinel Full Context

MEXC Paper Technical Alerts

by sjbrenchley89
1 stars

This indicator plots 9-period and 21-period exponential moving averages directly on the price chart to identify momentum changes. It generates entry signals when a fast EMA crosses above a slow EMA while RSI is between 50 and 65 and the MACD histogram is posit

Indicator v6 Moving averagesOscillators & momentum
Updated 2 days ago · None stated GitHub repository of MEXC Paper Technical Alerts

Big Order Bubbles IQ

by ankurksoni
1 stars

A separate-pane indicator that plots bubbles for unusually large orders, found from lower-timeframe volume with options of one second, one tick or automatic, or from live ticks with no history. Identification uses either turning points or extreme volume, and a

Indicator v6 Volume Repaints
Updated 2 days ago · None stated GitHub repository of Big Order Bubbles IQ

Order Flow Heatmap

by grzresearch
1 stars

This indicator builds a volume profile heatmap over a lookback window and draws it on the price chart in the style of order flow tools. It marks the point of control, value area, high and low volume nodes, volume bubbles for large bars, session VWAP with devia

Indicator v6 VolumeSupport & resistance
Updated 2 days ago · MPL-2.0 GitHub repository of Order Flow Heatmap
1 stars

A Bitcoin-focused indicator drawn over the price chart that combines several context modules. These include weekend liquidity rules that reduce suggested position size, a four-year halving cycle phase classifier, correlation and risk-off checks against the S&P

Indicator v6 Screeners & dashboardsVolume
Updated 2 days ago · MPL-2.0 GitHub repository of BTC Strategy Multi-Factor Engine

15m EMA + OI Flip Signals

by grzresearch
1 stars

The indicator plots the fast 9 and slow 15 EMA on the price chart and colors the area between them green for bullish trend and red for bearish. It generates BUY signals on the fast EMA crossing above the slow EMA and SELL signals on the opposite crossover. Sig

Indicator v6 TrendMoving averages
Updated 2 days ago · MPL-2.0 GitHub repository of 15m EMA + OI Flip Signals

SMC Confluence Engine Strategy 2

by shubhamtaywade82
1 stars

A smart money concepts strategy drawn on the price chart. It marks break of structure and change of character, order blocks, liquidity sweeps and optionally internal structure, equal highs and lows, fair value gaps and premium and discount zones. Long entries

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 days ago · None stated GitHub repository of SMC Confluence Engine Strategy 2

TopBot 2024 Adaptive

by drewstake
1 stars

Prints manual long and short signal labels on the price chart using an adaptive scoring method trained on recent settled trade paths, with a warmup count before it starts. It uses the previous closed candles, enters at the current open, and applies a minimum d

Indicator v6 AI / machine learningScalping
Updated 3 days ago · None stated GitHub repository of TopBot 2024 Adaptive
1 stars

An indicator for crypto perpetual futures that scores each bar from trend, momentum, volume and market structure, then confirms it across four timeframes. Scores at or above a long threshold or at or below a short threshold produce signals, optionally gated by

Indicator v6 TrendSMC / ICT / price action
Updated 3 days ago · MIT GitHub repository of AURA Confluence Signal System
1 stars

This trend-following strategy implements Paul Tudor Jones' long-term moving average rule directly on the price chart. It calculates an SMA or EMA baseline with an optional percentage band and a confirmation close counter to filter out false breakouts. The stra

Strategy v6 TrendMoving averages
Updated 3 days ago · MPL-2.0 GitHub repository of 200-Day Rule (Paul Tudor Jones) [JR]

Fractal Fibonacci

by Metaprogramlabs
1 stars

An overlay indicator that builds a dealing range from the latest fractal high and fractal low, using a 3-bar or 5-bar fractal with an adjustable confirmation period. It draws Fibonacci levels at 0, 0.5 and 1 to separate discount, equilibrium and premium, and r

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · Custom licence GitHub repository of Fractal Fibonacci

Skipp Calibration

by skipp-dev
1 stars

This library provides functions for rolling statistical computations and probability calibration in trading applications. It maintains rolling buffers with running sum recalculation to efficiently handle large datasets. Additional tools compute 3-way posterior

Library v6
Updated 3 days ago · None stated GitHub repository of Skipp Calibration

Session Context

by jometa9
1 stars

An overlay that draws higher-timeframe candles on the chart, either over the lower-timeframe bars or projected as a mini chart to the right of the last bar. The timeframe is automatic or custom, drawing can be limited to a time window, and a countdown to the c

Indicator v6 Sessions & timeSupport & resistance Repaints
Updated 4 days ago · None stated GitHub repository of Session Context
1 stars

This strategy for index futures models an ICT sequence on the price chart. Price sweeps a liquidity pool, either the previous day high or low or confirmed swings. A displacement close then shifts market structure, and a limit order is placed at the fair value

Strategy v6 SMC / ICT / price action Repaints
Updated 4 days ago · MIT GitHub repository of Liquidity Sweep, MSS and FVG Entry Model

BigStrategy

by hoox-sh
1 stars

A simple price-action strategy that goes long on a bullish bar closing above the prior close with a higher high, and short on the mirror-image bearish bar. Each entry comes with a stop, a limit and a trailing value set as percentages of price. It also closes a

Strategy v6 Breakout
Updated 4 days ago · AGPL-3.0 GitHub repository of BigStrategy

EMA · RSI

by Tomas-Cyberia
1 stars

The EMA RSI indicator plots multiple moving averages including EMAs and MAs on the price chart and the RSI oscillator in a separate pane. It identifies when a trending asset returns to support with RSI in oversold, using green signals and confirmations at key

Indicator v6 TrendMoving averages
Updated 4 days ago · None stated GitHub repository of EMA · RSI
1 stars

A small demonstration indicator that marks crossovers between a 3-period and a 5-period simple moving average on completed bars, with a triangle below the bar for a bullish cross and above it for a bearish cross. It also checks a fixed set of twelve sample clo

Indicator v6 Moving averages
Updated 4 days ago · MIT GitHub repository of SCA EA Parity Demo SMA 3/5

Mahi_varma PA

by manthenamahendravarma-IO
1 stars

This indicator maps market structure and price action levels directly on the price chart. It detects Break of Structure (BOS) and Change of Character (CHOCH) patterns alongside swing points. The script identifies key zones including Quasimodo Levels (QML), Sup

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · MIT GitHub repository of Mahi_varma PA

CRT

by Metaprogramlabs
1 stars

CRT is an overlay indicator based on candle range theory. It plots the high and low of a higher-timeframe candle and extends both levels to the right, with nine selectable timeframes from H1 to 12M. A range stays active while later candles remain inside it and

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 4 days ago · Custom licence GitHub repository of CRT

ES1! Long 1D MA200 MA5

by luifertorres
1 stars

A long-only daily strategy for E-mini S&P futures. It enters long when the 200-period SMA is rising, the candle is bearish and the whole bar sits below the 5-period SMA, and it closes the position when price closes above the 5-period SMA. Size is a fixed one c

Strategy v6 Mean reversionMoving averages
Updated 5 days ago · MIT GitHub repository of ES1! Long 1D MA200 MA5

J13 Adv

by moonyroy
1 stars

This indicator overlays the developing 60-minute candle on the price chart as a wick box and a body box that update until the hour closes. It tracks the hour high and low, records the first extreme, and connects successive swing pivots with lines stored in a c

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 5 days ago · None stated GitHub repository of J13 Adv

Indicator EMA Crossover

by Jakub-Pinkowski
1 stars

This script calculates two Exponential Moving Averages (EMAs), default periods 9 and 21, and plots them directly on the price chart. It shades the area between the lines green during bullish trends and red during bearish trends. Crossovers trigger delayed Buy

Indicator v6 TrendMoving averages
Updated 6 days ago · None stated GitHub repository of Indicator EMA Crossover

This indicator evaluates and visualizes institutional banker, hot money, and retail trader strength inspired by the MCDX model. It measures RSI-based momentum across daily, weekly, and monthly timeframes, combining them into a weighted composite strength score

Indicator v6 Oscillators & momentumTrend

Adaptive MA Function

by pineforge-4pass
1 stars

This strategy calculates Kaufman's Adaptive Moving Average (KAMA) using a custom efficiency-ratio function on closing prices. It plots a color-coded KAMA line directly on the price chart, turning green when the slope is positive and red when negative. The stra

Strategy v6 TrendMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of Adaptive MA Function
1 stars

This test strategy demonstrates Pine Script v6 risk management using maximum consecutive losing days rules. Once the configured start time is reached, it opens long positions on set bar intervals and optionally executes partial position exits. It tests trading

Strategy v6
Updated 6 days ago · MIT GitHub repository of Consecutive Loss Days Isolation R1
1 stars

A Pine v6 overlay that reads closed-candle data from three higher timeframes and tracks fast and slow EMAs, RSI, Bollinger Bands, ADX, VWAP and volume against its average. It is designed to send updates only when a value changes by more than a set threshold fo

Indicator v6 TrendOscillators & momentum
Updated 6 days ago · None stated GitHub repository of Multi-Timeframe Trend Monitor

This strategy calculates fast and slow EMAs crossed with an RSI filter to generate long and short signals on the price chart. It enters positions based on EMA crossover conditions filtered by RSI thresholds and exits using stop-loss and take-profit levels scal

Strategy v6 TrendMoving averages
Updated 6 days ago · None stated GitHub repository of Hyperliquid-Ready Webhook Strategy Template

EMA Volume

by engtuncay
1 stars

The EMA Volume indicator plots two exponential moving averages on the price chart, with lengths of 50 and 200 periods. It calculates a simple moving average of volume and filters cross signals based on volume levels. Bullish and bearish crossovers between the

Indicator v6 Moving averagesVolume
Updated 6 days ago · None stated GitHub repository of EMA Volume

Change of Context

by ElroyvOuwerkerk
1 stars

A candle-pair indicator that marks a bearish signal when a bar fails to take the previous high and closes below the previous low, and a bullish signal in the mirror case. An optional divisions filter also requires the close to sit in the lower or upper fractio

Indicator v6 Candlestick patterns
Updated 7 days ago · None stated GitHub repository of Change of Context

A long-only strategy for short-term crypto trading that combines Bollinger Bands, RSI, a 9-period EMA, a 21-period SMA and a Fibonacci window covering about ten minutes of bars. It sizes positions as a percentage of equity and can require a minimum gain before

Strategy v6 ScalpingSessions & time
Updated 7 days ago · None stated GitHub repository of Crypto Long 10m Scalper BB RSI EMA Fib

GridWB3 Auto-Calculated Config

by cckmchiu-gapps
1 stars

This indicator draws a price and time grid on the price chart and sets its anchors automatically. It scans closing prices from a chosen start date, takes the highest and lowest close as the top and bottom of the box, and uses an end date as the right edge. The

Indicator v6
Updated 7 days ago · None stated GitHub repository of GridWB3 Auto-Calculated Config

A strategy that builds a 15-minute opening range box from a configurable session and time zone, drawing its high, midpoint and low lines with price labels. It then trades a break, return and cross sequence around the range, with a reward-to-risk exit model, th

Strategy v6 Sessions & timeBreakout Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of 15-Minute ORB Box Break-Return-Cross Strategy
1 stars

A price-chart helper that turns another indicator's buy and sell plots into flip alerts. The user points two source inputs at the plots of a companion script that must already be on the chart, and a threshold decides when a plot counts as firing. The script tr

Indicator v6
Updated 7 days ago · Custom licence GitHub repository of Phantom Flow Alert Bridge

Sequential Countdown

by allanninal
1 stars

Sequential Countdown is an overlay indicator that writes a 9-13 sequential count on the price chart. It plots buy setup numbers below bars and sell numbers above them, marking a perfected nine differently from an unperfected nine, then draws countdown numbers

Indicator v6 Oscillators & momentumMean reversion
Updated 7 days ago · Custom licence GitHub repository of Sequential Countdown

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