Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 57)

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

Tn Sovereign VAMO

by raybird
1 stars

Calculates a Volatility-Adjusted Momentum Oscillator (VAMO) by dividing the price Rate of Change by the Average True Range, smoothed by an EMA signal line. Long positions enter when VAMO crosses above its signal line above zero, and short positions enter on be

Strategy v6 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Tn Sovereign VAMO

Cycle Swing Momentum

by mikeyhu70
1 stars

This indicator plots an adaptive swing momentum oscillator in a separate pane, built from custom moving averages and a cycle length setting. It can read an internal lower timeframe, chosen automatically or by hand, to produce a signal line. Optional divergence

Indicator v4 Oscillators & momentumDivergence Repaints
Updated 6 months ago · None stated GitHub repository of Cycle Swing Momentum

Relative Vigor Index

by hasnocool
106 stars

This strategy overlays two exponential moving averages and ATR-based price targets directly on the price chart while calculating the Relative Vigor Index internally. It enters long positions when the RVI line crosses above its signal line during an established

Strategy v5 TrendOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of Relative Vigor Index

This Pine Script indicator computes the FSI using Ehlers Fourier series analysis on the close price. It applies fundamental and harmonic bandpass filters, derives quadrature components for phase shift, estimates signal power over the cycle period, and reconstr

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of FSI - Ehlers Fourier Series Indicator
13 stars

TradingLatino Abajo B002 is a momentum and volatility indicator that calculates a Squeeze Momentum oscillator in a separate pane. It compares Bollinger Bands and Keltner Channels to detect squeeze conditions while calculating momentum using linear regression b

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TradingLatino Abajo B002

Mirror Oscillator Pro

by morindok
1 stars

Mirror Oscillator Pro is a separate-pane oscillator that reflects price around confirmed pivot highs and lows and a selectable baseline. It maps the mirrored value into a dynamic 0 to 100 range, smooths it with an exponential moving average, and plots that lin

Indicator v5 Oscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator Pro
13 stars

Calculates and plots a smoothed variation of the Squeeze Momentum indicator in a separate pane. It identifies market compression and expansion states by comparing Bollinger Bands with Keltner Channels, while tracking momentum via linear regression. Settings al

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TradingLatino Abajo D002
7 stars

The MACD RSI EMA Aggressive indicator generates momentum and trend-following signals on the price chart. It combines a MACD crossover or crossunder with an RSI threshold filter, price location relative to an Exponential Moving Average, volume expansion above a

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD RSI EMA Aggressive + ATR SLTP

Lower Forecast

by g-moe
3 stars

Lower Forecast is an oscillator indicator drawn in a separate pane based on the Market Forecast framework. It calculates three momentum curves—Intermediate, Nearterm, and Momentum—using fast stochastic formula variations across short and medium lookback window

Indicator v5 Oscillators & momentumDivergence
Updated 5 months ago · None stated GitHub repository of Lower Forecast

The Mirror Oscillator Pro indicator computes a custom oscillator by mapping RSI values to the range between detected pivot highs and lows on the selected timeframe. It offers multiple baseline choices including HH/LL extremes, ATR bands, Bollinger Bands, Ichim

Indicator v5 Oscillators & momentumSupport & resistance

Mirror Oscillator Pro is a custom momentum indicator displayed in a separate pane. It projects mirrored price calculations using recent pivot highs, pivot lows, and a selectable baseline anchor such as Golden Cloud, ATR, Bollinger Bands, or Ichimoku. An RSI ca

Indicator v5 Oscillators & momentumMoving averages
1 stars

This strategy pairs the Vortex Indicator with an exponential moving average trend filter to execute trend-following trades. It initiates a long entry when VI+ crosses above VI- while price trades above the 200 EMA, and a short entry when VI- crosses above VI+

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Tn Sovereign Vortex v6

Stochastic

by TWODS-CAPITAL
37 stars

This indicator plots a classic stochastic oscillator in a separate pane. It calculates %K from the close relative to the high-low range over a set length, then smooths that value, and calculates %D as a moving average of %K. It draws the %K and %D lines plus h

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Stochastic

Mizan Trinity Oscillator

by eddiebelaval
7 stars

The Mizan Trinity Oscillator synthesizes normalized Commodity Channel Index (CCI), Chaikin Money Flow (CMF), and On-Balance Volume Rate of Change (OBV ROC) into a single composite oscillator plotted in a separate pane. Each component is scaled from 0 to 100 an

Indicator v5 Oscillators & momentumVolume
Updated 3 months ago · None stated GitHub repository of Mizan Trinity Oscillator

M&M Trading

by g-moe
3 stars

