Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 42)

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

MACD x RSI Study

by jerryinyang
5 stars

This indicator calculates a multi-timeframe MACD, higher-timeframe RSI, and WaveTrend oscillator to generate trading signals. It triggers long entry shapes when higher-timeframe MACD momentum aligns with oversold RSI readings, and short entry shapes during ove

Indicator v4 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of MACD x RSI Study
5 stars

A short-only trading strategy combining three technical indicators: Kijun-Sen, SSL Channel, and Waddah Attar Explosion (WAE). It opens short positions when price is below the Kijun-Sen baseline, the SSL Channel crosses down, and WAE signals downside momentum e

Strategy v4 TrendOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of Kijun-Sen + SSL + WAE Short Strategy

Triple_EMA_STEPFUN

by eltonaguiar
4 stars

This trend-following strategy generates long and short entries based on the alignment of three exponential moving averages and price position relative to the fastest EMA. An optional RSI momentum filter can confirm directional bias. By default, exits occur on

Strategy v5 TrendMoving averages
Updated 2 days ago · None stated GitHub repository of Triple_EMA_STEPFUN

CSW Pro Panel

by g-moe
3 stars

CSW Pro Panel is a lower-pane momentum and trend-confirmation indicator. It builds a momentum oscillator from smoothed Heikin Ashi open, high, low, and close values and colors gradient columns by the open-close range relative to the high-low range. Optional pl

Indicator v5 Oscillators & momentumScreeners & dashboards Repaints
Updated 5 months ago · None stated GitHub repository of CSW Pro Panel

Alpy Vix

by avatar-lavventura
2 stars

This strategy combines the WaveTrend oscillator, a multi-timeframe MACD, and the Williams Vix Fix indicator to identify momentum reversals and volatility spikes in a separate chart pane. Order entry conditions trigger based on WaveTrend oversold thresholds and

Strategy v4 Oscillators & momentumVolatility & bands Repaints
Updated 7 months ago · None stated GitHub repository of Alpy Vix

Custom Strategy with DSMA

by wynnforthework
2 stars

This strategy calculates short and long-period Deviation Scaled Moving Averages (DSMA) powered by a SuperSmoother filter to adapt to price volatility. It combines breakout bands, RSI momentum levels, and long-term EMA trend filters to signal entries. Position

Strategy v5 Moving averagesBreakout
Updated 1 year ago · None stated GitHub repository of Custom Strategy with DSMA

DEPV2 Debug S14

by YuceSezar89
1 stars

DEPV2 Debug S14 is a multi-symbol quantitative signal generator that evaluates up to 20 cryptocurrency tickers using four analytical dimensions: trend, momentum, volatility, and volume. Traders can select different signal generation modes, including single met

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 Debug S14
1 stars

A strategy in a separate pane built on the WaveTrend oscillator. It enters long when the fast line crosses above the slow line while below the second oversold level, and short on a downward cross while above the second overbought level. Positions close on the

Strategy v5 Oscillators & momentumMean reversion
Updated 2 weeks ago · None stated GitHub repository of WaveTrend Cross Strategy
1 stars

This strategy draws on the price chart and combines optional long and short signals from a 9/21 EMA crossover, a breakout of the prior 20-bar high or low, RSI momentum, and a MACD histogram flip. A toggleable 200-period simple moving average allows longs only

Strategy v6 TrendOscillators & momentum Repaints
Updated 2 months ago · None stated GitHub repository of TN Asymmetric Swing Sovereign
1 stars

The strategy combines the Moving Average Convergence Divergence (MACD) oscillator with Bollinger Bands to generate trading signals on the main price chart. A long signal occurs when the MACD line crosses above its signal line while the closing price is above t

Strategy v5 TrendOscillators & momentum
Updated 4 months ago · MIT GitHub repository of Tuple Visual MACD BB

A Pine Script v5 indicator in a separate pane that applies Hurst-style bandpass filters to a chosen price source, such as the low, to mark cycle pivots from the 5 day to the 40 day range. Each cycle has its own bandwidth and period, and a bandpass offset, cycl

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Diamond Notation Pivots 5D to 40D
1 stars

This overlay indicator calculates LazyBear's WaveTrend oscillator as modified by DGT. It smooths price with an EMA channel, builds a channel index from absolute deviation, then plots a WaveTrend line and a shorter signal average. It marks crosses, optional val

Indicator v5 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of WaveTrend [LazyBear] by DGT
1 stars

The MACD Fast W Shorts Add Long strategy generates trading signals using a standard Moving Average Convergence Divergence (12, 26, 9) calculation and VWAP filtering. It enters long trades when MACD is below zero, rising, and under the signal line, or reopens a

Strategy v4 TrendOscillators & momentum
Updated 4 years ago · None stated GitHub repository of MACD Fast W Shorts Add Long

