Pine Library · 1,149 open-source scripts

Free Session and Time Pine Scripts (page 4)

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

ICT iFVG Continuation Engine

by kashifali1234a12-beep
1 stars

A strategy that tracks fair value gaps on a higher timeframe, 15 minutes by default, and watches for price to tap a zone and then invert a one-minute fair value gap before entering. It trades only inside a set session window, limits trades per day, and can opt

Strategy v5 SMC / ICT / price actionSessions & time
Updated 8 months ago · None stated GitHub repository of ICT iFVG Continuation Engine

ICT 2022 Pure Mentorship

by cKm-IceCold
1 stars

A strategy that models an ICT-style sequence: it detects a liquidity sweep of a one-hour swing level, then waits for a market structure shift on the chart timeframe confirmed by a large displacement candle. Signals are limited to configurable London, New York

Strategy v6 SMC / ICT / price actionSessions & time Repaints
Updated 8 months ago · None stated GitHub repository of ICT 2022 Pure Mentorship

Session Highlighter

by Timonkru
1 stars

The Session Highlighter indicator draws colored boxes over Asia, London, and New York trading sessions directly on the price chart. It calculates the session high and low price bounds based on custom session hours and timezone configurations. Upon session comp

Indicator v6 Sessions & timeSupport & resistance
Updated 8 months ago · MIT GitHub repository of Session Highlighter

A price-chart indicator that combines an opening-range style bias with a candle range trigger. It compares a lower-timeframe pulse against the previous closed candle's high and low across several higher timeframes, counts how many disagree, and only accepts a

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 8 months ago · None stated GitHub repository of HORC x CRT Hybrid Stealth Dome v8.7
1 stars

An indicator in a separate pane that combines RSI, a normalized WaveTrend oscillator and relative volume into a weighted conviction score, with user-set weights for each part. A trend filter reads the slope of a higher-timeframe EMA, five minutes by default, t

Indicator v6 Oscillators & momentumVolume
Updated 8 months ago · None stated GitHub repository of Sniper Alert Wrapper

Draws horizontal lines at the open of selected higher periods on the price chart, with up to five configurable slots that default to daily, weekly, monthly and yearly. Each slot has its own timeframe, colour and lookback count of past opens. Options extend the

Indicator v6 Support & resistanceSessions & time Repaints
Updated 9 months ago · MPL-2.0 GitHub repository of Daily Weekly Monthly Yearly Opens

XT Market Sessions Private

by Voldemortexe
1 stars

This indicator plots session boundaries and opens on the price chart. It visualizes daily weekly and monthly opens, New York Midnight as the institutional day start, previous daily high and low, plus colored session boxes for Asia Frankfurt and London. Users t

Indicator v5 Sessions & time Repaints
Updated 9 months ago · None stated GitHub repository of XT Market Sessions Private

NXOG + FVG

by TavaresBugs
1 stars

The indicator detects and plots Fair Value Gaps across multiple timeframes on the price chart, including 15 minutes, 1 hour, 4 hours, daily, weekly, and monthly. It identifies institutional opening gaps such as NDOG, NWOG, and NMOG with colored boxes and label

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · MIT GitHub repository of NXOG + FVG

ES Professional Fade

by knectardev
1 stars

An ES futures fade strategy designed to trade market opening gaps during regular trading hours. It calculates opening gaps using percentage, point, and ATR thresholds while employing a market breadth TICK filter to veto trades on trend days. It features an exe

Strategy v6 Sessions & timeMean reversion
Updated 9 months ago · None stated GitHub repository of ES Professional Fade

Momentum FX Order Block Zones

by mikedconcepcion
1 stars

An indicator that finds supply and demand zones after a short consolidation followed by a fast ATR-scaled breakout, and draws them as boxes on the price chart. Zones can be limited to windows around the hour and half hour in UTC, and to the direction of a high

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 9 months ago · MIT GitHub repository of Momentum FX Order Block Zones

RVol Panel

by samkdgit
1 stars

RVol Panel plots relative volume in a separate pane for intraday charts. It compares each bar’s volume with the same bar position across a configurable number of recent sessions and also tracks cumulative session volume against that baseline. Bars are colored

Indicator v5 VolumeSessions & time
Updated 11 months ago · MIT GitHub repository of RVol Panel

