OPEN-SOURCE SCRIPT
已更新

MFx Radar (Money Flow x-Radar)

839
Description:

MFx Radar is a precision-built multi-timeframe analysis tool designed to identify high-probability trend shifts and accumulation/distribution events using a combination of WaveTrend dynamics, normalized money flow, RSI, BBWP, and OBV-based trend biasing.

Multi-Timeframe Trend Scanner
Analyze trend direction across 5 customizable timeframes using WaveTrend logic to produce a clear trend consensus.

Smart Money Flow Detection
Adaptive hybrid money flow combines CMF and MFI, normalized across lookback periods, to pinpoint shifts in accumulation or distribution with high sensitivity.

Event-Based Labels & Alerts
Minimalist "Accum" and "Distr" text labels appear at key inflection points, based on hybrid flow flips — designed to highlight smart money moves without clutter.

Trigger & Pattern Recognition
Built-in logic detects anchor points, trigger confirmations, and rare "Snake Eye" formations directly on WaveTrend, enhancing trade timing accuracy.

Visual Dashboard Table
A real-time table provides score-based insight into signal quality, trend direction, and volume behavior, giving you a full picture at a glance.

MFx Radar helps streamline discretionary and system-based trading decisions by surfacing key confluences across price, volume, and momentum all while staying out of your way visually.

How to Use MFx Radar
MFx Radar is a multi-timeframe market intelligence tool designed to help you spot trend direction, momentum shifts, volume strength, and high-probability trade setups using confluence across price, flow, and timeframes.

Where to find settings To see the full visual setup:

After adding the script, open the Settings gear. Go to the Inputs tab and enable:
Show Trigger Diamonds
Show WT Cross Circles
Show Anchor/Trigger/Snake Eye Labels
Show Table
Show OBV Divergence
Show Multi-TF Confluence
Show Signal Score

Then, go to the Style tab to adjust colors and fills for the wave plots and hybrid money flow. (Use published chart as a reference.)

What the Waves and Colors Mean
Blue WaveTrend (WT1 / WT2). These are the main momentum waves.
WT1 > WT2 = bullish momentum
WT1 < WT2 = bearish momentum

Above zero = bullish bias
Below zero = bearish bias

When WT1 crosses above WT2, it often marks the beginning of a move — these are shown as green trigger diamonds.

VWAP-MACD Line
The yellow fill helps spot volume-based momentum.
Rising = trend acceleration
Use together with BBWP (bollinger band width percentile) and hybrid money flow for confirmation.

Hybrid Money Flow
Combines CMF and MFI, normalized and smoothed.
Green = accumulation
Red = distribution
Transitions are key — especially when price moves up, but money flow stays red (a divergence warning).

This is useful for spotting fakeouts or confirming smart money shifts.

Orange Vertical Highlights
Shows when price is rising, but money flow is still red.
Often a sign of hidden distribution or "exit pump" behavior.

Table Dashboard (Bottom-Right)
BBWP (Volatility Pulse)
When BBWP is low (<20), it signals consolidation — a breakout is likely to follow.
Use this with ADX and WaveTrend position to anticipate directional breakouts.

Trend by ADX
Shows whether the market is trending and in which direction.
Combined with money flow and RSI, this gives strong confirmation on breakouts.

OBV HTF Bias
Gives higher timeframe pressure (bullish/bearish/neutral).

Helps avoid taking counter-trend trades.

Pattern Labels (WT-Based)
A = Anchor Wave — WT hitting oversold
T = Trigger Wave — WT turning back up after anchor
👀 = Snake Eyes — Rare pattern, usually signaling strong reversal potential

These help in timing entries, especially when they align with other signals like BBWP breakouts, confluence, or smart money flow flips.

Multi-Timeframe (MTF) Consensus
The system checks WaveTrend on 5 different timeframes and gives:
Color-coded signals on each TF
A final score: “Mostly Up,” “Mostly Down,” or “Mixed”

When MTFs align with wave crosses, BBWP expansion, and hybrid money flow shifts, the probability of sustained move is higher.

Divergence Spotting (Advanced Tip)
Watch for:Price rising while money flow is red → Possible trap / early exit
Price dropping while money flow is green → Early accumulation

Combine this with anchor-trigger patterns and MTF trend support for spotting bottoms or tops early.

Final Tips

Use WT trigger crosses as initial signal. Confirm with money flow direction + color flip
Look at BBWP for breakout timing. Use table as your decision dashboard

Favor trades that align with MTF consensus
發行說明
MFx Radar v2.4 – Update Summary
"A major quality-of-life and signal clarity update."

New Features

Bearish Divergence Detection (Price ↑ / Money Flow ↓)
Labels now automatically appear when price forms a higher high but the hybrid money flow (CMF + MFI blend) forms a lower high — a classic sign of momentum loss.
– Labeled "Div" in red, plotted directly on the indicator pane, not price chart.

Visual & Usability Enhancements

Divergence Labels Now Appear Inside Indicator Panel
– Prevents them from disappearing when the main price chart is hidden.
– Keeps everything clean and visible, even when switching timeframes.

New Toggle in Settings
– Show Bearish Divergence input added under display options.
– Allows users to enable/disable divergence display as needed.

Under-the-Hood Improvements:
Internal logic respects lookback and smoothness controls
Label positioning offset refined for better visibility

How to Use It:
Turn on “Show Bearish Divergence” in the indicator settings. Watch for "Div" tags to appear on indicator swings — especially during rallies — as potential early warnings of trend exhaustion.
發行說明
New Features

Bullish & Bearish Divergence Markers (◇ / ◈):
Visually highlights when price makes a higher high (or lower low) while money flow diverges in the opposite direction.
These markers help spot potential reversals before they become obvious.

Volatility-Aware Divergence Filter:
Divergences can optionally be filtered using BBWP (volatility percentile), ensuring signals only appear during low-volatility phases.
Customizable via the BBWP Threshold setting.

Accumulation/Distribution Flip Labels:
“🟢 Accum” and “🔴 Distr” text now appear on the chart when money flow crosses zero — helping visualize real-time strength shifts.

Minimal Mode Toggle (Optional):
Keep your chart clean by hiding all tables, labels, and plots with a single switch, while keeping signal logic fully active.

Enhanced Whale Watch Logic:
Whale Watch status now intelligently adjusts based on both hybrid money flow and smart scoring, signaling Smart Accum, Smart Distr, or a Quiet zone.

New Alerts Added:

Bullish/Bearish Divergence

Accum/Distr Flips

MTF Trend Agreement (4+ timeframes aligned)

⚠️ No Changes to Core Logic

All original calculations, WaveTrend mechanics, signal scoring, and plotting remain fully intact.
This update only adds visual intelligence — no behavior changes.
發行說明
Made A Smarter VWAP-MACD

Traditional indicators like MACD use price to calculate momentum.
We took it a step further and built MACD using the VWAP instead of price.

Then we added a color logic system to the MACD line itself:
White when MACD has clear direction (bullish or bearish momentum).
Purple when MACD and Signal Line are extremely close — a transition zone, signaling:
Momentum stalling, Trend potentially flipping,Inflection ahead.

This colored MACD shows exactly when momentum shifts are forming, not just when price follows through.

Why It's Powerful:
Most traders use VWAP alone it tells you where price is relative to fair value.
MACD shows momentum but based on price.

By applying MACD to VWAP, we unlock a dual-edge: You get trend + momentum combined.
You detect momentum flips around VWAP before price reacts.
You gain an early signal MACD (on VWAP) usually shifts before price moves drastically.

The Edge in Practice:
MACD turns purple at bottom + anchor/trigger combo
→ Momentum shift detected before price reversal
→ High-probability long

MACD turns purple at top + Distr/green dot appears
→ Momentum weakening before VWAP breakdown
→ Early exit or short prep

MACD white and strong above signal + VWAP growing
→ Clean trend continuation

🛠 TL;DR
✨ VWAP-MACD + Dynamic Coloring
This version applies MACD logic to VWAP, rather than price, creating a powerful blend of trend and momentum insight.
The MACD line changes color to highlight key momentum shifts:

White = strong trend direction,
Purple = momentum stalling or shifting (MACD ≈ Signal).
This gives a visual edge to spot transitions earlier than candles or VWAP alone can show.
發行說明
Changelog / New Features

Improved Market Sentiment Engine
More responsive logic using relaxed score thresholds
Added fallback bias states ("Mild Bull/Bear Bias") to avoid "😊 Standby" dead zones
Detects and labels Buy/Sell signals, Accumulation/Distribution, and general lean sentiment

Cleaner decision flow and smarter real-time feedback
⏱️ Expanded MTF Timeframe Options
Reworked all MTF dropdowns using valid and granular PineScript values
Prevented overlaps between MTF-T1 through T5
Added more realistic progression: 15m → 2h → 8h → 1D → 1W

