SHK CCI RSI StochRSI Fisher Blended Oscillator divergence╔══════════════════════════════════════════════════════════════╗
SHK Blended Oscillator
CCI + RSI + Stoch RSI + Fisher
╚══════════════════════════════════════════════════════════════╝
A professional-grade momentum oscillator that blends four powerful
indicators — CCI, RSI, Stochastic RSI, and Fisher Transform — into
one single weighted signal line. No clutter, no multiple panes.
Just one clean oscillator with maximum confluence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each indicator is normalized to the CCI scale (±100/±200) and
blended using user-defined weights. The result is a single line
that represents the combined momentum of all four indicators.
A signal MA line is plotted over the blended line for crossover
confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 4 BLENDED INDICATORS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
① CCI — Commodity Channel Index (core base, always active)
② RSI — Relative Strength Index (normalized to CCI scale)
③ Stoch RSI — Stochastic RSI K line (normalized to CCI scale)
④ Fisher Transform — Price distribution oscillator (normalized)
Each indicator can be enabled/disabled independently.
Each has its own blend weight (0.1 to 3.0) to control influence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 11 SIGNAL MA TYPES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Choose any of 11 moving average types for the signal line:
▸ SMA — Simple MA
Equal weight to all bars. Slowest. Best for clean baselines.
▸ EMA — Exponential MA
More weight on recent bars. Balanced lag. Best general purpose.
▸ WMA — Weighted MA
Linear weight to recent bars. Slightly faster than SMA.
▸ RMA — Wilder's Smoothed MA
Same smoothing method used inside RSI and ATR. Very smooth,
minimal noise. Best for swing trades.
▸ HMA — Hull MA
Fastest MA with least lag. Reactive to price changes.
Best for intraday Nifty/BankNifty options scalping.
▸ VWMA — Volume Weighted MA
Weights bars by volume. Gives more importance to high-volume
moves. Best for volume-heavy stocks like Reliance, TCS.
▸ SWMA — Symmetrically Weighted MA
Fixed 4-bar symmetric weighting. No length setting needed.
Smooth and balanced.
▸ DEMA — Double EMA
2×EMA − EMA(EMA). Reduces lag significantly compared to EMA.
Good for trend-following entries.
▸ TEMA — Triple EMA
3×E1 − 3×E2 + E3. Very fast, aggressive lag reduction.
Best for strong trending markets.
▸ LSMA — Least Squares MA (Linear Regression)
Fits a regression line to price. Excellent for identifying
clean trend direction. Best for daily/weekly charts.
▸ ALMA — Arnaud Legoux MA
Gaussian-weighted MA with customizable Offset and Sigma.
Low lag + low noise. Best for commodity options (Gold, Crude).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 SIGNAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▲ Bull Signal — appears when:
• Blended line is above signal MA (strength confirmed)
• AND any one of these fires:
- Blended crosses above zero
- RSI exits oversold zone
- StochRSI K exits oversold zone
- Fisher exits oversold level
▼ Bear Signal — appears when:
• Blended line is below signal MA (strength confirmed)
• AND any one of these fires:
- Blended crosses below zero
- RSI exits overbought zone
- StochRSI K exits overbought zone
- Fisher exits overbought level
Only ONE ▲ and ONE ▼ symbol per bar — no clutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 DIVERGENCE DETECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ CCI Divergence — draws solid lines on the blended oscillator
• Bullish: price lower low + blended higher low → Lime line
• Bearish: price higher high + blended lower high → Red line
✦ RSI Divergence — draws dashed lines on RSI (normalized)
• Bullish divergence → Aqua dashed line
• Bearish divergence → Orange dashed line
✦ Labels auto-printed:
"CCI Bull Div" / "CCI Bear Div"
"RSI Bull Div" / "RSI Bear Div"
"CCI&RSI Bull Div" when both confirm together
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Strength Histogram — color-coded background bars behind the line
• Blended Line Color:
Bright Lime = above zero + above MA (strong bull)
Faded Lime = below zero but above MA (weak bull)
Bright Red = below zero + below MA (strong bear)
Faded Red = above zero but below MA (weak bear)
• Signal MA Color:
Green = Heikin Ashi bullish candle
Red = Heikin Ashi bearish candle
• Extreme Zone BG Highlight:
Green background = blended above +100 and above MA
Red background = blended below -100 and below MA
• Horizontal Levels: ±200 (OB/OS), ±100, Zero line
• Blue filled zone between +100 and -100 (normal range)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 30+ ALERT CONDITIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Blended Alerts:
• Strong Bullish / Strong Bearish
• Zero line cross up / down
• Above +100 / Below -100
• Hit Overbought / Oversold
• Exit Overbought / Exit Oversold
RSI Alerts:
• RSI above OB / below OS
• RSI cross above/below 50
StochRSI Alerts:
• K cross above oversold / below overbought
• K cross above / below D
Fisher Alerts:
• Fisher cross above/below oversold/overbought
• Fisher cross above/below zero
Combined:
• Any Bull Signal fired
• Any Bear Signal fired
Heikin Ashi:
• HA turned Bullish / Bearish
Divergence:
• CCI Bull/Bear Div
• RSI Bull/Bear Div
• CCI & RSI both confirmed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS GROUPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• CCI Settings — length, source, MA type, MA length, ALMA params
• Levels — OB/OS and ±100 levels fully adjustable
• RSI Settings — length, source, OB/OS, blend weight
• StochRSI Settings — RSI len, Stoch len, K/D smooth, OB/OS, weight
• Fisher Settings — length, OB/OS levels, blend weight
• Features — toggle divergences, histogram, signals, extremes
• Divergence — lookback bars and threshold sensitivity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🇮🇳 BEST FOR INDIAN MARKETS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✔ Nifty 50 / BankNifty intraday options (HMA or TEMA)
✔ Sensex daily swing trades (ALMA or RMA)
✔ MCX Gold / Crude Oil options (ALMA or LSMA)
✔ NSE large-cap stocks (VWMA)
✔ All timeframes — 1m to Monthly
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT DISCLAIMER — READ BEFORE USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FOR EDUCATIONAL PURPOSES ONLY
This indicator is not financial advice, investment advice, or
a recommendation to buy or sell any financial instrument.
All signals, alerts, and visual outputs are informational only.
NO GUARANTEE OF ACCURACY
Technical indicators are mathematical calculations based on
historical price data. They are lagging by nature and cannot
predict future price movements. Signals may be false, delayed,
or unreliable during high volatility, news events, or low
liquidity conditions.
RISK OF LOSS
Trading financial markets involves substantial risk. Options
and derivatives carry even higher risk due to leverage — you
can lose your entire invested capital. Never trade with money
you cannot afford to lose.
YOUR RESPONSIBILITY
• You are solely responsible for all your trading decisions.
• Never use this as your only reason to enter or exit a trade.
• Always apply stop-loss, proper position sizing, and risk
management on every single trade.
• Consult a SEBI-registered advisor before making significant
financial decisions.
• The author accepts NO liability for any losses incurred
from the use or misuse of this indicator.
INDIA MARKET NOTE
NSE, BSE, and MCX markets are subject to SEBI regulations,
RBI policy decisions, Budget announcements, and circuit
breakers — all of which can cause sudden moves that no
indicator can anticipate. Always check news calendars.
Past performance shown on historical charts does NOT
guarantee future results under any circumstances.
─────────────────────────────────────────
© SHK — All rights reserved.
Unauthorized copying or resale of this script is strictly
prohibited under TradingView House Rules.
─────────────────────────────────────────
Индикатор Pine Script®






















