Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 5)

Open-source Pine scripts that measure momentum: RSI and MACD variants, stochastics, CCI, multi-timeframe oscillators and momentum strategies.

Pine scripts3,035
Code shown here1,673open licence
Updated in a year1,920
No repaint flag2,652

Oscillators & momentum: Indicators, Strategies and Libraries

BarUpDn Strategy

by jaabari
2 stars

BarUpDn Strategy is a lightweight indicator that identifies basic price momentum by comparing consecutive closing prices. It calculates the difference between the current close and the previous bar's close. When the close is higher, it displays an upward green

Indicator v5 Oscillators & momentumCandlestick patterns
Updated 3 years ago · None stated GitHub repository of BarUpDn Strategy

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

Backtester For Anything

by theupslidedown
2 stars

This strategy serves as a backtesting template for any trading system. It accepts external signals to trigger long or short entries and exits, with optional filters based on EMA and ADX indicators to refine conditions. Time-based restrictions limit trading to

Strategy v5 Screeners & dashboardsTrend Repaints
Updated 3 years ago · None stated GitHub repository of Backtester For Anything
2 stars

This indicator plots buy and sell labels on the price chart. It calculates a WaveTrend-style oscillator from exponential moving averages, then requires a cross to agree with the slope of a Jurik moving average built on a blended close, VWAP, and OHLC source. A

Indicator v5 TrendOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Wave Up Indicator - Pro

RSI Line

by minaecer
2 stars

The RSI Line indicator plots a histogram in a separate pane based on the rate of change (ROC) of the chosen source, such as close. It applies two RMA smoothing passes with lengths rhigh and rlow, then final smoothing with tlen. The histogram color indicates mo

Indicator v5 Oscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of RSI Line
2 stars

This indicator detects regular and hidden divergences across multiple technical indicators including RSI, MACD, Stochastic, CCI, momentum, OBV, and others. It calculates pivot points on a chosen source to identify bullish and bearish divergences, then plots co

Indicator v4 DivergenceOscillators & momentum
Updated 4 years ago · MIT GitHub repository of Divergence for Many Indicators v4

Tesla Coil

by CounterPly
2 stars

Tesla Coil is a market cycle oscillator based on digital signal processing concepts from John Ehlers, including Instantaneous Frequency Measurement and In-Phase and Quadrature principles. It treats price movements as wave frequencies to track cycle periods dyn

Indicator v5 Oscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of Tesla Coil

BIAS

by kat3samsin
2 stars

This multi-indicator strategy combines the Relative Strength Index (RSI), Choppiness Index, Stochastic Oscillator, and an Arnaud Legoux Moving Average (ALMA). It plots RSI, Stochastic, and Choppiness lines in a separate pane. Long entries trigger when RSI cros

Strategy v4 Oscillators & momentumMoving averages
Updated 5 years ago · MIT GitHub repository of BIAS
2 stars

The ANN MACD Future Forecast is an experimental indicator serving as a true deep learning sample on TradingView. It calculates Bollinger Bands and Squeeze Momentum using custom functions for SMA, EMA, standard deviation, highest and lowest values. The script p

Indicator v4 AI / machine learningVolatility & bands
Updated 7 years ago · MIT GitHub repository of ANN MACD Future Forecast (SPY 1D)

Area Momentum

by xopromo
1 stars

