OPEN-SOURCE SCRIPT

UltimateUptrendAlignment21checkConfluenceEMA/RSI/MACD/BB/Vol/HTF

115
Ultimate Uptrend Alignment — 21-check Confluence (EMA/RSI/MACD/BB/Vol/HTF)

What it is
A precision uptrend confluence scanner that waits for many popular signals to align before tagging a “Strong Align” setup. It converts 21 yes/no checks into a single Alignment %, so you can see structure, momentum, volume/flow, regime, and (optional) higher-timeframe confirmation at a glance.

How it works

Five groups of checks → Structure (5), Momentum (5), Volume/Flow (4), Regime (4), HTF (3 optional).

Each passed check = 1 point. Alignment % = hits ÷ checks-used.

Strong Align fires when Alignment ≥ threshold (default 75%).

Badge + mini table show group hits and quick notes.

The 21 checks

Structure (5): Close>EMA20, EMA20>EMA50>EMA200, EMA20↑, EMA50↑.

Momentum (5): RSI>50, RSI rising, MACD hist>0, MACD hist rising, Stoch K>D & >50.

Volume/Flow (4): Volume ratio>avg, MFI>50, OBV rising, Close>VWAP (intraday) or >MA.

Regime (4): BB width leaving quiet & widening, ATR rising, BB upper break, true-range expansion.

HTF (3, optional): HTF EMA stack up, HTF RSI>50, HTF MACD line>signal.

Robust design

Works on symbols without volume: uses ATR(1) proxy for volume metrics; custom MFI returns neutral 50 if volume unavailable.

No fragile dependencies; everything is computed in-script (v6).

Intraday uses VWAP anchor; higher timeframes use MA fallback.

Inputs & outputs

Adjustable lengths, thresholds, VWAP/MA anchor, and HTF resolution.

Strong Align plot/alert + optional bar paint for visual cues.

Badge summarizes hits; mini table lists group results.

Use cases

Scan for high-confluence uptrend starts/continuations.

Combine with your entry triggers & risk rules for execution.

Disclaimer
For education only. Not financial advice. Test across markets/timeframes and manage risk.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน