Indicator · Pine Script v6 · On the chart

Momentum Acceleration by DGT

by regalouisei

Calculates momentum acceleration based on price or On Balance Volume by evaluating the rate of change between velocity and acceleration.

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code293
Settings23inputs
LicenceNone stated
Last update8 months ago25 Feb 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Momentum Acceleration by DGT plots signals and visual overlays directly on the price chart, with options to project momentum oscillators. Settings allow adjusting the data source, calculation period, display lookback length, and visual colors. The script also includes a built-in backtesting framework that simulates trade entries, exits, stop losses, and summary performance statistics. A simulation setting can cause repainting if toggled on.

Details

Published by

regalouisei on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Data SourcestringPrices
  Acceleration Periodint13t
  Bullish Colorcolorcolor.new(color.aqua, 80)colorup
Bearish Colorcolorcolor.new(color.orange, 80)colordown
  Display Lengthint233p
Show Price Accelerationboolfalseprice
oscColorcolorcolor.aquaoscColor
Show OBV Accelerationboolfalseobv
oscColor2colorcolor.orangeoscColor2
  Scaleint7  Scale
Offsetint3oscVerticalOffset
  PlacementstringBottomoscPlacement
Show all 23 settings
SettingTypeDefaultVariable
Backtest On/OffboolfalseisBackTest
Initial Capitalfloat1000.dasCapital
Period (Year)float1lenBckTst
Apply Stop Loss, % Stop LossboolfalseisStopLoss
stopLossfloat1.stopLoss
Use Candle Direction for Long ConfirmationboolfalseisBull
Use Candle Direction for Short ConfirmationboolfalseisBear
Avoid Sudden Price ChangesbooltrueisSudden
❗❗❗ Simulate Trade on Next Bar (REPAINTS)boolfalseisTest
Show Trade Entry/Exit LabelsbooltruelblInOutSL
Show Trade Statistics LabelbooltruelblTrdStat
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

LiqSpikeBounceLong Feb2026

by agutinbaigo28
147 stars

LiqSpikeBounceLong Feb2026 is an indicator designed to identify long bounce entries following high-volume liquidation cascades in bearish market contexts. It checks if price is below an exponential moving average, then detects large single-bar drops exceeding

Indicator v5 Volatility & bandsVolume
Updated 6 weeks ago · MIT GitHub repository of LiqSpikeBounceLong Feb2026

Aroon-based Strategy

by capissimo
114 stars

This indicator overlay generates buy and sell signals based on Aroon extreme levels combined with optional volume or volatility filters. It calculates Aroon Up and Aroon Down lines using localized high and low lookbacks, generating trade entries when Aroon rea

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Aroon-based Strategy
92 stars

This indicator plots a volume-weighted average price of the typical price on the chart and colors that line by ADX strength. It draws a standard-deviation envelope around VWAP and tints the fill green when plus DI leads and red when minus DI leads. Triangle ma

Indicator v5 TrendOscillators & momentum
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev VWAP x ADX Explosion

RSI Div at dVWAP StDev

by cryptorife
75 stars

This indicator marks RSI divergences only when price trades beyond daily VWAP standard-deviation bands. It compares recent RSI extremes with price highs and lows over a lookback window, and it treats a divergence as valid only while RSI stays beyond overbought

Indicator v4 DivergenceOscillators & momentum Repaints
Updated 3 years ago · GPL-3.0 GitHub repository of RSI Div at dVWAP StDev

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers