Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 51)

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

1 stars

This strategy calculates candle-position buying pressure derived from the close relative to the high-low range, smoothed through a double exponential moving average chain with a momentum overlay. It evaluates a multi-step pressure ladder to identify bullish an

Strategy v6 Oscillators & momentumTrend
Updated 7 days ago · Apache-2.0 GitHub repository of PF IES Probe 04 - Pressure Gauge

DEPV2 DEBUG S6

by YuceSezar89
1 stars

DEPV2 DEBUG S6 is a multi-symbol cryptocurrency indicator that combines signals from trend, momentum, volatility, and volume methods. It generates buy and sell signals based on user-selected modes including simultaneous confirmation of at least N methods, sequ

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

This indicator projects time-based cycles and detrended price oscillators in a separate pane starting from a user-defined date range. It calculates the bar count of an initial reference period, then recursively multiplies segment lengths using a Fibonacci rati

Indicator v5 Oscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Detrended Fibo Time {Morindok}

An overlay indicator combining confirmed pivot highs and lows, RSI and two simple moving averages. It draws green and red levels from the latest pivot, and marks long signals when the high crosses above the long moving average with the close above it, and shor

Indicator v4 Support & resistanceOscillators & momentum
13 stars

This strategy draws on the price chart and trades long, short, or both using simple moving averages of an ohlc4 source together with ADX and directional-index key levels. It can display a high and low closing moving-average ribbon and limit activity with optio

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard Lunatic A003

LuxAlgo Chaos Weighted RSI

by eddiebelaval
7 stars

This indicator calculates a Chaos Weighted RSI that incorporates price chaos via a Fractal Dimension Index. It plots the resulting RSI line in a separate pane along with background fills for overbought and oversold conditions. Bullish and bearish divergences a

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of LuxAlgo Chaos Weighted RSI
3 stars

Gary Oscillator plots a volume-weighted moving average of a price-volume ratio in a separate pane. It multiplies volume by the difference between close and open divided by their sum, scales that value by one hundred, and smooths it with a fourteen-period VWMA.

Indicator v5 Oscillators & momentumVolume
Updated 5 months ago · None stated GitHub repository of Gary - Oscillator

Discord Alerts

by Web3Degenerate
2 stars

Discord Alerts builds TradingView alert text as Discord webhook JSON. It calculates percentage price change, a 14-period RSI, and a 14-period ATR, then formats those values into an embed with a bot name, avatar, icons, title link, optional message, and optiona

Indicator v4 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of Discord Alerts

P_syn_tuples

by GammaExpansion
1 stars

This indicator serves as a synthetic test script demonstrating tuple destructuring syntax in Pine Script v6. It calls multiple technical functions that return tuples, including a custom min-max function on candle bodies, MACD, Supertrend, Bollinger Bands, and

Indicator v6 TrendOscillators & momentum
Updated 7 days ago · MIT GitHub repository of P_syn_tuples

DEPV2 DEBUG S7

by YuceSezar89
1 stars

DEPV2 DEBUG S7 is a Pine Script v6 indicator that draws in a separate pane. It tracks up to twenty user-selected symbols, defaulting to Binance USDT perpetual crypto pairs. Signals use trend, momentum, volatility, and volume methods alone, together, or in a ti

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S7

TD Sequential

by zhuzp98
1 stars

The TD Sequential indicator calculates and tracks trend exhaustion and potential reversal points based on Tom DeMark's sequential counting logic. It evaluates relative high and low price conditions across historical bars to determine setup, continuation, and r

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of TD Sequential
13 stars

This strategy automates the TradingLatino methodology by evaluating Squeeze Momentum combined with the Average Directional Index (ADX). It executes long or short positions based on momentum shifts and directional strength. Risk management options include const

Strategy v5 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of Ruckard Lupown TradingLatino A002

DEPV2 DEBUG S8

by YuceSezar89
1 stars

DEPV2 DEBUG S8 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-selected crypto perpetual symbols, defaulting to Binance USDT perpetual contracts. Direction comes from four classes: trend, momentum, volatility, and volu

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

This strategy plots a Vegas-style exponential moving average tunnel on the price chart, plus a 12-period EMA, a 240-period SMA, and Bollinger Bands. It also computes a MACD difference from 48- and 56-period EMAs. Long entries open on tunnel-average crosses or

Strategy v4 TrendMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of Vegas Tunnel strategy

PivotHighLow

by Alorse
330 stars

This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 2 months ago · None stated GitHub repository of PivotHighLow
13 stars

This strategy calculates the Volume Zone Oscillator (VZO) alongside volume spikes to detect directional momentum. It enters long positions when the VZO turns bullish accompanied by a volume spike, and enters short when the VZO turns bearish with elevated volum

