Pine Library · 239 open-source scripts

Free Scalping Pine Scripts

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

About Scalping Scripts

Scalping scripts aim for small moves held for minutes. Costs matter more here than anywhere: the spread and commission are a large share of each trade's target.

Short-timeframe backtests are fragile. Fills, spread changes and latency that barely matter on a daily chart can decide a scalping result, so forward test any strategy on a demo account.

33 of these 239 scripts are marked Repaints, or read higher-timeframe data with lookahead on.

Before You Use One

Scalping: Indicators, Strategies and Libraries

105 stars

Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Gold Scalping BOS & CHoCH

BTC Futures MACD

by iamrichardD
57 stars

This strategy plots a MACD oscillator in a separate pane and trades Bitcoin futures from zero-line and signal-line crosses. Optional early momentum signals, a volume filter, and a trend moving-average filter can confirm entries. It sizes positions as fixed con

Strategy v6 Oscillators & momentumMoving averages Repaints
Updated 1 year ago · Apache-2.0 GitHub repository of BTC Futures MACD

ATOM 1m scalp HK

by dearvn
43 stars

This overlay strategy targets one-minute ATOM scalps. It tracks pivot highs and lows as resistance and support, compares a three-period EMA with a multi-stage smoothed close, and flags long or short when price crosses that curve in the matching direction. Dail

Strategy v5 ScalpingSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of ATOM 1m scalp HK

Hedge Scalp

by nikita-doronin
30 stars

The Hedge Scalp indicator calculates an Exponential Moving Average (EMA) and generates four long grid levels and one hedged short grid level at user-defined percentage distances below the EMA. It models grid entry execution and average entry take-profit levels

Indicator v5 Moving averagesSupport & resistance
Updated 2 years ago · Custom licence GitHub repository of Hedge Scalp
27 stars

LuxAlgo Hybrid Gold Scalper is a price-chart strategy aimed at gold. It stacks a fast, slow, trend and 200-period bias EMA to mark trend direction, then filters strength with RSI, ADX and an intraday VWAP. Swing highs and lows are marked from pivot length. Set

Strategy v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of LuxAlgo Hybrid Gold Scalper

ORB Multi-Model Indicator

by Mrshahidali420
16 stars

This indicator plots several New York opening-range breakout models on the price chart and can also show a combined confidence-scored signal. Enabled models include classic Crabel, a five-minute scalper, a standard fifteen-minute breakout, and a gold variant,

Indicator v6 BreakoutSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of ORB Multi-Model Indicator
10 stars

The Reverse RSI Strategy is a scalping system designed for forex pairs during specific trading sessions. It combines a smoothed RSI indicator with five Exponential Moving Averages to identify mean-reversion trade opportunities. Position sizing dynamically adju

Strategy v4 Oscillators & momentumMoving averages
Updated 3 years ago · GPL-3.0 GitHub repository of Strategy - Reverse RSI

1-Min Gold Taylor Technique

by eddiebelaval
7 stars

This intraday strategy implements session-based trading rules tailored for gold on short timeframes. It tracks the Asian session price range, VWAP, 20-period EMA, and previous day high and low levels to identify liquidity sweeps during London and New York trad

Strategy v6 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of 1-Min Gold Taylor Technique
7 stars

Calculates volume profile levels over a lookback window to identify support, resistance, and Point of Control (POC) lines on the price chart. It executes trades based on price interaction with these low-volume zones, featuring customizable signal inversion and

Strategy v6 ScalpingVolume
Updated 1 year ago · None stated GitHub repository of Enhanced NQ1 Scalping Strategy
5 stars

Greeffer's Scalping Indicator overlays higher-timeframe exponential moving averages, Bollinger Bands, and Donchian channels on the price chart. It flags a long when price touches the lower Donchian and lower band while the faster averages are not stacked beari

Indicator v5 Moving averagesVolatility & bands
Updated 4 years ago · None stated GitHub repository of Greeffer's Scalping Indicator

VAMO Crossover Strategy

by TPTBusiness
4 stars

The VAMO Crossover Strategy is a scalping system that combines momentum and volatility into a Volatility-Adjusted Momentum Oscillator (VAMO). It calculates momentum using Rate of Change divided by ATR and generates trade signals when VAMO crosses its EMA signa

Strategy v6 Oscillators & momentumVolatility & bands
Updated 12 months ago · MIT GitHub repository of VAMO Crossover Strategy
4 stars

This TradingView indicator provides scalping money management tools by displaying a customizable panel on the chart. It shows risk management details such as deposit size, maximum risk per trade as a percentage, and commission adjustments. The indicator plots

Indicator v5 ScalpingScreeners & dashboards
Updated 3 years ago · MIT GitHub repository of Scalping Money Management
3 stars

