OPEN-SOURCE SCRIPT
تم تحديثه

ABC Pattern - Buy & Sell Zones

5 899
IT'S OPEN SOURCE FOR YOU
📊 ABC Pattern — Mathematical Price Target Formula
What is the ABC Pattern?
The ABC pattern is a price structure that identifies high-probability buy and sell zones using three pivot points: A, B, and C. Instead of relying on subjective analysis, this indicator uses a simple mathematical formula to calculate an exact price target — removing guesswork from your trading.

🧠 The Logic Behind It
Price never moves in a straight line. It swings up and down, creating a series of highs and lows. The ABC pattern captures one complete swing cycle and uses the relationship between those three points to project where price is likely to go next.
📐 The Formula
Target = (B × C) ÷ A
That's it. Three prices. One calculation. One target.

📈 Bullish ABC — Buy Zone Setup
Structure:
A (Low) → B (High) → C (Higher Low)
Rules:

A is the starting low
B is the peak above A
C is a pullback that holds above A (higher low = bullish structure)
The formula projects where price should reach after C

Example:
A = 100 (first low)
B = 150 (peak)
C = 120 (higher low pullback)

Target = (150 × 120) ÷ 100 = 180
Why does this work?
When C holds above A, it tells us buyers are stepping in at higher prices. The market structure is healthy. The formula uses the proportional relationship between the three pivots to project a mathematically derived target — not a random level.
Invalidation:
❌ A candle closes below C → pattern is cancelled. The higher low structure is broken, meaning sellers have taken control.

📉 Bearish ABC — Sell Zone Setup
Structure:
A (High) → B (Low) → C (Lower High)
Rules:

A is the starting high
B is the trough below A
C is a bounce that fails below A (lower high = bearish structure)
The formula projects the downside target from C

Example:
A = 200 (first high)
B = 150 (trough)
C = 180 (lower high bounce)

Target = (150 × 180) ÷ 200 = 135
Why does this work?
When C fails to reach A, it tells us sellers are entering at lower prices. The market is making lower highs — a classic bearish sign. The formula captures this momentum and projects the next logical price level.
Invalidation:
❌ A candle closes above C → pattern is cancelled. The lower high structure is broken, meaning buyers have reclaimed control.

⚙️ How the Indicator Works
Pivot Detection
The script automatically detects swing highs and lows using a configurable lookback period. A larger lookback finds bigger, more significant patterns. A smaller lookback finds more frequent, shorter-term setups.
Pattern Validation
Before drawing anything, the script checks three conditions:

Time sequence is correct (A → B → C in order)
Structure is valid (C is higher than A for bulls / lower for bears)
B is the extreme between A and C

What gets drawn on the chart:

A, B, C labels at each pivot with the price
Entry line at C level (where you look to trade)
Target line calculated by the formula
Colored zone between C and Target (your reward area)
Failure level — the line that invalidates the setup
% labels showing the move size of each leg


📋 Trading Guidelines
BullishBearishEntryNear C (higher low)Near C (lower high)Target(B × C) ÷ A(B × C) ÷ AInvalidationClose below CClose above CBiasUptrend structureDowntrend structure

⚠️ Important Notes

This is not a signal indicator. It identifies a mathematical structure. Always combine with your own analysis, volume, and market context.
Works on all timeframes and all assets (stocks, crypto, forex, commodities).
Adjust the Pivot Lookback setting based on your timeframe:

Scalping (1m–5m): Lookback 5–8
Intraday (15m–1H): Lookback 10–15
Swing (4H–Daily): Lookback 15–25




🔔 Alerts Included

✅ Bullish ABC pattern detected
✅ Bearish ABC pattern detected
⚠️ Bullish pattern failed (close below C)
⚠️ Bearish pattern failed (close above C)


The formula is simple. The discipline to follow it is what separates consistent traders from the rest.
ملاحظات الأخبار
# 📊 ABC Pattern — Quantum Pro | Major Update (v6)

## What Changed & Why

This is a full rewrite of the original ABC Pattern indicator. The core formula remains the same — **Target = (B × C) ÷ A** — but everything around it has been rebuilt from the ground up for accuracy, reliability, and cleaner visuals.