This indicator combines a dynamic Seasonal Random Index (SRI) with a dynamic Karobein Oscillator and a pattern-similarity search algorithm in a separate pane. It normalizes SRI into seasoned and deseasoned series, shading the area green or red to signal trend

Indicator v4 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of Similarity Search, Karobein and Seasonal Random Index

This indicator plots an oscillator in a separate pane. It builds several SuperTrend series across a user-defined factor range and step, using ATR as the band width. On each bar it measures the distance between the close and each SuperTrend output, then groups

Indicator v5 TrendVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of AI SuperTrend Clustering Oscillator [LuxAlgo]
65 stars

This v5 indicator calculates the Relative Strength Index of close prices using a period of 20. It plots the RSI value exclusively when barstate.isconfirmed evaluates to true and renders no data otherwise. The approach filters the RSI line to confirmed bar stat

Indicator v5 Oscillators & momentum
Updated 6 days ago · GPL-3.0 GitHub repository of V5 Concepts Bar States 04
16 stars

This trend-following strategy initiates long or short trades on Donchian channel breakouts. Position sizing is calculated from an Average True Range (ATR) volatility model. The script scales into winning trades up to a user-defined unit limit only when RSI con

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 36: BE + Momentum
9 stars

Kestrel Export - CCI is a reference data generator designed to export Commodity Channel Index values and divergence metrics for parity testing against external systems. It calculates standard CCI, EMA smoothing, signal lines, overbought or oversold extreme zon

Indicator v6 Oscillators & momentum
Updated 3 days ago · MIT GitHub repository of Kestrel Export - CCI

Stochastic

by suyons
7 stars

This indicator plots a standard Stochastic oscillator in a separate pane to measure momentum. It calculates the raw stochastic oscillator based on closing, high, and low prices, then applies simple moving averages to generate the smoothed %K and %D signal line

Indicator v5 Oscillators & momentum
Updated 4 months ago · None stated GitHub repository of Stochastic
5 stars

This indicator combines pivot-based support and resistance levels with multi-timeframe MACD crossovers and a higher-timeframe exponential moving average trend filter. It identifies support and resistance touches using pivot highs and lows within a user-defined

Indicator v4 Oscillators & momentumSupport & resistance Repaints
Updated 3 years ago · Apache-2.0 GitHub repository of MACD + Support / Resistance
3 stars

The CSW Sentiment Line indicator rates RSI, Volume, and RVI from 0 to 100. It averages these to create a composite sentiment and draws labels on the price chart displaying each rating. Users can enable or disable individual metrics and customize colors and lab

Indicator v5 Oscillators & momentumVolatility & bands
Updated 5 months ago · None stated GitHub repository of CSW Sentiment Line
3 stars

Pieki Algo is an all-in-one technical analysis indicator that overlays trading signals, trend visualizers, and Smart Money Concepts onto the main price chart. It plots buy and sell signals based on configurable sensitivity settings, colors candles by trend or

Indicator v5 SMC / ICT / price actionTrend Repaints
Updated 12 months ago · None stated GitHub repository of Pieki Algo Signals & Overlays

IMBA Algo

by TamTH-Dev
2 stars

IMBA Algo is a price chart overlay indicator designed to simulate trading setups with detailed position visualisations. It calculates entry points, automatic or fixed percentage stop losses, break-even levels, and four distinct take profit targets with customi

Indicator v5 TrendScreeners & dashboards
Updated 6 weeks ago · None stated GitHub repository of IMBA Algo

DEPV2 DEBUG S15

by YuceSezar89
1 stars

This indicator watches up to twenty user-chosen symbols, defaulting to Binance crypto perpetuals, and combines four signal classes: trend, momentum, volatility, and volume. Signal mode can use one class, require several classes to agree, require a chosen seque

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

Volume MAs Oscillator

by vedkanani123
1 stars

A separate-pane oscillator derived from a selectable volume-adjusted moving average, with adaptive bands set by a band length, a smoothing value and separate positive and negative multipliers. A signal type setting picks the reading. Optional oversold and over

Indicator v6 Oscillators & momentumVolume
Updated 2 months ago · None stated GitHub repository of Volume MAs Oscillator

This price-chart strategy runs a confirmed-bar state machine that watches MACD line crosses filtered by a 200-period EMA. A lookback audit scores recent candle direction and RSI alignment against the MACD lines, and it enters long or short only when that densi

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of TN Causal Backtracking Sovereign

A Pine Script v5 indicator in a separate pane that uses Hurst-style bandpass filters on a selectable price source, defaulting to the low, to mark cycle pivots from the 80 day range up to 18 years. Every cycle has its own bandwidth and period setting, plus a ba

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Diamond Notation Pivots 80D to 18Y
1 stars

Calculates a reversal confidence score combining Bollinger Band overextension, RSI exhaustion, and price distance from a exponential moving average. The strategy overlays VWAP, EMA, and Bollinger Bands directly on the price chart. Long signals trigger when pri

