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
CH033 ORB+ Strategy marks the 09:30 to 09:45 range, then looks for a break by wick or close, a return inside the range, and a close across session VWAP in the opposite direction before entering. Stop loss can use the manipulation extreme, ATR or a fixed distance, with three R-multiple targets, partial exits, break-even after the first target and a daily trade limit. Comments and labels are in Spanish.
Opening range break, re-entry and VWAP close setup
Stop loss modes: manipulation extreme, ATR or fixed points
Three R-multiple targets with partial exits
Break-even move after the first target
Optional day-direction alignment filter and continuation mode
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Rango de apertura
session
0930-0945
nyRange
Ventana de entradas
session
0945-1200
entryWinSes
Cerrar la posición al terminar la ventana
bool
true
closeAtEnd
Ruptura del rango por
string
Mecha (barrido)
brkMode
Exigir reingreso al rango
bool
true
needReentry
Invalidar si tarda más de N velas en reingresar
bool
false
useBarLim
barLim
int
40
barLim
Máximo de operaciones por día
int
1
maxSigs
Descartar los fades que van contra la dirección del día
bool
false
alignOn
Zona muerta (X veces el tamaño del rango)
float
0.15
alignDead
MODO CONTINUACIÓN · operar a favor del día en vez de descartar
bool
false
contOn
Cálculo del Stop Loss
string
Extremo de la manipulación
slMode
Show all 40 settings
Setting
Type
Default
Variable
Colchón del stop (ticks)
int
2
slBufTicks
ATR · periodo
int
14
atrLen
x
float
1.5
atrMult
Stop fijo (puntos)
float
20
fixedSlPts
TP1 (R)
float
1.0
tp1R
TP2 (R)
float
1.5
tp2R
TP3 (R)
float
2.0
tp3R
Descartar si el stop es menor a (pts)
bool
false
useMinStop
minStopPts
float
5
minStopPts
Descartar señales con stop demasiado grande
string
Múltiplo del rango
stopFilterMode
Máximo = X veces el tamaño del rango
float
2.5
maxStopRangeMult
Máximo en puntos
float
80
maxStopPts
Mover el stop a break-even tras TP1
bool
true
beAfterTp1
Contratos por operación
int
3
qtyTot
Salidas parciales en TP1, TP2 y TP3
bool
true
useScale
Si no hay parciales, salir en
string
TP2
oneTp
Mostrar el panel
bool
true
statOn
statPos
string
Arriba derecha
statPos
statSize
string
Pequeño
statSize
Riesgo por operación ($)
float
250
riskUsd
Límite de drawdown de la cuenta ($)
float
2000
ddLimit
Niveles de R a medir
float
1.0
statR1
statR2
float
1.5
statR2
statR3
float
2.0
statR3
statR4
float
3.0
statR4
Filtrar según el bias de temporalidad alta
bool
false
useBiasFilt
Temporalidad
timeframe
60
biasTfHigh
EMA
int
21
biasMaLen
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 fades opening gaps on ES during the New York regular session and draws on the price chart. It checks the gap against a minimum percentage, a minimum point size, and an optional ATR multiple, then uses a five-, fifteen-, or thirty-minute opening r
This strategy plots on the price chart and combines an opening-range breakout with gap-fill logic. It builds the range from a fixed 9:30 start for a user-set number of minutes, then marks breaks of the range high or low. Gaps are classed as full or partial fro
Calculates standard Bollinger Bands and identifies band expansion breakouts where upper and lower bands move in opposite directions. It enters long positions when price breaks above the upper band with a high candle body percentage, and enters short positions
The Chained Linear Regression Reversal Strategy plots linear regression channels with upper and lower standard deviation bands directly on the price chart across a user-defined time window. When price breaks out of the static channel for a confirmed number of
This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status
This strategy enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim