Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 4)

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

Bulk Notification

by bit4you-io
3 stars

Calculates price direction for the current asset alongside 60-minute directional changes for BCH and LTC using multi-symbol requests. Combines these conditions with a 24-bar percentage price change threshold to produce bullish or bearish consensus signals. Set

Indicator v4 TrendOscillators & momentum Repaints
Updated 5 years ago · None stated GitHub repository of Bulk Notification

Divergence Signal Alerts

by allanninal
2 stars

This indicator detects regular and hidden divergences between price and RSI or MACD histogram oscillators, drawing lines and arrows directly on the price chart. It identifies swing highs and lows using configurable left and right pivot lookback windows, evalua

Indicator v6 DivergenceOscillators & momentum
Updated 7 days ago · Custom licence GitHub repository of Divergence Signal Alerts

Sell-Only Strategy

by karma659
2 stars

This short-only strategy identifies sell setups by combining a 3-period RSI overbought condition with a bearish engulfing candlestick pattern. It triggers short entries when the open RSI exceeds 70 and momentum turns downward alongside a bearish engulfing bar.

Strategy v5 Oscillators & momentumCandlestick patterns
Updated 10 days ago · None stated GitHub repository of Sell-Only Strategy

MCDX Smart Money

by vtnhqw
2 stars

MCDX Smart Money is a separate pane momentum oscillator that calculates and categorizes momentum components into Banker, Hot Money, and Retailer profiles using modified RSI calculations. The values are computed using configurable RSI periods, bases, and sensit

Indicator v6 Oscillators & momentum
Updated 11 days ago · None stated GitHub repository of MCDX Smart Money

VCP Silver Tier Strategy

by alejandr02820
2 stars

The VCP Silver Tier Strategy is a MACD-based trading system in Pine Script v5 that draws signals on the price chart. It computes the MACD line using fast length 12, slow length 26, and signal length 9. Long entries fire on MACD crossover below zero; short entr

Strategy v5 TrendOscillators & momentum
Updated 2 weeks ago · Custom licence GitHub repository of VCP Silver Tier Strategy

This multi-timeframe indicator plots technical analysis tools directly on the price chart using 1-hour higher timeframe data. It calculates 1-hour Exponential Moving Averages (20, 30, 40), a custom Rank Correlation Index (RCI), and MACD divergence signals. Add

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 weeks ago · None stated GitHub repository of Ver15 Environment Recognition (Provisional Pivot)

FortiTrade Elite Multi-Strategy with DeepSeek Turbo is an overlay trading strategy that combines trend-following, momentum scalping, grid bounds, and external signal inputs. It calculates dynamic volatility-adjusted RSI, adaptive fast and slow EMAs, Bollinger

Strategy v6 TrendOscillators & momentum
Updated 3 weeks ago · MIT GitHub repository of FortiTrade Elite Multi-Strategy with DeepSeek Turbo

Apex Swing System

by omharde42
2 stars

Apex Swing System is a trend and momentum indicator designed for swing trading. It combines a 200-period simple moving average filter, RSI momentum checks, and the Ichimoku Cloud to identify bullish and bearish setups. Upon confirming a signal, it plots fixed

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Apex Swing System

Trust Me Bro Strategy

by moonyroy
2 stars

A trading strategy that uses an RSI state machine tracking 50-level crossovers, pullbacks, and hidden divergences. Entries require confirmation from optional confluence filters, including an EMA touch, Fibonacci retracement zones, and Ichimoku cloud conditions

Strategy v6 Oscillators & momentumDivergence
Updated 7 weeks ago · MIT GitHub repository of Trust Me Bro Strategy

ICT + FVG + RSI

by Allysson-Rodrigues
2 stars

This multi-timeframe indicator overlays ICT Fair Value Gaps (FVGs) and higher-timeframe candle projections directly onto the price chart. It aggregates price imbalance context across up to six configurable timeframes while maintaining a dynamic multi-timeframe

Indicator v6 SMC / ICT / price actionOscillators & momentum Repaints
Updated 7 weeks ago · MIT GitHub repository of ICT + FVG + RSI
2 stars

The Fake Breakout / Breakdown Setup indicator identifies false breakouts (FBO) and false breakdowns (FBD) by tracking liquidity sweeps of previous price highs and lows. It validates reversals using follow-up price action and a confirmation scoring system based

Indicator v6 BreakoutOscillators & momentum
Updated 8 weeks ago · None stated GitHub repository of Fake Breakout / Breakdown Setup
2 stars

This overlay indicator demonstrates TradingView alert configuration. It plots 20- and 50-period simple moving averages and creates alert conditions when price crosses the shorter average or the averages cross each other. It also alerts on RSI crossing 70 or 30

Indicator v6 Moving averagesOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Alert Configuration Examples

TFX Gold Sniper - V26 Black-Gold

by vijayavardhanarajumahanandi-cell
2 stars

