An overlay signal indicator that routes between three exclusive modes: a trend mode using Supertrend flips or Donchian continuation, a range fade mode, and a transition mode that trades breakouts of a finished Asia range.
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
Shock candles, gaps, micro-ranges and news windows suppress signals. Day rules cap trades per UTC day, restrict hours and skip certain Monday and Friday periods. A higher-timeframe Supertrend can be required to agree. Each signal carries a stop.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Max trades per UTC day
int
2
maxDay
Lock day after a 2R miss
bool
true
lockAfter2R
After 3 losses raise score (not size)
bool
true
raiseAfter3
Only 07:00–17:00 UTC (intraday)
bool
true
useSession
Skip Monday before 08:00 UTC
bool
true
skipMon
Skip Friday from 16:00 UTC
bool
true
skipFri
Block 12:20–14:10 UTC
bool
true
blockNews
TREND sleeve (flip + continuation)
bool
true
useTrend
RANGE fade sleeve
bool
true
useFade
TRANSITION breakout sleeve
bool
true
useBreak
Allow fade on M1 (off = safer)
bool
false
forceFadeM1
ATR
int
14
atrLen
Show all 40 settings
Setting
Type
Default
Variable
Supertrend factor (0 = auto)
float
0.0
stFactorIn
EMA
int
21
emaLen
ZLEMA
int
14
zlemaLen
HTF Supertrend must agree
bool
true
useHtf
Auto HTF
bool
true
autoHtf
Manual HTF
timeframe
15
manualHtf
HTF factor
float
3.10
htfFactor
Min score (0 = auto)
int
0
minScoreIn
ADX
int
14
adxLen
Shock candle x ATR
float
2.80
shockAtr
Gap pause x ATR
float
1.50
gapAtr
Micro-box lookback
int
20
microBars
Micro-box max width x ATR
float
2.40
microAtr
Asia end UTC
int
7
asiaEndHour
London AM end UTC
int
12
londonEndHour
Fade must stay in outer %
float
0.28
nearFrac
Min dealing-range x ATR
float
1.40
minRangeAtr
Max dealing-range x ATR
float
8.00
maxRangeAtr
Min R to Gann half
float
1.80
minRrToMid
Min reject / break body x ATR
float
0.18
minBodyAtr
Min body / candle
float
0.38
minBodyRatio
Stop buffer x ATR
float
0.10
slBuf
Min stop x ATR
float
0.40
minStopAtr
Max stop x ATR
float
2.60
maxStopAtr
1R
float
1.0
r1
2R
float
2.0
r2
3R
float
3.0
r3
SL + TP same bar = LOSS
bool
true
sameBarLoss
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.
Trend Score History calculates a composite trend metric ranging between -5 and +5 by evaluating session VWAP, EMA alignment, price-volume flow, lower-timeframe Donchian channel breakouts, and Opening Range breakouts. It plots the cumulative score as histogram
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
This indicator adapts Michael Chalek's Dual Thrust trading concept to plot breakout levels and overlay bands directly on the price chart. It calculates lookback ranges based on historical price action and provides two algorithmic variations along with multiple
This indicator classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It
This indicator calculates dynamic upper and lower trendlines from pivot highs and pivot lows across a specified bar length. Trendline slopes are derived using ATR, standard deviation, or linear regression methods. It plots trendlines and breakout signal labels
This overlay indicator marks the New York initial balance and a configurable opening range on the price chart and reports live range statistics in two tables. It builds an IB box for a default 09:30–10:30 ET window, an ORB box from 09:30 for a set number of mi