M&M Trading is an overlay indicator that combines momentum calculations with moving averages and a visual dashboard. It calculates a modified Chande Momentum Oscillator with adjustable multipliers to identify bullish and bearish momentum triggers, optionally c

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of M&M Trading

Tn Sovereign VWAP

by raybird
1 stars

A mean reversion strategy built on an anchored VWAP with standard deviation bands, drawn on the price chart. The anchor resets each session, day or week. It buys when price crosses below the lower band with RSI oversold while above a 200 EMA, and sells short o

Strategy v6 Mean reversionVolume
Updated 2 months ago · None stated GitHub repository of Tn Sovereign VWAP

Stochastic RSI

by TWODS-CAPITAL
37 stars

This indicator calculates and plots the standard Stochastic RSI oscillator in a separate pane. It derives a Relative Strength Index from the selected price source, applies the Stochastic oscillator formula to those RSI values, and smooths the results into %K a

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Stochastic RSI
1 stars

Mirror Oscillator Pro is a momentum oscillator plotted in a separate pane. It detects pivot highs and lows on a user-selected timeframe and price source using specified pivot lengths. The indicator builds multiple bands including highest-lowest ranges, ATR ban

Indicator v5 Oscillators & momentumVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator Pro by Morindok

Stochastic Slow Strategy

by TWODS-CAPITAL
37 stars

This strategy plots on the price chart and trades a slow stochastic oscillator. It smooths the stochastic %K with a three-period average and then smooths that result into %D. It enters long when %K crosses above %D while %K is below the oversold level, and it

Strategy v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Stochastic Slow Strategy
6 stars

The ORB + Fib + MACD Indicator combines Opening Range Breakout mechanics with Fibonacci retracement levels and MACD momentum filtering. It determines the high and low bounds of a user-defined initial session window, projects Fibonacci entry zones, and calculat

Indicator v5 Sessions & timeSupport & resistance
Updated 7 months ago · None stated GitHub repository of ORB + Fib + MACD Indicator
3 stars

This indicator calculates standard MACD line, signal line, and histogram values while evaluating swing high and swing low pivot points on price and MACD to detect divergence. It compares recent pivot levels to identify higher highs, lower lows, and trend state

Indicator v5 Oscillators & momentumDivergence Repaints
Updated 5 months ago · None stated GitHub repository of MACD - Divergence
1 stars

Mirror Oscillator Signals Only is an overlay indicator that projects Fibonacci wave symmetry and calculates signals based on user-selected chart anchor points and Williams Fractals. The script uses interactive time and price coordinates to establish wave refer

Indicator v5 Oscillators & momentumSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator Signals Only
1 stars

The strategy calculates the Stochastic oscillator using specified K and D periods, then detects bullish and bearish divergences between price pivots and the D line. Bullish signals occur when price forms lower lows while Stochastic forms higher lows within the

Strategy v6 Oscillators & momentumDivergence
Updated 2 months ago · None stated GitHub repository of TN Stochastic Causal Divergence

ORB + Fib + MACD Strategy

by alboogycOdR
6 stars

This strategy builds a timed opening range and tracks session high and low on the price chart. It flags bullish and bearish breakouts of that range and uses Fibonacci levels for an entry zone, a default stop, and an optional take-profit extension. Take profit

Strategy v5 BreakoutSupport & resistance
Updated 7 months ago · None stated GitHub repository of ORB + Fib + MACD Strategy

MACD Signals

by g-moe
3 stars

The MACD Signals indicator plots dual Exponential Moving Averages (EMAs) and generates buy and sell signals directly on the price chart based on MACD crossovers filtered by trend context. Users can configure independent EMA and MACD parameter settings for long

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD Signals
1 stars

This strategy tracks the high and low price levels established during the Tokyo trading session (00:00–08:00 UTC) and seeks breakout entries during the London and New York sessions. Long trades trigger when price breaks above the Tokyo high, confirmed by price

Strategy v6 BreakoutSessions & time
Updated 2 months ago · None stated GitHub repository of TN Tokyo Breakout Refined v6

MACD Signals

by g-moe
3 stars

MACD Signals overlays buy and sell labels on the price chart by combining MACD crossovers with RSI conditions. A buy signal is generated when a bullish MACD crossover occurs within a user-defined bar limit after the RSI dips below an oversold threshold, while

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD Signals

255 EMA Strategy

by hasnocool
106 stars

255 EMA Strategy combines an exponential moving average with Average True Range bands and standard MACD crossovers to generate entry signals. Drawn directly on the price chart, it plots the central 255 EMA along with upper and lower volatility envelopes. Trade

Strategy v4 Moving averagesOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of 255 EMA Strategy

Technical Ratings

by TWODS-CAPITAL
37 stars