This indicator plots a fast and a slow exponential moving average on the price chart and marks buy and sell signals for Bitcoin scalping. A buy appears when the fast EMA crosses above the slow EMA, RSI is above its buy threshold, the MACD line is above its sig

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · MIT GitHub repository of BTC 1–5 min Scalping Signals
3 stars

This strategy calculates 50-period and 200-period exponential moving averages alongside a standard Moving Average Convergence Divergence (MACD) oscillator. It plots the moving averages and the MACD histogram directly on the price chart. The strategy opens a lo

Strategy v5 Oscillators & momentumMoving averages
Updated 4 years ago · None stated GitHub repository of 5min Scalping EMA50, EMA200, MACD

Btc Version5pine

by WMW333
3 stars

This strategy detects volume-based trading signals on Bitcoin perpetual futures. It calculates volume spikes on green and red candles along with ATR for volatility filtering. Long entries trigger on red candles with high volume and specific spike conditions wh

Strategy v5 VolumeVolatility & bands
Updated 4 years ago · None stated GitHub repository of Btc Version5pine

BTC MA Accumulation v1

by yalili8521
2 stars

BTC MA Accumulation v1 is a scalping strategy designed primarily for 1-minute Bitcoin charts. It identifies trend continuation by requiring a triple moving average stack alongside steady price accumulation or distribution. The script counts consecutive rising

Strategy v6 TrendMoving averages
Updated 8 days ago · None stated GitHub repository of BTC MA Accumulation v1
2 stars

The LSD-15 indicator detects liquidity sweeps on 15-minute crypto charts by identifying price movements that exceed a threshold from swing highs and lows. It plots swing high and low lines on the price chart and highlights sweep candles in color. Multiple conf

Indicator v5 ScalpingSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of LSD-15 Liquidity Sweep Detector
2 stars

This strategy executes trend-following scalping setups by combining fast and slow exponential moving averages with a smoothed Stochastic oscillator. It enters long positions when the fast EMA is above the slow EMA and the Stochastic is oversold, and short posi

Strategy v5 TrendOscillators & momentum Repaints
Updated 7 months ago · None stated GitHub repository of WINNER MNQ Strategy - Optimized 2026

Hari Sweep Scalper

by godlesscherry
2 stars

This overlay strategy looks for Bollinger Band and optional fractal sweeps only in the Supertrend direction, with an optional MACD filter. Long and short setups expire after a set number of bars, and the first bar after a Supertrend flip is ignored. It enters

Strategy v6 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Hari Sweep Scalper

MultiStrategy-LazyBear

by sassiz-root
2 stars

This overlay strategy combines optional scalp and swing modes for crypto charts. It filters trades with a higher-timeframe ADX reading, stochastic bands, and a price channel defined by amplitude and deviation. Long or short direction is selected by trend toggl

Strategy v5 TrendOscillators & momentum Repaints
Updated 3 years ago · MIT GitHub repository of MultiStrategy-LazyBear

3xEMA 1min Startegy

by DaniilOkrug
2 stars

This strategy identifies entry setups on short timeframes by combining moving average trend filters with Bill Williams fractal breakouts. It tracks multi-bar high and low fractals to establish market structure, waiting for confirmed fractal breaks in the direc

Strategy v5 Moving averagesSupport & resistance
Updated 4 years ago · MIT GitHub repository of 3xEMA 1min Startegy

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

BB StochRSI ADX Scalper

by surendra2304
1 stars

A mean reversion strategy that buys when price dips below the lower Bollinger Band while Stochastic RSI is oversold and crosses up, and sells short on the mirror setup at the upper band. Entries are skipped when ADX is above a maximum, to avoid strong trends.

Strategy v5 Mean reversionScalping
Updated 2 days ago · None stated GitHub repository of BB StochRSI ADX Scalper

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

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

AlphaTrend Scalping

by MuhammadMuhamid
1 stars

A strategy designed for a fifteen-minute chart that takes one trade per AlphaTrend buy signal. Entries need price above 15-minute and 1-hour moving averages, plus filters for sideways markets (stacked rising averages, ADX floor, breakout above recent highs). A

Strategy v6 TrendScalping
Updated 12 days ago · None stated GitHub repository of AlphaTrend Scalping

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

1 Min Scalp

by zeddyokaka230-del
1 stars

An overlay indicator for short-term charts that plots a fast and a slow EMA, 9 and 21 by default. A buy label appears when the fast EMA crosses above the slow EMA and RSI is above 50 or below the oversold level. A sell label appears on the opposite cross with

Indicator v5 ScalpingMoving averages
Updated 7 weeks ago · None stated GitHub repository of 1 Min Scalp
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
1 stars

Marks order block zones on the price chart for gold. A displacement candle is one whose range is at least 1.2 times ATR on above-average volume; the last opposite-colour candle before it becomes the zone. Each zone is scored on five checks such as clean body,

