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
The chosen flip band decides the trend, and retest signals are scored with a minimum score, retest window and cooldown. Extras include a higher-timeframe bias, a segment volume profile with point of control, value area and high or low volume nodes, a band heatmap, and risk presets with stop modes and targets.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Band Width Preset
string
Balanced
bandPresetInput
Base Multiplier (×ATR)
float
5.0
baseMultInput
Band Spacing (proportional step)
float
0.25
bandStepInput
ATR Length
int
13
atrLenInput
Source
source
close
srcInput
Flip Band
string
Balanced (Band 3)
flipBandStr
Higher Timeframe Bias
timeframe
htfInput
Min Retest Score (0-100)
int
80
minScoreInput
Retest Window (bars)
int
8
retestWindowInput
Signal Cooldown (bars)
int
5
cooldownInput
Show Segment Volume Profile
bool
true
showProfileInput
Profile Rows
int
30
profRowsInput
Show all 40 settings
Setting
Type
Default
Variable
Profile Width (bars)
int
34
profWidthInput
Max Profile Bars
int
500
maxProfBarsInput
Show POC
bool
true
showPocInput
Show Value Area (70%)
bool
true
showVaInput
Profile Label Size
string
Small
profLabelSizeInput
Show HVN / LVN Levels
bool
true
showNodesInput
Theme
string
Auto
themeInput
Show Trail Bands
bool
true
showBandsInput
Show Band Heatmap Fill
bool
true
showHeatInput
Show Trend P&L Tracker
bool
false
showTrendPnlInput
Show Retest Signals
bool
true
showSignalsInput
Show Flip Labels
bool
true
showFlipLabelsInput
Signal Label Size
string
Small
signalFontSizeInput
SL/TP Label Font Size
string
Small
labelFontSizeInput
Show Watermark
bool
true
showWatermarkInput
Risk Preset
string
Balanced
riskPresetInput
SL Mode
string
Wick-Anchored
slModeInput
ATR Length (Risk)
int
14
atrLenRiskInput
SL Multiplier (×ATR)
float
1.5
slMultInput
TP1 Multiplier (×Risk)
float
1.0
tp1MultInput
TP2 Multiplier (×Risk)
float
2.0
tp2MultInput
TP3 Multiplier (×Risk)
float
3.0
tp3MultInput
Break-Even After TP1
bool
true
beInput
Show SL/TP Lines
bool
true
showSlTpInput
Show SL/TP Labels
bool
true
showSlTpLabelsInput
Show % Distance on Labels
bool
true
showPctOnLabelsInput
Entry Line Style
string
Dotted
entryLineStyleInput
SL Line Style
string
Solid
slLineStyleInput
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.
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
This indicator calculates Kaufman's Adaptive Moving Average (KAMA) on a chosen price source and determines trend direction based on the slope across a configurable lookback window. Signals can be filtered by short-term volatility expansion using ATR comparison
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 overlay indicator marks Wyckoff-style buying and selling climaxes on the price chart. It filters trend with an exponential moving average and a higher-timeframe EMA, then flags accumulation or distribution when price and ATR sit relative to their swing av
Vein Exhaustion is a price-chart indicator that scores how stretched a directional move is before structure confirms a turn. It builds separate bull and bear scores from consecutive directional bars, EMA distance in ATR units, RSI and MFI extremes, volume-base
This indicator plots a volume-weighted moving average as a central trend baseline and surrounds it with ATR-based volatility bands. It colors the trend and optional price bars according to whether price is on the bullish or bearish side of those bands. Users c