🧩 Recommended Input Settings for Traders
You can use this table as a reference in your description or pop-up info (or dynamically in UI later):

Trader Type MTF T1 T2 T3 T4 T5 Notes
Scalper 1 5 15 30 60 Use on 1–5 min chart for sniper entries
Intraday 5 15 30 60 120 Combines fast + stable entries
Day Trader 15 30 60 120 240 Run on 5–15m chart
Swing Trader 30 60 120 240 1D Good for 4H/D chart setups
Position Trader 60 120 240 1D 1W For 1D/3D base timeframe
Investor 240 1D 2D 1W 1M Used on 1D/1W for trend confirmation

⚙️ Recommended Input Presets (by Trader Type)
🧑‍💻 Type WT Len RSI Len BBWP Threshold OBV HTF Suggested Use
Scalper 7/9 7–10 15 1h Fast reactions
Intraday 9/12 10–14 20 4h Mid-volatility
Swing 9/14 14 25 1D Broader confluence
Investor 10/14 14–21 30 1W–1M Ignore noise, focus on bias

🧪 Experimental Features (Advanced Users Only)
Sentiment scoring now includes volume confidence + hybrid MF + volatility filtering.
Fully extensible – coders can easily plug in alert routing, bias weighting, and backtesting hooks.
發行說明
🆕 Update Summary: Pattern Memory Forecast Engine

This update introduces the Pattern Memory Forecast Engine — a tool designed to emulate what discretionary traders do naturally: look back at the past to better understand the present.
What’s New?
Pattern Memory Row (Forecast)

Directional Emoji:
⬇️ = Pattern usually leads to downside
⬆️ = Pattern usually leads to upside
⏸ = No clear direction

Probability & Move Size:
Example:
"⬇️ 86.4% chance ≈ $1.46"
→ Tells you: most past setups like this dropped ~$1.46 within the chosen window.

Lookahead Customization:
Choose how many bars to look forward (1–20)
Display updates in the UI (e.g. Pattern Memory (10))

Why This Matters
“History doesn’t repeat itself, but it often rhymes.”
Discretionary traders constantly scroll back through charts, asking:
“What happened last time the chart looked like this?”

This engine automates that intuition:
It matches current MF, RSI, WT, BBWP values against historical setups
It shows what usually happened next, and how often

You get a quantified version of what your pattern recognition instincts are already doing
⚠️ Caveat: It’s Not a Crystal Ball
This isn’t magic it’s memory.
It won’t always be right, but it lets you glance under the hood and see what the stats say.

Think of it as a second opinion, not a decision-maker.
You’re still the trader. This just shows you the data.
發行說明
“Made the chart smarter, cleaner, and easier to read!”
1. Smarter Pattern Memory
Before: The pattern matching looked at all bars, even weak matches — kind of like listening to everyone at once. Now: We only listen to the strongest matches (those with similarity scores > 0.85), like only asking your best friends for advice.

This gives us more reliable predictions and gets rid of noisy garbage data.

2. Historical Pattern Matching Enhanced
Pattern matching now compares the normalized behavior of WT, RSI, BBWP, and Hybrid Money Flow. It only counts the best matches, and filters out the weak ones (score must be > 0.85).

The summary now tells you:
How likely a similar pattern resulted in a move up/down.
How big that move was (converted to $ if enabled).

3. Dashboard Table Improvements
You now see: hybrid money flow trend.
Volatility zones.
Market sentiment like: 🚀 Buy Signal or 🔻 Sell Signal.

Pattern Memory results now show in a sentence like:
"Based on pattern history: ⬆️ 72% chance ≈ $420"

4. 🔽 New Dropdown: Bars to Search
You can now pick how many bars to search for past patterns: 500, 800, or 1000.
More bars = more data, but a little slower. Try 800 for a good balance.
發行說明
The original "Pattern Playbook" logic often showed ❓ Unclassified due to overly strict conditions.

We’ve replaced it with a more reliable heuristic based on hybrid money flow and RSI:
📈 Bull Lean Detected if MF > 0 and RSI > 50
📉 Bear Lean Detected if MF < 0 and RSI < 50
❓ Otherwise, Unclassified

This ensures the decision table always shows useful directional insight, even when conditions aren’t perfect for advanced pattern recognition.