Strategy v5 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard Neobutane VZO bA002

Momentum Checklist

by eddiebelaval
7 stars

This overlay indicator calculates ADX, DI+ and DI- from directional movement and true range, and a Money Flow Index from typical price and volume. It classifies bias as long when DI+ exceeds 25 and DI- stays under 20, short under the opposite condition, and ne

Indicator v6 Oscillators & momentumTrend
Updated 3 months ago · None stated GitHub repository of Momentum Checklist
2 stars

Calculates momentum acceleration based on price or On Balance Volume by evaluating the rate of change between velocity and acceleration. It plots signals and visual overlays directly on the price chart, with options to project momentum oscillators. Settings al

Indicator v6 Oscillators & momentumVolume
Updated 8 months ago · None stated GitHub repository of Momentum Acceleration by DGT

Reverse Stochastic %J

by mushroom-men-Trading
2 stars

This indicator estimates the close that would produce a chosen Stochastic %J from the relation of %J to %K and %D. It computes current %K, a simple-average %D, and %J, then solves an approximate required close from the lookback high, low, and current %D. Setti

Indicator v6 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Reverse Stochastic %J

DEPV2 DEBUG S9

by YuceSezar89
1 stars

DEPV2 DEBUG S9 is a multi-symbol indicator for 20 major cryptocurrencies traded on Binance futures. It generates trading signals by combining four method classes: trend based on price levels, momentum using rate of change, volatility based on expansion or nois

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

Dragon Strength Pro

by morindok
1 stars

Dragon Strength Pro is an overlay indicator that stores recent pivot highs and pivot lows confirmed by left and right bar lengths, keeping up to fifty of each. It averages the slope from those pivots to the current close and scores upward impact from lows and

Indicator v5 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Dragon Strength Pro
1 stars

Overlay indicator of single-bar detections drawn on the price chart. It covers relative volume tiers named SAAB, Kratos, Grand Slam and MOAB, regular-at-time volume tiers, an all-time high volume marker, momentum LONG and SHORT tiers, high-volume ranks from 15

Indicator v5 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Heavy Weapons Single v3

Uniswap MACD

by tseitz
1 stars

A long-only strategy drawn on the price chart that buys when the MACD line (12 and 26 period EMA difference) crosses above its 9 period SMA signal line and closes the position when it crosses back below. Trading is limited to a window of recent days set by two

Strategy v4 Oscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of Uniswap MACD
99 stars

Ehlers Automatic Gain Control (AGC) detrends raw price data using a roofing filter—combining a two-pole high-pass filter and a Super Smoother—to generate a zero-mean oscillating signal. It then applies an automatic gain control algorithm that tracks exponentia

Indicator v6 Oscillators & momentumVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Automatic Gain Control (AGC)
13 stars

This strategy calculates a Volume Zone Oscillator and plots it in a separate pane. It goes long when the oscillator shows green and a volume spike occurs, and goes short when it shows red with a volume spike. A reverse mode and optional start and stop times co

Strategy v5 Oscillators & momentumVolume
Updated 1 year ago · None stated GitHub repository of Ruckard Neobutane VZO cB003

Reverse Wave Trend %J

by mushroom-men-Trading
2 stars

Calculates the Wave Trend %J oscillator and works backwards through its equations to project the required price levels needed to reach target oscillator values. It approximates the Channel Index required for specified overbought or oversold conditions and proj

Indicator v6 Oscillators & momentumSupport & resistance
Updated 9 months ago · None stated GitHub repository of Reverse Wave Trend %J

DEPV2 Debug Siga

by YuceSezar89
1 stars

DEPV2 is a multi-symbol crypto indicator that generates trading signals across 20 Binance assets including BTC, ETH, and SOL. It analyzes four method classes—trend, momentum, volatility, and volume—using modes such as simultaneous confirmation requiring at lea

Indicator v6 Screeners & dashboardsOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 Debug Siga
1 stars

Dual MA Detrended Price calculates two detrended price series by subtracting simple moving averages from a chosen price source. It derives the moving average lengths by applying Golden Ratio multipliers of 1.618 and 0.618 to a configurable base length setting.

Indicator v5 Oscillators & momentumMoving averages
Updated 7 weeks ago · None stated GitHub repository of Dual MA Detrended Price
1 stars

A template version of a long-only MACD strategy for Pine v4 in which the script name and take-profit percentage are unfilled placeholders, so it will not compile until they are replaced. The logic uses a 12/26 MACD with a nine-period signal, requires three ris

Strategy v4 Oscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of Uniswap MACD Strategy Template
99 stars

This indicator calculates John Ehlers' Center of Gravity from a chosen price source over a configurable length. It weights each price by its position in the window, divides the weighted sum by the sum of prices, and shifts the result so the window midpoint sit

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Center of Gravity (CG)

