تم تحديثه
MACD X Scanner [ChartWinners]

🔷 The MACD X Scanner runs the full MACD X engine across a watchlist of up to 15 symbols and reports each symbol’s live MACD reading, trend state, and latest signal in one table on your chart. Each row shows the following information about its symbol:
- MACD and OB/OS Status: the current MACD reading on the volatility-normalized scale, so every row is measured in the same units, and whether it’s beyond the Overbought or Oversold band.
- Trend and Strength: the Strength Meter’s five-state assessment, from STRONG BULL to STRONG BEAR, with a NET score showing the difference between bull and bear strength.
- Signals and Recency: the current or most recent MACD event, from zone-gated Signal Crosses and Slope Reversals to a zero-line cross, with its direction and how many bars ago it fired.
Instead of opening chart after chart to search for MACD signals, you can compare the watchlist in one place and identify the symbols that deserve a closer look.
The scanner is a dedicated, self-contained script. It runs the same engine across 15 symbols at once, which a single-symbol chart indicator cannot do, and requires no other indicator on the chart. The scanner and the MACD X indicator are companions, and access to one includes the other.
It tells you which chart to open, not what to trade. The sections below explain how each column works so you can evaluate exactly what the script does and how it does it.
⚙️ HOW IT WORKS
🔹 1. The Engine.
Each symbol is evaluated with the MACD X calculation, including price smoothing with optional volume weighting, the Gap Filter, the volatility-normalized MACD line and its signal line, and Strength Meter scoring. This gives you the chart indicator’s analysis across your watchlist in a format you can compare row by row.
SmartLevels™ mode is the default: each symbol has adaptive OB/OS bands ranked from its own MACD history. Fixed mode uses your chosen OB/OS levels for every symbol instead.
Match the symbol, timeframe, and engine settings when you compare the scanner with the chart indicator, and compare closed bars. The scanner works from a shorter stretch of history than a fully loaded chart, so a reading, a trend state, or a signal can differ.
🔹 2. Reading the Table.
The default columns appear in this order:
- SYMBOL: the ticker for that row, with an optional timeframe suffix.
- MACD: the live MACD reading, with a background gradient that runs through five anchors from strong bear at -200 to strong bull at +200 on the normalized scale.
- OB/OS: 🔥 OB above the active Overbought level, ❄️ OS below the active Oversold level, and blank between them.
- TREND: the current Strength Meter state: 🟢🟢 STR BULL, 🟢 BULLISH, ⚪ NEUTRAL, 🔴 BEARISH, or 🔴🔴 STR BEAR. A row reads ◌ WARMING and shows dashes in its score cells until its meter has enough history to build a reference.
- NET: bull strength minus bear strength, from -10 to +10. You can replace it with separate BULL and BEAR scores, each from 0 to 10.
- FLOW: whether the MACD line is ↑ RISING, ↓ FALLING, or → FLAT compared with three bars ago.
- SIGNAL: events on the current bar, or the latest event inside “Recency Display Lookback (bars)”. ZERO CROSS ▲ and ZERO CROSS ▼ are the MACD line crossing zero. AVG ▲ and AVG ▼ are the zone-gated Signal Crosses, SLOPE ▲ or ▼ is a Slope Reversal from beyond a band, and OB ENTER, OB EXIT, OS ENTER, and OS EXIT are band crossings. → STR BULL, → BULLISH, → STR BEAR, and → BEARISH mark the bar a row entered that trend state, not a crossover. For example, AVG ▲ 3b means the MACD line crossed above its signal line from the Oversold zone three bars ago on that row’s timeframe, and a — on its own means nothing fired inside the lookback window. When several events fire on the same bar, the cell shows a count instead of a name: ▲▲ 2 means two bullish events fired together, ▼▼ 2 means two bearish ones did, and ⚠ 1/1 means one of each. Hover the cell to see the full list.
- Z-SCORE: how far the MACD line is above or below its own recent average. Colors distinguish neutral readings within ±1, stretched readings beyond ±1, and extreme readings beyond ±2.
One optional column adds context without requiring another chart:
- BARS follows NET, or the BULL/BEAR pair, and counts how many bars in a row the leading score has stayed ahead of the other. A low count means the lead is new. A high count means it has held for a while. When the two scores tie, there’s no lead and the count restarts.
The stats row and footer summarize the watchlist’s overall bias and trend counts, helping you see whether strength is widespread or concentrated in a few symbols. Compact Mode and display toggles let you reduce visual detail, while tooltips keep the full information one hover away.
TradingView can also move the table off the price chart. Right-click the table and choose Move tables to bottom panel, and the scanner opens in its own tab below the chart with the full width to itself. Everything in the table stays the same. Only its placement changes, and the same menu sends it back.
🔹 3. Engine Settings.
The scanner carries the same engine settings as MACD X, so you can use a consistent approach when scanning and reviewing a chart. “Volatility-Normalized MACD (recommended)” is on by default and divides each symbol’s MACD spread by its own recent volatility, so one MACD scale serves the whole list and +100 means one volatility unit on every row. “OB/OS Mode” is set to SmartLevels™ by default, which gives each symbol its own adaptive bands and offers three Sensitivity choices:
- Aggressive (15/85): closer OB/OS bands.
- Balanced (10/90): band placement between Aggressive and Conservative.
- Conservative (5/95): the default. Wider bands that only the most extreme MACD readings reach, matching the MACD X default.
The Lookback presets control the history used to rank the bands: Responsive uses 100 bars, Balanced uses 200 bars and is the default, and Smooth uses 350 bars. Fixed mode applies one +100 and -100 pair to every symbol instead.
🔹 4. The Watchlist and Timeframes.
The scanner includes 15 symbol slots. “Symbols to Scan” controls how many are active, counting from Symbol 1. Inactive slots aren’t shown and can’t send alerts.
Each active symbol can inherit the “Global Scanner Timeframe” or use its own. The global default is Chart, which follows whatever timeframe the chart is on, and “Show Per-Symbol TF Suffix” adds the override beside the ticker so every row is easy to identify.
Important timeframe rule: a scanner timeframe must be the same as or higher than the chart timeframe. If a row is set too low, it shows a ⚠ beside the ticker with a warning in place of its data. The warning stays visible, and the row is excluded from signals, alerts, and trend statistics until its timeframe is corrected.
🔹 5. Mixed Timeframes.
Per-symbol overrides let one table watch intraday and swing setups together. The same symbol can also appear on several timeframes in separate rows. A bars-ago count always refers to that row’s timeframe: 3b on a 1D row means three daily bars, and on a 1h row it means three hourly bars.
🔹 6. Sorting and Filtering.
“Sort By” offers eight modes:
- MACD Desc: the highest MACD reading first. This is the default.
- MACD Asc: the lowest MACD reading first.
- NET Desc and NET Asc: the strongest bullish or the strongest bearish NET first.
- Absolute Bias: the widest gap between bull and bear scores in either direction. Bullish ranks above bearish on exact ties.
- Most Recent Signal: the fewest bars since a SIGNAL inside the lookback window. Bullish ranks above bearish on exact ties. Counts use each row’s own timeframe, so mixed timeframes are ranked by bars ago, not elapsed time. Quiet rows follow in watchlist order.
- Z-Score Extremity: the most stretched Z-SCORE in either direction.
- Original Order: the watchlist sequence you entered.
Three filters trim what you see:
- Min NET Bear: keeps bearish rows whose NET is at or below the value you set. At -5 the table keeps -10 through -5, so a more negative setting is stricter and 0 lets every bearish score through.
- Min NET Bull: keeps bullish rows whose NET is at or above the value you set. At +5 the table keeps +5 through +10, so a more positive setting is stricter and 0 lets every bullish score through.
- Recent Signals Only: hides rows with no SIGNAL inside the lookback window.
Filters change only what’s shown: hidden rows still count in the footer and can still send alerts, and blocked rows stay visible regardless. When no row qualifies, the table says so instead of going blank.
🔹 7. Fresh Strong-Trend Highlighting.
When “Highlight Fresh Strong-Trend Entry” is on, a row tints green or red and its SIGNAL cell picks up a ⚡ badge on the bar its symbol first enters STRONG BULL or STRONG BEAR. It’s a display cue only. The Trend alerts cover the same event.
🧰 KEY FEATURES
- Up to 15 symbols, each with an optional timeframe override
- The full MACD X engine per symbol: price smoothing, Gap Filter, the volatility-normalized MACD line and its signal line, Volume-Weighted MACD with automatic fallback, and Strength Meter scoring
- SmartLevels™ bands ranked from each symbol’s own MACD readings by default, or one Fixed OB/OS pair for the whole list
- Eight default columns, SYMBOL, MACD, OB/OS, TREND, NET, FLOW, SIGNAL, and Z-SCORE, plus an optional BULL/BEAR split and BARS
- SIGNAL column that shows each row’s highest-priority signal, with a count when several fire on one bar and a ⚠️ flag when bullish and bearish signals land together
- “Recency Display Lookback (bars)” from 1 to 200 for how long a quiet row keeps showing its last signal
- Eight sort modes plus Min NET Bear, Min NET Bull, and Recent Signals Only filters
- Fresh-entry highlight and ⚡ badge the bar a symbol enters STRONG BULL or STRONG BEAR
- Stats row with Global Timeframe, sort mode, watchlist Bias, and timeframe warnings, and a footer with the visible count, five trend tallies, and average NET
- Compact Mode, glyph and emoji toggles, bars-ago and TF-suffix controls, six positions, and four text sizes
- Tooltips on every column header, the BULL and BEAR scores, the NET cell, the MACD cell, and the SIGNAL cell
- Fourteen watchlist-wide alert choices, including separate alerts for upward and downward zero-line crosses
- Alerts that group every matching symbol into one message per signal type and direction
- Live table updates, with alerts checking completed symbol bars at each chart bar close
- Amber ⚠ protection for rows set below the chart timeframe
📖 HOW TO USE
- Load Your Watchlist. Add the symbols you actually trade and set the timeframes you use. The default list is a starting point, not a recommendation.
- Match the Indicator Settings. Use the same Price & Smoothing, Gap Filter, MACD Settings, and SmartLevels™ inputs in the scanner and on the MACD X chart. If they differ, the table and the chart can disagree by design.
- Choose What to Prioritize. MACD Desc is the default and puts the highest MACD reading first. MACD Asc puts the lowest first. NET Desc and NET Asc rank by score advantage instead. Use Absolute Bias for the largest score difference in either direction, Most Recent Signal for the fewest bars since an event, or Z-Score Extremity for the most stretched MACD readings.
- Read OB/OS with FLOW. A symbol beyond the Oversold band with the MACD line already rising is a candidate worth opening. The chart with MACD X on it is where the decision gets made.
- Remember What SIGNAL Means. It shows what fired on the current bar, or the most recent signal inside the lookback window. A busy bar shows a directional count, and once it passes the row remembers its highest-priority event, or CONFLICT if both directions fired.
- Shrink the Table When It Gets Noisy. Raise “Min NET Bull” and lower “Min NET Bear” to keep only the rows whose NET sits well away from zero, or set just one of them to trim a single side. Recent Signals Only keeps just the rows with a signal inside “Recency Display Lookback (bars)”, so shorten that lookback when you want a stricter cut. Alerts keep watching the full list.
- Confirm the Setup on the Chart. The scanner reports events, not drawings. Open the matching chart to see the MACD line against its signal line, the 4-State histogram, and the Strength Meter detail before making a decision.
- Scanner or Pine Screener. MACD X’s Pine Screener filters a long watchlist by its ten columns. The Scanner keeps 15 symbols in view with every state and signal side by side, live on the chart.
🔔 ALERTS
The scanner has fourteen independent watchlist-wide alert choices:
- Zero-Line Cross Bull and Zero-Line Cross Bear
- Exit Overbought (Bear) and Enter Overbought (Bear)
- Exit Oversold (Bull) and Enter Oversold (Bull)
- Signal-Line Cross Bull and Signal-Line Cross Bear
- Slope Reversal Bull and Slope Reversal Bear
- Trend → STRONG BULL, Trend → BULLISH, Trend → STRONG BEAR, and Trend → BEARISH
The Signal-Line Cross alerts are zone-gated like the chart indicator’s signals: a bullish cross counts only from the Oversold zone and a bearish cross only from the Overbought zone. Table filters and column visibility don’t disable your selected alerts. A hidden row or column can still alert, but a row blocked by the timeframe rule cannot.
Timing and delivery:
- At each chart bar close, the scanner checks the latest completed bar for each active, eligible symbol. The table itself updates live.
- If a symbol completes several bars between checks, only the latest is checked and earlier signals are skipped. Use a chart whose trading hours cover the symbols you scan to reduce these gaps.
- Matching symbols are grouped into one message per signal type and direction, with timeframe labels such as AAPL@1h. Plain Text carries the signal type, its direction, and the symbol list, and JSON carries the same information plus the time.
- The first real-time check records each symbol’s latest completed bar without alerting. Notifications begin with new completed bars after that, and earlier signals are not replayed.
After enabling the alert choices you want, create one TradingView alert with the condition set to “Any alert() function call.”
🎛️ INPUT SETTINGS (as they appear in the settings panel)
- Scanner: Position; Text Size; Compact Mode; Highlight Fresh Strong-Trend Entry; Show Title Row; Show Stats Row; Show Signal Glyphs; Show Decorative Emojis; Show Bars Ago; Show Per-Symbol TF Suffix; Show SIGNAL Column
- Price & Smoothing: Price Source; Price Smoothing Length; Smoothing Type; Volume-Weighted MACD
- Gap Filter: Gap Filter Mode; Gap Percentage to Exclude
- MACD Settings: MACD Fast Length; MACD Slow Length; MACD Signal Length; Volatility-Normalized MACD (recommended)
- SmartLevels™: OB/OS Mode; SmartLevels Sensitivity; SmartLevels Lookback; Fixed OB Level; Fixed OS Level
- Global Timeframe: Global Scanner Timeframe
- Sort & Filter: Sort By; Min NET Bear; Min NET Bull; Recent Signals Only; Recency Display Lookback (bars)
- Optional Columns: Show Z-SCORE Column; Show BULL/BEAR Split (replaces NET); Show BARS-IN-BIAS Column
- Colors: Frame Color; Title Text Color; Background Color; Bull Color; Bear Color; Conflict / Mid Color; Neutral Color; Gradient -200 — Strong Bear; Gradient -100 — Weak Bear; Gradient 0 — Mid; Gradient +100 — Weak Bull; Gradient +200 — Strong Bull; Z-Score Stretched Color; Z-Score Extreme Color
- Alerts: Zero-Line Cross Bull; Zero-Line Cross Bear; Exit Overbought (Bear); Enter Overbought (Bear); Exit Oversold (Bull); Enter Oversold (Bull); Signal-Line Cross Bull; Signal-Line Cross Bear; Slope Reversal Bull; Slope Reversal Bear; Trend → STRONG BULL; Trend → BULLISH; Trend → STRONG BEAR; Trend → BEARISH; Alert Format
- Watchlist (1-10): Symbols to Scan, plus Symbol 1 through Symbol 10 and each row’s TF setting
- Watchlist (11-15): Symbol 11 through Symbol 15 and each row’s TF setting
⚠️ LIMITATIONS AND DISCLAIMER
- Live cells change while the watched bar is forming and settle when it closes. Once a bar closes, its signal is fixed, but later bars can bring a newer signal that replaces it in SIGNAL or push it outside the lookback window. On a row above the chart timeframe, the table shows that developing higher-timeframe bar.
- A scanner timeframe must be the same as or higher than the chart timeframe. Lower rows show ⚠ and cannot send alerts until the timeframe is fixed.
- On tick, range, and other non-time-based charts, TradingView cannot compare fixed timeframe lengths. The stats row shows “TF guard off”. Use scanner timeframes comfortably above the chart’s bar speed.
- SIGNAL reports the most recent event inside the lookback window, and a newer event replaces an older one even when the older one ranked higher. “Recency Display Lookback (bars)” controls how long a quiet symbol keeps showing its last signal.
- Signal-Line Cross events stay silent until a row’s MACD line has visited the Overbought or Oversold zone. In quiet mid-range drift no cross is reported. That silence is the filter, not a defect.
- The scanner is built for live charts. In Bar Replay, rows other than the chart symbol may show empty cells.
- Each symbol is evaluated on its own standard price data and selected timeframe.
- The scanner monitors up to 15 symbols. To scan more, run another copy with a different watchlist.
- The scanner reports conditions, not instructions. It is an analysis tool, not a signal service. Its outputs do not constitute financial advice or guarantee future results. Use independent judgment and risk management.
ملاحظات الأخبار
- Classic Signal-Line Cross Alerts: add the classic MACD crossover alongside the zone-gated alerts when you want it. Turn on “Classic Signal-Line Cross Bull” and “Classic Signal-Line Cross Bear” (default is Off) to be alerted each time a symbol’s MACD crosses its signal line, anywhere on the scale. These are alert-only and never appear in the SIGNAL column.
- NET Direction: focus the table on one side of the watchlist. “NET Direction” (default is Both) offers Both, Bullish Only, and Bearish Only, and works with “Min NET Bull” and “Min NET Bear”. The one-sided views also hide neutral and warming rows, and the filter changes the table only, not alerts or the summary.
- Mixed Signals: when bullish and bearish events fire on the same bar, SIGNAL now shows both counts, such as ▲1 / ▼1, so you can tell which side fired more.
- Most Recent Signal: this sort now ranks rows by the time each signal happened, to the second, so rows on different timeframes line up in true order.
- Hide the Table: keep the alerts running with the table off your chart. Turn off “Show Scanner” (default is On), and alerts keep checking every symbol.
- Smaller Table: turn off “Show Footer Row” (default is On) to hide the footer row, alongside “Show Title Row” and “Show Stats Row”.
- Faster Loading: the scanner does less work on every bar, with the same readings, signals, table, and alerts.
ملاحظات الأخبار
- Display: minor visual refinements to the table’s colors and shading.
- Readable Text: the table’s text colors automatically adjust to stay readable against any “Background Color” you choose.
🔷 3 Proprietary Toolkits, 40+ scripts, plus 1-on-1 calls with the founder who built them.
Learn more: chartwinners.com
For informational and educational purposes only. Past performance does not guarantee future results.
Learn more: chartwinners.com
For informational and educational purposes only. Past performance does not guarantee future results.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
🔷 3 Proprietary Toolkits, 40+ scripts, plus 1-on-1 calls with the founder who built them.
Learn more: chartwinners.com
For informational and educational purposes only. Past performance does not guarantee future results.
Learn more: chartwinners.com
For informational and educational purposes only. Past performance does not guarantee future results.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.