Pine Library · 1,149 open-source scripts

Free Session and Time Pine Scripts (page 3)

Open-source Pine scripts that mark time: Asian, London and New York session boxes, opening ranges, kill zones, day and week separators.

Pine scripts1,149
Code shown here551open licence
Updated in a year961
No repaint flag969

Sessions & time: Indicators, Strategies and Libraries

1 stars

Marks a 15-minute opening range window on the chart and looks for a manipulation candle whose range is at least a set percentage of the daily ATR. When one appears, it draws position-tool style boxes showing a pending entry, a stop placed beyond the wick plus

Indicator v6 Sessions & timeBreakout
Updated 5 weeks ago · None stated GitHub repository of ORB Strategy Solid Position Boxes
1 stars

This indicator marks fair value gaps and new day and new week opening gaps on the price chart. Inside a New York session window it looks for the first presented gap, optionally requiring a displacement candle, and can also draw later gaps. Boxes expire after u

Indicator v6 SMC / ICT / price actionSessions & time
Updated 5 weeks ago · MIT GitHub repository of Bullseye FVG & Opening Gaps

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
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

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

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

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

SMC Entry Filter

by andriiops
1 stars

This overlay indicator tracks confirmed swing highs and lows as liquidity levels and marks a break of structure when the close moves beyond the last swing. It detects bullish and bearish fair value gaps that meet a minimum ATR size, then plots filtered long an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of SMC Entry Filter

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
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

Gold Dominator Pro

by thanvish21
1 stars

Gold Dominator Pro is a multi-indicator overlay designed primarily for gold trading. It combines higher-timeframe exponential moving averages with momentum oscillators like RSI, MACD, and StochRSI, alongside volatility tools such as ATR, Bollinger Bands, and A

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Gold Dominator Pro
1 stars

A Pine v5 research overlay for gold on 15 or 5 minute charts. It shades a New York morning entry window, shows a bias dashboard from fast and slow EMAs, and draws 4 hour and 1 hour fair value gaps and order blocks as higher timeframe areas of interest. A break

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of HTC v0.1 Gold Research
1 stars

This indicator plots High Timeframe Opening Gaps for Monthly, Weekly, and Daily sessions on the price chart, highlighting price levels formed by previous period closes to current opens. It displays Opening Price Lines at selected times including 00:00, 08:30,

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Opening Levels — Gaps + OPL

GrimmArty Indicator

by GreyssonEnterprises
1 stars

A Pine v5 indicator that draws four smoothed moving averages (21, 50, 100 and 200), a trend fill between a two-period EMA and the 200 average, three line strike markers and engulfing-style candle markers, with optional time-zone session shading and weekday tog

Indicator v5 Moving averagesCandlestick patterns
Updated 2 months ago · MIT GitHub repository of GrimmArty Indicator

Bitcoin Cycle Phase Map

by BitcoinDaily
1 stars

Bitcoin Cycle Phase Map is an overlay indicator that shades the Bitcoin chart by days since the latest halving, split into boom, bust and recovery zones. The zone boundaries, set at 520 and 910 days by default, can be changed. It projects upcoming zones forwar

Indicator v6 Sessions & timeSupport & resistance
Updated 3 months ago · Custom licence GitHub repository of Bitcoin Cycle Phase Map

PineFlow v6 — ORB Risk Strategy

by loveyuanfandj-glitch
1 stars

PineFlow v6 — ORB Risk Strategy executes opening range breakout trades filtered by trend and momentum indicators. It defines an initial opening range and trades breakouts during the active trading session when aligned with fast and slow EMAs, ADX momentum, and

Strategy v6 BreakoutSessions & time
Updated 3 months ago · MIT GitHub repository of PineFlow v6 — ORB Risk Strategy
1 stars

MTF Confluence Strategy is a Pine Script strategy that generates long and short signals based on Supertrend flips on the chart timeframe confirmed by Supertrend on a higher timeframe. Signals require ADX above a threshold for trending conditions and optional v

Strategy v6 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MTF Confluence Strategy

ICT Liquidity Engine - Base

by annihilateiwnw-create
1 stars

The ICT Liquidity Engine - Base indicator identifies key liquidity levels and market sessions on the price chart using the New York time zone. It calculates and plots previous daily, weekly, and monthly high and low levels to highlight institutional liquidity

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of ICT Liquidity Engine - Base
1 stars

High Low - Candle Origin is an overlay indicator that draws the current and previous period high and low as lines starting at the exact candle that formed each extreme. The period can be 1 hour, 4 hour, daily or weekly, and the chart timeframe must be smaller

Indicator v5 Support & resistanceSessions & time
Updated 3 months ago · MIT GitHub repository of High Low - Candle Origin
1 stars