Here is a breakdown of every improvement and the reasoning behind each one.

---

## 🔧 Improvement #1 — Smarter Pivot Detection (Dual Strength Control)

**Before:** Single lookback period. One number controlled everything.

**Now:** Two separate controls:
- **Pivot Left Strength** — how many bars to the left must be lower/higher
- **Pivot Right Strength** — how many bars to the right confirm the pivot

```
pLeft = 15 / pRight = 10
```

**Why this matters:**
A pivot detected with only left bars fires immediately but is often fake. Requiring right-bar confirmation means the pivot is *proven* before the pattern is drawn. You wait a few more bars, but the setup you see is real.

---

## 🔧 Improvement #2 — ATR Swing Size Filter

**Before:** Any three pivot points could form an ABC, even tiny noise on a sideways chart.

**Now:** The A→B leg must be at least **X times the ATR** to qualify as a valid trend leg.

```
Min Swing Size = 2.0 × ATR(14)
```

**Why this matters:**
If the market is choppy and ranging, tiny swings create false ABC patterns constantly. The ATR filter ensures you only trade setups where the initial move was *significant* — a real impulse, not random noise. This alone eliminates the majority of low-quality signals.

---

## 🔧 Improvement #3 — Fibonacci Retracement Validation for Point C

**Before:** C only needed to be a higher low (bullish) or lower high (bearish). Any pullback qualified.

**Now:** C must retrace between **38.2% and 88.6%** of the AB leg.

```
retraceMin = 0.382 / retraceMax = 0.886
```

**Why this matters:**
These are not arbitrary numbers. They are the most respected Fibonacci levels in technical analysis. A pullback shallower than 38.2% means the market barely corrected — weak structure. A pullback deeper than 88.6% means the original move is likely broken. The zone between these two levels is where the *highest probability* reversals occur. This is the same logic used in Harmonic Pattern trading.

---

## 🔧 Improvement #4 — EMA 200 Trend Filter

**Before:** Bullish and bearish setups appeared regardless of the overall trend direction.

**Now:** Optional trend alignment check:
- Bullish ABC only shows when **price is above EMA 200**
- Bearish ABC only shows when **price is below EMA 200**

**Why this matters:**
Trading against the trend is the single biggest mistake retail traders make. The EMA 200 is the most widely watched trend line by institutions. By filtering setups to match the macro trend, you trade *with* smart money rather than against it. You will see fewer signals — but the ones you see will be higher quality.

---

## 🔧 Improvement #5 — Dynamic Stop Loss Level

**Before:** No stop loss was calculated or displayed.

**Now:** An automatic stop level is placed just below C (bullish) or just above C (bearish).

```
Bull Stop = C × 0.995 (0.5% below C)
Bear Stop = C × 1.005 (0.5% above C)
```

**Why this matters:**
The invalidation logic from the original indicator was: *"pattern fails if price closes below C."* The stop loss makes this actionable. You now know exactly where you are wrong *before* you enter the trade. This enables proper position sizing.

---

## 🔧 Improvement #6 — Risk/Reward Ratio in Dashboard

**Before:** Dashboard showed target price only.

**Now:** The dashboard calculates and displays the **Risk/Reward ratio** live.

```
R:R = |Target - C| ÷ |C - Stop|
```

**Why this matters:**
A setup with a target of 5% and a stop of 4% is a bad trade regardless of how clean the pattern looks. Seeing the R:R before entry lets you skip low-quality setups instantly. Most professional traders require a minimum of 2:1 before taking any trade.

---

## 🔧 Improvement #7 — Live Pattern Management

**Before:** Lines and zones were drawn once and stayed on the chart forever, even after the pattern was invalidated.

**Now:** The active pattern updates every bar:
- Target and stop lines **extend to the current bar** in real time
- The zone box **grows with price** as long as the setup is active
- When price hits the target OR closes beyond the stop, the pattern is **automatically cleared**

**Why this matters:**
A clean chart is a clearer mind. Seeing old, dead patterns cluttering your chart creates confusion and second-guessing. Now you only see what is *currently active*.

---

## 📐 The Formula (Unchanged)

```
Target = (B × C) ÷ A
```

This is the heart of the strategy and it has not been touched. The improvements above are filters and enhancements that help you find *better* ABC setups — the formula that calculates the target remains exactly as designed.

---

## ⚙️ Recommended Settings by Timeframe

| Timeframe | Left Strength | Right Strength | Min Swing ATR |
|-----------|--------------|----------------|---------------|
| 1m – 5m | 8 | 5 | 1.5 |
| 15m – 1H | 15 | 10 | 2.0 |
| 4H – Daily| 20 | 15 | 2.5 |
| Weekly | 25 | 20 | 3.0 |

---

## ⚠️ What This Indicator Does NOT Do

- It does not tell you *when* to enter. It identifies the **zone** where a setup exists.
- It does not replace risk management. Always size your position based on the stop level shown.
- It does not work perfectly on every asset. Trending markets give cleaner ABC patterns than ranging ones — use the ATR filter to protect yourself in choppy conditions.

---

## 🔔 Alerts

Four alerts are available:
- ✅ Bullish ABC detected
- ✅ Bearish ABC detected
- ⚠️ Bullish pattern invalidated
- ⚠️ Bearish pattern invalidated

---

*The formula is simple. The filters make it reliable. The discipline to wait for both is what makes it profitable.*
ملاحظات الأخبار
📐 ABC Pattern - Buy & Sell Zones (v6 + Volume Confirmation)

⚠️ NOT FINANCIAL ADVICE. This is an educational tool only. Always do your own research and consult a licensed financial advisor. Past pattern performance does not guarantee future results. Trade at your own risk.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔎 OVERVIEW

Automatically detects bullish and bearish ABC corrective patterns using pivot highs/lows. Plots entry zones, targets via (B×C)÷A, and failure levels — all directly on your chart.

• Bullish: Low(A) → High(B) → Higher Low(C) → Target
• Bearish: High(A) → Low(B) → Lower High(C) → Target

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🆕 NEW: VOLUME CONFIRMATION

The C-pivot must show volume ≥ your threshold (default 1.2× the 20-period Volume MA) for the pattern to activate. This filters out weak, low-conviction setups.

✅ Confirmed → Full pattern with all visuals + volume badges on each pivot
⛔ Rejected → Grayed-out ghost pattern labeled "C (No Vol)" so you can still monitor it

Settings: Toggle on/off, adjust MA length (5–100), adjust threshold multiplier (0.5–5.0×), toggle volume badges on pivots.

Two new alerts: "Bull Vol Reject" and "Bear Vol Reject" fire when structure is valid but volume is insufficient.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🖥️ NEW: DASHBOARD CONTROLS

Position → Choose from all 9 TradingView table positions (Top Right, Top Left, Bottom Center, etc.)
Size → Tiny / Small / Normal / Large text
New rows → Volume ratio column, live volume monitoring, ATR info, multi-state status (Active / Failed / Vol Rejected)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📋 ALL FEATURES

• ABC detection (bull + bear) with harmonic target (B×C)÷A
• ATR-based dynamic failure levels (adjustable multiplier)
• Risk:Reward ratio (color-coded: green ≥2R, orange <2R)
• Volume confirmation filter + ghost rejected patterns
• Entry zone box (C to 0.382 fib)
• Fib retracements (.382 / .500 / .618 of B→C leg)
• Midline (B+C)/2 reference
• Projected C→Target trajectory
• % move labels on each leg
• 6 alert conditions
• Every feature independently toggleable

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💡 QUICK TIPS

• Works on any instrument and timeframe
• Volume Threshold 1.2× = lenient, 2.0× = strict — adjust to your style
• R:R < 1.0 means risk exceeds reward — consider skipping
• Lower timeframes → reduce Volume MA to 10–14
• Move dashboard to avoid overlap with other indicators
• Combine with trend filters or S/R for higher probability

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔔 ALERTS

1. Bullish ABC detected
2. Bearish ABC detected
3. Bull pattern failed
4. Bear pattern failed
5. Bull volume rejected (NEW)
6. Bear volume rejected (NEW)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ REMINDER: Not financial advice. No indicator works 100% of the time. Use proper risk management, set stop losses, and never risk more than you can afford to lose.

