PROTECTED SOURCE SCRIPT
ที่อัปเดต:

Compact RSI • MACD Hist • CCI

25
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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน