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 require the range to fall between minimum and maximum point limits and, when enabled, to match a higher-timeframe EMA bias. Stops sit at the opposite Asian extreme or a fixed point distance, targets use a reward multiple, and open trades close at a set hour. Commission and slippage are deducted, and bars that touch both stop and target count as losses. Optional lines mark the range and trade levels. It simulates results and does not send orders.
Asian session high and low range
London breakout with reward-multiple target
Opposite-extreme or fixed-point stop
Higher-timeframe EMA directional filter
Commission and slippage deducted from simulated P&L
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Session timezone
string
UTC
tz
Asian start (h)
int
0
aStart
Asian end / London start (h)
int
7
aEnd
London entry cutoff (h)
int
12
lEnd
Force-close hour (h)
int
21
eodH
Stop = fixed pts (else opposite Asian extreme)
bool
false
useFixed
└ Fixed stop (pts)
float
8.0
fixedPts
Target (R multiple)
float
1.5
rMult
Min Asian range (pts) to trade
float
3.0
minRange
Max Asian range (pts) to trade
float
40.0
maxRange
Contracts
int
1
contracts
$ per point (MGC=10)
float
10.0
ptValue
Show all 18 settings
Setting
Type
Default
Variable
Commission $/side
float
0.74
commSide
Slippage (pts/side)
float
0.1
slipPts
Draw Asian range + trade levels
bool
true
showLines
HTF bias filter (long only if HTF up, short only if down)
bool
true
useHTF
HTF timeframe
timeframe
D
htfTf
HTF EMA length
int
20
htfEmaLen
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 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
The ORB Pro indicator calculates and plots Opening Range Breakout levels, stop-loss and take-profit zones, signal labels, and an status dashboard on the price chart. Built on academic research, it evaluates trades using an opening-candle direction filter, open
This indicator calculates and visualizes Opening Range Breakout (ORB) zones directly on the price chart. Breakout signals are identified when the close or an EMA crosses the opening range boundary, with entry sensitivity managed by retest requirements. It mode
This indicator builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-
This indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time