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
PRE-BUY / BUY / REV Ladder MTF+Regime tracks fast and slow EMAs, swing structure, break of structure or change of character, liquidity sweep or reclaim, and optional displacement candles. Volume type, a multi-length USI momentum filter, and a higher-timeframe EMA regime filter can gate the stages. Main settings change EMA lengths, ATR proximity and touch tolerance, swing age, ChoCH mode, volume thresholds, and the higher timeframe. It is an indicator and does not place trades or set exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
EMA Fast
int
21
emaFastLen
EMA Slow
int
55
emaSlowLen
PRE-BUY proximity - ATR
float
0.25
preWarnDistATR
BUY touch tolerance - ATR
float
0.12
touchTolATR
Swing Left
int
2
swingL
Swing Right
int
1
swingR
Swing max age bars
int
100
swingMaxAge
Breakout Source
string
Wick
breakoutSource
ChoCH Mode
string
Ping+Verify
chochMode
ChoCH freshness bars
int
5
revRecencyBars
Require liquidity sweep or reclaim
bool
true
requireSweepOrReclaim
Use Volume Filter
bool
true
useVolFilter
Show all 40 settings
Setting
Type
Default
Variable
Volume SMA Length
int
20
volLen
Volume Multiplier
float
1.2
volMult
Use volume type filter
bool
true
useVolumeTypeFilter
Climax-down volume multiplier
float
1.8
climaxVolMult
Displacement volume multiplier
float
1.4
dispVolMult
ATR Length
int
14
atrLen
Displacement body ATR min
float
0.6
dispBodyATR
Close near high fraction
float
0.25
closeNearHighFrac
Use displacement for REV-CONFIRM
bool
true
useDisplacementForConfirm
Use USI confirmation
bool
true
useUsiFilter
USI Line 1 Slow
int
11
usiLen1
USI Line 2
int
7
usiLen2
USI Line 3
int
5
usiLen3
USI Line 4
int
4
usiLen4
USI Line 5 Fast
int
2
usiLen5
Zero-Lag source
bool
true
usiZeroLag
Use HTF EMA regime filter
bool
true
useHtfFilter
Primary HTF
timeframe
60
htfTf
HTF EMA Fast
int
21
htfFastLen
HTF EMA Slow
int
55
htfSlowLen
Block only STRONG bearish HTF
bool
true
htfBlockOnlyStrongBear
Use ADX filter
bool
true
useAdxFilter
ADX length
int
14
adxLen
ADX strong-trend threshold
float
28.0
adxStrongTrend
Block REV in strong bearish trend
bool
true
blockRevWhenStrongBearTrend
Use ATR regime filter
bool
true
useAtrRegimeFilter
ATR baseline length
int
50
atrBaselineLen
ATR compression threshold
float
0.75
atrCompressionThr
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.
Capital41 Confluence Core plots an EMA or SMA on the price chart and combines its direction with RSI, Williams %R, and a liquidity-sweep check into long and short confluence signals. Signal strictness is Strict, Standard, or Loose, which changes how far the os
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
LiqSpikeBounceLong Feb2026 is an indicator designed to identify long bounce entries following high-volume liquidation cascades in bearish market contexts. It checks if price is below an exponential moving average, then detects large single-bar drops exceeding
This indicator generates trend-following trade signals on the price chart by combining moving average crossovers with multi-factor filters. It triggers entry alerts when fast and slow EMAs cross in the direction of a baseline trend EMA, confirmed by non-extrem
This overlay indicator plots a SuperTrend using a 10-period ATR with a multiplier of 3, drawing up and down stop lines and a faint trend fill on the price chart. It compares a 9-period EMA with an 18-period EMA and a 12/26/9 MACD against its signal, and it req
Bte Acc is a chart indicator form of the PineCoders Backtesting and Trading Engine. It seeks an entry trigger from a main or alternate entry method, then checks trade direction, filters, date range, ATR readiness, and remaining capital before filling on the ne