Indicator v5 SMC / ICT / price actionScalping
Updated 4 months ago · None stated GitHub repository of Krishna Simple OB Scalper - XAUUSD

BTC 1min CCI Reversal

by PETERSAMUELOPS12
1 stars

A one-minute Bitcoin strategy built on a short five-period CCI of the typical price. A cross above the upper level opens or flips to a long, and a cross below the lower level opens or flips to a short, with each direction switchable. It holds a single position

Strategy v6 Oscillators & momentumScalping
Updated 5 months ago · None stated GitHub repository of BTC 1min CCI Reversal

XAUUSD Renko Scalping

by thealgo899-creator
1 stars

A strategy intended for gold on a Renko chart with a box size of 1. It goes long when close is above its five-bar average and RSI sits between 45 and the overbought level, and short on the mirror conditions. An optional volume filter is available. Stop loss an

Strategy v5 ScalpingOscillators & momentum
Updated 5 months ago · None stated GitHub repository of XAUUSD Renko Scalping

APEX Scalper v3

by Sandesh30-cloud
1 stars

A Pine v5 strategy that scores trade setups from several indicators before entering. Inputs cover an 8, 21 and 50 EMA ribbon, a higher-timeframe EMA trend check using previous-bar values, RSI, MACD, Stochastic RSI, ADX, a volume spike test and optional London

Strategy v5 ScalpingTrend
Updated 6 months ago · None stated GitHub repository of APEX Scalper v3

ARPS OB Scalp

by ali-rajabpour
1 stars

Overlay indicator that plots 200-period simple and exponential moving averages from the 30 minute, 1 hour and 4 hour timeframes on the price chart, using request.security. It also offers a Williams Fractal reversal display, toggled by a single setting. Intende

Indicator v5 Moving averagesScalping
Updated 6 months ago · None stated GitHub repository of ARPS OB Scalp

ARPS FastScalping Indicator

by ali-rajabpour
1 stars

A chart-overlay indicator written in Pine v4 for one-minute crypto charts. It plots a zero-lag EMA built from two 100-period EMAs, and two Tillson T3 moving averages, one with a Fibonacci volume factor, coloured by slope. A label on the last bar shows a limit

Indicator v4 Moving averagesScalping
Updated 6 months ago · None stated GitHub repository of ARPS FastScalping Indicator

ARPS Ultra Scalper

by ali-rajabpour
1 stars

A price-chart overlay that combines several signal sources into buy and sell markers: an RSI against its weighted moving average, a smoothed stochastic, WMA 50 and 200 crosses, candlestick patterns, an adjustable Ichimoku cloud and Parabolic SAR. Candle patter

Indicator v4 Candlestick patternsOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS Ultra Scalper
1 stars

An indicator, despite the strategy name, that combines a 7-bar and 50-bar simple moving average cross with a crossover between a 102-bar RSI and its 204-bar average. Long and short labels grade signals by whether the MA and RSI crosses happen on the same bar o

Indicator v4 Moving averagesOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS RSI-MA Scalping Strategy
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

AGS Smart Signals 5M is an overlay indicator tuned for five-minute crypto charts. It draws an ATR-based cloud of bands around an EMA, filters direction with a trend EMA and RSI oversold and overbought levels, and marks buy and sell signals whose frequency is s

Indicator v5 ScalpingVolatility & bands
Updated 8 months ago · None stated GitHub repository of AGS Smart Signals 5M

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

A strategy meant for one-minute charts that buys when price is near a recent pivot low, RSI is below an oversold level, a hammer or bullish engulfing candle appears and price is above an EMA. Sells mirror this near pivot highs with overbought RSI, bearish patt

Strategy v6 Candlestick patternsSupport & resistance

Trading Bot

by FedeHide
1 stars

This strategy executes long entries during a user-defined backtest time window. It calculates a 1-period Exponential Moving Average (EMA) and enters long trades automatically within the specified dates. Positions exit when the calculated EMA exceeds the positi

Strategy v5 ScalpingMoving averages
Updated 1 year ago · MIT GitHub repository of Trading Bot

BTC Futures MACD

by iamrichardD
57 stars

This strategy plots a MACD in a separate pane and enters on zero-line or signal-line crosses, with an optional early momentum trigger. Volume and a trend moving average can filter signals, and shorts can be disabled so only long trades are taken. It sizes posi

Strategy v6 Oscillators & momentumScalping Repaints
Updated 1 year ago · Apache-2.0 GitHub repository of BTC Futures MACD

More Pine Script Categories

Browse the whole Pine Library

Related on ForexR

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.

Trade Your Charts With a Regulated Broker

Compare regulated brokers on platforms, spreads, minimum deposit and leverage.

Compare brokers