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. קרא עוד בתנאים וההגבלות.