Telah dikemas kini
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.
Nota Keluaran
- 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.
Nota Keluaran
- 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.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
๐ท 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.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.