1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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.
Velocity and acceleration momentum calculations
Price and On Balance Volume data source options
Embedded backtesting framework with trade statistics
Configurable stop loss and candle confirmation filters
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Data Source
string
Price
s
Acceleration Period
int
13
t
Bullish Color
color
color.new(color.aqua, 80)
colorup
Bearish Color
color
color.new(color.orange, 80)
colordown
Display Length
int
233
p
Show Price Acceleration
bool
false
price
oscColor
color
color.aqua
oscColor
Show OBV Acceleration
bool
false
obv
oscColor2
color
color.orange
oscColor2
Scale
int
7
Scale
Offset
int
3
oscVerticalOffset
Placement
string
Bottom
oscPlacement
Show all 23 settings
Setting
Type
Default
Variable
Backtest On/Off
bool
false
isBackTest
Initial Capital
float
1000.
dasCapital
Period (Year)
float
1
lenBckTst
Apply Stop Loss, % Stop Loss
bool
false
isStopLoss
stopLoss
float
1.
stopLoss
Use Candle Direction for Long Confirmation
bool
false
isBull
Use Candle Direction for Short Confirmation
bool
false
isBear
Avoid Sudden Price Changes
bool
true
isSudden
❗❗❗ Simulate Trade on Next Bar (REPAINTS)
bool
false
isTest
Show Trade Entry/Exit Labels
bool
true
lblInOutSL
Show Trade Statistics Label
bool
true
lblTrdStat
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.
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
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
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
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
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
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