This indicator scores price using moving averages, oscillators, or both, then maps the result to buy, sell, and neutral ratings. It compares several simple and exponential averages, a Hull average, a volume-weighted average, and Ichimoku lines with price, and

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · MIT GitHub repository of Technical Ratings

MACD Signals with Alert System combines multiple technical indicators into a unified signal and alert generator overlaid on the price chart. It calculates a Hull Moving Average, MACD histogram, three Exponential Moving Averages, Slow Stochastic, and Time Segme

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD Signals with Alert System

This indicator calculates Vitali Apirine's Higher Highs and Lower Lows Stochastics (HHLLS). It evaluates conditional stochastic formulas that trigger only on bars establishing higher highs or lower lows, then smooths both values using an Exponential Moving Ave

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Higher Highs & Lower Lows Stochastics (HHLLS)

Technical Ratings Strategy

by TWODS-CAPITAL
37 stars

A multi-indicator consensus strategy that computes combined rating signals from various moving averages and technical oscillators, including RSI, Stochastic, MACD, CCI, ADX, and Ichimoku Cloud. Depending on user configuration, trades are triggered by overall c

Strategy v5 TrendOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Technical Ratings Strategy

This indicator overlays a Hull Moving Average and three Exponential Moving Averages on the price chart while monitoring signals from MACD, Stochastic Oscillator, and Time Segmented Volume. It tracks trend direction changes, MACD histogram color shifts from bri

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of MACD Signals with Alert System

Ichimoku Oscillator

by regalouisei
2 stars

The Ichimoku Oscillator indicator calculates conversion line, base line, leading span, and lagging span using specified periods. It plots these values in a separate pane along with an optional EMA overlay. Main settings allow customization of line lengths, ATR

Indicator v5 TrendOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Ichimoku Oscillator

Signal Hub

by nishpa800
1 stars

Overlay indicator that gathers around thirty signal modules into one study on the price chart. Modules include White Flag momentum, OW overlap and super signals, FC and E3 clusters, a Red Plus marker, RVOL windows, a Fauna X-in-Y pattern, a Mango swing bottom,

Indicator v5 Oscillators & momentumVolume
Updated 2 months ago · None stated GitHub repository of Signal Hub
106 stars

This strategy identifies trend-following entries using a triple exponential moving average alignment and ATR-based exits on the main price chart. Long signals trigger when the fast EMA is above the medium EMA and medium is above slow, accompanied by a close ab

Strategy v4 Moving averagesVolatility & bands Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 3 EMA + Stochastic RSI + ATR

Target Radar

by eddiebelaval
7 stars

Target Radar is a multi-factor forecasting indicator that plots projection bands, forward boxes, and dynamic target zones directly on the main price chart. It calculates a forecast score by combining z-scores for trend, momentum, volume pressure, and volatilit

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Target Radar

This strategy combines MACD histogram crossovers with a dual moving average cloud to generate long and short trading signals directly on the price chart. It evaluates histogram crossings relative to zero while filtering entries using overall MACD positioning a

Strategy v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of MACD Signals with Trading Dashboard Strategy

Squarify 46 v2

by nishpa800
1 stars

Overlay indicator that merges forty-six numbered buy and sell triggers into one study on the price chart. The changelog describes combinations of unified combo, Napalm and Charge engines, Heavy Weapon and Floor patterns, UU, UUU and UUUU streaks, an Omega mark

Indicator v5 BreakoutVolume
Updated 2 months ago · None stated GitHub repository of Squarify 46 v2

This indicator calculates the Hilbert Transform Dominant Cycle Phase based on John Ehlers' cycle analytics and the TA-Lib algorithm implementation. It processes price through a four-tap weighted smoothing filter, a Hilbert finite impulse response detrender, in

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Hilbert Transform Dominant Cycle Phase (HT_DCPHASE)
3 stars

This strategy calculates a Volume-Weighted Moving Average Convergence Divergence (VWMA MACD) and its histogram average to generate trade signals in a separate pane. It enters long positions when the MACD histogram crosses above its simple moving average and sh

Strategy v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD VWMA Strategy
2 stars

This indicator builds a lower-timeframe view in a separate pane. It reconstructs price as traditional candles or as Heikin-Ashi, Kagi, Point and Figure, Renko, or Line Break, and plots a price-versus-volume graph colored from early to late data. Three selectab

Indicator v5 VolumeOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Intrabar Analyzer [Kioseff Trading]
106 stars

This Pine Script strategy calculates three RSI indicators with periods 50, 75 and 100 on the chosen source. It computes multiple simple and exponential moving averages on the fast RSI and assigns colors based on changes relative to the slow RSI. Long entries t

Strategy v4 Oscillators & momentumMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of 3 RSI MA movement crypto strategy

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