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
Cerebr Bot validates order blocks using a candle-count range, a no-body buffer, and an optional reversal-magnitude filter based on candle body or the selected method. RSI overbought and oversold thresholds, including sequenced and summed counts on a chosen timeframe, further qualify zones. Pivot lookback settings affect structure detection. Entry context uses the closest fair value gap to price. Boxes draw zone boundaries from high and low or the selected values. It does not place trades or define exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Minimum Candle for OB Validation
int
3
minCand
Maximum Candle for OB Validation
int
6
maxCand
No-Body Candle Buffer
int
1
indLimit
Filter Orderblock by Reversal Magnitude
bool
true
useObDist
Method to Calculate Reversal Magnitude
string
Candle Body
distMeth
Reversal Distance Multiplier
float
2
distMult
What Values to use for Top/Bottom of Orderblock?
string
High/Low
obPlotMeth
RSI Overbought
float
70
i_rsiOb
RSI Oversold
float
30
i_rsiOs
Pivot Lookback Bars
int
2
lback
Additional Vertices Lookback
int
1
vertLback
RSI Timeframe
timeframe
rsiRes
Show all 17 settings
Setting
Type
Default
Variable
Threshold Sequenced Overbought/Oversold
int
2
minSeqObOs
Threshold Non-sequenced Overbought/Oversold
int
4
minNsqObOs
Sum Sequenced/Non-sequenced Overbought/Oversold
bool
true
useSumObOs
Threshold Summed Overbought/Oversold
int
4
minSumObOs
What Structure Should Be Used for Entry?
string
Closest FVG to Price
i_entBuffer
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 scores liquidity-sweep reversals on the price chart. It looks for a swing high or low violation followed by a recovery close, then grades optional conditions such as RSI and structure into a 0–2 quality score with separate long and short
This indicator identifies Smart Money Concepts market structure across higher and lower timeframes directly on the main price chart. It detects Break of Structure, Market Structure Shifts, Order Blocks, and regular or inverse Fair Value Gaps. Entry signals are
This indicator identifies market impulses, consolidation zones, and potential stop levels directly on the price chart. It evaluates price movement using dual ATR ratios, tight-range consolidation filters, stochastic momentum, and candle body-to-wick proportion
Pieki Algo is an all-in-one technical analysis indicator that overlays trading signals, trend visualizers, and Smart Money Concepts onto the main price chart. It plots buy and sell signals based on configurable sensitivity settings, colors candles by trend or
This indicator plots demand and supply zones computed from volume profile with 30-56 bins, fair value gaps on 4H, and equal highs/lows. It draws a magic line using ATR(14) x 1.618 golden ratio anchored to the 00:00 UTC close. Signals identify liquidity vacuum
This multi-timeframe indicator overlays ICT Fair Value Gaps (FVGs) and higher-timeframe candle projections directly onto the price chart. It aggregates price imbalance context across up to six configurable timeframes while maintaining a dynamic multi-timeframe