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
Entries need a stochastic reversal cross, an EMA trend filter, a cooldown and a time window, and must pass a confluence score, a VIX stand-aside gate, an optional VWAP gate and a daily trade cap. Exits are labelled for stop, take profit, time or end of day, with paired numbered labels. Settings cover thresholds, volatility-scaled targets and manual event blackout. It is a visual mirror of the author's backend logic.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Min confluence score (out of 6)
int
3
minConfluence
Full-size threshold (out of 6)
int
4
fullSizeConf
Max trades per day
int
3
maxTradesPerDay
Macro blackout (FOMC/CPI day)
bool
false
manualBlackout
VIX symbol
string
CBOE:VIX1D
vixSymbol
VIX stand-aside threshold
float
22.0
vixStandAside
Max extension from EMA10 (%)
float
0.30
extensionPct
Vol-scaled TP (ATR-based)
bool
true
useVolScaledTp
TP = N x ATR(D1)
float
0.4
tpAtrMult
Same-bar exit guard (TP/TIME)
bool
true
sameBarGuard
Mid-session vol re-gate
bool
true
midSessionRegate
Mid-session vol multiplier
float
2.0
midVolMult
Show all 40 settings
Setting
Type
Default
Variable
VWAP gate (canonical mean-rev)
bool
true
useVwapGate
Prime window start hour ET
int
10
primeWinStartH
Prime window start min ET
int
30
primeWinStartM
Prime window end hour ET
int
13
primeWinEndH
Prime window end min ET
int
0
primeWinEndM
Suppress counter-trend signals
bool
true
useTrendFilter
EMA fast length
int
10
emaFastLen
EMA slow length
int
30
emaSlowLen
Trend spread threshold (pct)
float
0.05
trendThresholdPct
Stoch %K length
int
14
stochKLen
Stoch %D smoothing
int
3
stochDLen
Stoch high threshold (CALL)
int
75
stochHighThr
Stoch low threshold (PUT)
int
25
stochLowThr
Cooldown bars (same direction)
int
6
cooldownBars
Session start hour ET
int
9
sessionStartH
Session start min ET
int
30
sessionStartM
Observation window length (min)
int
15
obsWindowMin
No-new-entry hour ET
int
14
noNewEntryH
No-new-entry min ET
int
0
noNewEntryM
RSI length
int
14
rsiLen
RSI overbought (CALL conf)
int
65
rsiCallThr
RSI oversold (PUT conf)
int
35
rsiPutThr
WVF period
int
22
wvfPeriod
WVF BB multiplier
float
2.0
wvfBbMult
Strike distance pct OTM
float
1.5
strikeDistancePct
TP favorable move pct
float
0.3
favMovePct
TIME stop min before close
int
30
timeStopMin
STOP requires bar CLOSE through strike
bool
true
stopRequiresBarClose
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 indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
Leptokurtic Directional Bias is an overlay indicator that measures kurtosis on a chosen source and marks directional bias on the price chart. The source can be a moving average, ATR, volume, close, or a Bollinger-band trend stop. Bias mode switches among RSI m
This overlay indicator plots a session VWAP that resets daily plus pivot-anchored VWAP highs and lows. It marks price crosses of those VWAPs, crosses between session and anchored VWAPs, and clusters where several VWAP lines sit close together. Display mode, cl
This indicator identifies long mean-reversion trade opportunities when price stretches significantly below the Volume Weighted Average Price (VWAP). It triggers a signal during regular trading hours when price moves a defined minimum number of ticks below VWAP
This indicator tracks the low of day and high of day during the specified RTH session hours in the New York timezone. It calculates the high at the current low of day (lod_h) and the low at the current high of day (hod_l). Horizontal lines are drawn at these l
This indicator plots entry signals and moving average lines for three Fibonacci-period strategies directly on the price chart: Momentum Breakout, Mean Reversion, and Fibonacci Retracement. Each strategy uses combinations of Fibonacci-length moving averages (su