Relative Leg Efficiency (RLE) measures price efficiency across pivot-to-pivot movement legs. Plotted in a separate pane with chart pivot overlays, it calculates path distance, execution duration, and counter-pressure to produce efficiency scores. Traders can a

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Relative Leg Efficiency (RLE) - Panel + Chart [WavesUnchained]

PF IES Probe 09 - Integration

by pineforge-4pass
1 stars

PF IES Probe 09 - Integration is a multi-layered quantitative strategy designed to test interaction among market regime, trend bias, momentum, and price pressure. It computes an ADX and ATR volatility regime, a multi-EMA trend bias score, an RSI and MACD momen

Strategy v6 TrendOscillators & momentum
Updated 7 days ago · Apache-2.0 GitHub repository of PF IES Probe 09 - Integration

DEPV2 Debug SIGD

by YuceSezar89
1 stars

DEPV2 Debug SIGD evaluates multi-symbol and multi-method signal confluence across up to twenty cryptocurrency symbols. It processes four distinct market dimensions—trend, momentum, volatility, and volume—to derive confirmation signals under simultaneous or seq

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

TD Sequential V2

by mikeyhu70
1 stars

A Pine Script v5 indicator on the price chart that counts consecutive closes against the close four bars earlier, separately for falling and rising markets, and adds a bonus count that compares closes with two bars earlier once the setup passes nine. The count

Indicator v5 Oscillators & momentum
Updated 6 months ago · None stated GitHub repository of TD Sequential V2
99 stars

This indicator computes the Ehlers Correlation Cycle in a separate pane. It correlates a chosen price source with cosine and negative-sine waves of a fixed period, then converts those real and imaginary components into a phasor angle that cannot move backward.

Indicator v6 Oscillators & momentumTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Correlation Cycle (CCOR)

My script

by regalouisei
2 stars

This indicator calculates a 14-period Relative Strength Index on the close and turns the result into a directional signal. It sets a buy when RSI crosses above 40 and a sell when RSI crosses below 60, then stores plus one, minus one, or zero. The value is plot

Indicator v6 Oscillators & momentum
Updated 8 months ago · None stated GitHub repository of My script
1 stars

This Pine Script strategy overlays two exponential moving averages on the price chart. It generates buy signals when the fast EMA crosses above the slow EMA and the tick counter is divisible by the step value. It generates sell signals on the opposite cross un

Strategy v6 Oscillators & momentumMoving averages Repaints
Updated 7 days ago · Apache-2.0 GitHub repository of PF kanuck-probe-02-calc-on-every-tick

DEPV2 Debug Sigt

by YuceSezar89
1 stars

This indicator evaluates trading signals across up to twenty cryptocurrency pairs using four core analytical dimensions: trend, momentum, volatility, and volume. It generates signals based on configurable confluence modes, including single-category triggers, s

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

A Pine Script v5 indicator that approximates a Tom DeMark style count on the price chart. It compares each bar with the one four bars earlier, keeps a running count over a lookback window, and plots a green up triangle at nine and a red down triangle at thirte

Indicator v5 Oscillators & momentum
Updated 6 months ago · None stated GitHub repository of Tom DeMark 9 and 13 Buy/Sell Signals
106 stars

This overlay strategy plots a short Bollinger Band and enters long when the close crosses above the lower band while a 14-period SMA is above a 42-period SMA. It enters short when the close crosses below that lower band while the faster SMA is below the slower

Strategy v5 TrendMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Best TradingView Strategy
99 stars

This indicator plots John Ehlers' Cyber Cycle in a separate pane. It smooths the chosen source with a four-bar FIR filter, then applies a two-pole high-pass IIR filter to isolate the dominant cycle. A one-bar delayed trigger line supports crossover reading aga

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Cyber Cycle (CCYC)

This indicator measures the relative strength of a chart symbol compared to a benchmark symbol, such as SPY or QQQ. It plots either a raw relative strength ratio or a Mansfield RS oscillator in a separate pane. Confluence signals trigger when relative strength

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Relative Strength Line [WavesUnchained]

Predictive Moving Average Convergence Divergence - Ryder calculates a classic MACD oscillator with customizable fast, slow, and signal lengths. In addition to plotting the standard MACD line, signal line, and histogram in a separate pane, it calculates forward

Indicator v6 Oscillators & momentumMoving averages

Heikin Ashi

by g-moe
3 stars

This indicator combines a standard relative strength index (RSI) with a Heikin Ashi moving average trend visualization in a separate pane. It calculates the RSI along with a customizable moving average overlay supporting SMA, EMA, SMMA, WMA, and VWMA types. Ad

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

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