OPEN-SOURCE SCRIPT
UltimateUptrendAlignment21checkConfluenceEMA/RSI/MACD/BB/Vol/HTF

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.
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 الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.