Tags: ABC, harmonic, pivot, fibonacci, volume, buy zone, sell zone, risk reward, swing trading, price action, dashboard
```
ملاحظات الأخبار
📐 ABC Pattern - Buy & Sell Zones Top (v6 Ultimate) Open Source

⚠️ DISCLAIMER: This indicator is for educational and informational purposes ONLY. It is NOT financial advice, NOT a signal service, and NOT a trading system. No indicator predicts the future. Always do your own research and consult a licensed financial advisor before making any trading decisions. You are solely responsible for your trades. Past pattern performance does not guarantee future results.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔎 OVERVIEW

Automatically detects bullish and bearish ABC corrective patterns using pivot highs/lows, then plots entry zones, multi-target levels, and risk management tools directly on your chart. Target formula: (B×C)÷A.

- Bullish: Low(A) → High(B) → Higher Low(C) → Target
- Bearish: High(A) → Low(B) → Lower High(C) → Target

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🆕 WHAT'S NEW

📡 MULTI-TIMEFRAME TREND FILTER
Optional HTF confirmation using EMA/SMA/WMA/VWMA/HMA on your chosen higher timeframe. Bullish patterns only activate when HTF trend is UP, bearish only when DOWN. Keeps you aligned with the bigger picture. Shows "▲ Aligned" or "▼ Against" in the info box and dashboard.

⚡ RSI MOMENTUM CONFIRMATION
Optional filter requiring C-pivot to form in oversold (bullish) or overbought (bearish) territory. RSI length and thresholds adjustable. Adds an RSI badge directly on the C-pivot.

🔀 RSI DIVERGENCE DETECTION
Detects when price and RSI diverge at the C-pivot — price makes a higher low but RSI makes a lower low (bullish), or price makes a lower high but RSI makes a higher high (bearish). Flagged with a 🔀DIV badge. Two dedicated divergence alerts included.

🏆 PATTERN QUALITY SCORE (A/B/C/D/F)
Every pattern is graded on a 100-point scale across six factors:
- Symmetry — how close BC retrace is to 0.618 of AB (30 pts)
- Risk:Reward ratio (25 pts)
- Volume confirmation (15 pts)
- RSI momentum (15 pts)
- RSI divergence bonus (10 pts)
- HTF alignment (5 pts)
Color-coded star badge on chart. Set a minimum grade to auto-hide weak patterns.

🎯 TRIPLE TAKE-PROFIT
- TP1 = Original (B×C)÷A
- TP2 = 1.618 Fibonacci extension of AB from C
- TP3 = 2.618 extension — aggressive runner target
Each with its own color, line, percentage label, and toggle.

🛑 STOP LOSS + TRAILING STOP
Dedicated SL line using ATR × multiplier. Separate trailing stop reference based on the midpoint of BC minus ATR — gives you a dynamic level to trail your stop as price moves in your favor. Both independently toggleable.

💰 POSITION SIZING
Enter your account size and risk % per trade. The indicator calculates how many units to trade based on C-to-SL distance. Shown in both the info box and dashboard.

📜 HISTORICAL PATTERNS
Toggle to see past ABC patterns drawn as faded lines with their quality grade. Useful for visual backtesting. Configurable count (1–15) and transparency.

📋 EXPANDED DASHBOARD
4-column, 14-row table showing: pattern status with specific rejection reasons (No Vol / RSI / HTF), all three TP levels, R:R, momentum + divergence data, position sizing, live volume ratio, live RSI, HTF alignment, and ATR. Full position control (9 locations) and text size control (Tiny/Small/Normal/Large).

🔔 8 ALERT CONDITIONS
1. Bullish ABC detected
2. Bearish ABC detected
3. Bull pattern failed
4. Bear pattern failed
5. Bull volume rejected
6. Bear volume rejected
7. Bull RSI divergence at C
8. Bear RSI divergence at C

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💡 QUICK TIPS

- All new features default OFF or toggleable — runs clean until you enable them
- Works on any instrument and any timeframe
- HTF filter is powerful for avoiding counter-trend setups
- Grade "A" patterns have the best confluence — start there
- R:R < 1.0 means risk exceeds reward — consider skipping
- Use TP1 for conservative exits, TP2 for standard, TP3 for runners
- Trailing stop helps lock in profits on extended moves
- Historical mode lets you study how past patterns resolved
- Volume threshold 1.2× = lenient, 2.0× = strict
- Lower TFs → reduce Volume MA to 10–14

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚙️ SETTINGS GROUPS

🔧 Core — Pivot lookback, buy/sell toggle
📡 MTF — HTF timeframe, MA type/length
📊 Volume — Toggle, MA length, threshold, badges
⚡ Momentum — RSI toggle, length, OB/OS levels, divergence
🏆 Quality — Score toggle, minimum grade filter
🎨 Display — TP1/TP2/TP3, SL, trail, fibs, midline, zone, path, %
💰 Trade — ATR multipliers, trailing ATR, risk %, account size
📜 Historical — Toggle, max count, transparency
📋 Dashboard — Toggle, position (9 options), text size (4 options)
🎨 Colors — 15 customizable colors

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ FINAL REMINDER: This is a technical analysis tool — not a guarantee of anything. Patterns fail. Volume can mislead. RSI divergences don't always lead to reversals. No grade, score, or confluence stack replaces your own judgment and risk management. Never trade money you can't afford to lose. This is NOT financial advice.

Tags: ABC, harmonic, pivot, fibonacci, volume, RSI, divergence, multi-timeframe, quality score, position sizing, trailing stop, buy zone, sell zone, risk reward, swing trading, price action
ملاحظات الأخبار
📐 ABC Pattern - Buy & Sell Zones Top Auto (v6 Ultimate + Multi-TF Scanner)

⚠️ NOT FINANCIAL ADVICE. This is an educational tool only. No indicator predicts the future. Always do your own research and consult a licensed financial advisor. You are solely responsible for your trades. Past performance does not guarantee future results.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔎 OVERVIEW

Detects bullish and bearish ABC corrective patterns automatically using pivot highs/lows. Plots entry zones, triple targets, stop loss, trailing stop, and risk management — all on chart. Now scans 6 timeframes simultaneously.

Target: (B×C)÷A | Bullish: A→B→C→Up | Bearish: A→B→C→Down

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🆕 NEW: MULTI-TIMEFRAME SCANNER

The biggest addition. The indicator now runs ABC detection across 6 customizable timeframes at once using request.security(). You choose which TFs to scan (default: 5m, 15m, 1H, 4H, 1D, 1W) and each can be toggled on/off.

🔍 SCANNER TABLE — A dedicated table shows every scanned timeframe with:
- ✅ or —— for bullish/bearish status
- Target price for each active pattern
- Quality grade per timeframe

📊 CONFLUENCE — Counts how many TFs agree on the same direction. Displayed as:
- "3/6 TFs bullish" in the on-chart info box
- Summary row in scanner table
- Visual strength bar: 🟢🟢🟢⚫⚫⚫

When 3+ timeframes align in the same direction, that's a high-confluence setup. The scanner table has its own position and size controls.

🔔 Two new alerts fire when 3+ TFs align bullish or bearish simultaneously.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📋 FULL FEATURE LIST

Core Detection:
- Automatic ABC pattern detection (bull + bear)
- Harmonic target: (B×C)÷A
- Works any instrument, any timeframe

Multi-TF Scanner (NEW):
- Scans 6 customizable timeframes simultaneously
- Per-TF pattern status, target, and grade
- Confluence counter + visual strength bar
- Independent table position and size controls

Confirmation Filters:
- Volume confirmation at C-pivot (with ghost rejected patterns)
- RSI momentum filter (OB/OS at C)
- RSI divergence detection at C with 🔀 badge
- HTF trend filter (EMA/SMA/WMA/VWMA/HMA)

Quality & Scoring:
- A/B/C/D/F grade based on symmetry, R:R, volume, momentum, divergence, HTF
- Minimum grade filter to auto-hide weak patterns
- Color-coded star badge on chart

Trade Management:
- Triple TP: TP1 (harmonic), TP2 (1.618 ext), TP3 (2.618 ext)
- ATR-based stop loss with dedicated 🛑 line
- Trailing stop reference (ATR-based)
- Position sizing calculator (account size + risk %)
- R:R ratio (color-coded ≥2R green, <2R orange)

Visuals:
- Entry zone box (C to .382 fib)
- Fib retracements (.382/.500/.618)
- Midline (B+C)/2
- ABC path lines with % move labels
- Volume badges on each pivot
- Projected C→Target trajectory

Historical:
- Past patterns drawn as faded lines with grades
- Configurable count and transparency

Dashboard:
- Full pattern data, targets, R:R, position sizing, live readings
- 9 positions, 4 text sizes

Alerts (10 total):
1–2: Bull/Bear ABC detected
3–4: Bull/Bear pattern failed
5–6: Bull/Bear volume rejected
7–8: Bull/Bear RSI divergence
9–10: Multi-TF bull/bear confluence (3+ TFs)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💡 TIPS

- 3+ TF confluence = strongest setups — start there
- Scanner defaults to 5m/15m/1H/4H/D/W — adjust to your style
- All filters default OFF except volume — enable what fits your method
- Grade A patterns have the best confluence of factors
- Use TP1 conservative, TP2 standard, TP3 runners
- Position sizing uses your account/risk settings — verify before trading
- Place scanner and dashboard in different corners to avoid overlap

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚙️ SETTINGS

🔧 Core — Pivot lookback, buy/sell toggle
🔍 Scanner — 6 TFs, toggle each, table position/size
📡 HTF Filter — Timeframe, MA type/length
📊 Volume — Toggle, MA length, threshold
⚡ Momentum — RSI toggle, length, OB/OS, divergence
🏆 Quality — Score toggle, minimum grade
🎨 Display — TP1/2/3, SL, trail, fibs, mid, zone, path, %
💰 Trade — ATR multipliers, trailing, risk %, account size
📜 Historical — Toggle, count, transparency
📋 Dashboard — Toggle, position, text size
🎨 Colors — 15 customizable

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ REMINDER: Not financial advice. No indicator works 100% of the time. Patterns fail. Confluence doesn't guarantee anything. Use proper risk management and never risk more than you can afford to lose.

Tags: ABC, harmonic, pivot, fibonacci, volume, RSI, divergence, multi-timeframe, scanner, confluence, quality score, position sizing, trailing stop, buy zone, sell zone, swing trading, price action
ملاحظات الأخبار
📐 ABC Pattern - Buy & Sell Zones Top Auto (v6 Ultimate + Multi-TF Scanner) BEST Yet Open Source

⚠️ NOT FINANCIAL ADVICE. Educational tool only. No indicator predicts the future. Do your own research, consult a licensed financial advisor, and never risk money you can't afford to lose. Past pattern performance does not guarantee future results.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔎 OVERVIEW

Detects bullish and bearish ABC corrective patterns using pivot highs/lows. Plots entry zones, triple targets (TP1/TP2/TP3), stop loss, trailing stop, Fibonacci levels, and full risk management on chart. Scans 6 timeframes simultaneously with a dedicated scanner dashboard.

Target: (B×C)÷A | Bullish: A→B→C→Up | Bearish: A→B→C→Down

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🆕 WHAT'S NEW

🔍 MULTI-TF SCANNER
Runs ABC detection across 6 customizable timeframes (default: 5m/15m/1H/4H/D/W). Each TF shows bull/bear status, target, C price, and quality grade. Confluence counter tracks how many TFs agree — 3+ aligned = high-confluence setup. Visual strength bar (🟢🟢🟢⚫⚫) shows direction bias at a glance. Info box on chart shows "3/6 TFs bullish" count.

🔍 SCANNER APPEARANCE CONTROLS (NEW)
The scanner table is now fully customizable with its own dedicated settings group:

Position — 9 locations (Top/Middle/Bottom × Left/Center/Right), independent from main dashboard so both can coexist without overlap.

Text Size — Tiny / Small / Normal / Large, independent from main dashboard.

Colors — Scanner background, border, and header colors are all customizable via color pickers.

Column Toggles — Show/hide individual data columns:
- Show Targets — toggle target prices on/off
- Show Grades — toggle quality grades on/off
- Show C Price — toggle C-level prices on/off
- Show Confluence Row — toggle the summary row
- Show Strength Bar — toggle the visual bar

3 Scanner Styles:
- Full — 8 columns: TF, Bull status, C price, Target, Grade, Bear status, Target, Grade. Maximum data.
- Compact — 6 columns: TF, Bull ✅/——, Target, Bear ✅/——, Target, Grade. Balanced.
- Minimal — 3 columns: TF, Bull ✅/⚫, Bear ✅/⚫. Tiny traffic-light view for crowded charts.

⚡ RSI MOMENTUM + DIVERGENCE
Optional RSI filter at C-pivot. Detects hidden divergence (price vs RSI) at C and flags it with 🔀DIV badge. Two dedicated divergence alerts.

🏆 PATTERN QUALITY SCORE (A/B/C/D/F)
Grades every pattern on symmetry, R:R, volume, momentum, divergence, and HTF alignment. Set minimum grade to auto-hide weak setups.

📡 HTF TREND FILTER
Optional higher-timeframe trend confirmation using EMA/SMA/WMA/VWMA/HMA. Bull patterns only fire when HTF is up, bear only when down.

🎯 TRIPLE TAKE-PROFIT
TP1 = (B×C)÷A | TP2 = 1.618 fib extension | TP3 = 2.618 extension

🛑 STOP LOSS + ◈ TRAILING STOP
ATR-based SL and trailing stop reference, both independently toggleable.

💰 POSITION SIZING
Enter account size and risk % — calculates units automatically based on C-to-SL distance.

📜 HISTORICAL PATTERNS
Past ABC patterns drawn as faded lines with quality grades for visual backtesting.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📋 ALL FEATURES

- ABC detection (bull + bear) with (B×C)÷A target
- 6-TF scanner with 3 display styles (Full/Compact/Minimal)
- Scanner with independent position, size, colors, column toggles
- Confluence counter + strength bar
- Volume confirmation + ghost rejected patterns
- RSI momentum + divergence detection
- HTF trend filter (5 MA types)
- Quality scoring (A/B/C/D/F) with minimum grade filter
- Triple TP (TP1/TP2/TP3)
- ATR stop loss + trailing stop
- Entry zone box + fib retracements (.382/.500/.618)
- Midline + % move labels
- Position sizing calculator
- Historical pattern overlay
- Main dashboard with full controls
- 15 customizable colors
- 10 alert conditions
- Every feature independently toggleable

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💡 TIPS

- Place scanner in Bottom Right, dashboard in Top Right to avoid overlap
- Use Minimal scanner style on phones or crowded charts
- 3+ TF confluence = strongest setups
- Grade A patterns have best factor alignment
- Enable RSI + Volume + HTF together for maximum filtering
- TP1 for conservative, TP2 for standard, TP3 for runners
- R:R < 1.0 = risk exceeds reward — skip it

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚙️ SETTINGS GROUPS

🔧 Core — Pivot lookback, bull/bear toggle
🔍 Scanner — 6 TFs, toggle each
🔍 Scanner Appearance — Position, size, colors, column toggles, style (Full/Compact/Minimal)
📡 HTF Filter — Timeframe, MA type/length
📊 Volume — Toggle, MA length, threshold
⚡ Momentum — RSI toggle, OB/OS, divergence
🏆 Quality — Score toggle, minimum grade
🎨 Display — TP1/2/3, SL, trail, fibs, mid, zone, path, %
💰 Trade — ATR multipliers, risk %, account size
📜 Historical — Toggle, count, transparency
📋 Dashboard — Toggle, position, text size
🎨 Colors — 15 customizable

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔔 10 ALERTS

1. Bullish ABC detected
2. Bearish ABC detected
3. Bull failed
4. Bear failed
5. Bull volume rejected
6. Bear volume rejected
7. Bull RSI divergence
8. Bear RSI divergence
9. Multi-TF bull confluence (3+)
10. Multi-TF bear confluence (3+)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ REMINDER: This is NOT financial advice and NOT a signal service. No indicator, score, confluence, or scanner result guarantees anything. Patterns fail. Markets are unpredictable. Always use proper risk management and trade responsibly.

Tags: ABC, harmonic, pivot, fibonacci, volume, RSI, divergence, multi-timeframe, scanner, confluence, quality score, position sizing, trailing stop, dashboard, swing trading, price action

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.