An indicator on the price chart that treats the distance between price and a moving average as an area. It enters when the growth of that area has accelerated for a set number of bars and exits when growth slows. Settings pick the average type (SMA, EMA, WMA o

Indicator v6 Moving averagesOscillators & momentum
Updated yesterday · None stated GitHub repository of Area Momentum
1 stars

This indicator calculates and plots the standard Average Directional Index (ADX) to measure overall trend strength. It calculates positive and negative directional movement against the true range using RMA smoothing to derive the directional index, which is th

Indicator v6 TrendOscillators & momentum
Updated yesterday · Custom licence GitHub repository of Average Directional Index

Matrix Trend BTR

by natalivm
1 stars

A price-chart overlay that draws an Ichimoku-style cloud and a moving average, then prints buy and sell triangles from a chosen engine: RSI crossing its average in the cloud trend direction, EMA trend reversals, or manual price-level rules. Extra optional sign

Indicator v6 TrendOscillators & momentum
Updated yesterday · None stated GitHub repository of Matrix Trend BTR
1 stars

A price-chart indicator for leveraged turbo and mini products on stocks, built on the daily 14-period RSI. It computes the price at which today's close would take the daily RSI below the oversold level, using the previous day's averages, and works on intraday

Indicator v6 Mean reversionOscillators & momentum Repaints
Updated yesterday · None stated GitHub repository of RSI 30 Turbo Levels

Dip2Green PRO

by mcgary6567-lab
1 stars

A Pine v6 indicator that looks for a dip followed by confirming candles. A long setup is an oversold red flush followed by green candles, and a short setup is an overbought green move followed by red candles. A composite score from RSI depth, range against ATR

Indicator v6 Mean reversionOscillators & momentum
Updated yesterday · None stated GitHub repository of Dip2Green PRO
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

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

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

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

Multi-Strategy Bot

by eliRap1
1 stars

This Pine Script v5 indicator overlays multiple technical strategies on the price chart to generate buy and exit signals. It scores confluence across SuperTrend direction flips, momentum (EMA, RSI, ROC), Bollinger Band mean reversion, breakout volume, and Stoc

Indicator v5 TrendOscillators & momentum
Updated 5 days ago · None stated GitHub repository of Multi-Strategy Bot

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

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

NSE Algo Trading System v1

by ArunTelegramBot
1 stars

A strategy for Indian stocks that lets the user choose one of five rule sets: SuperTrend with an EMA, an EMA crossover, RSI with MACD, a Bollinger Band squeeze, or a VWAP pullback. A time window in UTC limits trading to exchange hours. Risk management sizes by

Strategy v5 TrendOscillators & momentum
Updated 10 days ago · None stated GitHub repository of NSE Algo Trading System v1

A Pine v6 day trading research strategy for crypto charts. It blends RSI, Fibonacci Bollinger Bands, trend and higher timeframe filters, pivot support and resistance zones, Ichimoku and pattern modules into a weighted score for entries. A session filter, auto-

Strategy v6 Support & resistanceSessions & time
Updated 11 days ago · MIT GitHub repository of Crypto TA Pro Day Trading S/R Execution

DEPV2

by YuceSezar89
1 stars

DEPV2 is a multi-symbol indicator for cryptocurrency trading. It aggregates signals from trend, momentum, volatility, and volume methods across 20 crypto pairs. Users select confirmation modes including simultaneous, sequential, or automatic per symbol. The in

Indicator v6 TrendOscillators & momentum Repaints
Updated 12 days ago · None stated GitHub repository of DEPV2

Multi-Strategy Bot

by edwinlai2058
1 stars

A Pine v5 strategy, with Chinese input labels, that lets the user pick one of four setups: a short after an RSI overbought exhaustion, a long after an oversold reading, a Bollinger Band reversion, or a VWAP breakout with an EMA. Exits use three take-profit sta

Strategy v5 Mean reversionOscillators & momentum
Updated 12 days ago · None stated GitHub repository of Multi-Strategy Bot

LOKEN Bullish MCDX v2.2

by kdricha0602
1 stars

A separate-pane money-flow oscillator that is a custom variant of the MCDX indicator, written in Pine version 4. It rescales two RSI readings into a Banker series, drawn as a histogram, and a Hot Money series, drawn as an area, each clamped to a fixed range. S

Indicator v4 Oscillators & momentumVolume
Updated 2 weeks ago · MIT GitHub repository of LOKEN Bullish MCDX v2.2
1 stars

A long-entry strategy for the price chart that scores twelve conditions: RSI, MACD histogram, an EMA stack, SuperTrend, Bollinger position, ATR volatility, VWAP, volume ratio, stochastic, ADX, Ichimoku cloud and MFI. A buy needs at least nine to pass. Inputs s

Strategy v5 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of 12-Indicator Webhook Trigger

Awesome Oscillator

by AkashSasikumar47
1 stars

A Pine v6 indicator in a separate pane that plots the Awesome Oscillator as columns. It subtracts a 34-bar simple moving average of each bar's midpoint from a 5-bar one. Columns are green when the value is rising from the previous bar and dark red when it is n

Indicator v6 Oscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of Awesome Oscillator

Aroon Oscillator

by AkashSasikumar47
1 stars

The Aroon Oscillator calculates the difference between the Aroon Up and Aroon Down indicators to measure trend strength and direction over a user-defined lookback length. Drawn in a separate pane below the price chart, it plots a single line oscillating betwee

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of Aroon Oscillator
1 stars

A test script that plots dozens of built-in Pine calculations in a separate pane, each on its own line, so a converter can compare its output against exported chart data. It covers moving averages, RSI, CCI, MFI, MACD, stochastic, ADX with directional lines, B

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 weeks ago · Apache-2.0 GitHub repository of AlphaResin Conformance 1

RSI Oversold Reversion

by monounsaturated
1 stars

This strategy calculates the relative strength index of the closing price and enters a long position when the RSI crosses above a user-set oversold level. It exits that long with a fixed absolute stop price and a fixed absolute limit price. The main settings c

Strategy v5 Oscillators & momentumMean reversion
Updated 4 weeks ago · MIT GitHub repository of RSI Oversold Reversion
1 stars

A strategy for 15-minute Bitcoin charts that opens a trade when several conditions agree: fast and slow EMA alignment, RSI inside a set band, MACD line and histogram direction, volume above a fraction of its average, price between the Bollinger basis and the n

Strategy v5 TrendOscillators & momentum
Updated 4 weeks ago · None stated GitHub repository of BTC 15M Tight Stop Strategy
1 stars

A strategy for US index, energy, metal, agriculture and livestock futures that reads Commitments of Traders data through a TradingView library. It builds a commercial positioning index and combines it with an RSI to decide long and short entries. Exits can use

Strategy v5 Oscillators & momentum
Updated 5 weeks ago · None stated GitHub repository of COT Strategy - Commodities & Index Futures

RSI Oversold Recovery

by vamseeachanta
1 stars

Tracks RSI recovery from oversold territory on the price chart. RSI is calculated on the average of open, high, low and close, with a moving average of the RSI. When RSI drops below the oversold level the script shows a watch label, marks an alert after RSI cr

Indicator v5 Oscillators & momentumMean reversion
Updated 5 weeks ago · MIT GitHub repository of RSI Oversold Recovery
1 stars

This indicator overlays an EMA stack, Supertrend, and ATR range bands on the price chart and scores long or short confluence from trend, WaveTrend, StochRSI, confirmed divergence, and volume. Labels mark when the score meets the long or short threshold, with A

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Momentum Confluence Suite [MCS]

Kernal Cipher

by kdricha0602
1 stars

Kernal Cipher is a custom TradingView Pine Script v6 indicator that overlays multiple technical components on the price chart for discretionary momentum trading. It calculates trend using EMA fast, slow, and long lengths with slope filters, regime detection vi

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Kernal Cipher

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

Composite Market Bias

by mrme000m
1 stars

Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD

Indicator v5 Oscillators & momentumMoving averages
Updated 7 weeks ago · None stated GitHub repository of Composite Market Bias
1 stars

A signal overlay that merges two entry sources: an Andean oscillator with clustered Money Flow Index levels, and a UT Bot ATR trailing stop. Signals pass through optional filters: a FRAMA trend channel, a choppiness index, an ATR percentage range, a higher-tim

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of MUFCA AtomDC v3.1 Elite
1 stars

An oscillator in a separate pane that estimates the Hurst exponent with rescaled range analysis over three window sizes, with optional bias correction and smoothing. Hysteresis around trend and mean-reversion thresholds classifies the market as trending, mean-

Indicator v5 Oscillators & momentumMean reversion
Updated 7 weeks ago · MPL-2.0 GitHub repository of AHM v2 Adaptive Hurst Regime

AQR TSMOM Pro Strategy

by cagriKarakulak
1 stars

A Pine v5 strategy that applies time-series momentum, taking the sign of past returns over about one, three and twelve months and averaging them into a long or short score. Position size is scaled to a target annual volatility with a maximum leverage cap, with

Strategy v5 TrendOscillators & momentum
Updated 7 weeks ago · MIT GitHub repository of AQR TSMOM Pro Strategy

OCI Ollie Conviction Index

by ollieLiu1988
1 stars

Combines RSI, Stochastic RSI, MACD histogram and Bollinger Band position into one weighted score from -5 to +5 that gauges whether price looks stretched high or low. An optional MFI vote is off by default. Settings cover indicator lengths, sensitivity presets,

Indicator v6 Oscillators & momentumVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of OCI Ollie Conviction Index

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

Calculates a Simple Moving Average (SMA) and Relative Strength Index (RSI) to render a live status dashboard table on the price chart. The script plots the SMA line directly on the price chart with color dynamic styling based on market trend direction. On the

Indicator v6 Screeners & dashboardsMoving averages
Updated 7 weeks ago · MPL-2.0 GitHub repository of Dashboard Block Pattern Reference

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