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 strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
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
Side is set by price being inside the value area and at or above the point of control, with an optional higher-timeframe Heikin-Ashi MACD filter. Position size comes from a weighted volume-price score covering reclaims, springs, climaxes, upthrusts and dump bars, blended with momentum and a volatility regime. Exits use an ATR stop and trail plus a soft volume-price collapse. The volume profile is a rolling approximation.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Value Area %
float
70.0
vaPct
VP rows
int
25
vpRows
VP lookback bars
int
20
vpLook
Require HTF MACD-HA green
bool
true
useHtf
HTF (4H=240, D=D)
timeframe
240
htfTf
Require above session VWAP
bool
false
useVwap
Require price in Value Area
bool
true
useInVa
Require close >= POC
bool
true
usePoc
Hard VPA entry floor (OFF = v39b)
bool
false
useVpaEntryFloor
Hard VPA floor if enabled
float
-1.50
minVpaEntry
Block dump bars (specialist DNA)
bool
true
blockDump
Vol SMA (fast)
int
14
volSma
Show all 40 settings
Setting
Type
Default
Variable
Price/Vol look
int
3
volLook
Stop/top memory bars
int
5
stopLook
W stopping reclaim
float
1.00
wStopRec
W no-supply test
float
0.75
wNoSup
W spring
float
0.55
wSpring
W confirm up
float
0.50
wConfirm
W healthy pull
float
0.20
wHealthy
W stopping volume
float
0.25
wStopVol
W no-demand (penalty)
float
0.40
wNoDem
W climax recent (penalty)
float
0.45
wClimax
W effort anomaly (penalty)
float
0.30
wEffort
W topping recent (penalty)
float
0.28
wTop
W upthrust (penalty)
float
0.35
wUpthrust
W dump (penalty)
float
0.40
wDump
W red-flag up (penalty)
float
0.22
wRedFlag
Mom blend into size score
float
0.35
momW
Vol-regime amplify factor
float
0.15
volRegAmp
Use EMA cloud soft bias
bool
true
useCloud
EMA fast
int
9
emaFast
EMA mid
int
21
emaMid
EMA slow
int
55
emaSlow
% equity base size
float
10.0
basePct
Hard stop ATR mult
float
1.5
stopAtr
Trail ATR mult
float
2.5
trailAtr
Arm trail after ATR mult
float
1.0
armAtr
Soft exit on VPA collapse
bool
true
exitVpa
VPA mom exit thresh
float
-0.85
vpaExitTh
VPA score exit thresh
float
-0.35
vpaExitSc
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 strategy calculates multiple technical indicators including EMAs, SuperTrend, ADX, RSI, MACD, Stochastic, and volume MA to generate entry signals for Indonesian stocks. It supports three entry trigger modes: Composite Score, Pullback, and Breakout, with f
This overlay strategy is built for ES futures on the one-minute chart. It plots a volume-weighted moving average of price opens and standard-deviation bands at Fibonacci ratios, plus a second longer volume-weighted average from a higher-timeframe open. Call an
This strategy plots on the price chart and enters when three smoothed moving averages are aligned, RSI is on the matching side of 50, and a Williams fractal appears. An upward stack with RSI above 50 and a down fractal opens a long; the opposite setup opens a
This overlay strategy looks for gold scalps from break of structure and change of character. It enters long when a bullish break, a bullish character change, and an optional volume filter align, and short on the opposite set. Optional RSI levels can block trad
This strategy plots the previous daily high and low on the price chart and calculates the Andean oscillator bull and bear components with an exponential moving average signal. It looks for a bull or bear cross of that signal, then confirms the setup against re
This strategy trades 1-minute futures contracts on Binance. It plots pivot high and low resistance and support levels on the price chart, along with an EMA and a custom Cto indicator. Long and short entries trigger on EMA and Cto crossovers combined with price