MTF Checklist Dashboard

by eliasvictor-trading
1 stars

An overlay indicator that shows a colour-coded table of market conditions across six timeframes, 1, 5, 15, 30, 60 and 240 minutes by default, including opening range breakout status and distance from the daily high and low. It prints arrow signals when enough

Indicator v6 Screeners & dashboardsSessions & time
Updated 11 months ago · None stated GitHub repository of MTF Checklist Dashboard

A price-chart indicator that marks the opening range of each session, either from a chosen opening time period or a custom session and timezone. It plots the range high and low, shades the range, and prints breakout signals when price closes beyond it. Targets

Indicator v6 Sessions & timeBreakout
Updated 12 months ago · MIT GitHub repository of LuxAlgo Opening Range with Breakouts and Targets

Modified Asia Sweep

by HibrowSamuvelChristin
1 stars

Modified Asia Sweep is a futures strategy sample built around the Asian and London sessions, with session hours and time zone as inputs. It draws session ranges, Asian swing points, market structure and break of structure lines. Position size can be set by a f

Strategy v5 Sessions & timeSMC / ICT / price action
Updated 1 year ago · Custom licence GitHub repository of Modified Asia Sweep

MR First Entry Backtester

by gaurav4ever
1 stars

A strategy for 5-minute charts that builds a morning range of either five or fifteen minutes after the market open and takes the first breakout entry, with an entry buffer in ticks. An optional trend filter buys only above and sells only below the 50 EMA, and

Strategy v5 BreakoutSessions & time
Updated 1 year ago · None stated GitHub repository of MR First Entry Backtester

ORB Fresh v3

by abhidp
1 stars

Opening range breakout strategy on the price chart. It measures the high and low of a configurable opening window, 09:30 to 09:45 by default, ignores ranges below a minimum point size, and trades breakouts of that range. Position size is based on a risk percen

Strategy v6 BreakoutSessions & time
Updated 1 year ago · None stated GitHub repository of ORB Fresh v3

Neural Network Buy and Sell Signals

by solskjaeralesithio
1 stars

This indicator combines a neural network signal grading engine with moving average and trading session filters directly on the price chart. It plots buy and sell signal labels based on momentum, volatility, and trend conditions evaluated across selectable cand

Indicator v6 AI / machine learningMoving averages

Llama P2P

by lappingio
1 stars

A session and levels overlay that draws boxes for the Sydney, Asia and London sessions in New York time with optional labels, plus a Fibonacci retracement of the session range. It also draws horizontal lines for the current and true day open, previous day, wee

Indicator v6 Sessions & timeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Llama P2P

CCE ORB

by ylohnitram
1 stars

Marks the opening range of the US stock session on the price chart. The range starts at 9:30 New York time and lasts a set number of minutes, 15 by default, with optional extension levels projected from it. A setting limits the display to the morning or to the

Indicator v5 Sessions & timeBreakout
Updated 1 year ago · None stated GitHub repository of CCE ORB

ICT Levels

by JamestheBuildrCodes
1 stars

An overlay that marks the opening price at five New York clock times each day: 12 AM, 8:30 AM, 9:30 AM, 2 PM and 6 PM. For the current day only, each time gets a horizontal line at that bar's open and a text label to the right, and the previous day's lines are

Indicator v6 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of ICT Levels
1 stars

This Pine Script indicator identifies potential trade entries for the USDJPY pair exclusively on 5-minute and 15-minute charts. It plots three Exponential Moving Averages: 9-period fast, 20-period slow, and 200-period trend filter. Signals trigger on EMA 9 cro

Indicator v6 Moving averagesVolatility & bands

Forex Sessions

by klimasevskiy
1 stars

This indicator highlights key trading sessions directly on the price chart to help identify periods of high volatility. It visualizes Asian, Frankfurt, London, and New York killzones using configurable background boxes, high and low boundary lines, and pip-ran

Indicator v5 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Forex Sessions
1 stars

This indicator plots an EMA and RSI on the price chart. It signals overbought and oversold conditions through red and green triangular markers when the RSI crosses 75. A background highlight marks the active trading session between user-defined start and end t

Indicator v5 Moving averagesOscillators & momentum
Updated 1 year ago · None stated GitHub repository of EMA + RSI + Session Expiry
1 stars

A Pine v5 overlay that plots four EMAs (20, 50, 100 and 200) together with a daily central pivot range, taken from the previous day's values, and a full set of pivot point support and resistance levels. Pivot types include Traditional, Fibonacci, Woodie, Class

Indicator v5 Support & resistanceMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of Scalping EMA and Daily Pivots

This intraday strategy opens a long when the MACD histogram crosses above zero and a short when it crosses below, only inside a chosen session and only while ADX is below a threshold of 25. Each trade has a fixed point-based stop loss and take profit relative

Strategy v5 Oscillators & momentumSessions & time
Updated 2 years ago · None stated GitHub repository of Day Trading With MACD and Point Target Stop

YIGITBOX PHL2

by hassonya
1 stars

An overlay that draws two sets of pivot levels from the previous day's range: a classic pivot with first resistance and support, and a close-based pivot with levels half a range above and below. The range comes from daily data, or weekly or monthly on higher c

Indicator v5 Support & resistanceSessions & time
Updated 3 years ago · None stated GitHub repository of YIGITBOX PHL2

0DTE IF

by tyler314
1 stars

This indicator simulates zero-day-to-expiration options trades by plotting scheduled entry and exit shapes directly on the price chart. It signals entries on Mondays, Wednesdays, and Fridays at a user-defined time when the VIX remains below a specified limit.

Indicator v5 Sessions & timeVolatility & bands
Updated 4 years ago · None stated GitHub repository of 0DTE IF

This indicator identifies and plots key options expiration dates on the price chart. It calculates monthly OpEx (the third Friday of each month), quarterly OpEx (March, June, September, December), and corresponding VIX expiration dates, drawing vertical lines

Indicator v6 Sessions & time
Updated 2 months ago · MIT GitHub repository of Expiration Highlights: Opex, Quarterly Opex & VIX with Vanna/Charm
56 stars

This overlay indicator highlights candles with a body smaller than 50% of their total range by coloring them white on the price chart. Simultaneously, it calculates and plots horizontal lines for open prices across multiple higher timeframes, such as daily, we

Indicator v6 Support & resistanceCandlestick patterns Repaints
Updated 2 months ago · None stated GitHub repository of Daily Weekly Monthly Yearly Opens
53 stars

This strategy enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · MPL-2.0 GitHub repository of BTCUSD 5M Optimized Strategy

AM TBR — NQ Stats

by TamaraKGreen
46 stars

The AM TBR indicator calculates statistical levels for NQ futures using standard deviation. It plots a sigma ladder showing touch levels at 0.5 to 2.0 standard deviations, marks touch points, displays Mean Absolute Error (MAE) zones after touches, and shows Me

Indicator v6 Volatility & bandsSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of AM TBR — NQ Stats

This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo

Indicator v6 Support & resistanceSMC / ICT / price action Repaints

Bandz Intraday Timing + FVG

by samuelharting
18 stars

This overlay indicator marks hourly and last-hour macro windows, automatic fair value gaps, and AM/PM session fair value gaps on the price chart. It can color macro candles, draw bracket guides and labels, and add dividers, timestamps, and day labels. Optional

Indicator v6 SMC / ICT / price actionSessions & time
Updated 2 weeks ago · MPL-2.0 GitHub repository of Bandz Intraday Timing + FVG

ORB Pro - Research-Based ORB

by Mrshahidali420
16 stars

The ORB Pro indicator calculates and plots Opening Range Breakout levels, stop-loss and take-profit zones, signal labels, and an status dashboard on the price chart. Built on academic research, it evaluates trades using an opening-candle direction filter, open

Indicator v6 BreakoutSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of ORB Pro - Research-Based ORB

Key Intraday Levels

by traderdiegox
16 stars

This indicator plots key reference levels directly on the price chart, focusing on Smart Money Concepts (SMC) and intraday trading benchmarks. It identifies and displays previous session ranges, previous opens, and daily and weekly reference points, including

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Key Intraday Levels

Equity Intraday Analyst

by chris-c-thomas
14 stars

Equity Intraday Analyst is a comprehensive intraday overlay indicator for US equities and ETFs. It evaluates multi-EMA ribbons, session-anchored VWAP bands, OBV trends, momentum oscillators, TTM Squeeze, and optional market breadth indicators like NYSE TICK an

Indicator v6 TrendVolume
Updated 6 months ago · MIT GitHub repository of Equity Intraday Analyst
13 stars

This strategy overlays the price chart to trade DAX futures during European market hours. It calculates exponential and simple moving averages, RSI, MACD, Bollinger Bands, ATR, and realized volatility to simulate VIX levels. Trades execute when session time fi

Strategy v5 Sessions & timeOscillators & momentum
Updated 8 months ago · Custom licence GitHub repository of ClaudeHedge - DAX Session Strategy

RS: Market Profile

by agejevasv
12 stars

This indicator plots a Market Profile on the price chart using time-price opportunity letters or symbols. It marks the point of control, a configurable value area, and the initial balance, and it can highlight a volume-profile point of control and session VWAP

Indicator v5 VolumeSupport & resistance
Updated 2 years ago · None stated GitHub repository of RS: Market Profile

Nexural ORB

by JasonTeixeira
9 stars

This indicator plots opening range breakout levels across multiple timeframes, including five, fifteen, thirty, and sixty minutes, directly on the price chart. It also displays the session open and overnight high and low levels. The script calculates an openin

Indicator v6 BreakoutSessions & time
Updated 13 days ago · Custom licence GitHub repository of Nexural ORB

FX Market Sessions

by itmakesyousick
7 stars

This indicator highlights key trading sessions directly on the price chart using colored boxes and text labels. It tracks up to three customizable sessions, defaulting to London, New York, and Tokyo, and can display opening ranges, session extensions, and Fibo

Indicator v5 Sessions & timeSupport & resistance
Updated 3 years ago · None stated GitHub repository of FX Market Sessions

C41 Key Calendar

by damianpitt
6 stars

Identifies and highlights recurring key market calendar dates directly on the price chart. It plots visual lines and labels for month, quarter, and year opens and closes, as well as monthly and quarterly options expiration (OPEX), OPEX week starts, earnings se

Indicator v6 Sessions & time
Updated 8 weeks ago · MIT GitHub repository of C41 Key Calendar
6 stars

This indicator detects and visualizes Candle Range Theory (CRT) setups directly on the price chart across defined session windows. It tracks 1-hour and 4-hour key ranges for Asian, London, and New York sessions using higher-timeframe data. The script draws hor

Indicator v6 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT All-Models Visual Suite v6

PA Indicators

by forecho
5 stars

This indicator plots price action tools directly on the main price chart. It shades candles according to Internal Bar Strength (IBS) and optional wick-length thresholds to differentiate trend bars from trading ranges. The script tracks session bar counts durin

Indicator v6 Candlestick patternsMoving averages
Updated 8 weeks ago · None stated GitHub repository of PA Indicators

TradeKit

by tanishq-rocks
5 stars

TradeKit is an all-in-one technical analysis indicator that consolidates multiple chart overlays into a single script on the price chart. It plots up to four customizable moving averages (SMA, EMA, SMMA, WMA, or VWMA), Bollinger Bands, VWAP, and reference leve

Indicator v6 Moving averagesCandlestick patterns
Updated 3 months ago · MPL-2.0 GitHub repository of TradeKit
5 stars

This strategy executes long trades when price retests the prior week's low level within a specified tolerance and closes above it. Entries are restricted to configurable UTC trading hours, excluding Mondays and late Friday sessions. Stop loss and take profit t

Strategy v5 Support & resistanceSessions & time Repaints
Updated 5 months ago · MIT GitHub repository of WKL v2 — Prior Week Low Retest (Fixed)
5 stars

This indicator identifies long mean-reversion trade opportunities when price stretches significantly below the Volume Weighted Average Price (VWAP). It triggers a signal during regular trading hours when price moves a defined minimum number of ticks below VWAP

Indicator v5 Mean reversionVolume
Updated 5 months ago · Custom licence GitHub repository of Path B — VWAP Reversion (Demo)
5 stars

This indicator calculates and plots virtual daily candlestick OHLC values shifted forward by several hours relative to the current time. By aggregating four-hour bar data from higher-timeframe requests, it constructs custom 24-hour periods and renders them as

Indicator v6 Candlestick patternsSessions & time
Updated 7 months ago · MIT GitHub repository of Day Candle Closed Hour(s) Ago

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