(Original logic still included in comments if you want to tinker.)
發行說明
📈 Script Update: Pattern Match Sensitivity (v6)
🔄 What Changed

We replaced the fixed numeric input for pattern similarity filtering (matchThreshold) with a new dropdown input:
"🔍 Pattern Match Sensitivity"

This change improves clarity and makes the script more user-friendly — especially for those unfamiliar with similarity scoring mechanics.
Pattern Match Sensitivity Guide
Loose (0.02)
• Match Quality: Low (more matches)
• Use When: Market is volatile or you're exploring setups

Normal (0.05) – Default
• Match Quality: Balanced
• Use When: General trading across most conditions

Strict (0.08)
• Match Quality: High (fewer matches)
• Use When: You want cleaner, more consistent setups

Very Strict (0.10)
• Match Quality: Very High (very few matches)
• Use When: Confirming only the most high-conviction signals

Pattern Outcome Lookahead Guide
Lookahead: 1–3 Bars
• Use Case: Fast scalping
• Strategy Fit: Intraday / quick swings
• Meaning: Measures immediate price reaction

Lookahead: 5–7 Bars
• Use Case: Short pullbacks
• Strategy Fit: Momentum / mean reversion
• Meaning: Waits for trend continuation or snapbacks

Lookahead: 10 Bars (Default)
• Use Case: Balanced setups
• Strategy Fit: General-purpose trading
• Meaning: Captures average follow-through behavior

Lookahead: 15–20 Bars
• Use Case: Swing or trend trading
• Strategy Fit: Position trades
• Meaning: Evaluates longer-term pattern strength

Final Thoughts
The Pattern Memory Engine is:
Quantitative
Multi-factor
Forward-looking

Adaptive (via dropdown + lookahead controls)

While human traders bring:
Visual pattern recognition
News & sentiment interpretation
Intuition & experience-driven narratives

This engine mimics the mechanical decision process of real traders with a consistent, systematic approach giving you a unique edge when analyzing repeating market behavior.
發行說明
MFx Radar – Market Intelligence. Visual Clarity. Alert Precision.

MFx Radar has grown into a powerful market analysis toolkit combining multi-timeframe trend analysis, smart money flow detection, volatility signals, and a pattern memory engine all displayed in a clean, readable format right on your chart.

This latest evolution includes a major dashboard upgrade and intelligent alert system, making it easier to trade with clarity and confidence.

What’s New?
1. Smarter Visual Dashboard (Decision Table)
A compact, real-time table now displays all key signals in one place:
Confidence scoring (with visual emoji grading)
Detected pattern type (Playbook classification)
Multi-Timeframe (MTF) trend agreement
Pattern memory forecast: “What usually happens after this setup?”
Market sentiment engine: buy/sell signals, accumulation/distribution, and lean bias

A 2-row indicator snapshot with labeled RSI, BBWP, WT1, OBV trend, ADX state, HybridMF, and Bull/Bear scores

Whale Watch logic (OBV divergence tracker)

Signal Score + status (“Quiet”, etc.)

Everything is labeled, color-coded, and structured for quick decision-making. You’ll never need to guess whether a setup is strong or weak again it’s all right there.

2. Pattern Memory Engine (Forecast AI)
This system analyzes how current setups resemble historical ones then tells you what usually followed:
Directional bias (⬆️ or ⬇️)
Probability (e.g. 75% chance)
Estimated move size (e.g. ≈ $3.12)

Fully customizable: Adjust how many bars to look ahead
Choose how strict the pattern matching should be
Think of it as a quantified second opinion that mimics what seasoned traders do manually.

3. 🔔 High-Confidence Alerts (Manual Setup)
This script supports built-in alerts for high-probability patterns, including:
📈 Squeeze Breakouts
🪓 Bear Trap Reversals
🔥 Bullish Pullback Continuations
🧯 Distribution Collapses
💥 Volatility Reversals
😴 Sideways Fades

These alerts do not trigger automatically they are built as alertcondition () functions.
To use them:
Right-click the chart → "Add Alert"
Select MFx Radar under Condition
Choose one of the "High Confidence" setups
Set your alert type (e.g., once per bar close)
Enable notification methods (popup, email, app, etc.)

Once created, alerts run in the cloud even if you're offline.

🔎 Designed for Traders Who Want...
Clean, readable signals
Pattern + momentum + volume confluence
Real-time confirmation (without lag)
Statistical insight (not just visual)
High-confidence alerts with minimal noise

