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
V12 Swing Sniper Pro layers macro and sector filters atop Minervini-style trend quality gates and RSI checks to validate bullish setups. The script fires buy signals when coiling, pullback proximity, breakout volume, and extension conditions align, while blocking entries in bearish KLCI regimes or weak sectors. It draws pivot highs/lows, ATR-based stops, and target lines directly on the price chart and shows a compact diagnostics table. Core inputs let users pick trade mode, macro gate strength, sector, EMA lengths, ATR settings, risk percentage, and capital size. The tool enforces liquidity floors and Bursa tick-size limits before allowing a buy.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Trade mode
string
Swing
tradeMode
Macro gate mode
string
Hard
macroMode
Stock sector
string
None / Other
sector
Crude palm oil (FCPO)
symbol
MYX:FCPO1!
symCPO
Brent crude
symbol
TVC:UKOIL
symOIL
USD/MYR
symbol
FX_IDC:USDMYR
symFX
US 10Y yield
symbol
TVC:US10Y
symYLD
Semiconductor index
symbol
NASDAQ:SOX
symSOX
Aluminium
symbol
COMEX:ALI1!
symALU
Natural gas
symbol
NYMEX:NG1!
symGAS
RS benchmark (KLCI)
symbol
FTSEMYX:FBMKLCI
rsSymbol
Max % below 52-wk high
float
25.0
nearHiPct
Show all 40 settings
Setting
Type
Default
Variable
Min % above 52-wk low
float
30.0
aboveLoPct
Fast EMA
int
9
emaFastLen
Pullback EMA
int
20
emaPbLen
ATR length
int
14
atrLen
Max extension (ATR above pullback EMA)
float
4.0
maxExtATR
Max % above fast EMA
float
8.0
maxPctFast
Pullback proximity band %
float
3.0
proxBandPct
Pullback lookback (bars)
int
10
pbLookback
Coil: ATR5/ATR20 must be below
float
0.70
coilRatio
RSI hard block
float
80.0
rsiHardCap
Pivot lookback (bars)
int
20
pivotLen
Breakout volume multiple
float
1.5
volMult
Capital (RM)
float
30000.0
capital
Manual risk per trade % (if auto off)
float
1.0
riskPct
Auto risk % by KLCI regime (2/1.5/1/0.5/0)
bool
true
autoRisk
Max notional per position %
float
10.0
notionalCapPct
Stop: swing-low lookback (bars)
int
10
stopLook
Stop buffer below ref level %
float
1.0
stopBufPct
Target (gross R multiple)
float
2.5
targetR
Round-trip cost % of notional
float
0.70
costPct
Stop construction
string
EMA20 (Minervini)
stopMode
PAM ATR-offset multiple
float
0.7
pamMult
Max stop distance % (Minervini cap)
float
8.0
maxStopPct
ATR stop multiple (ATR mode)
float
1.5
atrStopMult
Max ATRs to target (feasibility)
float
10.0
maxAtrTgt
BUY requires feasible target
bool
true
requireFeas
Min avg traded value RM/day (20-bar)
float
500000.0
minValRM
Min stop distance (Bursa ticks)
float
8.0
minTicks
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 technical indicator combines SuperTrend signals, moving average trend clouds, pivot points, and daily range breakout targets directly on the price chart. It generates Buy, Strong Buy, Sell, and Strong Sell labels when price crosses the SuperTrend level in
Calculates short and long Exponential Moving Averages alongside pivot high and low levels to identify breakout signals. The indicator plots a 20 EMA and a 50 EMA on the main price chart. It evaluates trend direction based on EMA crossover alignment, checks for
The Krypton Indicator overlays trend analysis, buy and sell zones, and sentiment tracking directly onto the price chart. It calculates a dual moving average trend filter, renders supply and demand zones, and plots a sentiment line to identify market momentum.
This indicator plots multiple moving averages including SMA10, SMA50, SMA100, SMA200, Ichimoku conversion and lead lines, and 52-week high and low levels on the price chart. It detects breakouts using volume multiplier, optional gaps, and strong candle require
Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts