V10 Swing Sniper (KLSE) is a daily chart overlay indicator designed for swing trading Bursa Malaysia equities based on Mark Minervini's Stage 2 and Volatility Contraction Pattern (VCP) principles.
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
V10 Swing Sniper (KLSE) calculates exponential moving averages, relative strength against the FTSEMYX:FBMKLCI benchmark, 52-week highs and lows, volume dry-up metrics, and ATR contraction ratios. The indicator identifies consolidation coiling and breakout setups with volume expansion, displaying entry levels and risk management targets directly on the chart. Configurable inputs include trend criteria, contraction parameters, volume multipliers, and position sizing settings.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Price > EMA200 (Stage 2)
bool
true
require_above_ema200
EMA50 > EMA200
bool
true
require_50_above_200
Price > EMA50
bool
true
require_price_above_50
Max % below 52w high
float
25.0
within_52w_high_pct
Min % above 52w low
float
30.0
above_52w_low_pct
Benchmark
symbol
FTSEMYX:FBMKLCI
benchmark_sym
RS lookback (days)
int
63
rs_lookback
Min RS outperformance %
float
0.0
min_rs_pct
Contraction lookback (bars)
int
20
contraction_bars
Max pullback from recent high %
float
15.0
max_pullback_pct
Vol on pullback ≤ N% of avg
float
80.0
vol_dryup_pct
Pivot resistance lookback
int
10
entry_pivot_lookback
Show all 37 settings
Setting
Type
Default
Variable
Breakout volume × avg
float
1.5
breakout_vol_x
Detection mode
string
Match V8 (lenient)
coil_mode
Custom: ATR(5) < ATR(30) × ?
float
0.85
atr_ratio_thr
Custom: AvgVol(5) < AvgVol(30) × ?
float
0.90
vol_ratio_thr
Custom: max pullback %
float
-10.0
coil_pullback_thr
Portfolio Value (RM)
float
30000.0
portfolio_rm
Max swing position %
float
15.0
swing_max_pct
Risk per trade %
float
1.0
risk_per_trade
Initial stop %
float
7.0
stop_pct
TP1 (R multiple)
float
2.0
tp1_r
TP2 (R multiple)
float
4.0
tp2_r
Trail stop EMA
int
20
trail_ema
Commission % per side
float
0.038
comm_pct
Min commission per trade (RM)
float
7.0
comm_min_rm
Clearing fee %
float
0.030
clearing_pct
SC fee %
float
0.0075
sc_fee_pct
Stamp duty % (sell only)
float
0.150
stamp_pct
Min NET R:R after costs
float
2.0
min_net_rr
Require KLCI > EMA50
bool
true
require_klci_bull
Stock industry / sector
string
None
industry
Custom benchmark (used if 'Custom' selected)
symbol
NYMEX:CL1!
custom_comm_sym
Custom: inverse relationship (bullish when BELOW EMA50)
bool
false
custom_inverse
Require driver supportive to EXECUTE
bool
false
require_comm_gate
Show dashboard
bool
true
show_table
Plot entry/stop/TP lines
bool
true
show_levels
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.
GEKO Gold is a trend-following indicator for gold (XAUUSD/MGC). It computes a GEKO-TIMID composite trend strength score by blending weekly and daily EMAs and ADX values, then classifies the trend into Emerging, Dominant or Extended states. The indicator plots
This indicator detects long-only trading setups centered on volume-weighted average price (VWAP) reclaim sequences. It calculates VWAP with standard deviation bands, tracking slope and price bias through an exponential moving average. Signals trigger on either
This indicator calculates and plots the exponential moving average on the chart, along with Keltner Channel bands. It applies optional filters based on Keltner Channel and Money Flow to identify breakout signals. Breakouts occur when price crosses the EMA with
This indicator plots standard Bollinger Bands and three configurable moving averages directly on the price chart. Users can toggle the Bollinger Bands, adjust their length and multiplier, and choose between exponential or simple moving averages for fast, slow,
This indicator plots four customizable moving averages directly on the main price chart using default lengths of 3, 8, 21, and 50 periods. It fills the space between adjacent averages in green or maroon depending on trend alignment. Additionally, it computes B
This indicator plots three exponential moving averages and ATR volatility envelopes on the price chart. It compares the fast and slow EMAs to shade a trend ribbon and marks confirmed upward and downward crossovers with triangle labels. Settings change the thre