This indicator draws two ATR trailing stop lines on the price chart: a fast Sniper line and a slow Anchor line. A buy or sell trigger comes from the fast line flipping, and the README says it should agree with the slow line's direction. A session filter shades

Indicator v6 TrendVolatility & bands
Updated 3 months ago · MIT GitHub repository of Phoelix 15min Sniper Bot - Raw Ride Edition

Auric Sentinel

by arslanahmad429
1 stars

A multi-layer overlay that combines an EMA ribbon with a higher-timeframe EMA and price context, swing-based order blocks, a premium and discount zone, session and volatility filters, and a risk table. Settings choose the EMA lengths, swing bars, invalidation

Indicator v6 SMC / ICT / price actionTrend
Updated 4 months ago · None stated GitHub repository of Auric Sentinel

Asia Session Box

by riegodavid-git
1 stars

A small overlay indicator that draws a box around a fixed 30-minute window each day, defined in Philippine time (Asia/Manila). The only timing input is the start hour, 7 by default, so the window runs from the start of that hour to half past. The box expands t

Indicator v6 Sessions & timeSupport & resistance
Updated 4 months ago · None stated GitHub repository of Asia Session Box
1 stars

An intraday overlay combining candle range theory with price action. It plots break of structure and change of character labels from swing pivots, the previous higher-timeframe candle as a range with premium and discount shading, previous day high and low, the

Indicator v5 SMC / ICT / price actionSessions & time
Updated 4 months ago · MIT GitHub repository of Forex Analyst - CRT + Price Action
1 stars

A strategy for index futures that combines New York session timing, session VWAP with bands, previous day levels and a volume profile with order flow proxies such as delta and a depth-of-market aggression threshold. Inputs set the aggression threshold, how man

Strategy v5 VolumeSessions & time Repaints
Updated 4 months ago · MIT GitHub repository of Marketman Intraday Profile + Order Flow

BB(10,2) + TP20 SameDay

by zraesdev-hub
1 stars

This strategy draws Bollinger Bands on the price chart and enters long when both the open and the close are below the lower band. Mode S1 exits the same day at a 20 percent take profit or forces a close if that target is missed. Mode S2 can hold for a set numb

Strategy v5 Volatility & bandsMean reversion
Updated 4 months ago · None stated GitHub repository of BB(10,2) + TP20 SameDay
1 stars

A fractional differencing Z-score oscillator in a separate pane for one-minute Nasdaq futures that adds a regime gate based on a three-vote model of directional efficiency, range expansion and VWAP slope, allowing entries only in a mean-reversion state. Furthe

Indicator v6 Mean reversionOscillators & momentum
Updated 4 months ago · None stated GitHub repository of FracDiff Z NQ 1m + HMM Policy A

OOTM Strategy

by FRX132
1 stars

This strategy tracks the Asia, London and New York session highs and lows and draws them on the price chart. In Sweeps mode it looks for a wick beyond a finished session level that closes back inside; Breakouts mode looks for a close beyond it. Optional EMA 20

Strategy v6 Sessions & timeBreakout
Updated 4 months ago · None stated GitHub repository of OOTM Strategy

UT Bot v6

by Stolzel
1 stars

This indicator calculates and plots trend-following signals based on an adaptive UT Bot trailing stop mechanism on the price chart. Entry signals trigger on trailing stop crossovers, with sensitivity keys adjusting dynamically between trending and ranging mark

Indicator v6 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of UT Bot v6
1 stars

A one-minute reversal indicator drawn on the price chart. It combines swing-point structure breaks, wick-to-body rejection candles, an RSI condition or divergence, higher-timeframe demand and supply zones and session filters, and prints buy or sell labels only

Indicator v5 SMC / ICT / price actionCandlestick patterns
Updated 5 months ago · None stated GitHub repository of M1 Reversal Multi-Filter Hub Pro
1 stars

This overlay strategy is built for MNQ on a five-minute chart and is meant to trade imbalance fair value gaps. It reads one-hour and two-hour closes against exponential moving averages for directional bias, and it flags liquidity sweeps of the previous day hig

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of IFVG Strategy – MNQ 5min
1 stars

A futures strategy that looks for price touching pivot levels or dynamic touch zones during the regular session and enters on a rejection wick. A stack of optional filters must agree: VWAP, EMA, momentum, volume, a higher timeframe trend, a trend cloud, a VIX

Strategy v6 Support & resistanceSessions & time
Updated 5 months ago · None stated GitHub repository of Pivot Master Bot v4 Strict Zones
1 stars

A strategy that links TradingView to an external trading backend. Its inputs cover an RSI with overbought and oversold levels, a fast and slow EMA pair, and a London kill zone time window. It is set up to send signals to a webhook address, with an optional API

Strategy v5 Sessions & timeOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Quantum Trading Connector

BAKOME ICT Institutional

