PROTECTED SOURCE SCRIPT
已更新 Compact RSI • MACD Hist • CCI

Combines the RSI, MACD, and CCI for a 3 way confirmation. Keep your Stop Losses tight and Protect your Capital!
版本注释
This is a compact RSI, MACD, CCI graph so you can see everything at once and make a quick decision. It has buy alerts when the RSI is over 44 and the MACD Histogram on custom settings is rising. 版本注释
Compact RSI • MACD Histogram • CCI (One-Pane, Auto-Scaled)What it does
Packs RSI, MACD histogram (34/144/7), and CCI into a single compact pane so you can read momentum and confirmation signals without juggling multiple indicators.
Core signals & alerts
BUY alert: fires when the MACD histogram is rising and RSI > 44 (triggers the first bar that the combined condition becomes true—even if MACD was already rising and RSI crosses later).
SELL alert: fires when the MACD histogram starts falling (rising → falling), regardless of RSI.
Visuals
MACD histogram (4-shade colors):
Above zero & rising = dark green
Above zero & falling = light green
Below zero & falling = dark red
Below zero & rising = light red
RSI line with 50 guide.
CCI line with −100/0/+100 guides.
Tiny BUY/SELL markers on the pane for quick scanning.
Auto-scaling (no more manual zooming)
MACD histogram is auto-normalized to recent extremes so it’s never too tiny or too huge versus RSI/CCI.
Gentle smoothing of the scale prevents flicker while still adapting to volatility.
You can disable auto-scale and set a manual factor if desired.
Inputs you can tweak
RSI length and Buy threshold (default 44)
CCI length (visual aid only)
MACD lengths (default 34/144/7 to your spec)
Auto-scale on/off, lookback window, target visual height (or a manual scale factor)
How to use
Add the indicator and keep alerts set to Once per bar close for clean, non-flickery signals.
Use the BUY alert as a momentum-with-confirmation cue (RSI strength + MACD upswing).
Use the SELL alert as a momentum deterioration cue (MACD swing rolls over).
For added prudence, consider layering simple guards (e.g., skip buys if RSI > 70 or require price above VWAP).
Why it’s useful
One pane = more chart real estate.
Color rules make MACD conditions obvious at a glance.
Auto-scaling keeps everything readable across symbols and timeframes without constant rescaling.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。