Pine Library · 239 open-source scripts

Free Scalping Pine Scripts (page 4)

Open-source Pine scripts built for very short trades on 1 to 5-minute charts.

Pine scripts239
Code shown here103open licence
Updated in a year157
No repaint flag206

Scalping: Indicators, Strategies and Libraries

106 stars

This strategy calculates momentum signals using MACD crossovers filtered by EMA trend filters and an optional RSI indicator. It enters long and short positions directly on the price chart using customizable percentage-based stop loss and take profit targets. T

Strategy v5 Oscillators & momentumMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of 5min MACD Scalp by Joel (3commas)

Morning Scalp

by benso87
24 stars

This strategy tracks an opening session time range to establish directional bias and triggers pullback trades using Stochastic RSI. Once price breaks out of the initial range, it establishes a directional bias and enters when the Stochastic RSI crosses over in

Strategy v5 Sessions & timeBreakout
Updated 4 years ago · MPL-2.0 GitHub repository of Morning Scalp
6 stars

This indicator plots ICT Silver Bullet setups on the price chart. It marks New York and London session windows, fair value gaps, and optional swing highs and lows. Signals use fair value gap or market structure shift execution, with wick or close breakout dete

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of ICT Silver Bullet | Flux Charts v2
3 stars

The River Strategy with SuperScalper plots custom Bollinger Bands to form a price channel on the main chart overlay. It identifies breakout conditions when price bars clear the channel boundaries to generate entry, stop loss, and multi-tier take profit levels.

Indicator v5 Volatility & bandsSupport & resistance Repaints
Updated 12 months ago · None stated GitHub repository of River Strategy with SuperScalper by Leo
1 stars

A long-only strategy for crypto spot that builds support zones from pivot lows on a higher timeframe, 15 minutes by default, and watches the chart timeframe for a liquidity sweep below a swing low followed by a reclaim and a higher low. Reclaim confirmation ca

Strategy v6 Mean reversionSMC / ICT / price action

Fast EMA

by tseitz
1 stars

A Pine v4 strategy that plots a very fast two-period EMA of the close in orange on the price chart. It goes long whenever the EMA is above its previous value and short whenever it is below, closing the opposite side, so it flips direction as the slope changes

Strategy v4 Moving averagesScalping Repaints
Updated 4 years ago · None stated GitHub repository of Fast EMA

This strategy generates trading signals on the 5-minute price chart using Williams Fractals for trend reversals, combined with EMA fast and slow trend filters and optional RSI confirmation. Long entries trigger on bullish fractals aligned with rising EMA and R

Strategy v5 TrendOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of 5min Williams Fractals Scalping (3commas)
6 stars

Wick Rejection S/R Strategy identifies key support and resistance zones based on candlestick wick rejections and liquidity sweeps directly on the price chart. It calculates potential reversal and breakout retest zones using configurable wick thresholds, level

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy

This strategy identifies buy and sell entry points for XAUUSD using a combination of exponential moving averages, RSI, Stochastic oscillators, ATR, and Fibonacci zones. It supports multi-mode execution featuring confirmation and scalp entries triggered by over

Strategy v5 TrendOscillators & momentum
1 stars

A long-only strategy for one-minute spot charts that uses two Bollinger Bands, a standard 20-period band on close and a short 4-period wide band on open, to classify entries into three cases. Entries can be limited to the first two hours of the Asian, European

Strategy v5 Volatility & bandsScalping
Updated 12 days ago · None stated GitHub repository of Double Bollinger Band 1M Scalper
6 stars

This trading strategy detects key support and resistance zones on the price chart by identifying candle rejection wicks over a customizable lookback period. It filters potential trades using an Exponential Moving Average (EMA), Change in Status/Direction (CISD

Strategy v5 Support & resistanceTrend
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy
6 stars

This strategy detects key support and resistance zones based on candle wick rejections and liquidity sweeps. It filters trade setups using an exponential moving average and optional higher-timeframe trend confluence, while also permitting high-confidence count

Strategy v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy v3

Scalping BB CCI ROC

by rubbermetal
1 stars

Scalping BB CCI ROC is an indicator that marks Scalp L or Scalp S labels when the close is outside a Bollinger Band while CCI and rate of change are both beyond their thresholds in the same direction. It draws the bands with a fill colored by price position, a

Indicator v6 ScalpingMean reversion
Updated 4 months ago · MPL-2.0 GitHub repository of Scalping BB CCI ROC

Simple Market Metrics v5

by turnupdigital
1 stars

An indicator in a separate pane that shows buy and sell signals with optional chop, moving average and time-of-day filters. It adds profit target lines at a tick distance, a profit wave band, background trend colouring and candle colouring. Built-in text descr

Indicator v5 TrendScalping
Updated 1 year ago · None stated GitHub repository of Simple Market Metrics v5

KSM BTC Binance 2m

by tseitz
1 stars

A Pine v4 strategy that plots a session VWAP with an upper and lower band offset by a percentage of the high and low. It opens a long when a bar opens above the upper band, optionally only on green candles, and a short below the lower band on red candles, clos

Strategy v4 VolumeScalping
Updated 4 years ago · None stated GitHub repository of KSM BTC Binance 2m
6 stars

Wick Rejection S/R Strategy v3 identifies key support and resistance zones on the price chart using candle wick rejection percentages and liquidity sweeps. It evaluates market structure changes, zone retests, and sweeps to assign confidence scores to trading s

Strategy v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy v3

Scalper Pro 3 Min Gold

by Focal-QuantAI
1 stars

Scalper Pro 3 Min Gold is a price-chart indicator that marks breakout setups around recent pivot highs and lows. It signals a long when a bullish candle closes above the last pivot high while holding a higher low, and a short when a bearish candle closes below

Indicator v5 BreakoutSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Scalper Pro 3 Min Gold

This indicator scans NSE-listed stocks for momentum signals using Supertrend, multiple EMAs, MACD, and stochastic oscillator. It supports continuous or flip signal modes and displays matching setups in a customizable table at the bottom left of the chart. The

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup: Vijay Thakare Option Buying Scalping Setup Scanner

WR-SR + SMC Strategy

by alboogycOdR
6 stars

This overlay strategy looks for wick rejections near support and resistance levels and scores them with smart-money confluence. It can plot fair value gaps, order blocks, change-of-character and break-of-structure labels, higher-timeframe structure lines, and

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of WR-SR + SMC Strategy

A scalping strategy on the price chart built around market structure: change of character, break of structure and inducement sweeps, filtered by RSI extremes, volume, trend EMA, ATR range, session hours and signal confluence. A mode selector switches between C

Strategy v6 ScalpingSMC / ICT / price action Repaints
Updated 2 months ago · None stated GitHub repository of TeleNexus Sovereign Scalping Pro

WR-SR + SMC Strategy v4.0

by alboogycOdR
6 stars

The WR-SR + SMC Strategy v4.0 combines wick rejection for support and resistance level detection with Smart Money Concepts including CHoCH and BOS structure changes, fair value gap zones and order blocks. It signals trading entries and exits on the price chart

Strategy v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of WR-SR + SMC Strategy v4.0

V9 Watchlist Ranker

by kevinesk
1 stars

Evaluates intraday trading rules across ten ticker symbols simultaneously using multi-symbol data requests. It monitors 5-minute volume surges, price breakout pivots, moving average positioning, and session time filters customized for Bursa Malaysia trading ho

Indicator v5 Screeners & dashboardsScalping
Updated 4 months ago · None stated GitHub repository of V9 Watchlist Ranker
257 stars

This overlay strategy is named for one-minute gold. It requests the daily low and several higher-timeframe opens with lookahead enabled, builds a synthetic source from recent opens, and plots a volume-weighted moving average of a higher-timeframe open with sta

Strategy v5 Moving averagesVolatility & bands Repaints
Updated 6 weeks ago · None stated GitHub repository of GOLD 1M - No repaint

VP Scalper

by Tradehook-org
1 stars

A Pine v5 strategy that trades around point of control and value area levels. These are not a true volume profile: the code builds approximate levels from the previous session's high, low and close, taken from a daily, weekly or monthly timeframe and scaled by

Strategy v5 Support & resistanceScalping
Updated 8 months ago · None stated GitHub repository of VP Scalper

[SMT] B&S Renko

by wynnforthework
2 stars

This strategy plots Renko open prices on the price chart based on the ATR length setting. It generates buy signals when Renko open crosses under close and sell signals when open crosses over close. The main setting adjusts ATR length used for Renko brick calcu

Strategy v5 TrendScalping
Updated 1 year ago · None stated GitHub repository of [SMT] B&S Renko
1 stars

A strategy that merges two signal engines: a JAT+BSM engine and a POI scalp engine built on pattern and composite scoring. Either or both can be enabled, and signals combine as either-fires, both-must-agree, or one engine only. Risk uses either an ATR based st

Strategy v5 TrendScalping
Updated yesterday · None stated GitHub repository of JinxAlpha Unified Strategy v1

Range Scalper

by knectardev
1 stars

Range Scalper is a price-chart overlay indicator. Archived notes describe an ATR-based dynamic range threshold meant to adapt range detection to volatility, plus breakout shape markers. The file is labeled simplified for the archive and shows no parsed inputs.

Indicator v5 ScalpingVolatility & bands
Updated 9 months ago · None stated GitHub repository of Range Scalper

Range Scalper

by knectardev
1 stars

Range Scalper marks support and resistance from the latest confirmed pivot low and pivot high. It treats price as range-bound when the distance between those levels, divided by the close, is at or below the range threshold. While that condition holds, it plots

Indicator v5 Support & resistanceBreakout
Updated 9 months ago · None stated GitHub repository of Range Scalper

Range Scalper

by knectardev
1 stars

The Range Scalper indicator identifies support and resistance levels to help traders spot range-bound price action. It calculates pivot highs and pivot lows using a user-defined pivot length parameter. The resistance levels plot in red and support levels plot

Indicator v5 Support & resistanceScalping
Updated 9 months ago · None stated GitHub repository of Range Scalper

MNQ Volume Delta Strategy

by rosijay17-cmd
1 stars

An intraday strategy for MNQ futures built around volume delta and cumulative volume delta. Delta comes from either simple bar polarity or lower-timeframe volume. It adds delta z-scores, relative volume, close location, EMA and VWAP alignment filters, plus div

Strategy v6 VolumeDivergence
Updated 7 days ago · GPL-3.0 GitHub repository of MNQ Volume Delta Strategy

Sniper Algo

by TamTH-Dev
2 stars

Sniper Algo is a multi-indicator technical analysis suite that plots directly on the main price chart. It integrates Ichimoku Kinko Hyo components, automated support and resistance zones, dual exponential moving averages, and optional buy and sell signals. Use

Indicator v5 TrendSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Sniper Algo

NQ Phantom Scalper Pro

by rosijay17-cmd
1 stars

A strategy that trades around an anchored VWAP with standard-deviation bands. The VWAP can reset each session, week, month, quarter or year, with two adjustable band multipliers. A volume spike filter, a time-of-day filter with an optional lunch-hour exclusion

Strategy v6 Mean reversionVolume
Updated 7 days ago · GPL-3.0 GitHub repository of NQ Phantom Scalper Pro
3 stars

This strategy plots directly on the price chart, drawing a multi-line stepped channel calculated from a simple moving average of OHLC4 expanded by Average True Range multipliers. It identifies potential mean-reversion setups, executing buy, sell, trim, and exi

Strategy v5 Volatility & bandsMoving averages
Updated 5 months ago · None stated GitHub repository of Current Backtester

Andean Scalping

by hasnocool
106 stars

Andean Scalping is a Pine Script v5 strategy template designed for backtesting trading signals. It features session and date-range filtering, directional trade toggles for long and short entries, and optional trend filtering tools including higher-timeframe EM

Strategy v5 TrendMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Andean Scalping

Poi-Scalp v2

by majixai
1 stars

A strategy that scores market conditions with many weighted components: head and shoulders and double top or bottom pivots, a regression channel with an R-squared filter, polynomial slope, a cosh-based term, skew, divergence, volume flow, VWAP and an ADX plus

Strategy v5 ScalpingSupport & resistance
Updated yesterday · None stated GitHub repository of Poi-Scalp v2
257 stars

This overlay strategy marks short-term turning points on the price chart and enters SPY option-style trades from them. It plots simple moving averages of highs and lows, draws up and down reversal arrows, and colors bars when a short-term extreme coincides wit

Strategy v5 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of SPY Options Trading - Alert

Quick Flip Scalper

by TradersPost
228 stars

This strategy executes an opening-range liquidity fade based on the first candle of a session. It qualifies the opening range against the daily ATR to confirm manipulation or liquidity spikes. If qualified, it searches for reversal candlestick patterns, such a

Strategy v6 Sessions & timeCandlestick patterns
Updated 3 months ago · None stated GitHub repository of Quick Flip Scalper
3 stars

This indicator tracks the low of day and high of day during the specified RTH session hours in the New York timezone. It calculates the high at the current low of day (lod_h) and the low at the current high of day (hod_l). Horizontal lines are drawn at these l

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Day Trading Reversal System

Apex Protocol v3.3

by alboogycOdR
6 stars

Apex Protocol v3.3 is a Smart Money Concepts trading indicator that plots order blocks, fair value gaps, BOS and MSS markers, auto Fibonacci levels, area of interest zones and external internal structures on the price chart. It supports multiple killzone sessi

Indicator v5 SMC / ICT / price actionScalping Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol v3.3

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