by BAKOME-Hub
1 stars

BAKOME ICT Institutional is an overlay indicator that implements Inner Circle Trader concepts directly on the price chart. It calculates 50 and 200 EMAs for trend direction, identifies market structure breaks and changes of character using pivot points, and de

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · MIT GitHub repository of BAKOME ICT Institutional

Hybrid Strategy Trend ORB MTF

by eliasvictor-trading
1 stars

An indicator for intraday futures that builds an opening range for each session and marks breakout signals once price clears it by a tick buffer, with gap filtering and one signal per direction per range. A trend filter uses two moving averages and a higher ti

Indicator v6 BreakoutSessions & time
Updated 5 months ago · MPL-2.0 GitHub repository of Hybrid Strategy Trend ORB MTF

OMEGA ULTIMATE

by princeleuel-code
1 stars

An all-in-one smart money overlay that marks swing points, break of structure and change of character, order blocks, fair value gaps, liquidity levels and sweeps, a 50 percent equilibrium line, power-of-three session phases and SMT divergence. It adds a dashbo

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of OMEGA ULTIMATE

AlgoBot CL Crude Oil Strategy

by ghostnathan30-ops
1 stars

A first-hour breakout strategy for crude oil futures that captures the 9:30 to 10:30 New York range, then looks for a break between 10:30 and 13:00 in the direction of a 50-period EMA bias. It skips the Wednesday inventory report window and calculates ATR-base

Strategy v6 BreakoutSessions & time
Updated 6 months ago · None stated GitHub repository of AlgoBot CL Crude Oil Strategy
1 stars

An overlay indicator that finds liquidity pools from repeated swing touches and signals when price sweeps one. Signals can require a displacement candle sized by ATR, a trend bias from a higher-timeframe moving average, active London, New York or Asia sessions

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Liquidity Model [Prop Firm]

Ghost Engine

by h33rnan
1 stars

Ghost Engine is an overlay indicator that tracks the Asian session range, London and New York killzones, and the New York midnight open. It prints a trap tag when price sweeps an Asian high or low and then closes back inside the range. It maps break of structu

Indicator v6 SMC / ICT / price actionSessions & time
Updated 6 months ago · MIT GitHub repository of Ghost Engine
1 stars

This indicator visualizes Smart Money Concepts and Inner Circle Trader framework elements directly on the price chart. It detects bullish and bearish Fair Value Gaps with real-time mitigation tracking, marks Optimal Trade Entry retracement zones between 62% an

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MPL-2.0 GitHub repository of ICT Surgical Engine PRO

Jigsa God Mode Pro

by jigsabersisa
1 stars

This indicator overlays a 50 and 200 EMA trend filter, RSI confirmation and pivot-based zones on the price chart, and prints buy and sell signals with projected entry, ATR-based stop loss and risk to reward take profit lines. Optional layers include liquidity

Indicator v5 SMC / ICT / price actionTrend
Updated 6 months ago · GPL-3.0 GitHub repository of Jigsa God Mode Pro

NQ SSR Indicator

by CathalF
1 stars

The NQ SSR Indicator plots SMC elements on the price chart, including key levels (PDH/PDL/ONH/ONL/VWAP), session zones, sweep markers, BOS lines & arrows, FVG boxes, OB boxes, signal arrows, HTF bias panel, and SSR panel. Toggle inputs control visibility of ea

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of NQ SSR Indicator

Killzones & Levels

by Jony2176
1 stars

Killzones & Levels is an overlay session indicator that highlights the London, New York and Asia sessions with boxes, using time zone names so daylight saving changes are handled automatically. For each session it can draw the high, low and midpoint. It also p

Indicator v5 Sessions & timeSupport & resistance
Updated 7 months ago · None stated GitHub repository of Killzones & Levels

VWAP Professional

by Blendoxius
1 stars

An indicator that plots volume-weighted average price lines anchored to daily, weekly and monthly periods, plus an optional rolling VWAP over a set number of bars. Earlier sessions can be kept as frozen historical lines, with limits on how many are stored, and

Indicator v6 VolumeSupport & resistance
Updated 7 months ago · None stated GitHub repository of VWAP Professional
1 stars

A strategy for index charts such as the S&P 500 on five minutes, trading only inside a configurable New York time window. It looks for a large-bodied candle, measured against ATR, that follows a short-term liquidity sweep of recent highs or lows, with an optio

Strategy v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of Gemini ICT V11 Extended Dashboard
1 stars

This strategy identifies the Initial Balance (IB) high and low during a user-defined opening session and trades breakout pullbacks. Once the IB window concludes and range filters are satisfied, it enters long or short when price breaks out and retraces back to

Strategy v6 BreakoutSessions & time
Updated 7 months ago · MIT GitHub repository of Gold IB Breakout Retracement

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