Strategy v5 Mean reversionOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Reversal Confidence Strategy
1 stars

The triple exponentially average indicator computes a triple exponential moving average of the closing price to generate the Trix oscillator. It calculates the successive EMAs and derives the trix as the percentage change of ema3. The script plots the trix val

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · None stated GitHub repository of Triple Exponentially Average
1 stars

A Pine v4 strategy that plots VWAP in blue and green and red lines for the previous highest high and lowest low over a fast and a slow lookback. It checks for new single or double highs and lows alongside MACD and RSI bottoming patterns. Inputs set the two loo

Strategy v4 Oscillators & momentumBreakout
Updated 4 years ago · None stated GitHub repository of MACD Please (High-Low Lines)
228 stars

This strategy generates trading signals based on a selectable momentum engine, supporting MACD, RSI, Stochastic, or Rate of Change. Entries trigger on signal crosses, zero-line crosses, or threshold crosses, with an optional moving average trend filter. Risk m

Strategy v6 Oscillators & momentumTrend
Updated 3 months ago · None stated GitHub repository of Momentum Strategy Template
99 stars

This indicator plots the Bull-Bear Power Ratio as two oscillator lines in a separate pane. BR compares the range above the previous close with the range below it, and AR compares the range above the open with the range below it. Both ratios are summed over a r

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Bull-Bear Power Ratio (BRAR)

Fisher Transform

by mihakralj
47 stars

Calculates the Fisher Transform oscillator and its signal line to convert price action into a Gaussian probability distribution. It normalizes input prices within a specified lookback window, applies exponential smoothing, and scales the bounded value logarith

Indicator v6 Oscillators & momentum
Updated 8 months ago · MIT GitHub repository of Fisher Transform

Coppock Curve

by TWODS-CAPITAL
37 stars

This indicator plots the Coppock Curve in a separate pane. It adds the rate of change of close over a long lookback to the rate of change over a shorter lookback, then smooths that sum with a weighted moving average. The WMA length and the long and short rate-

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · MIT GitHub repository of Coppock Curve

This indicator maps Stephen Klinger's volume force in a separate pane. It builds a Klinger volume oscillator from fast and slow exponential averages of a volume-force series, then subtracts a signal average to form a histogram. Display normalization keeps zero

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of Klinger Volume Force Map [WavesUnchained]

Stochastic 3

by suyons
7 stars

Stochastic 3 plots three separate Stochastic oscillators stacked vertically in a single indicator pane using vertical offsets. It calculates fast, medium, and slow momentum layers (configured by default to 5-3-3, 10-6-6, and 20-12-12 settings) with customizabl

Indicator v5 Oscillators & momentum
Updated 4 months ago · None stated GitHub repository of Stochastic 3

This strategy combines MACD momentum signals with support and resistance levels from pivot points and an EMA100 trend filter for long positions. It plots the 100-period EMA on the price chart and signals when price breaks above the EMA or forms bullish pivot p

Strategy v4 TrendOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of MACD + Support / Resistance Long Strategy

Market Cipher A

by TamTH-Dev
2 stars

Market Cipher A plots an exponential moving average ribbon on the price chart alongside visual trend signals. It computes eight EMAs of varying lengths to construct the ribbon, tracks daily pivot high and low levels, and calculates momentum using internal wave

Indicator v5 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Market Cipher A

CM DI Plus Minus V1

by avatar-lavventura
2 stars

CM DI Plus Minus V1 calculates the positive (+DI) and negative (-DI) directional indicators to assist in identifying trend direction and strength. It plots both +DI and -DI lines in a separate pane and offers optional background highlighting based on direction

Indicator v4 TrendOscillators & momentum
Updated 7 months ago · None stated GitHub repository of CM DI Plus Minus V1

ETH 1HR

by wynnforthework
2 stars

This multi-indicator strategy generates trade signals by combining a T3 moving average, Parabolic SAR, ADX trend filter, RSI, and MACD. It executes long or short entries overlaying the price chart based on trend and momentum alignment. Exit logic features a mu

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of ETH 1HR

DEPV2 DEBUG S16

by YuceSezar89
1 stars

DEPV2 DEBUG S16 is a multi-symbol indicator that plots trading signals for 20 major Binance cryptocurrency pairs including BTCUSDT, ETHUSDT, SOLUSDT and others. It applies four distinct methods: TREND, MOMENTUM, VOLATILITY and VOLUME to generate signals. Three

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S16
1 stars

This indicator analyzes order flow, dollar volume changes, and price movement across up to five configurable currency symbols in a separate pane. It calculates volume flow scores using normalized metrics such as percent change or Z-scores, integrated with Chai

Indicator v6 VolumeOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Volume Multi Currency Analyzer

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