Whether you're a scalper, swing trader, or position trader, MFx Radar adapts to your workflow with fully customizable timeframes, sensitivity levels, and visual toggles.

Use it for:
Signal filtering
Confirmation before entries
Forecasting follow-through
Staying out of low-confidence chop

🧪 Ready to Trade
No more tweaking. No more rebuilding. This version is stable, comprehensive, and optimized for live use.
✅ All major modules are now modular, toggleable, and unified
✅ All high-confidence alerts are fully wired
✅ Table view offers complete market context without clutter
✅ Nothing major is missing it's ready to trade

Let this version run for a few weeks. Trade with it. Stress-test it.
Then circle back with feedback for version 7 but for now, it’s ready to be used as a serious edge in your trading system. lmk bishes!!!!
發行說明
added back divergences on money flow
發行說明
bearish divergence alert added back
發行說明
Updated with MFx Advanced Pattern Memory — v2 Script Overview

This script blends pattern recognition, multi-timeframe trend logic, and smart money analysis into one powerful trading dashboard. Built specifically for crypto and swing traders, it's designed to help you decide, not guess.

Pattern Memory Forecast

MFx scans historical data to find past setups that match the current conditions using a hybrid of indicators like WaveTrend, RSI, BBWP, and Money Flow.
It then generates a forecasted move, showing:

Directional probability (e.g. "⬆️ 68%")
Estimated price target (e.g. "→ $24.50")
Confidence level based on ATR dynamics

You can customize the lookback depth, sensitivity, and forecast horizon to suit your style from scalping to swing trades.

📊 Smart Decision Dashboard (revamped)
A real-time dashboard summarizes all your trade context into one view, updating each bar.
It includes:
Confidence and Trend Bias
Pattern Type from heuristic playbook detection
MTF Trend Confluence with 6 timeframes (weighted by importance)
Snapshot Metrics (WT1, RSI, BBWP, OBV, ADX) with narrative labels like "Overbought", "Expanding", or "No Trend"

Signal Score using a hybrid of bullish vs. bearish criteria
Whale Watch: Detects Smart Money accumulation/distribution
Sentiment logic based on recent dots, divergences, and flow flips

Risk/Reward and Expectancy %
Everything is color-coded and emoji-assisted to make decision-making intuitive not cluttered.

⏱ Multi-Timeframe Trend Engine (Crypto Style)

Instead of generic TFs, this version uses timeframes favored by crypto analysts like Evan Aldo and CryptoFace:
Very short-term: 30m
Short-term: 2H
Medium: 6H
Long-term: 3D
Very long-term: 2W
Macro: 12D (optional)

Each timeframe is scored individually and combined with heavier weighting on higher timeframes, giving you a clear “Confluence” reading:
Mostly Up, Mostly Down, or Mixed.
🧬 Divergence Detection

Includes both Regular and Hidden Divergence logic for entries and trend warnings:
◇ Bullish Divergence
◈ Bearish Divergence
⬆️ Hidden Bullish
⬇️ Hidden Bearish

It filters out noise by ignoring signals during high volatility periods (BBWP > 80).
🐳 Smart Money Detection

Tracks the flow of capital using Hybrid Money Flow and OBV bias.
When thresholds are breached, it triggers:
🟢 Smart Accumulation
🔴 Smart Distribution

These are shown in the dashboard and optionally on chart labels.

Metric Narratives
Each indicator isn’t just shown as a number it’s explained in plain language:
WT1 → Overbought / Oversold
RSI → Overbought / Oversold / Neutral
BBWP → Low Volatility / Expanding / High Volatility
ADX → No Trend → Weak → Strong → Powerful → Extreme
Hybrid MF → 💚 Strong Inflow → 💔 Strong Outflow

This makes the data meaningful — even at a glance.

🎯 How to Use
Align entries with the MTF Confluence trend (especially macro).
Look for a high confidence level and pattern memory forecast.
Confirm Smart Accumulation, high Signal Score, and favorable RR.

Avoid entries when volatility is spiking unless forecast confidence is high.

⚙️ Other Features

Minimal Mode toggle for backtesting
Interactive legend box that explains context settings (lookback, sensitivity, etc.)

Customizable table colors and row visibility

This script is designed for serious traders looking to simplify complex data into one unified decision engine. Built for 1H–6H swing scalps, but flexible enough for higher or lower timeframes.

免責聲明

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.