This indicator calculates a derivative Relative Strength Index using polynomial curve fitting and linear algebra routines to identify market momentum shifts. It displays long, short, and exit signal labels directly on the main price chart alongside risk-to-rew

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of TFX Gold Sniper - V26 Black-Gold

RedK EVEREX v2.0

by bigzhu
2 stars

The RedK EVEREX v2.0 indicator examines effort versus results by plotting normalized bands comparing price change to volume. It computes rate of flow using selectable moving averages with smoothing options, and applies lookback averaging to highlight anomalies

Indicator v5 Moving averagesVolume
Updated 3 months ago · None stated GitHub repository of RedK EVEREX v2.0

QTrade MACD

by Can3299
2 stars

QTrade MACD is a trend-following momentum strategy that enters positions on MACD histogram crossovers. Entry signals are filtered using SuperTrend direction alignment, zero-line position rules, and zero-line distance tolerance checks. Stop loss levels are esta

Strategy v6 TrendOscillators & momentum
Updated 5 months ago · AGPL-3.0 GitHub repository of QTrade MACD
2 stars

ARPS Ultimate MultiStrategy Trading combines multiple technical indicators into a single chart overlay. It calculates and plots trend lines, moving averages, Ichimoku cloud components, Williams Alligator lines, and Fibonacci support and resistance levels direc

Indicator v4 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS Ultimate MultiStrategy Trading
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

Normalized Market Monitor

by realanthonyc
2 stars

Normalized Market Monitor scales the price action of two distinct symbols into a normalized oscillator ranging from -100 to +100 over a chosen lookback period. Plotted in a separate pane, the indicator enables traders to observe and compare the relative positi

Indicator v6 Oscillators & momentumSessions & time
Updated 7 months ago · MPL-2.0 GitHub repository of Normalized Market Monitor

alpyvix

by avatar-lavventura
2 stars

This strategy implements a self-calibrating WaveTrend oscillator with rolling percentile-based dynamic entry zones rather than fixed levels. It enters long positions when the oscillator enters lower percentile zones and short positions in upper percentile zone

Strategy v6 Oscillators & momentumVolatility & bands
Updated 7 months ago · None stated GitHub repository of alpyvix

The Asset Rotation System evaluates relative trend strength and rotational performance across up to six selectable assets. It calculates trend classification based on user-selected technical indicators including RSI, CCI, SuperTrend, DMI, and Parabolic SAR. Th

Indicator v6 Oscillators & momentumTrend
Updated 8 months ago · None stated GitHub repository of Asset Rotation System [InvestorUnknown]

Apex Signal Matrix Pro

by farbodghasemlu
2 stars

Apex Signal Matrix Pro is an overlay indicator that scores long and short bias from trend, momentum, structure, participation, and risk-reward. It plots entry and strong-entry signals when a smoothed score clears thresholds and the directional spread exceeds a

Indicator v6 TrendOscillators & momentum
Updated 8 months ago · Custom licence GitHub repository of Apex Signal Matrix Pro

HMACross Algobid

by Algobid-ir
2 stars

HMACross Algobid calculates and plots a Hull Moving Average (HMA) with trend signal indicators directly on the main price chart. It evaluates multi-timeframe market data across four user-defined timeframes and incorporates an optional Average Directional Index

Indicator v5 TrendMoving averages Repaints
Updated 10 months ago · None stated GitHub repository of HMACross Algobid

QQE + AK Trend + EFI

by realanthonyc
2 stars

Combines Quantitative Qualitative Estimation (QQE), AK Trend calculation, and Elder Force Index (EFI) into a single indicator pane. It calculates a smoothed RSI-based QQE histogram with Wilder's ATR factor, integrates dynamic timeframe scaling for the AK Trend

Indicator v6 Oscillators & momentumTrend
Updated 10 months ago · MPL-2.0 GitHub repository of QQE + AK Trend + EFI
2 stars

The MA/EMA + RSI Trend & Pullback indicator combines moving averages with the RSI oscillator to determine trend direction and identify pullback opportunities for entries and exits. It plots fast and slow MAs on the price chart along with the RSI, and applies b

Indicator v6 TrendOscillators & momentum
Updated 11 months ago · None stated GitHub repository of MA/EMA + RSI Trend & Pullback

Normalized EFI

by realanthonyc
2 stars

Normalized EFI calculates a normalized variation of the Elder Force Index and plots it as an oscillator in a separate pane alongside a zero baseline. It scales percentage price changes by relative volume, defined as current volume divided by an exponential mov

Indicator v6 VolumeOscillators & momentum
Updated 11 months ago · MPL-2.0 GitHub repository of Normalized EFI

This indicator combines five technical metrics normalized between 0 and 100 in a separate pane: RSI (with optional divergence detection), Stochastic, Relative Volatility Index (RVI), Average Directional Index (ADX), and Money Flow Index (MFI). Users can select

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TLC 0 to 100 Five Indicators VolMom

