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
2b Reversal monitors breakdowns and breakouts against key references such as regular trading hours highs and lows, overnight swings, previous day boundaries, and weekly levels. Traders can choose between chart timeframe analysis or a multi-timeframe engine checking 1-minute to 60-minute intervals. Visual elements include colored breakout and reversal bars, connector lines between events, and configurable alerts for false breakouts.
Multi-timeframe 2B reversal detection
Automated session and multi-day level tracking
Explicit level configuration option
Visual connectors between breakdown and reversal bars
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Timeframe Selection
string
mtf
timeframe_selection
Level Selection
string
auto
level_selection
Explicit Level
float
4070
level_in_explicit
dpl/dph
bool
true
is_alert_enabled_dpl_dph
opl/oph
bool
true
is_alert_enabled_opl_oph
pdl/pdh
bool
true
is_alert_enabled_pdl_pdh
cwl/cwh
bool
true
is_alert_enabled_cwl_cwh
pwl/pwh
bool
true
is_alert_enabled_pwl_pwh
1m
bool
true
is_options_allowed_mtf_1
5m
bool
true
is_options_allowed_mtf_5
15m
bool
true
is_options_allowed_mtf_15
30m
bool
true
is_options_allowed_mtf_30
Show all 19 settings
Setting
Type
Default
Variable
60m
bool
true
is_options_allowed_mtf_60
Breakdown
bool
false
is_alert_enabled_bkdn
Breakout
bool
false
is_alert_enabled_bkout
Reversal
bool
true
is_alert_enabled_reversal
Connector
bool
true
is_connector_enabled
Breakout/Breakdown Candle Color
color
color.fuchsia
color_bk
Reversal Candle Color
color
color.aqua
color_false_bk
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
This indicator calculates and plots session ranges and key breakout levels for DAX futures directly on the price chart. It defines the overnight Globex session, the Frankfurt pre-market range, and the regular trading hours open using European timezone settings
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 plots opening range breakout levels across multiple timeframes, including five, fifteen, thirty, and sixty minutes, directly on the price chart. It also displays the session open and overnight high and low levels. The script calculates an openin
FX Market Sessions highlights distinct trading sessions, such as London, New York, and Tokyo, directly on the main price chart. It draws background boxes for each active session and optionally plots opening ranges, Fibonacci retracement levels, and session ext
Plots timed breakout ranges directly on the price chart, designed for gold trading using dollar-based spacing. At scheduled trigger times or recurring two-hour intervals, it creates a central reference box flanked by upper and lower breakout stop lines, follow