Complexity Trender

by panzmoravylab
2 stars

Complexity Trender is an indicator that combines EMA crossovers, RSI momentum, Stochastic signals, Bollinger Bands, ADX trend strength, volume analysis, and divergence detection to identify trends. It plots labels, trend lines, and a summary table directly on

Indicator v6 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Complexity Trender

RSI Strategy

by vanAmsen
2 stars

The RSI Strategy plots the Relative Strength Index (RSI) on the chart with oversold and overbought level lines. Long entries trigger when RSI crosses above the oversold threshold, and short entries when it crosses below the overbought threshold. Positions exit

Strategy v5 Oscillators & momentum
Updated 1 year ago · GPL-3.0 GitHub repository of RSI Strategy
2 stars

The Multi-Indicator Trading System is an indicator that plots EMAs on the price chart. It calculates EMA50 and EMA200 crossovers on the 15-minute timeframe, with optional trend filters from 1H or 4H timeframes. Confirmations come from RSI, MACD, Bollinger Band

Indicator v6 TrendMoving averages
Updated 1 year ago · MIT GitHub repository of Multi-Indicator Trading System
2 stars

The Kairi Relative Index with Arrows indicator calculates the percentage deviation of a chosen price source relative to its Simple Moving Average. It plots green and red arrows when the KRI crosses above or below the zero line, signaling potential bullish or b

Indicator v6 Oscillators & momentumMoving averages
Updated 1 year ago · MIT GitHub repository of Kairi Relative Index with Arrows
2 stars

This overlay indicator counts consecutive bars where the close is below the close four bars earlier, and a separate count where the close is above that reference. Each count runs from 1 to 13 and then restarts at 1. It paints price bars with a gradient that da

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Tom DeMark Sequential Heat Map
2 stars

The Refined Multi-TF Crypto Analyzer plots technical analysis signals on the main price chart by combining multi-timeframe moving averages, RSI, ADX, and volume spikes. It checks for trend alignment between the chart timeframe and a higher timeframe, identifie

Indicator v6 TrendOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Refined Multi-TF Crypto Analyzer

Advanced Scalping EMA & RSI Strategy is an overlay indicator that combines fast and smooth moving averages with RSI levels and candlestick patterns to generate scalping signals. Users can select calculation methods for moving averages, such as SMA, EMA, WMA, o

Indicator v5 TrendOscillators & momentum
Updated 2 years ago · MIT GitHub repository of Advanced Scalping EMA & RSI Strategy

Tex Santos Up Left

by scallywag41
2 stars

This indicator monitors technical conditions across up to ten user-defined ticker symbols simultaneously in a separate chart pane. For each symbol, it fetches market data and computes nine-period and two-hundred-period simple moving averages, a fourteen-period

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Tex Santos Up Left

SJCMom C#

by techcrewe
2 stars

SJCMom C# is an overlay indicator that identifies trading setups based on multiple moving averages, ATR volatility, and swing pivots. It offers two main strategy modes—Expansion and Band Play—supporting breakout or pullback entries. Users can filter setup dire

Indicator v4 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of SJCMom C#

This indicator calculates and plots the Average Directional Index (ADX) along with the positive (+DI) and negative (-DI) directional movement lines in a separate pane. It evaluates trend strength by processing daily price data regardless of the current chart t

Indicator v5 TrendOscillators & momentum
Updated 2 years ago · Apache-2.0 GitHub repository of Average Directional Index (ADX)
2 stars

The Quantitative Stock Confluence Finder is a Pine Script v5 indicator that plots technical elements directly on the price chart to help identify potential confluence zones in stocks. It calculates and displays bands around a simple moving average with adjusta

Indicator v5 Moving averagesOscillators & momentum Repaints
Updated 2 years ago · None stated GitHub repository of Quantitative Stock Confluence Finder

BB & RSI & MACD

by Sauyang520
2 stars

This trading strategy combines Bollinger Bands, Relative Strength Index (RSI), and Moving Average Convergence Divergence (MACD) to generate trading signals. It enters positions based on price interactions with Bollinger Bands alongside RSI overbought or overso

Strategy v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of BB & RSI & MACD

This indicator plots an optimal RSI in a separate pane and uses a k-nearest neighbour machine learning routine to adjust lookback and RSI count. It can mark RSI crossings, draw adaptive Bollinger bands around the RSI, and show tables of current settings. Users

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of Machine Learning: Optimal RSI [YinYangAlgorithms]

Mini-Project

by Core-Four
2 stars

Mini-Project is a customizable multi-indicator strategy that enables traders to combine entry signals from Linear Regression, RSI, MACD, Parabolic SAR, and Supertrend. Users can toggle individual technical filters on or off to drive trade entries or enable a c

Strategy v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Mini-Project

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