JFX Structure FibJFX Structure Fib
ENGLISH
JFX Structure Fib is a multi-timeframe market-structure and automatic Fibonacci retracement framework designed for discretionary traders. It does not generate BUY/SELL signals or manage trades. Its purpose is to organize higher-timeframe directional context, confirmed chart-timeframe structure breaks, and retracement levels into one clean workflow.
HOW IT WORKS
1. Adaptive bias timeframe
By default, the script automatically assigns a higher bias timeframe according to the active chart timeframe. Examples include M5 -> H1 and M15 -> H4. A Custom mode is also available for users who prefer a different higher-timeframe relationship.
2. Confirmed higher-timeframe bias
The bias engine reads confirmed higher-timeframe structure. An optional Structure + EMA mode can require both structural direction and EMA alignment. The higher-timeframe values are based on completed higher-timeframe bars to reduce discrepancies between historical and realtime behavior.
3. Valid chart-timeframe BOS
The script displays only BOS events that meet its structural rules. A valid BOS requires a confirmed close through a confirmed swing that has not already been counted as broken, alignment with the active higher-timeframe bias, and a valid opposite structural swing after the broken swing to serve as the impulse origin.
4. BOS-origin impulse tracking
After a valid BOS, the script tracks the continuing impulse rather than fixing the Fibonacci endpoint immediately. The impulse extreme remains dynamic until price produces the configured confirmed retracement. This reduces arbitrary Fibonacci anchoring while an impulse is still extending.
5. Automatic Fibonacci lock
When the retracement threshold is confirmed, the impulse is locked and the script plots four configurable Fibonacci retracement levels. Defaults are 0.618, 0.705, 0.790, and 0.886. The chart displays ratio values only, without prices.
6. Fibonacci history
Completed or superseded Fibonacci structures can be retained as bounded historical references. Users can choose how many recent Fibonacci structures remain visible. Historical levels are visually muted so the active structure remains easy to identify.
7. Compact dashboard
The dashboard summarizes the chart-to-bias timeframe mapping, confirmed higher-timeframe bias, current structural direction, Fibonacci state, and retained Fibonacci history.
HOW TO USE IT
- Apply the indicator to the timeframe on which you want to analyze structure.
- Leave Bias timeframe mode on Auto for the default multi-timeframe mapping, or select Custom if your framework uses a different higher timeframe.
- A bullish or bearish BOS is displayed only when the script's validity conditions are satisfied.
- After the post-BOS impulse retraces by the configured lock threshold, the Fibonacci structure becomes fixed and its retracement levels are displayed.
- Use the Fibonacci levels as location/context within your own trading plan. The script intentionally does not define entries, stop losses, take profits, or expected performance.
KEY SETTINGS
- Bias timeframe mode: Auto or Custom.
- Bias method: Structure or Structure + EMA.
- Bias and chart-structure pivot sensitivity.
- Use newest valid BOS: allows a newer valid BOS to supersede the current structure.
- Structure invalidation: close or wick beyond the impulse origin.
- Fibonacci lock retracement.
- Four customizable Fibonacci ratios.
- Optional minimum impulse size measured in ATR.
- Fibonacci history count.
- Optional bias/chart swing reference levels.
- BOS, Fibonacci, dashboard, and alert visibility controls.
ORIGINALITY AND PROTECTED-SOURCE RATIONALE
BOS, market structure, and Fibonacci retracement are established concepts and are not claimed as original inventions. The original contribution of this script is the specific workflow and implementation that connects adaptive higher-timeframe bias, valid BOS filtering, post-break structural-origin selection, dynamic impulse tracking, confirmed retracement locking, bounded Fibonacci lifecycle/history, and a chart-focused visual state model. The source is protected to preserve this implementation while allowing the community to use the indicator freely.
LIMITATIONS
- Confirmed pivots require right-side bars before a swing is known. This means structure detection intentionally has confirmation delay.
- The higher-timeframe bias uses completed higher-timeframe information, so it will react more slowly than an indicator using an unfinished higher-timeframe candle.
- The automatic timeframe mapping is a practical default, not a universal rule. Different instruments or trading plans may require Custom mode.
- BOS validity depends on the selected pivot sensitivities. Very low settings can identify more minor structure; higher settings can identify fewer but broader swings.
- Fibonacci levels describe retracement location only. They do not establish that price will reverse from a level.
- The script does not calculate trade entries, stop losses, take profits, win rate, profit factor, or profitability.
- A newer valid BOS can replace the active structure when that option is enabled.
- Market behavior varies by instrument, timeframe, volatility regime, session, data feed, and execution environment.
Use the indicator as an analytical framework and validate its behavior on the instruments and timeframes relevant to your own process before relying on it for live decisions.
BAHASA INDONESIA
JFX Structure Fib adalah framework market structure multi-timeframe dan automatic Fibonacci retracement untuk discretionary trader. Indikator ini tidak memberikan sinyal BUY/SELL dan tidak mengatur posisi trading. Tujuannya adalah menyusun higher-timeframe bias, valid chart-timeframe BOS, dan retracement Fibonacci dalam satu workflow yang bersih dan mudah dibaca.
CARA KERJA
1. Adaptive bias timeframe
Secara default indikator memilih bias timeframe yang lebih tinggi berdasarkan timeframe chart aktif. Contohnya M5 -> H1 dan M15 -> H4. Mode Custom tetap tersedia jika pengguna ingin menggunakan hubungan timeframe yang berbeda.
2. Confirmed higher-timeframe bias
Bias membaca structure dari higher timeframe yang sudah confirmed. Mode Structure + EMA dapat digunakan untuk meminta alignment tambahan dari EMA. Data higher timeframe berasal dari candle yang sudah selesai agar perilaku historical dan realtime lebih konsisten.
3. Valid chart-timeframe BOS
Indikator hanya menampilkan BOS yang memenuhi aturan structure. BOS harus terjadi melalui confirmed close pada confirmed swing yang belum pernah dihitung sebagai broken, searah dengan higher-timeframe bias, serta memiliki opposite structural swing yang valid setelah swing yang di-break untuk menjadi origin impulse.
4. BOS-origin impulse tracking
Setelah valid BOS, indikator tetap mengikuti extreme impulse selama impulse masih berkembang. Endpoint Fibonacci belum langsung dikunci. Extreme baru dikunci setelah terjadi confirmed retracement sesuai threshold yang dipilih.
5. Automatic Fibonacci lock
Setelah retracement threshold terkonfirmasi, Fibonacci dikunci dan empat retracement level ditampilkan. Default: 0.618, 0.705, 0.790, dan 0.886. Chart hanya menampilkan angka ratio Fibonacci tanpa harga.
6. Fibonacci history
Fibonacci yang telah selesai atau digantikan dapat disimpan sebagai historical reference. Jumlah history dapat diatur oleh pengguna dan tampilannya dibuat lebih redup daripada Fibonacci aktif.
7. Compact dashboard
Dashboard menampilkan mapping chart timeframe ke bias timeframe, confirmed HTF bias, current structure, status Fibonacci, dan jumlah history yang sedang disimpan.
PENGGUNAAN
- Pasang indikator pada timeframe yang ingin digunakan untuk membaca structure.
- Gunakan Auto untuk mapping timeframe default, atau Custom jika menggunakan framework multi-timeframe sendiri.
- BOS bullish/bearish hanya muncul jika seluruh aturan validasinya terpenuhi.
- Setelah impulse pasca-BOS mengalami retracement sesuai threshold, Fibonacci dikunci dan level retracement ditampilkan.
- Gunakan Fibonacci sebagai area location/context dalam trading plan Anda sendiri. Indikator sengaja tidak menentukan entry, stop loss, take profit, atau ekspektasi hasil trading.
ORIGINALITAS DAN ALASAN SOURCE DILINDUNGI
BOS, market structure, dan Fibonacci retracement merupakan konsep yang sudah umum dan tidak diklaim sebagai penemuan baru. Nilai original script ini terletak pada workflow dan implementasinya: adaptive HTF bias, valid BOS filtering, pemilihan structural origin setelah break, dynamic impulse tracking, confirmed retracement lock, bounded Fibonacci history, serta visual state yang dibangun menjadi satu framework. Source dilindungi untuk menjaga implementasi tersebut sementara indikator tetap dapat digunakan gratis oleh komunitas.
KETERBATASAN
- Confirmed pivot membutuhkan sejumlah candle di sisi kanan sehingga swing diketahui dengan delay yang disengaja.
- Bias HTF menggunakan candle HTF yang sudah selesai sehingga lebih lambat dibandingkan metode yang membaca unfinished HTF candle.
- Auto timeframe mapping adalah default praktis dan bukan aturan universal.
- Sensitivitas BOS tergantung pada pivot settings yang digunakan.
- Fibonacci hanya menunjukkan lokasi retracement dan tidak menjamin reversal.
- Indikator tidak menghitung entry, SL, TP, win rate, Profit Factor, atau profitabilitas.
- Valid BOS yang lebih baru dapat menggantikan active structure jika opsi tersebut diaktifkan.
- Hasil visual dan perilaku structure dapat berbeda menurut instrument, timeframe, volatility regime, session, dan data feed.
Gunakan indikator sebagai analytical framework dan lakukan validasi pada instrument serta timeframe yang sesuai dengan proses trading Anda sebelum menggunakannya dalam keputusan live.
インジケーター

Fibonacci Cloud | Multi-Timeframe Fibonacci ScannerFibonacci Cloud stacks three independent retracement grids (short, medium, and long lookback windows) on top of each other and watches for the moments when price sits near multiple levels from multiple grids at once.
The idea is simple: a fib level that only shows up on one lookback length is easy to dismiss as coincidence, but a zone where the short-term 0.618 lines up with the medium-term 0.5 and the long-term 0.382 is a lot harder to ignore. The script counts how many of the fifteen tracked levels price is currently touching (within a configurable tolerance band) and only considers a trade when that confluence count clears your threshold.
From there, two optional filters can sharpen the signal further: an EMA trend filter (only take longs above the trend line, shorts below it) and an RSI momentum filter (skip longs when momentum is deeply negative, skip shorts when it's deeply positive). Both are off/loose by default so the confluence logic itself stays the star of the show — tighten them if you want fewer, higher-conviction trades.
Features
Three-lookback Fibonacci confluence engine (15 levels tracked simultaneously)
Adjustable confluence tolerance and minimum-overlap threshold
Optional EMA trend filter with clean directional fill
Optional RSI momentum filter (confirmation-style, not fade-style)
Long-only / short-only / both trade direction control
Fixed % stop-loss with configurable R:R take-profit
Minimal two-tone visual design — trend fill, soft confluence background tint, triangle entry markers
Built-in alert conditions for both long and short signals
Tips
Start loose (Min Confluent Levels = 1, wide tolerance) to see how many setups the confluence engine finds on your instrument, then tighten gradually rather than starting strict and wondering why trade count is low.
The three lookback lengths (default 20/50/100) are tunable — pairing a short scalping lookback with a much longer swing lookback tends to produce more meaningful confluence zones than three lookbacks bunched close together.
Try disabling the trend filter entirely on ranging instruments and re-enabling it on trending ones — this single toggle changes the strategy's character more than almost any other input.
Backtest the R:R and stop % together rather than in isolation; a looser confluence threshold usually pairs better with a tighter R:R target.
Warnings
This is a mean-reversion/confluence-zone tool, not a breakout system — it will underperform in strongly trending, low-pullback conditions.
Backtest results are historical and do not guarantee future performance. Past performance shown in the strategy tester does not account for slippage, liquidity gaps, or execution differences on your specific broker/exchange.
The looser default settings favor trade frequency over precision — verify the win rate and expectancy for your instrument and timeframe before trading it live.
This script is provided for research and educational purposes only and is not financial advice.
ストラテジー

Sattam | option-scalpVolatility Projection Zones
Every 52 bars the indicator takes a reading of the market and projects where
price could travel next, based on how volatile the market actually is right now.
WORKS ON EVERY MARKET — AND HOLDS UP ON OPTIONS
There is not a single fixed value anywhere in this script: no pip counts, no
point targets, no price assumptions. Every distance it draws is derived from the
instrument's own volatility, so it behaves the same way on futures, forex,
indices, crypto, stocks — and on options contracts, which is where most
ATR-based tools quietly fall apart.
Options are a hostile case: premiums move in cents, a contract can lose half its
value in three bars, sessions are full of gaps, and plenty of bars print with no
trade at all. A pure ATR projection lags badly through moves like that and draws
targets far too tight. This script handles it by taking the LARGER of two
measures — the ATR projection, or the range of the anchor window itself. On
liquid futures the ATR is always the larger one and the floor never shows; on an
option, when a window holds a collapse, the window wins and the projection stays
honest.
HOW IT WORKS
At each cycle the script looks at the last 3 bars and finds the extreme that
price has moved furthest away from — if price is sitting near the top of that
little range, the low becomes the anchor, and vice versa. From that anchor it
projects a distance equal to 3 x ATR(14), or the range of those 3 bars when that
is wider.
Four lines are drawn per cycle:
- Two thick lines — the anchor and the full projection target
- Two thin lines — the 50% and 61.8% marks in between
Each set extends 49 bars, stopping just before the next cycle begins, and the
last 8 sets stay on the chart.
HOW TO READ IT
The direction of the projection is the cycle's bias. A set projecting upward
means the anchor sits below price as support, with the levels above as upside
reference. The two thin lines are the natural partial targets; the far thick
line is the full measured move.
Because the projection scales with volatility, the levels widen in fast
conditions and tighten in quiet ones automatically.
SETTINGS
Cycle length - bars between projections (default 52)
Anchor window - bars used to pick the anchor (default 3)
ATR length/mult - the projection distance (default 14 / 3.0)
Inner ratios - the two intermediate levels (0.5 / 0.618)
Cycle anchor - where the cycle starts counting: Session, Week, or a
manual phase
Display - colors, widths, line length, sets kept
NOTES
This is a levels framework, not a signal system. It draws on every cycle
regardless of trend or range conditions, and it has no entry filter of its own —
combine it with your own read of structure and context.
Not financial advice. Test on your own instruments and timeframes before relying
on it.
خطوط الهدف حسب حركة السوق
المؤشر كل ٥٢ شمعة يوقف ويقيس لك السوق، وبعدين يمد أربعة خطوط تقول لك
وين ممكن يوصل السعر. والمسافة مو رقم كتبته أنا، هي من حركة السوق نفسه
في ذيك اللحظة — سوق هايج يعطيك خطوط بعيدة، وسوق هادي يعطيك خطوط قريبة.
يشتغل على كل الأسواق — وأقوى شي على الاوبشن
ما فيه في المؤشر ولا رقم ثابت. لا نقاط ولا بيبس ولا أهداف محفوظة. كل
مسافة يرسمها يطلعها من حركة الأداة اللي أنت فيها. عشان كذا نفس الشغل
يمشي على الذهب والفوركس والمؤشرات والعملات الرقمية والأسهم، ويمشي على
عقود الاوبشن كمان — وهذي بالذات وين أغلب المؤشرات تخرب وأنت ما تدري.
ليش الاوبشن صعب؟ لأن سعر العقد يتحرك بالسنتات، وممكن العقد يطيح نص
قيمته في ثلاث شموع بس، والجلسات فيها فجوات كثيرة، وشموع تعدي بدون ولا
صفقة. مقياس ATR لحاله يتأخر على حركة زي كذا، فيرسم لك أهداف قريبة ما
تسوى شي.
الحل اللي فيه: يقارن بين شيئين وياخذ الأكبر — إما مسافة ATR، وإما مدى
الشموع الثلاث اللي طلعت منها نقطة البداية. في الأسواق العادية ATR يطلع
أكبر دايماً وما تحس بهالشي أصلاً؛ وفي الاوبشن لما تصير طيحة قوية، مدى
الشموع يطلع أكبر وياخذه المؤشر — فتطلع الخطوط واقعية مو مضحكة.
كيف يشتغل بالضبط
كل دورة يشوف آخر ٣ شموع، ويشوف السعر حالياً قريب من فوق ولا من تحت:
- السعر قريب من فوق؟ ياخذ القاع نقطة بداية ويمد الخطوط طالعة
- السعر قريب من تحت؟ ياخذ القمة نقطة بداية ويمد الخطوط نازلة
يعني دايماً يبدأ من الطرف الأبعد عن السعر.
ومن نقطة البداية هذي يقيس المسافة (٣ أضعاف ATR أو مدى الشموع الثلاث،
أيهم أكبر) ويرسم:
- خطين سميكين: واحد عند نقطة البداية، وواحد عند الهدف الكامل
- خطين رفيعين بينهم: عند ٥٠٪ و ٦١.٨٪ من المسافة
كل مجموعة خطوط تمشي ٤٩ شمعة وتوقف قبل ما تبدأ المجموعة الجديدة، ويبقى
لك على الشارت آخر ٨ مجموعات.
كيف تقراه
- الخطوط طالعة فوق؟ الدورة ميولها صعود، ونقطة البداية تحت تصير دعم
- الخطوط نازلة تحت؟ الدورة ميولها هبوط، ونقطة البداية فوق تصير مقاومة
- الخطين الرفيعين: أهداف أولى وثانية، مكان طبيعي تجني فيه جزء
- الخط السميك البعيد: الهدف الكامل للحركة
الإعدادات
Cycle length - كل كم شمعة يرسم مجموعة جديدة (الافتراضي ٥٢)
Anchor window - كم شمعة ياخذ منها نقطة البداية (٣)
ATR length/mult - مقياس المسافة (١٤ و ٣ أضعاف)
Inner ratios - الخطين الرفيعين (٠.٥ و ٠.٦١٨)
Cycle anchor - من وين تبدأ الدورة: مع الجلسة، مع الأسبوع، أو يدوي
Display - ألوان وسماكات وطول الخطوط وعدد المجموعات
كلام لازم يتقال
المؤشر يعطيك مستويات، مو إشارات دخول وخروج. يرسم كل دورة سواء السوق
ترند أو عرضي، وما فيه فلتر يقول لك ادخل الحين. استخدمه مع قراءتك أنت
للسوق.
وهذا مو توصية شراء ولا بيع. جربه على أدواتك وفريماتك قبل لا تعتمد عليه بصفقاتك. インジケーター

Sattam | Trend FilterSATTAM | Trend Filter
A trend-following overlay built on a triple-pass exponential smoothing engine
with Fibonacci-adaptive volatility bands and a live command-center panel.
── HOW IT WORKS ──────────────────────────────────────────────
1) NOISE FILTER
Price is passed through three chained EMA stages. Each stage feeds the next,
which removes most of the intrabar noise that makes a single moving average
whipsaw, while keeping the turn of the trend readable.
2) TREND DETECTION
Direction is taken from the 2-bar slope of the filter line (base - base ),
not from a price/MA cross. The line turns green while the slope is positive
and red while it is negative. An orange diamond marks the exact bar where the
slope flips sign (confirmed on close only - no repainting of the signal).
3) FIBONACCI-ADAPTIVE BANDS
Band width is the smoothed high-low range, expanded by three Fibonacci
multipliers (0.236 / 0.382 / 0.618, scaled). The bands breathe with real
volatility, so the same settings work on a quiet range and on a fast trend.
Fills are gradient-colored by trend momentum, from bear color to bull color.
4) MULTI-FILTER (optional)
Adds a slower filter line. Triangles mark fast/slow crosses, and the panel
reports whether both filters agree (Aligned) or conflict (Divergent).
── COMMAND CENTER PANEL ──────────────────────────────────────
• Trend - current direction
• Strength - 0-100% of the strongest slope in the lookback window
(Strong / Moderate / Weak / Flat)
• Band Pos - where price sits inside the outer bands
(Over-Extended / Upper Band / Mid / Lower Band)
• Filters - fast vs slow agreement (multi-filter mode)
• Signal - the active flip on this bar
── HOW TO USE ────────────────────────────────────────────────
• Trade in the direction of the line color; treat flips as the alert to act.
• Prefer entries taken while Strength is Strong or Moderate; Flat readings
usually mean a range, where flips are least reliable.
• "Over-Extended" in Band Pos warns that price is stretched to the outer band
- useful for taking partials or waiting for a pullback instead of chasing.
• Turn on Multi-Filter for higher-timeframe context: take signals only when
the panel shows Aligned.
── SETTINGS ──────────────────────────────────────────────────
All inputs are labelled in English and Arabic.
• Filter Length - lower = faster and more signals, higher = smoother
(25 default; try 50-80 on lower timeframes, 10-20 for scalping)
• Slow Filter Length - the confirmation filter (80 default)
• Colors, fill transparency, bar coloring
• Panel position, size, and language (EN / AR)
── ALERTS ────────────────────────────────────────────────────
• Trend Bullish / Trend Bearish (slope flip)
• Fast Cross Up / Fast Cross Down (multi-filter cross)
All alerts fire once per bar close and include ticker, timeframe and price.
Panel language (EN / AR) also controls the alert message language.
Works on any symbol and any timeframe.
Disclaimer: for education and analysis only. This is not financial advice.
No indicator predicts the future - always use your own risk management.
SATTAM | Trend Filter — فلتر الاتجاه
مؤشر اتجاه يُرسم فوق الشارت، مبني على محرّك تنعيم أُسّي ثلاثي المراحل،
مع نطاقات فيبوناتشي متكيّفة مع التذبذب، ولوحة تحكّم مباشرة.
── كيف يعمل ─────────────────────────────────────────────────
١) فلتر الضجيج
يمرّ السعر عبر ثلاث مراحل EMA متسلسلة، كل مرحلة تُغذّي التي بعدها.
هذا يزيل معظم الضجيج الذي يجعل المتوسط المتحرك العادي يتذبذب،
مع بقاء لحظة انعكاس الاتجاه واضحة وقابلة للقراءة.
٢) تحديد الاتجاه
الاتجاه يُؤخذ من ميل الخط عبر شمعتين (base - base )، وليس من تقاطع
السعر مع متوسط. الخط أخضر عندما يكون الميل موجباً، وأحمر عندما يكون سالباً.
الماسة البرتقالية تحدّد الشمعة التي انقلب فيها الميل — وتُؤكَّد عند إغلاق
الشمعة فقط، بلا إعادة رسم للإشارة.
٣) نطاقات فيبوناتشي المتكيّفة
عرض النطاق = مدى (أعلى − أدنى) بعد تنعيمه، مضروباً في ثلاثة معاملات
فيبوناتشي (٠.٢٣٦ / ٠.٣٨٢ / ٠.٦١٨ بعد التحجيم). النطاقات تتّسع وتضيق مع
التذبذب الحقيقي، فتعمل نفس الإعدادات في السوق الهادئ وفي الترند السريع.
تعبئة النطاقات ملوّنة بتدرّج حسب زخم الاتجاه، من لون الهبوط إلى لون الصعود.
٤) الفلتر المزدوج (اختياري)
يضيف خط فلتر أبطأ. المثلثات تحدّد تقاطع السريع مع البطيء، واللوحة تُظهر
هل الفلتران متوافقان (متوافق) أم متعارضان (متعارض).
── لوحة التحكّم ─────────────────────────────────────────────
• الاتجاه — الاتجاه الحالي (صاعد / هابط)
• القوة — من ٠ إلى ١٠٠٪ مقارنةً بأقوى ميل في فترة القياس
(قوي / متوسط / ضعيف / محايد)
• موضع النطاق — أين يقع السعر داخل النطاقات الخارجية
(تشبّع / النطاق العلوي / الوسط / النطاق السفلي)
• الفلاتر — توافق السريع مع البطيء (في وضع الفلتر المزدوج)
• الإشارة — الانعكاس النشط على الشمعة الحالية
── طريقة الاستخدام ──────────────────────────────────────────
• تداول مع لون الخط، واعتبر لحظة الانعكاس هي إشارة التحرّك.
• فضّل الدخول عندما تكون القوة «قوي» أو «متوسط»؛ قراءة «محايد» غالباً تعني
سوقاً عرضياً تكون فيه الانعكاسات أقل موثوقية.
• ظهور «تشبّع» في موضع النطاق يعني أن السعر امتدّ إلى النطاق الخارجي —
مفيد لجني جزء من الأرباح أو انتظار الارتداد بدل المطاردة.
• فعّل الفلتر المزدوج للحصول على سياق الفريم الأكبر، وخذ الإشارات فقط
عندما تُظهر اللوحة «متوافق».
── الإعدادات ────────────────────────────────────────────────
جميع الإعدادات مكتوبة بالإنجليزية والعربية معاً.
• طول الفلتر — الأقل = أسرع وإشارات أكثر، والأعلى = أنعم
(الافتراضي ٢٥؛ جرّب ٥٠–٨٠ على الفريمات الصغيرة، و١٠–٢٠ للمضاربة السريعة)
• طول الفلتر البطيء — فلتر التأكيد (الافتراضي ٨٠)
• الألوان، وشفافية التعبئة، وتلوين الشموع
• موضع اللوحة وحجمها ولغتها (EN / AR)
── التنبيهات ────────────────────────────────────────────────
• اتجاه صاعد / اتجاه هابط (انعكاس الميل)
• تقاطع صاعد / تقاطع هابط للفلتر السريع (في الفلتر المزدوج)
كل التنبيهات تُطلق مرة واحدة عند إغلاق الشمعة، وتتضمّن الرمز والفريم والسعر.
لغة اللوحة (EN / AR) تتحكّم أيضاً في لغة نص التنبيه.
يعمل على جميع الرموز وجميع الفريمات الزمنية.
إخلاء مسؤولية: هذا المؤشر لأغراض تعليمية وتحليلية فقط، وليس نصيحة مالية.
لا يوجد مؤشر يتنبأ بالمستقبل — التزم دائماً بإدارة رأس المال الخاصة بك. インジケーター

Auto Fibonacci Retracement, Golden Zone & OTE Levels [LunqFX]Every fibonacci retracement tool draws the same six lines, and every one of them assumes you already picked the right swing. Drag the fib from a different high and the golden pocket lands somewhere else entirely — so the fibonacci level you are about to buy is not a level the market chose, it is a level your cursor chose.
This auto fibonacci indicator takes the swing out of your hands. The leg is anchored to confirmed pivots and re-anchors itself the moment structure makes a new extreme, so the fib retracement on the chart is always drawn from the leg the market is actually trading, and the golden pocket and OTE zone sit where that leg puts them.
And it adds the number no fibonacci retracement indicator has ever given you: how deep this symbol actually retraces.
Included: automatic fibonacci retracement from confirmed swing pivots, an adjustable golden pocket and OTE zone filled on the chart, fibonacci extension targets beyond the leg, gold candles on the bars that traded inside the zone, a measured typical retracement depth for the current symbol, a dashboard reading the live fib retracement, and alerts on the zone.
❶ HOW THE FIBONACCI IS ANCHORED
Swing points come from confirmed pivots, so a leg only exists once the bars on both sides of its pivot have closed. Nothing appears and then vanishes.
The active leg runs from the anchor pivot to the extreme pivot. A new pivot beyond the extreme, in the same direction, extends the leg — the fibonacci retracement stretches with it. A pivot the other way flips the leg and the fib re-anchors to the new one. There is no setting for "which high to use", because the structure decides.
❷ THE GOLDEN POCKET AND THE OTE ZONE
The band between 0.618 and 0.786 is filled, with a soft halo behind it so it reads at a glance on a crowded chart. Smart money traders call this band the OTE — the Optimal Trade Entry — and it is where continuation entries are taken after a pullback, because it is deep enough that the move is discounted and shallow enough that the leg is still intact.
The golden pocket, the narrow 0.618–0.65 strip, sits along the top edge of that band. Both edges are adjustable, so set them to 0.618 and 0.65 if the pocket alone is what you trade, or to 0.5–0.618 if that is your definition of the golden zone. The whole tool follows whatever you set — the depth statistics, the dashboard and the alerts all read from the same two numbers.
❸ EXTENSIONS
Three projections beyond the leg, negative fib values by default at −0.272, −0.618 and −1.0. They are drawn from the same anchors as the retracement, so a target is measured against the same swing the entry came from rather than against a fib you dragged separately.
They ship switched off. A target at −1.0 sits far enough from price that the chart's autoscale stretches to include it and squashes the candles into a band — useful once you are in a trade, in the way while you are reading the chart. Switch them on in the Extensions section when you need them.
❹ A SPENT LEG STOPS SHOUTING
When price trades all the way through the anchor, the leg has done everything it was going to do. The fib cannot re-anchor until the next pivot confirms, so in the meantime the whole drawing fades: the levels dim, the golden zone loses its glow and its label reads spent.
It is a small thing that most tools get wrong. A fib left burning at full brightness over a setup that is already finished is not neutral — it is the chart arguing for a trade that is no longer there.
❺ TYPICAL RETRACEMENT DEPTH — what a fibonacci tool never shows
0.618 is a number from a sequence. It is not a fact about gold, or about the euro, or about this timeframe.
So the indicator measures it. Every time a leg pulls back and then makes a new extreme in the same direction, the depth of that pullback is recorded. The average of those depths is printed on the chart as its own line, and in the panel with the sample size behind it:
Typical depth 0.547 (23 legs)
Read it against the golden zone. When the measured depth sits at 0.55 and the golden zone starts at 0.618, this symbol has been turning BEFORE the golden zone — waiting for 0.618 means the move leaves without you. When it sits at 0.72, shallow entries at 0.5 have been getting run over.
Only pullbacks that were followed by continuation are counted. A leg that reversed outright is not a retracement, and folding those in is how a depth average gets quietly inflated past anything useful. Samples under eight legs are marked with a tilde, because an average of three is not an average.
❻ THE CHART ITSELF
Every candle stands in a soft lit column — an aura drawn behind it, its body stretched across the full range and left almost transparent with its outline switched off. The effect is a neon tube rather than a coloured rectangle.
The glow is not constant. Its brightness is driven by the bar's range against ATR, so a conviction candle burns and a doji barely registers. Strength becomes something you feel across a screen of price action instead of something you measure bar by bar, and the decoration is carrying information rather than existing for its own sake.
The candle on top has a translucent body against a solid outline. That one detail is what makes it read as part of the chart instead of a sticker placed over it: the background shows faintly through while the edge stays crisp.
Five palettes, because one set of colours cannot suit every background. Neon Bloom is turquoise against magenta, a matched pair that leaves gold free for the zone. Midnight Cyan is the common signature dark scheme, Vibrant Neon the high-contrast crypto pairing, Classic Soft the muted everyday version. Cool Blue drops red entirely — a number of full-time traders run blue against grey, since red carries a stress response that gets in the way of reading a chart objectively for eight hours at a stretch.
Bars of the current leg that closed inside the golden zone are drawn in gold, so the OTE is visible in the price action and not only in the band behind it. Only the current leg is marked — a highlight left over from a leg that ended months ago sits nowhere near the zone on screen and reads as a fault.
The levels follow the same restraint, in three tiers rather than nine identical lines: the two ends of the leg carry its direction, the levels between them sit back in muted grey, and the accent is spent once, on the golden zone. Candle colouring can be switched off entirely if you would rather keep your own.
❼ THE DASHBOARD
Leg direction and size, the live retracement as a single large number, whether price is inside the golden zone or has not reached it yet, the measured typical depth with its sample count, and the 0.618 and 0.786 prices ready to be turned into orders.
HOW TO USE IT
1 — Wait for the leg, not the level. The fib only exists after a confirmed pivot. That delay is the point: it is what stops you fibbing a swing that is still forming.
2 — Compare the golden zone with the typical depth line. If they overlap, the zone is doing its job on this symbol. If the typical depth sits well above or below it, trade the measured level and treat 0.618 as decoration.
3 — Use the extensions as the other half of the trade. An entry in the golden zone with a target at −0.272 is a defined structure; an entry with no target is a hope.
4 — Change the swing length to change the timeframe of the analysis. A short length gives the fib of the current intraday leg; a long one gives the fib of the swing the whole session is trading inside. Both are valid, and they answer different questions.
HOW IT WORKS
Pivot highs and lows of your chosen length define the leg. Span is the distance between anchor and extreme; a retracement level is the extreme moved back toward the anchor by its fraction of the span, and an extension is the same arithmetic past the extreme. The live retracement is the current close expressed in that same fraction. Depth statistics keep a rolling window of completed pullbacks and report their mean.
Works on any symbol and any timeframe. On higher timeframes raise the swing length so the fib tracks the swing rather than the noise inside it.
SETTINGS
▸ Swing — pivot length and how far levels extend to the right. ▸ Retracement Levels — each level individually switchable. ▸ Golden Zone / OTE — fill on or off, and both edges of the band. ▸ Extensions — three targets, any fib values you like. ▸ Depth Statistics — on or off, and how many legs are remembered. ▸ Visuals — labels, line width, five candle palettes plus off, aura glow and its strength, gold OTE bars, dashboard position.
ALERTS — price entered the golden zone, 0.618 reached, leg fully retraced, and fib re-anchored. All fire on closed bars.
NON-REPAINTING — the fib is anchored to confirmed pivots, which means a leg is only drawn after the bars either side of its pivot have closed. The depth record is built from completed pullbacks and never changes retroactively.
WHY THESE PARTS ARE ONE SCRIPT
The auto-anchoring, the golden zone and the depth measurement describe one object. Auto-anchoring alone gives you a fib that is correctly placed but still generic. The golden zone alone is a band drawn on an assumption. The measurement exists only to tell you whether that assumption holds on the symbol in front of you — and it needs the anchoring to have legs to measure. Remove any one and the other two lose their point.
This indicator is an educational market-analysis tool, not financial advice. The depth statistic describes pullbacks that have already happened on the loaded chart; it does not predict the next one. Always confirm with your own analysis and manage your risk.
インジケーター

Pivot Scoreboard [AFD]**How many times has price tested R1 this session — and did it hold or break each time?**
If you trade off pivots, you already know where the levels are. What you don't have is their record. Was this the second test of S1, or the fifth? Has the CPR held the last three times price came back to it, or is it starting to give way? Every pivot tool on the shelf draws the same lines and then goes quiet — so you end up trading levels with no memory, where the first test and the fifth look exactly alike.
**Pivot Scoreboard keeps the record** . For the current period's pivot ladder and Central Pivot Range, it counts **how many times price has tested each level**, and whether each test **held** (price closed back on the side it came from) or **broke** (price closed through). The market draws the lines; this one records what happened at them.
### Why it matters###
A level nobody has tested is just a line on a chart. A level price has tested four times and held four times is one the market is actively defending — and the day it finally breaks, that's a change you had no way to see when every touch looked the same. The count is the context: it tells you whether a level is being respected or worn down, this period, on this symbol. It is a plain description of what has already happened — never a prediction, and never a signal to act.
### At a glance###
###Capability - What you get ###
**Touch scoreboard** A per-level count of tests this period — on the level's label (`R1 ·3`) and in the card
**Held / broke split** For each core level, how many of those tests held versus broke |
**Nine pivot formulas** Switch the whole ladder between nine conventions (table below) |
**Central Pivot Range** The TC/BC balance band, kept on the floor-pivot basis whichever formula you pick
**Five anchors** Daily · Weekly · Monthly · Quarterly · Yearly — or Auto, which picks the shortest sensible one
**Five neutral alerts** CPR entry, CPR exit up, CPR exit down, first R1 test, first S1 test — all on confirmed closes
**Location read** demoted line still names where price sits right now (secondary to the score) |
**Appearance** Ten palettes, per-zone custom colours, an optional active-zone glow, configurable labels and card
### Nine pivot formulas, one ladder###
Trade the convention you already use — the scoreboard counts touches on whichever levels it draws. "Tiers" is how many resistance/support steps each formula defines above and below the pivot.
### Formulas ###
**Floor Pivots** *(default)* // PP = (H + L + C) / 3; R/S from 2·PP
**Fibonacci** // R/S at 0.382 / 0.618 / 1.0 × range, off PP
**Woodie** // Weights the period's open: PP = (H + L + 2·Open) / 4
**Classic** // R/S at PP ± 1 / 2 / 3 × range
**DM** // A conditional sum keyed to prior open vs close
**Camarilla** // Close ± 1.1·range ÷ {12, 6, 4, 2}, plus a wide 5th tier
**Frank Dilernia** // R/S at ½ / 0.618 / 1.0 × range, off PP
**Shadow Trader** // The floor-pivot tiers (its own published basis)
**ACD Method** // PP ± the distance from PP to the H/L midpoint
The **Central Pivot Range** stays on the floor-pivot basis whichever formula you choose, so the balance band is a stable reference and does not shift when you switch lenses.
### How a test is scored###
The ladder is built from the *prior* completed period's high, low and close:
```
PP = (prior high + prior low + prior close) / 3
R1 = 2 × PP − prior low S1 = 2 × PP − prior high
CPR: BC = (prior high + prior low) / 2 ; TC = 2 × PP − BC (sorted)
```
Then, for each drawn level, on every **confirmed** bar:
**Touched** — the bar's range includes the level (low ≤ level ≤ high).
**Test** — counted when a bar touches a level the *previous* confirmed bar did not. This "leading edge" rule means a level price hugs for five bars counts **once**, not five times.
**Held / broke** — *held* when the bar closes back on the side it approached from (a rejection); *broke* when it closes through (an acceptance).
**Reset** — counts return to zero at each new period, because the levels are redrawn from the new prior high/low/close.
These are **descriptions of what the chart has already done** — counts of observed touches — not predictions, signals, or trade instructions. A high test count is a record, not a probability.
### How it differs from Pivot Matrix + Zones ###
The account also publishes `Pivot Matrix + Zones `, a pivot **workbench** — compare formulas across packs side by side, score confluence, read the current location. Pivot Scoreboard is a different job: **one ladder, and a running tally of how price has interacted with it.** They are complements, not versions of each other — run whichever fits the question you're asking.
### The visuals###
- **Levels and CPR band.** PP is the strongest line; the CPR is a neutral balance band; further tiers fade with distance. Each level's label carries its test count.
- **Scoreboard card.** The core levels — R1, PP, S1 and the CPR boundaries — with their tests and held/broke split; hover the header for a note on the `3 (1/2)` format. Below them a demoted **Now** line (the current location, its cell tinted the zone's colour with automatically legible text), the furthest tier reached this period, and the anchor in use.
- **Active-zone glow (optional).** The zone price is currently in can be filled with a soft gradient that follows price. It is secondary — the scoreboard is the point — and can be turned off.
### How to use it###
- Leave **Anchor** on Auto and it picks the shortest sensible higher timeframe, or set it directly. The anchor must be **strictly above** your chart timeframe.
- Use **Map depth** — Core shows R1/S1 and the CPR; Extended adds the outer tiers, each with its own count.
- Everything else (formula, palette, custom colours, labels, the card, the glow) is a setting — configure it once to taste.
### What it deliberately does not do###
It does not compare formulas side by side, score confluence, or rank anything. It draws one ladder and keeps score on it. It makes **no** accuracy, reliability, profitability, probability or future-result claim; a test count describes the past, not the future. Educational chart context, not financial advice.
### Data, timeframes and repainting###
- Prior high/low/close is requested from the symbol's exchange-default feed, offset by one completed period **and** with `lookahead_on` — the standard anti-repaint form — so the current, still-forming period never enters the ladder. Every test and event is evaluated on **confirmed bar closes**; nothing is back-placed.
- The above describes the **mechanism**. Confirm the behaviour with the bar-replay tool on your own chart and timeframe before relying on it.
- **Yearly is the highest anchor**, so a chart at or above 12 months has no valid anchor and the script says so.
- **Standard time-based candles only.** Heikin Ashi, Renko, Range and similar are rejected, because the tests read chart OHLC.
- A running alert keeps the inputs, symbol and timeframe it was created with — recreate an alert after changing any of them.
### Originality and credit###
Other pivot tools plot levels; this one turns a single ladder into a **running record of how price has tested it** — test counts with held/broke per level, reset each period — deliberately restricted to descriptive context. Open source under the **Mozilla Public License 2.0**. © Auction Foundry LLC. インジケーター

Fibonacci Vault [JOAT] JackOfAllTrades presents — Fibonacci Vault
A self-anchoring Fibonacci engine that locks onto the latest impulse leg and keeps the Golden Pocket glowing — no manual drawing.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ WHAT IT IS
Drawing Fibonacci by hand means re-anchoring every time structure changes. Fibonacci Vault does it for you: it identifies the most recent confirmed impulse leg , lays the retracement shelves automatically, and treats the Golden Pocket (0.618–0.65) as a first-class zone rather than a single line. It is a pure confluence tool — it maps levels, it does not print buy/sell signals.
This is 100% original code, written from scratch. It does not reuse any other author's Fibonacci script.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ HOW IT WORKS
1. Leg detection. The tool tracks confirmed swing highs and lows (using your chosen strength) and defines the active leg between the two most recent. Leg direction is inferred from which swing printed first — a low-then-high sequence is an up-impulse, and vice versa.
2. Size filter. A leg is only used if it is large enough — a minimum size expressed in ATR multiples — so the Vault anchors to meaningful impulses and ignores insignificant wiggles. As structure evolves, the anchor re-arms itself automatically.
3. The shelves. From the active leg, the standard retracements are projected: 0.236, 0.382, 0.5, 0.618, 0.65, 0.786, plus the 0 and 1 leg endpoints. Optional extension shelves at 1.272 and 1.618 project continuation targets beyond the leg.
4. The Golden Pocket. The 0.618–0.65 band is rendered as a glowing zone , and price trading inside it can optionally tint the background — the area many traders watch for reactions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ WHAT YOU SEE
• Auto-anchored retracement shelves with optional price tags
• A glowing Golden Pocket zone and optional 1.272 / 1.618 extensions
• An impulse-leg line marking the anchor
• A resizable dashboard showing the active leg and direction, leg size in ATR, how far price has retraced (with a gauge), the Golden Pocket range and whether price is inside it, the nearest shelf, and the projected extensions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ HOW TO USE IT
• Use the shelves as confluence for entries, targets and invalidation — not as standalone signals.
• The Golden Pocket is the tool's focal zone; combine a pocket tap with your own trigger for a pullback entry.
• Extensions give objective targets once an impulse resumes.
• The retraced % readout tells you at a glance how deep the current pullback is.
• Works on all symbols and timeframes. Raise swing strength and the minimum leg size to anchor to larger structure only.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ NOTES & LIMITATIONS
Because the leg re-anchors on confirmed swings, the active leg updates as new structure is validated. Fibonacci levels are reference zones, not predictions — the tool is not financial advice and cannot guarantee a reaction at any level. Use it as confluence within your own method and risk plan.
— made with passion by officialjackofalltrade
インジケーター

Fib Trend & Legs (BoaBias)█ OVERVIEW
Fib Trend & Legs (BoaBias) draws Fibonacci structure on two nested scales at once: a parent fib across the full market-structure trend cycle (trend-up ↔ trend-down), and child fibs on the BOS / CHoCH swing legs inside that trend. Optional golden / deep zones plus a CT-fade Edge panel (ALMA overheat · MTF EMA overheat · fib-anchored VWAP · golden proximity) with matching overlays. Structural context for discretionary work and alert workflows — not a black-box signal service.
█ WHY UNIQUE
Most Fib tools lock to a single hand-picked or last-swing range. This map keeps parent trend and child legs alive together : the parent tracks the whole structure trend cycle while child legs lock on each confirmed BOS/CHoCH segment (plus an optional forming leg). The Edge panel is a CT-fade confluence over that map: ALMA run overheat and MTF EMA above/below overheat (same lengths as BoaBias public EMA/ALMA), proximity to the parent golden zone, and a VWAP anchored at the parent fib start — so stretch + pullback context sit on one overlay instead of juggling three scripts.
█ HOW TO USE
First use: If the indicator appears in the wrong scale (squashed or fullscreen), right-click the indicator → Pin to scale → Pin to right scale.
Leave Show Parent Fib and Show Child Fibs on; tune Pivot Length so swings match your timeframe (higher length = fewer, larger structure events).
Watch Golden Zone / Deep Zone on the parent for pullback context; enable the same zones on child legs when you trade inside-leg retracements.
Use Pattern Edge (top-right) for parent-fib CT-fade confluence and Child Edge (bottom-left) for the active leg — high when pullback-side ALMA/EMA is stretched into golden near fib VWAP. Not a standalone entry trigger.
Alerts: Chart → Create alert → this indicator → choose a condition (Golden/Deep entry, Strong Edge, Cross Fib VWAP, Break 0%, Full Retrace, Trend Up/Down, BOS, Upsweep/Dnsweep). Prefer Once per bar close for cleaner automation.
█ HOW IT WORKS
Market structure: Pivot highs/lows feed a trend state. Trend flips (and BOS / CHoCH / optional liquidity sweeps) define when ranges update. Algorithm mode: Extreme Points or Adjusted Points.
Parent fib (Trend): Anchored to the full active trend cycle — from the cycle origin to the opposing extreme — with retracements, optional extensions, and zone fills between configurable ratios (defaults emphasize 61.8–78.6 golden and 78.6–88.6 deep).
Child fibs (Legs): Each leg = protective origin (CHoCH / last protect wick) → running extreme ( ms.main wick). Locked on BOS with those bars frozen. L1 = newest locked, L2 = previous, Lf = forming. Optional H/L anchor marks show the two wicks. Parent trend flip clears child history.
Edge layer (CT fade): Two panels — Pattern (parent fib) and Child (active leg). Each scores golden proximity (≤25) + ALMA pullback CT (≤25) + EMA pullback CT (≤25) + fib-start VWAP (≤25). ALMA/EMA CT use the chart timeframe only (panel shows e.g. ALMA 1D). For a bull fib, CT scores short / below-EMA stretch; bear fib scores the opposite. Optional plots: chart-TF ALMA SuperTrend, enabled EMAs, Pattern + Child fib VWAPs.
Sweep markers: Optional “x” markers when structure detects upsweep / dnsweep liquidity grabs (style group for color, size, max count).
█ CTA
More BoaBias public Scripts: TradingView → Goldfinch_song → Scripts .
Ideas that use this stack: profile → Ideas tab.
█ LIMITATIONS
Pivot-based structure lags until pivots confirm; forming parent/child ranges can update until the next structure event.
Fib levels and zones are structural maps , not guaranteed support/resistance or trade signals.
Edge score is a confluence helper on the loaded history — descriptive, not predictive.
Heavy child history + many levels can hit drawing limits — lower Max Completed Child Legs or disable unused levels.
Educational / research overlay. Not financial advice.
Pine Script v6. License: MPL-2.0 . インジケーター

Fibonacci Retracement [AFD]Fibonacci levels that find their own two points, and keep finding them.
THE PROBLEM WITH DRAWING THEM BY HAND
A retracement is two clicks and a judgement call. The judgement is the hard part - which high, which low, and whether the leg you just measured is one move or two glued together. Then the session rolls over and the answer changes, so you do it again.
This draws the grid from the chart's own data instead. You tell it which range matters and it finds the two points itself, every bar, forever. Come back after the open and it has already re-anchored to the new day.
PICKING THE RANGE
Four choices, and they are all self-maintaining.
Current Day is the default and it is the one most intraday traders want - today's high and low, re-anchoring at each session open. Previous Day is yesterday's, and it draws from yesterday's start rather than today's, so the geometry sits over the data it came from. Current Week is the same idea one period up.
Latest Swing is the interesting one. It takes the last confirmed swing high and low, and it insists they alternate.
That insistence matters more than it sounds. ta.pivothigh() and ta.pivotlow() are independent detectors, and a real chart prints two, three, four highs in a row with no qualifying low between them. Take the most recent of each and you get a "leg" whose high end is simply the latest high, not the highest one in the span - so the grid measures a move that never happened as a single push, and 0.618 lands somewhere with no relationship to anything. Here, a pivot on the same side as the last one replaces it only if it is more extreme, and a pivot on the opposite side starts the next leg. On clean impulses this changes nothing at all. On ragged ones it pulls the anchor back to the extreme the leg actually reached.
Swing Strength sets how many bars have to print either side of a pivot before it counts. Higher means fewer and more significant swings, and a longer wait.
WHICH WAY THE LEG RUNS
Fib Direction is Auto, Long or Short, and it is the one control that stays live no matter what else you switch off - because it governs both grids, not just the near one.
Auto works out the direction from the range you actually chose. It looks at the two extremes that range uses and puts 0.00 at whichever one printed later, on the reasoning that the more recent extreme is the one the move ended on. So on Current Day, a day that made its low at 10:15 and its high at 15:50 gets 0.00 at the high and a grid you read downwards. Force it with Long or Short when you disagree.
THE MINUS SIGN, AND WHY THE EXTENSIONS HAVE ONE
Everything on this chart is numbered from the leg end. 0.00 sits at the recent extreme that finished the move, 1.00 at the point it started from. That way the number you read is retracement depth, and it means the same thing whichever direction the leg ran.
The extensions continue that same line past 0.00, which is why they are negative. -0.618 sits 0.618 of the leg's range beyond the 0.00 line, in the direction the leg was travelling - exactly the way 0.618 sits 0.618 of the range on the other side of it. One ruler, and the sign tells you which side of the origin you are on.
If that looks unfamiliar, put TradingView's own Fib Retracement tool on the same two points. Its tags read the same: -0.618, not 1.618. The 1.618 reading belongs to the Trend-Based Fib Extension tool, which measures from the leg origin instead - a perfectly good convention, but putting both on one chart gives you two rulers running opposite directions from the same 1.00 line, and sooner or later you read the wrong one.
Six ratios are on offer - -0.272, -0.414, -0.618, -1.00, -1.618, -3.236 - and they ship switched off. They are levels, not targets. They are arithmetic on the leg. This script says nothing about whether price gets to one, marks no entry or exit, and has no alerts of any kind.
THE SECOND GRID
Switch on Show HTF Context and a second grid draws behind the first, anchored to the latest confirmed swing on a higher timeframe and dimmed so it stays context rather than competing for your attention. It ships off, so a fresh add gives you one clean grid.
HTF Mode is where this differs from most higher-timeframe overlays. Adaptive , the default, does not hold a fixed interval - it takes the next one up from whatever chart you are on. A 5-minute chart anchors to the 15-minute swing, a 1-hour chart to the 4-hour. Change timeframe and it follows you, and because it always resolves to something strictly higher, it cannot silently resolve to nothing.
Custom lets you name the timeframe instead, which is what you want when a specific one matters - the 4-hour swing while you scalp the 5, say. The catch is that it has to be strictly higher than the chart. Set Custom to 240 and drop to a 4-hour chart and the grid disappears with no warning label, because 240 is not higher than 240.
Both grids keep their own level checkboxes, line width, label size and text colour, so you can make the context layer as quiet as you like. The extension ratios are the exception: which ratios get drawn is shared by both grids, while which grids draw them is not. Each layer has its own extension toggle. The tooltips say which is which, because a control that looks global and is not is worse than one that plainly is.
THE SETTINGS ACTUALLY WORTH YOUR TIME
Most of the 63 inputs are the ordinary colour-and-width kind. These are the ones that change how the thing reads.
Color Mode defaults to Gradient, and it is doing real work. Each level takes its colour from its own ratio, so hue states depth - the shallow end and the deep end are different colours, and the 0.618-0.786 span reads as a region instead of two more identical lines. There are five presets plus Custom. Single Color reverts to one colour per grid if you prefer the classic look, and either way whatever transparency you pick in the colour picker is the transparency you get.
Enable Glow draws every level twice - a wide, near-transparent halo under a thin bright core. It costs nothing but line objects and it is the difference between a grid you can see on a busy chart and a set of hairlines you lose against the candles. Turn it off when the chart is crowded.
Fill Between Levels shades the intervals. OTE Band, the default, shades only 0.618-0.786. All Bands shades everything, Custom Bands lets you pick, and Off is off. The fills are independent of the line checkboxes, so you can shade a band whose boundary lines are hidden.
Highlight Golden Zone at Price is the one piece of reactive styling here. While the last close is between the 0.618 and 0.786 prices, that band draws more opaque and lifts off the chart. It creates nothing new - no box, no zone object, no centre line, no label - it just restyles the band the fill control already drew, and Highlight Strength sets by how much. It is arithmetic on two numbers already on your screen.
HTF Layer Dimming adds transparency to the whole context grid on top of whatever its colours already carry, which is how the second grid stays behind the first instead of doubling the clutter.
Extension Fade fades each extension a little further as it travels away from the leg, so the near ones read as more prominent than the far ones. It counts only the extensions you actually enabled, not their slot in the ladder - so if you turn on just the far ones, the nearest of them is still drawn at full strength rather than arriving pre-dimmed.
Ratio Label Format switches the tags between decimal and percent - 0.618 or 61.8%, minus signs intact either way. Show Price Labels adds the actual price beside each ratio; it is off by default because eight prices is a lot of text.
Line Extension Left/Right and Label Right Offset control how far the grid reaches and how far past it the tags sit. The defaults keep the tags in the empty margin, clear of both the candles and the price scale.
One last thing: any control that cannot do anything greys itself out. Switch the context grid off and its settings dim. Switch to Gradient and the single-colour pickers dim. There is no control in this script that looks live, takes a value, and quietly does nothing.
GETTING STARTED
Add it. You get one grid on today's range, gradient-coloured, golden zone shaded.
Want a different range? Anchor Range. Leave Fib Direction on Auto until it tells you something you disagree with.
Want context from above? Show HTF Context, and leave HTF Mode on Adaptive unless a specific timeframe matters to you.
Want the extensions? Turn them on for whichever grid you want them on, then pick your ratios.
Too busy? Glow off, Fill Between Levels off. You are back to plain lines.
THINGS THAT WILL LOOK LIKE BUGS AND ARE NOT
Swing anchors arrive late. A pivot is not a pivot until Swing Strength bars have printed after it, so on Latest Swing and on the context grid you are always looking at the last confirmed pivot, not the bar in front of you. When a newer one confirms, the anchor moves. That is the price of anchoring to something you can only recognise in hindsight, and it is the same trade every swing-based tool makes.
The day and week ranges are live. Current Day and Current Week use the period's running high and low, so the grid re-scales when the session makes a new extreme. It is showing you the range as it stands, not a finished one.
It draws one grid, not a history of them. You get the current grid, redrawn as things move. There is no trail of old ones behind you.
Higher-timeframe data uses the documented confirmed-value form - the expression is offset by one bar and the request passes barmerge.lookahead_on. Together, that is the pattern the Pine Script documentation gives for reading a higher timeframe without pulling unclosed data into historical bars. The source is open, so you can read the call rather than take my word for it.
Custom HTF at or below the chart timeframe draws nothing at all , and says nothing about it. Worth remembering before you conclude the context layer is broken.
A 12-month chart draws no context grid. 12M is the top of TradingView's interval list, so Adaptive has nothing left to step up to. 3-month and 6-month charts both work.
Prices come from standard OHLC via ticker.standard(), so your levels are the same on Heikin Ashi, Renko, Kagi, Line Break and Point and Figure as they are on candles. The synthetic geometry of those chart types can still put the lines somewhere you would not expect.
WHAT IT DELIBERATELY DOES NOT DO
No alerts. No signals. No scores, ratings or probabilities. No zones, no nested zones, no centre line. It draws Fibonacci levels, labels them honestly, and stops. If you want something that tells you when to act, this is not it.
WHY IT IS DIFFERENT
Four self-maintaining ranges instead of a two-point drag you place today and replace tomorrow. Two independently configured grids on one continuous number line, with the higher one dimmed to sit behind rather than on top. Extensions numbered on the same ruler as the retracements, matching the tags TradingView's own tool gives those prices, rather than a second scale running the other way. A swing range that is genuinely one leg, because the pivot pair is kept alternating. And colour that carries information - a level's hue states its depth - instead of a palette applied to identical lines.
Open source under the Mozilla Public License 2.0. インジケーター

CHoCH SetupCHoCH Setup is a comprehensive multi-timeframe analysis tool designed to identify structural shifts, validate them with volume and momentum, and highlight high-probability Fair Value Gap (FVG) entries.
Multi-Timeframe (MTF) Alignment: Evaluates a Higher Timeframe (HTF) directional bias to ensure your current timeframe trades align with the macro trend.
Volume Point of Control (POC): Dynamically calculates the high-volume node of recent periods. Breaks through the POC indicate strength.
BLVL (Break Level) CHoCH & BOS: Identifies structural market shifts. A CHoCH (Change of Character) triggers the drawing of the main setup box.
Volume Profile Inside CHoCH Box: Visualizes the volume intensity directly within the CHoCH box to validate the momentum of the breakout.
RSI Tracking Polyline: Tracks the RSI behavior historically to identify if the setup occurred in overbought/oversold conditions or if there is momentum divergence.
FVG Engine: Highlights bullish and bearish Fair Value Gaps. It can optionally filter for "bounces" or mitigations where price taps into the FVG after a structural break.
CHoCH Fibonacci Zones & Targets: Automatically plots a Buy/Sell mitigation zone (0.382 - 0.618) and extended target levels (1.47, 1.55, 2.56, 2.6, 2.68) for taking profit.
HUD Dashboard: Provides a real-time summary of the HTF Bias, Current TF Bias, POC Trap State, and the strength of the current CHoCH.
🎯 Identifying an "A+ Setup"
An A+ setup occurs when multiple confluences align simultaneously. Look for the following conditions on your dashboard and chart:
Timeframe Alignment: Both HTF Bias and Current TF Bias are pointing in the same direction.
Strong CHoCH Signal: A CHoCH break happens in the direction of the HTF Bias, backed by above-average volume (indicated by thick volume columns inside the CHoCH box).
POC Confirmation: Price breaks and holds beyond the POC level, avoiding a "Trap" state (e.g., a "Strong Bullish" state on the dashboard).
FVG Creation: The impulse move that caused the CHoCH leaves behind a Fair Value Gap.
Entry Execution: Price pulls back into the CHoCH Fibo Zone (0.382 - 0.618) and taps the FVG. This is the optimal entry zone targeting the extended Fibo levels (1.47+).
🔔 Alerts
The script includes built-in alert conditions tailored for this setup:
Bullish CHoCH Direction FVG Formed!: Triggers when a new bullish FVG forms immediately following a Bullish CHoCH.
Bearish CHoCH Direction FVG Formed!: Triggers when a new bearish FVG forms immediately following a Bearish CHoCH.
(To set these up: Create an alert on TradingView, select the indicator, and choose "Any alert() function call".)
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial or trading advice. Trading in financial markets involves a high degree of risk, and past performance of any indicator or setup is not indicative of future results. Always backtest strategies thoroughly and use proper risk management.* インジケーター

[ A L P H A X ] CADENCE - Elliott Wave + Fibonacci + StructureAlphaX CADENCE — Elliott Wave + Fibonacci + Market Structure Engine: Live W2/W4 Golden Zone Pullbacks, W3 Momentum Breakout, RSI Divergence Exit Warnings & Fibonacci Extension Targets
AlphaX CADENCE is a professional-grade Elliott Wave and Fibonacci confluence system built around the most powerful and time-tested framework in technical analysis — the five-wave impulse and three-wave corrective structure that governs institutional price delivery across all timeframes and all markets. Where most Elliott Wave indicators focus on labeling historical waves after the fact, CADENCE is engineered for live trade execution : it identifies the current wave phase in real time, marks the active golden Fibonacci pullback zone, and fires entry signals at the precise moment price enters the optimal entry window with market structure, higher timeframe bias, volume, and momentum confirmation all aligned. Four setup types — Wave 2 Golden Zone, Wave 4 Golden Zone, Wave 3 Momentum Breakout, and ABC Correction End — cover both pullback and breakout entries within the Elliott Wave framework. A dedicated RSI divergence exit warning system alerts you to potential Wave 5 exhaustion before the reversal strikes. Fibonacci extension targets (TP1 at Wave 1 high, TP2 at 1.618× extension) are computed automatically from the identified impulse leg. Designed for traders who want the rigor of Elliott Wave theory applied with quantitative precision, across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
〰 The Elliott Wave Framework — Why Institutional Price Moves in Waves
Elliott Wave theory is one of the oldest and most institutionally respected frameworks in technical analysis. Its core observation is that market prices do not move randomly — they move in structured, repeating patterns that reflect the collective psychology of all participants. The primary pattern is the five-wave impulse:
Impulse wave structure (bull):
Wave 0 → Wave 1: The initial impulse move — institutions begin accumulating, price moves sharply higher
Wave 1 → Wave 2: The first pullback — retail traders who missed the initial move sell back gains; Wave 2 never fully retraces Wave 1
Wave 2 → Wave 3: The most powerful wave — institutional participation accelerates, Wave 3 is typically the longest and strongest impulse
Wave 3 → Wave 4: A corrective pullback after Wave 3's extension, typically shallower than Wave 2; Wave 4 never enters Wave 1's territory in a valid impulse
Wave 4 → Wave 5: The final impulse leg, often accompanied by declining momentum and RSI divergence as the move exhausts
Why the golden zone matters: Waves 2 and 4 are the pullback waves — the retracement phases where price temporarily retreats before the next impulse. The Fibonacci golden zone (61.8%–38.2% retracement of the prior wave) is where these pullbacks most frequently terminate and reverse. Entering at the golden zone means entering with the lowest possible risk relative to the impulse target — the tight stop is at the wave invalidation level, and the target is the next wave's extension.
CADENCE is built to detect when the market is in a Wave 2 or Wave 4 pullback, when price has entered the golden zone, and when a qualified rejection candle confirms the reversal — producing entries at the statistically optimal Fibonacci reversal level within a confirmed Elliott Wave structure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌊 The Wave Engine — Pivot-Based Leg Classification
CADENCE uses a real-time swing pivot detection system to classify the current Elliott Wave phase from confirmed price structure. On every bar, confirmed fractal pivot highs and lows are collected into a rolling swing array (configurable depth, default: 8 swings). The alternating sequence of highs and lows is then pattern-matched against Elliott Wave leg configurations.
3-swing classification (W2 phase):
When the three most recent confirmed swings form the pattern Low → High → Low (for bull impulse), CADENCE identifies:
W0 at the first low (impulse origin)
W1 at the high (impulse peak)
W2 in progress at the current low (the pullback)
If W1 is above W0 (valid impulse direction), the wave phase is classified as W2 PULL — the system is watching for the golden zone entry.
5-swing classification (W4 phase):
When five confirmed swings form Low → High → Low → High → Low (bull), CADENCE identifies all five wave points (W0 through W4). When W3 is above W1 (confirming the wave hierarchy) and W1 is above W0, the phase is classified as W4 PULL — the system is watching for the Wave 4 golden zone entry before the final Wave 5 push.
Wave phase display: The current wave phase is displayed prominently on the dashboard as W2 PULL, W4 PULL, CORR, or SCAN. This single row tells you exactly where CADENCE believes the market is in its current impulse cycle.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Fibonacci Golden Zone — The Optimal Entry Window
The Fibonacci golden zone is the price range between the 38.2% and 61.8% retracement of the prior impulse wave. This zone, sometimes called the "golden pocket," represents the most common termination range for corrective waves within a healthy impulse structure.
Wave 2 golden zone calculation:
Zone top = W1 − (W1 − W0) × 38.2%
Zone bottom = W1 − (W1 − W0) × 61.8%
Three Fibonacci levels displayed: 38.2% (dotted), 50.0% (solid, the equilibrium), 61.8% (dotted)
Wave 4 golden zone calculation:
Computed from the W2 → W3 leg rather than the W0 → W1 leg, reflecting that Wave 4 corrects Wave 3 specifically:
Zone top = W3 − (W3 − W2) × 38.2%
Zone bottom = W3 − (W3 − W2) × 61.8%
Golden zone visualization:
A semi-transparent box spans the golden zone from the prior wave's start bar to 15 bars beyond the current bar. Yellow-green for bull zones, red for bear zones. The box extends forward in real time — you can see the target zone approaching as price pulls back toward it.
In-zone detection:
Price is considered inside the golden zone when the bar's low (bull) or high (bear) reaches within the zone boundaries AND the candle closes on the correct side of the zone. The close-inside condition ensures the touch is a genuine rejection from within the zone rather than a pass-through.
Live Fibonacci levels:
The 38.2%, 50%, and 61.8% retracement lines are plotted from the Wave 1 pivot bar to 15 bars beyond current, updating in real time as the wave structure develops. The 50% line is plotted as a brighter solid line — the golden pocket midpoint.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Four Live Setup Types
CADENCE fires signals through four distinct entry setups, each targeting a specific phase of the Elliott Wave cycle. Each has different risk/reward characteristics and different position within the wave sequence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
W2 Golden Zone — Wave 2 Pullback Entry
The most frequent high-conviction setup. Fires when price retraces into the 38.2%–61.8% golden zone of Wave 1 during an identified Wave 2 correction.
Full conditions for long:
Bull impulse identified (three-swing pattern W0→W1→W2)
Wave phase is W2 PULL
Market structure is bullish (or HTF is bullish as a fallback)
The bar's low has entered the golden zone (between 38.2% and 61.8% retracement)
The bar closes above the zone bottom — confirming rejection, not breakdown
Wave 2 (the pullback) is holding above Wave 0 (the impulse origin) — the Elliott Wave rule that W2 never fully retraces W1 is validated
The impulse leg (W1 − W0) is at least the minimum size (default: 1.0× ATR) — filtering micro-waves
A qualifying bull trigger candle (rejection wick above 48% of range or bullish engulfing) is present
Stop placement: Below the minimum of W2 and W0 (the prior impulse origin) plus the ATR buffer. If price violates Wave 0, the impulse structure is invalid by Elliott Wave rules.
Targets: TP1 at W1 (the prior wave high); TP2 at the close plus 1.618× the impulse leg distance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
W4 Golden Zone — Wave 4 Pullback Entry
The higher-conviction pullback setup. Wave 4 occurs after Wave 3 — the strongest and longest wave — has completed. The W4 correction offers the final opportunity to enter before Wave 5.
Key differences from W2:
Requires confirmed market structure (structure == 1 for bull, not just HTF fallback) — Wave 4 entries demand structural confirmation
Golden zone is computed from the W2 → W3 leg (correcting Wave 3, not Wave 1)
Requires five confirmed swings (W0 through W4) — a more mature wave count
Why W4 is high-conviction: By the time a Wave 4 is identifiable, the impulse sequence has completed three waves with Wave 3 confirming above Wave 1. The institutional participants who accumulated during Wave 2 are in strong profit and will add to positions during Wave 4. The golden zone for Wave 4 is the most actively defended pullback level in the entire five-wave sequence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
W3 Momentum Breakout — Wave 3 Entry
The highest-momentum setup. Fires when price breaks above the Wave 1 high (bull) or below the Wave 1 low (bear) during a Wave 2 or Wave 4 pullback phase — the moment Wave 3 begins.
Long conditions:
Wave phase is W2 PULL or W4 PULL (the correction is completing)
Price closes above the last identified swing high (the Wave 1 level) in a single bar
The prior bar was at or below the breakout level
Market structure is bullish
Impulse leg size meets the minimum threshold
The W3 breakout philosophy: The Wave 3 breakout is the moment institutional participation accelerates explosively — the "Wall of Worry" is cleared and the crowd that was short begins covering. Entering at this exact bar captures the beginning of the fastest and largest wave of the impulse. The risk is paying a higher price than the golden zone pullback entries, but the momentum confirmation is unambiguous.
Target for W3 entries: TP1 is at entry + the full impulse leg distance (projecting a Wave 3 equal to Wave 1); TP2 is at the 1.618× extension.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ABC Correction End — Three-Wave Reversal Entry
The counter-trend corrective setup. Disabled by default — the lower-conviction alternate wave scenario. Fires when a three-wave ABC correction retraces to the 61.8% level of the prior impulse with a rejection candle.
ABC conditions (bull):
Three-swing pattern confirms an ABC correction structure (Low → High → Low within a bull structure)
Price reaches the 61.8% retracement of the A leg from the B peak
Close recovers back above the 61.8% level
Bull trigger candle confirms
Why ABC is off by default: ABC entries are counter-corrective — they attempt to catch the end of a pullback at a single Fibonacci level without the full five-wave context. They work well when the prior impulse was clean and the ABC is proportional, but carry higher failure rates in choppy or range-bound conditions. Enable this setup only after studying its behavior on your specific instrument and timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ W5 RSI Divergence Exit Warning System
One of CADENCE's most valuable risk management features is the dedicated Wave 5 exhaustion detection system. When price is making new highs in a bull structure but the RSI is simultaneously making lower highs — a classic bearish divergence — the system plots small orange circles above the relevant bars as exit warnings.
How the divergence is detected:
Using confirmed pivot highs and lows from both price and RSI, CADENCE identifies:
Bearish divergence (bull W5 exhaustion): Price's pivot high exceeds the prior pivot high, but RSI's corresponding pivot is below its prior reading — price strength is not confirmed by momentum
Bullish divergence (bear W5 exhaustion): Price's pivot low is below the prior low, but RSI's reading is above its prior — selling momentum is fading at lower prices
Why W5 divergence is the most important Elliott Wave exit signal: Wave 5 is structurally the most exhausted wave — it occurs after four prior waves have already moved in the impulse direction, and is frequently accompanied by declining institutional participation. RSI divergence at Wave 5 is the most reliable early warning of the corrective ABC wave that follows. The small orange circles appear at the divergence bars — not blocking entry signals (divergence can persist for multiple bars) but providing continuous awareness that the impulse is aging.
These exit warnings fire separate alert conditions — CADENCE W5 Exit Bear and W5 Exit Bull — allowing you to set targeted notifications that prompt profit-taking on active wave trades.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 10-Layer Confluence Engine
Every setup is scored through a 10-layer confluence system. The default minimum is 4 of 10, producing a relatively permissive signal environment. Raising the minimum to 6–7 restricts signals to the highest-conviction wave setups only.
Layer 1 — Market Structure (1 point):
The current market structure state (bull or bear from the BOS/CHoCH engine) aligns with the signal direction. A W2 Golden Long in a bullish structure scores this point. A W2 Golden Long against a bearish structure does not.
Layer 2 — Fibonacci Zone (1 point):
Price is inside the applicable golden zone (W2 zone for W2 entries, W4 zone for W4 entries). For W3 and ABC entries, this layer is always credited since those setups do not require Fibonacci zone confirmation.
Layer 3 — Trigger Candle (1 point):
A qualifying bull or bear trigger candle is present — either a rejection pin bar (lower wick above 48% of range for bull) or a bullish engulfing. For W3 momentum entries, this layer is always credited since the breakout bar itself is the trigger.
Layer 4 — HTF Bias (1 point):
The higher timeframe EMA structure agrees with the signal direction. Can be set as a hard block (requireHtf = on) or as a soft scoring layer (default: off). When HTF is disabled, this layer awards 1 neutral point.
Layer 5 — Volume Expansion (1 point):
Current bar volume exceeds the volume moving average by the configured multiplier (default: 1.1×). Confirms institutional participation on the entry bar.
Layer 6 — Non-Chop Market (1 point):
Choppiness Index is below the configured threshold. Also enforced as a hard gate — extreme chop blocks all signals regardless of wave count quality.
Layer 7 — RSI Zone (1 point, optional):
RSI is in the appropriate zone for the signal direction — above the minimum for longs (default: 38), below the maximum for shorts (default: 62). Off by default — when enabled, adds a momentum context filter.
Layer 8 — EMA Trend Filter (1 point, optional):
Price is on the correct side of the configurable EMA. Off by default — when enabled, adds a trend alignment filter.
Layer 9 — RSI Momentum (1 point, optional):
RSI is actively rising (bull) or falling (bear) on the current bar — momentum is accelerating in the signal direction. Off by default.
Layer 10 — Base Credit (1 point):
A flat credit awarded to all qualifying setups — the minimum point that acknowledges the setup type itself has passed its structural requirements. This ensures that even with optional filters disabled, the maximum achievable score is 10.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Fibonacci Extension Targets — Automatic TP Calculation
Every CADENCE signal produces two automatically computed take profit levels based on the identified impulse wave measurement.
TP1 — Wave 1 High / Wave Projection:
For W2 and W4 golden zone entries, TP1 is set at the prior Wave 1 level — the high that preceded the current pullback. This is the minimum structural target: the expectation that Wave 3 or Wave 5 will at least reclaim Wave 1's high. For W3 momentum entries, TP1 is set at entry plus the full impulse leg distance (Wave 3 = Wave 1 in length).
TP2 — 1.618× Extension:
The primary Fibonacci extension target, computed as `entry + impulse_leg × 1.618`. The 1.618 extension (the Golden Ratio) is the most common Wave 3 termination level and a standard Wave 5 target when Wave 3 is extended. This level is configurable (default: 1.618, range: 1.0–2.618).
Visual output: TP1 is plotted as a lime-green dotted line. TP2 is plotted as a bright yellow-green dashed line at width 2. Both extend forward by the configured guide bars (default: 35). The stop loss is plotted as a red dotted line below the wave invalidation level plus ATR buffer.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 9-row real-time dashboard displays the complete wave analysis state.
Wave Phase — W2 PULL, W4 PULL, CORR, or SCAN. The current position within the Elliott Wave cycle. Purple color
Structure — BULL MS (bullish market structure), BEAR MS (bearish), or RANGE (no clear structural direction)
Setup — the current or most recent setup name: W2 GOLDEN, W4 GOLDEN, W3 BREAK, ABC END, ARM LONG (golden zone approached but not yet triggered), ARM SHORT, or —. Color-coded by directional bias
Layers — the current confluence score out of 10. Yellow-green when at or above the minimum threshold
Chop — live Choppiness Index value. Yellow-green when clear, red when above the stand-aside threshold
TP1 — the current or most recent TP1 level. Shows — between signals
TP2 — the current or most recent TP2 level
HTF — the higher timeframe EMA bias: UP, DOWN, or MIX
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Live Wave Path Lines — lines connecting the most recent confirmed swing pivots, color-coded yellow-green for bull impulse and red for bear impulse. Shows the current wave sequence structure directly on the price chart
Golden Zone Box — semi-transparent box spanning the 38.2%–61.8% Fibonacci retracement zone from the prior wave. Yellow-green for bull, red for bear. Extends 15 bars forward and updates in real time as the wave structure evolves
Fibonacci Levels — three horizontal dotted/solid lines at 38.2%, 50%, and 61.8% retracement from the Wave 1 pivot bar. The 50% level is the brightest solid line — the golden pocket center
▲ Triangle (below bar, bright yellow-green) — bull entry signal. W2 Golden, W4 Golden, W3 Breakout, or ABC End
▼ Triangle (above bar, bright red) — bear entry signal
● Orange Circle (above bar) — W5 bearish RSI divergence exit warning
● Orange Circle (below bar) — W5 bullish RSI divergence exit warning
Entry Line (bull/bear color dashed) — entry close level extending guideExtend bars forward
Stop Loss Line (red dotted) — structural stop below wave invalidation level plus ATR buffer
TP1 Line (lime dotted) — first target at Wave 1 high or equal-leg projection
TP2 Line (bright yellow-green dashed, width 2) — 1.618× Fibonacci extension target
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX CADENCE — Step by Step
Step 1 — Read the Wave Phase
Check the Wave Phase row on the dashboard. W2 PULL or W4 PULL means the system has identified a valid pullback phase — a setup may be approaching
Confirm Structure — BULL MS for long setups, BEAR MS for short. If Structure shows RANGE, the wave context is weaker
Check the golden zone box on the chart. Is it near current price? Is price approaching from above (bull W2 pullback)?
Step 2 — Watch the Golden Zone Approach
When Setup shows ARM LONG, price is approaching the golden zone. Watch for a rejection candle forming inside or at the zone boundary
Check Layers — if it is approaching the minimum threshold, a signal is likely imminent. Check HTF to confirm the macro direction
The Fibonacci levels on the chart show the exact 38.2%, 50%, and 61.8% prices — monitor for price rejection specifically at the 61.8% level (the deepest golden zone entry) for the highest-conviction golden pocket entry
Step 3 — Enter on the Triangle Signal
A ▲ triangle below the bar confirms all wave, Fibonacci, structural, and confluence conditions are met simultaneously. The setup name shows on the dashboard (W2 GOLDEN, W4 GOLDEN, W3 BREAK, ABC END)
The SL line is at the structural wave invalidation level — if price closes below Wave 0 (W2 entries) or below Wave 2 (W4 entries), the Elliott Wave count is invalid. This is a structural stop, not arbitrary ATR
TP1 is at the prior Wave 1 high — the minimum expectation for the next impulse wave
TP2 is at the 1.618× Fibonacci extension — the classical Wave 3 or Wave 5 termination level
Step 4 — Monitor for W5 Exit Warnings
As price advances toward TP2, watch for the orange W5 exit warning circles appearing above (bear divergence) or below (bull divergence) price bars
When orange circles begin appearing regularly as price approaches TP2, consider taking full profit rather than holding for further extension
A W5 divergence warning combined with price near TP2 is the strongest exit signal the system produces
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Wave Phase shows SCAN or CORR — the system has not yet identified a clear impulse structure with sufficient pivot history. SCAN means fewer than 3 qualified swings are stored; CORR means the three-swing pattern does not satisfy the impulse directional rules. Do not force entries without clear wave context
Chop Index is red on the dashboard — the hard chop gate is active. Elliott Wave patterns are fundamentally trend-following structures and lose their predictive power in extreme chop. All signals are blocked
Structure shows RANGE — no clear bullish or bearish market structure is established. W2 and W4 golden zone entries without structural support are lower quality. Consider waiting for a CHoCH or BOS to establish directional structure before entering
Layers score is at minimum (4/10) with all optional filters disabled — the bare-minimum score means only the most basic conditions are met. In this environment, require a higher layer count (increase minimum to 5–6) or wait for more confluence factors to align
W5 exit warnings are already appearing when entering — if orange circles are appearing before a new entry signal fires, RSI divergence is already present. This suggests the wave is potentially in a late W5 stage rather than a healthy W2 or W4. Do not enter a new position when existing divergence warnings are active
Golden zone is very narrow (W4 zone nearly coincides with stop) — when the 38.2% and 61.8% levels are very close together (small Wave 3 leg), the golden zone provides minimal entry edge. The risk/reward is poor when the zone height is less than 0.5× ATR
The ideal CADENCE setup:
Wave Phase W4 PULL with confirmed 5-swing structure
Market structure BULL MS or BEAR MS — clear directional bias
Price at or near the 61.8% golden zone boundary — the deepest valid pullback
HTF aligned with impulse direction
Volume expanding on the rejection bar
Layers at 7–8 out of 10
No W5 divergence warnings on the current sequence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
〰 Real-time Elliott Wave classification — 3-swing (W2 phase) and 5-swing (W4 phase) pattern matching from confirmed fractal pivots, updated on every bar
📐 Adaptive Fibonacci golden zone — 38.2%–61.8% retracement zone computed from the current wave's impulse leg, rendered as a live box and three labeled levels updating in real time
📦 Live wave path visualization — lines connecting the most recent confirmed swing pivots, color-coded by impulse direction, showing the current wave sequence structure
🏷 Four setup types — W2 Golden Zone, W4 Golden Zone, W3 Momentum Breakout, and ABC Correction End (optional) — covering both pullback and breakout entries within the wave framework
📈 Fibonacci extension targets — TP1 at the Wave 1 high (minimum wave projection), TP2 at the configurable Fibonacci extension (default: 1.618×) automatically computed from the identified impulse leg
⚠ W5 RSI Divergence Exit Warning — pivot-based RSI divergence detection produces orange warning circles as price approaches potential Wave 5 exhaustion, with dedicated alert conditions
🧠 10-layer confluence engine — Market Structure, Fibonacci Zone, Trigger Candle, HTF Bias, Volume, Non-Chop, RSI Zone, EMA Filter, RSI Momentum, and Base Credit scored independently
🛡 Wave-anchored structural stop — SL placed below the Elliott Wave invalidation point (Wave 0 for W2 entries, Wave 2 for W4 entries) plus ATR buffer — not an arbitrary distance
📊 Live dashboard — Wave Phase, Structure, Setup, Layers, Chop, TP1, TP2, and HTF updated on every bar
📡 JSON alerts on FIRED — structured alert payload with weapon, side, setup name, entry, SL, TP1, TP2 for webhook integration
🔔 4 alert conditions — CADENCE Long, CADENCE Short, W5 Exit Bear Warning, W5 Exit Bull Warning
⚙ Fully configurable — pivot length, minimum leg size, Fibonacci zone levels, extension target, RSI divergence settings, all four setup enables, confluence minimum, HTF parameters, all optional filters, chop gate, SL buffer, guide bars, wave path and golden box display, dashboard size, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Wave Engine
Swing Pivot Length — fractal sensitivity for pivot detection (default: 5)
ATR Length — ATR calculation lookback (default: 14)
Min Leg Size (xATR) — minimum impulse leg height in ATR multiples for wave classification (default: 1.0)
Swings Stored — rolling swing array depth (default: 8)
Fibonacci Zones
Pullback Zone Low (Fib) — lower Fibonacci level of the golden zone (default: 0.382)
Pullback Zone High (Fib) — upper Fibonacci level (default: 0.618)
TP2 Extension — Fibonacci extension level for the full measured move target (default: 1.618)
Show Active Fib Levels — toggle the 38.2%, 50%, and 61.8% horizontal lines
Market Structure
BOS: Close Only — when on, structure breaks require a close beyond the swing level (default: on)
Live Setups
W2 / W4 Golden Pullback — toggle both golden zone entry setup types
W3 Momentum Breakout — toggle the Wave 3 breakout entry
ABC Correction End — toggle the corrective three-wave reversal entry (default: off)
W5 RSI Divergence Exit Warn — toggle the exit warning system
RSI Length — RSI calculation period (default: 14)
Divergence Lookback — bars for pivot-based RSI divergence detection (default: 14)
Confluence
Min Layers (of 10) — minimum score to fire a signal (default: 4)
Hard HTF Alignment — when on, counter-HTF signals are blocked (default: off)
HTF Trend Bias / HTF Timeframe / HTF Fast / HTF Slow EMA — higher timeframe parameters
Volume Confirm / Volume vs Avg / Volume Avg — volume expansion layer parameters
RSI Momentum Filter — optional RSI direction filter (default: off)
RSI Min (Long) / RSI Max (Short) — RSI zone thresholds when filter is enabled
EMA Trend Filter / EMA Length — optional EMA directional filter (default: off)
Block Extreme Chop / Choppiness Length / Chop Block Above — chop gate parameters
Signal Cooldown (bars) — minimum bars between signals (default: 8)
Entry / Exit Guides
Show SL + TP1 + TP2 — toggle the guide lines
SL Buffer (xATR) — ATR buffer beyond the wave invalidation point (default: 0.25)
Guide Extend (bars) — how many bars forward the guide lines project (default: 35)
Display
Show Live Wave Path — toggle the swing-to-swing connecting lines
Show Golden Zone Box — toggle the Fibonacci retracement zone box
Show Entry Markers — toggle signal triangles
Show Dashboard — toggle the full dashboard
Dashboard Text Size — Standard / Small
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Wave Up — yellow-green for bullish waves, signals, and zones
Bear / Wave Down — red for bearish elements
Fib / Wave Accent — purple for Fibonacci levels, wave path, and neutral zone elements
W3 / Exit Accent — orange for W3 breakout accents and W5 exit warning markers
Stop Line / TP1 Line / TP2 Line — individual guide line colors
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (4 total + JSON)
Entry Alerts
CADENCE Long — all wave, Fibonacci, structure, and confluence conditions confirmed. JSON payload delivered with setup, entry, SL, TP1, TP2
CADENCE Short — all conditions confirmed for a short wave setup. JSON payload delivered
Exit Warning Alerts
CADENCE W5 Exit Bear — bearish RSI divergence detected at a price pivot high in a bull structure. Wave 5 exhaustion may be approaching
CADENCE W5 Exit Bull — bullish RSI divergence detected at a price pivot low in a bear structure
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M15–H4 :
Pivot Length at 5 — captures meaningful structural swings without excessive sensitivity on intraday timeframes
Min Leg Size at 1.0× ATR — filters micro-waves while capturing the significant legs that represent genuine Elliott impulses
Fibonacci zone from 38.2% to 61.8% — the classic golden zone that encompasses the highest-probability pullback termination range
HTF at 60-minute as a soft scoring layer — adds confluence when aligned without hard-blocking the counter-HTF wave setups that occasionally occur at institutional correction boundaries
ABC Correction End off by default — the corrective pattern carries more interpretation risk and is better enabled only when the user has studied Elliott corrective structures
For other instruments or timeframes, adjust:
M1–M5 scalping — reduce Pivot Length to 3, reduce Min Leg Size to 0.5, increase Cooldown to 5–6 bars, reduce Guide Extend to 15–20
H4–Daily swing trading — increase Pivot Length to 8–10, increase Min Leg Size to 1.5–2.0, increase TP2 Extension to 2.0–2.618, increase Min Layers to 5–6
Crypto (BTC, ETH) — increase Min Leg Size to 1.5 for the larger swing amplitudes, increase Fibonacci zone to 0.382–0.786 for the deeper corrections common in crypto waves
Higher confidence signals only — raise Min Layers to 6–7, enable Hard HTF Alignment, enable EMA Trend Filter and RSI Momentum Filter, disable ABC Correction End
More signals — lower Min Layers to 3, enable ABC Correction End, disable Volume Confirm, reduce Min Leg Size to 0.5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
〰 Elliott Wave traders — CADENCE is the definitive quantitative implementation of the Elliott Wave trading framework for the AlphaX suite. Every component — swing identification, wave phase classification, golden zone computation, wave invalidation stop, Fibonacci extension target — is automated and applied consistently
📐 Fibonacci traders who want wave context — the Fibonacci zone in CADENCE is not a standalone level but a wave-specific retracement within a confirmed impulse structure. This context dramatically improves the reliability of Fibonacci entries compared to drawing retracement levels manually without wave classification
🎯 Pullback traders — the W2 and W4 golden zone setups are fundamentally the most optimal pullback entry in all of technical analysis — buying the deepest valid retracement within a confirmed trend impulse, with a stop at the structural invalidation point
⚡ Momentum traders — the W3 Momentum Breakout entry targets the beginning of the fastest and largest wave of the impulse sequence, providing explosive breakout entries within a wave-confirmed context
🧠 Systematic traders who want quantified wave analysis — the 10-layer scoring system and deterministic pivot-based classification replace the subjectivity of traditional Elliott Wave labeling with objective, repeatable criteria
📈 Traders who struggle with knowing when to exit trending trades — the W5 RSI divergence exit warning system provides early, systematic notification of impulse exhaustion — the most common and costly mistake in Elliott Wave trading is riding Wave 5 too long
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Pivot detection, wave classification, Fibonacci zone computation, and confluence scoring all finalize on confirmed bars only
Elliott Wave classification requires a minimum of 3–5 confirmed swings in the rolling array. On charts with fewer than 200 bars of history, the wave phase may show SCAN until sufficient pivot history accumulates
The wave path lines and golden zone box are redrawn on the last bar only for chart performance. Historical signal triangles and exit warnings are preserved on their original bars
The minimum leg size filter (default: 1.0× ATR) ensures that only waves with meaningful price movement are classified. Very small swings below the ATR threshold are ignored by the wave engine, preventing micro-structure noise from producing false wave counts
The W5 divergence detection uses pivot-based RSI comparison with a configurable lookback. The detection is based on confirmed pivots and is non-repainting, but the divergence signal appears at the confirmation bar (pivLen bars after the actual pivot), not at the pivot bar itself
When both W2 and W4 conditions are simultaneously met (a rare occurrence in transition periods), W4 takes priority in the signal selection because W4 entries occur in more mature, structurally confirmed wave counts
The indicator does not automatically label historical waves — it focuses on the live wave phase and active entry setups. For historical wave labeling, combine with a standalone Elliott Wave labeling tool
The indicator does not track open positions or P&L and does not connect to any broker or account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that markets move in waves — and who want a system precise enough to position them at the exact Fibonacci level where the next wave begins. インジケーター

[Quadapt] Machine Learning Trader Machine Learning Trader
A multi-component Pine Script v6 trading assistant combining a kernel-regression MLMA trend model, dual-length signal envelopes, order block context, retest scoring, adaptive Fibonacci targets, stop loss projection, signal quality filtering, and optional webhook automation.
## Description
Machine Learning Trader is a full-featured market structure and signal confluence indicator built around a Machine Learning Moving Average (MLMA) trend model. It is designed to help traders analyze trend direction, signal quality, order block context, potential retest areas, and adaptive take-profit / stop-loss levels from one chart overlay.
The script is not a black-box strategy or a guaranteed signal generator. It is a discretionary analysis tool that combines several independent market-context modules into one workflow so traders can compare trend, volatility, structure, momentum, and risk levels before making a decision.
### What Makes This Script Different
The core of the indicator is a kernel-regression MLMA engine. Instead of using only a classic moving average, the script builds a regression-style trend estimate using configurable kernel functions and regression modes. This produces a smoothed adaptive trend line and cloud that can be used as a directional context filter.
The MLMA is combined with:
- dual-length nonlinear signal envelopes,
- market structure and order block detection,
- intelligent retest scoring,
- adaptive Fibonacci take-profit projection,
- stop-loss projection,
- multi-timeframe MLMA trend alignment,
- signal quality filtering,
- clustering prevention,
- market regime adaptation,
- optional webhook payload generation.
The result is a confluence-focused indicator: a buy or sell marker is not treated as useful by itself. It is evaluated against the MLMA trend, recent order blocks, volatility regime, momentum, volume, cloud position, and multi-timeframe alignment.
### MLMA Trend Engine
The MLMA module calculates a machine-learning-inspired moving average using kernel methods. The script supports several kernel types, including:
- RBF,
- Linear,
- Polynomial,
- Sigmoid,
- Laplacian,
- Matern,
- Periodic,
- Trigo.
The regression mode can be configured as:
- GPR,
- KRR,
- KPCR,
- SVR,
- Kernel Smoothing,
- Adaptive RQ.
The MLMA output forms the main trend reference. The script also builds upper and lower MLMA bands using an error envelope derived from average absolute deviation around the MLMA output. These bands are used for the cloud, trend state, signal validation, and context scoring.
When the MLMA state is bullish, the script treats price behavior above or near the bullish support side of the cloud as more constructive. When the MLMA state is bearish, the script treats price behavior below or near the resistance side of the cloud as more defensive.
### Instrument-Agnostic Envelope Logic
The signal envelope section is designed to work across instruments with very different price scales, including forex pairs, JPY pairs, metals, oil, gas, indices, and crypto. The nonlinear envelope transform keeps the original algorithmic shape, but price distance is normalized relative to the instrument's local price level before the transform and restored back into price units afterward.
This matters because a raw price move on EURUSD, GBPJPY, XAUUSD, or XNGUSD has a very different numerical size. Normalizing the envelope distance helps the signal engine behave more consistently across instruments instead of being tuned only for one price scale.
### Dual-Length Signal Engine
The script calculates two separate signal envelopes:
- Primary Length: the slower, broader signal model.
- Secondary Length: the faster signal model.
The dual-length system can run in three modes:
- Independent: either length can produce a signal.
- Consensus: both lengths must agree.
- Primary Priority: only the primary length drives the final signal.
This allows traders to choose between sensitivity and confirmation. Independent mode produces more signals, consensus mode is stricter, and primary priority keeps the chart focused on the slower model.
Signal labels can show regular and stronger buy/sell conditions. When both lengths align in Independent mode, the script can also mark BOTH signals.
### Order Block Detection
The order block module searches for volatility-based bullish and bearish blocks using candle direction, volatility expansion, momentum, optional volume confirmation, and trend alignment. Blocks can be displayed as chart boxes with volume and quality information.
Order block detection includes configurable controls for:
- volatility method,
- volatility length,
- smoothing length,
- minimum separation between blocks,
- maximum blocks per direction,
- consolidation filtering,
- trend filtering,
- volume filtering,
- momentum filtering,
- block display style.
The script assigns order block quality using factors such as block size, directional pressure, displacement, market structure, MLMA trend context, and volume. Higher-quality blocks can be emphasized while weaker blocks can be faded.
### Retest Detection
The retest engine evaluates whether price has returned to a recent order block in a meaningful way. Retests can be scored using:
- block strength,
- clean movement away from the block,
- volume confirmation,
- MLMA trend alignment,
- volatility regime,
- reaction quality near the block.
Retest labels can be displayed as simple `R` markers. Strong and weak retests can be controlled separately, and optional percentage display can show the retest confidence score.
### Adaptive Fibonacci Take Profit Levels
The script can project take-profit levels after valid buy or sell signals. The TP engine supports several methods:
- Dynamic ATR,
- Swing-Based,
- Adaptive Swing,
- Heuristic.
It can display multiple Fibonacci extension targets, optional confluence zones, and TP hit status. The TP table shows the current trade direction, entry reference, target levels, stop loss, and active status.
The TP logic is filtered through MLMA and order block context. For example, a buy signal is considered valid when MLMA context supports the buy, or when price is near a supportive bullish order block. This helps reduce target plotting during low-quality or conflicting conditions.
### Stop Loss Projection
The stop-loss module supports:
- ATR-based stops,
- swing-based stops,
- order-block-based stops,
- percentage-based stops.
Stop levels are plotted only after a valid trade setup is detected. The script also tracks whether price has reached the projected stop or take-profit levels.
### Signal Quality Engine
The signal quality engine scores buy and sell setups before final display. The quality score considers:
- MLMA trend context,
- price position relative to the MLMA,
- multi-timeframe alignment,
- order block support or opposition,
- volume quality,
- volatility regime,
- candle body behavior,
- momentum,
- choppy or no-trade conditions,
- cloud width and MLMA slope,
- recent loss-streak penalty logic.
Signals below the configured minimum score can be filtered out. If desired, rejected signals can also be displayed for research and tuning.
### Advanced Signal Filtering
The script includes adaptive clustering prevention and regime-aware filtering.
Clustering prevention reduces repeated signals in the same area by using a time window, ATR-based price window, decay factor, and maximum cluster count.
Regime-aware filtering adjusts confidence behavior using recent market context, including price movement, volatility trend, and volume trend. This helps the script respond differently in ranging, trending, quiet, and volatile periods.
### Multi-Timeframe Trend Table
The MLMA trend table summarizes the current trend state and several higher/lower timeframe states:
- current chart,
- 15m,
- 30m,
- 1H,
- 4H,
- 1D,
- 1W.
This table is useful for quickly checking whether the current signal is aligned with broader market direction.
### Market Exhaustion
The exhaustion module uses RSI, price extension, momentum change, and volume behavior to identify possible bullish or bearish exhaustion. Exhaustion markers are intended as context warnings, not standalone reversal signals.
### Webhook Automation
Optional webhook alerts can send structured payloads for external automation or journaling. The payload can include:
- symbol,
- ticker ID,
- timeframe,
- event type,
- action,
- account tag,
- risk percent,
- order type,
- entry,
- stop loss,
- TP levels,
- quality score,
- MLMA trend,
- bar time.
Webhook use is optional and should be tested privately before live use.
### Alerts Included
The script includes alert conditions for:
- ML Strong Buy Signal,
- ML Strong Sell Signal,
- ML Buy Signal,
- ML Sell Signal,
- rejected quality signals,
- wedge pattern,
- BOTH length signal,
- bullish order block,
- bearish order block,
- bullish exhaustion,
- bearish exhaustion,
- valid enhanced Fibonacci buy/sell signals,
- invalid buy/sell signals,
- Fibonacci TP hit,
- TP/SL levels set,
- order block retest,
- signal clustering,
- market regime change,
- advanced filtering active.
### How To Use
1. Add the indicator to a clean chart.
2. Start with the default settings.
3. Use the MLMA cloud and trend table to understand directional context.
4. Watch for buy/sell labels only when they align with trend, order block, and quality context.
5. Use order block boxes and retest markers to identify possible reaction zones.
6. Use TP/SL projections as planning references, not as automatic trade instructions.
7. Tune Primary Length, Secondary Length, Signal Mode, and Signal Quality settings for the instrument and timeframe you trade.
8. If using alerts or webhooks, test them on paper or in a private environment first.
### Practical Notes
- Lower lengths are more responsive but can produce more noise.
- Higher lengths are smoother but react later.
- Consensus mode is stricter than Independent mode.
- The Signal Quality Engine can remove many low-context signals.
- The Order Block module is most useful when combined with MLMA trend context.
- TP and SL levels are projections based on the selected method; they are not guarantees that price will reach those levels.
- Exhaustion markers are context warnings and should be confirmed with structure, trend, and volatility.
### Limitations
This indicator does not predict the future. It organizes market context using mathematical filters, kernel regression, volatility logic, order block heuristics, and signal-quality rules. It can still produce false signals, especially during news events, illiquid periods, low-volume sessions, strong trend exhaustion, sudden reversals, or choppy markets.
No indicator should be used alone. Traders should combine this tool with their own risk management, market understanding, and independent confirmation. Past chart behavior does not guarantee future results.
インジケーター

インジケーター

Fibonacci SingularityFibonacci singularity is an advanced fibonacci confluence engine designed to find the price zones where multiple fibonacci levels from confirmed market legs collapse into the same area.
instead of drawing one simple fibonacci retracement, the script analyzes several confirmed swing legs, calculates multiple fibonacci retracement and extension levels, then groups the strongest overlapping levels into institutional confluence zones.
the goal is to give the trader a clean map of high-interest price areas where the market may react, reject, pause, break, or build a new directional move.
this tool is not a buy or sell signal system. it is a market structure and confluence map. it should be used with price action, trend context, volume, risk management, and personal confirmation.
main features
confirmed pivot-based fibonacci engine
clean zigzag swing logic
multi-leg fibonacci confluence
non-overlapping confluence zones
automatic merge of zones that touch or overlap
minimum block gap between zones
s-tier, a-tier, b-tier, and c-tier zone classification
walk-forward respect percentage
real volume micro profile inside each zone
right-side density micro profile
volume, touch density, reaction pressure, or composite profile source
volume delta in labels
zone pressure reading
dominant reference fibonacci
fibonacci time zones
magnet targets above and below price
institutional-style dashboard
sober visual style
price-in-zone alerts
upside magnet alerts
downside magnet alerts
how the script works
the script first detects confirmed pivots.
a confirmed pivot high or pivot low appears only after enough bars have closed on both sides of the pivot. this makes the structure cleaner and avoids using unconfirmed swing points.
after pivots are confirmed, the script builds several market legs from the most recent valid zigzag swings.
for each leg, the script calculates important fibonacci levels such as retracements and extensions.
then it groups nearby fibonacci levels into confluence zones.
when several fibonacci levels fall inside the same price area, the zone becomes stronger.
if two zones touch or overlap, the script merges them instead of stacking blocks on top of each other.
each final zone is displayed as a clean block with a center line, optional label, internal profile, and right-side density profile.
the strongest zones are ranked by overlap, strength, and tier.
important concept
a zone is not a guaranteed reversal point.
a zone means that several fibonacci levels are concentrated in the same price area.
the more confluence a zone has, the more important it can become as a decision area.
a trader can use these zones to prepare possible reactions, breakouts, retests, or profit-taking areas.
input guide
pivot strength
this controls how strong a pivot must be before it is accepted.
a higher value creates fewer but stronger swing points.
a lower value creates more swings and makes the engine more reactive.
for beginners:
use a higher value for cleaner zones.
use a lower value only if you want more sensitivity.
active legs
this controls how many confirmed swing legs are used by the confluence engine.
more legs create more historical fibonacci levels and more possible confluence.
fewer legs focus only on recent market structure.
for beginners:
use 4 to 6 legs for a balanced view.
use more legs if you want a wider historical confluence map.
min leg range
this filters out small swing legs.
the value is based on atr.
if a leg is too small, the script ignores it because small legs can create weak or noisy fibonacci levels.
for beginners:
increase this value if the chart has too much noise.
decrease it if the script finds too few zones.
zone width
this controls the width of each fibonacci confluence zone.
the value is based on atr.
a higher value creates wider zones and groups more levels together.
a lower value creates tighter zones and separates levels more aggressively.
for beginners:
use a moderate value to avoid zones that are too wide or too fragmented.
minimum block gap
this controls the minimum space between displayed blocks.
if two zones touch, overlap, or become too close, they are merged so the chart remains clean.
this is important because zones should not stack on top of each other.
for beginners:
increase this value if the zones look too close.
decrease it if you want more detailed separation.
max confluence zones
this controls how many confluence zones can be displayed.
a lower value gives a cleaner chart.
a higher value shows more market structure.
for beginners:
start with 4 to 6 zones.
increase only if you need more context.
min overlap to qualify
this defines how many fibonacci levels must overlap before a zone becomes valid.
a higher value makes zones more selective.
a lower value allows more zones to appear.
for beginners:
use a higher value for stronger zones.
use a lower value only if the market has too few visible zones.
atr length
this controls the atr calculation used for zone width, minimum range, and spacing.
a higher value makes the system smoother.
a lower value makes it react faster to recent volatility.
for beginners:
use 50 for stable behavior.
lower it if you want faster adaptation.
s-tier overlap
this defines the minimum overlap needed for a zone to become s-tier.
s-tier is the strongest classification.
these zones represent the highest fibonacci concentration.
a-tier overlap
this defines the minimum overlap needed for a zone to become a-tier.
a-tier zones are strong but not as extreme as s-tier zones.
b-tier overlap
this defines the minimum overlap needed for a zone to become b-tier.
b-tier zones are medium confluence areas.
c-tier zones
c-tier is used when a zone qualifies but does not reach b-tier, a-tier, or s-tier strength.
enable walk-forward respect percent
this enables the respect percentage calculation.
the script checks how price reacts after a zone exists.
this is cleaner than testing a current zone on old data before the zone was created.
respect window
this controls how many bars are used to measure zone respect.
a larger window gives more historical reaction data.
a smaller window focuses on recent behavior.
for beginners:
use 300 bars for a balanced reading.
min touches to score
this defines the minimum number of touches needed before the respect percentage is considered valid.
if a zone has too few touches, the statistic is not reliable.
for beginners:
keep this at 2 or higher.
show real volume micro profile
this displays a micro profile inside each zone.
the profile uses the real volume available from the chart and distributes it across the zone according to the candle overlap with the zone.
this is not tick-by-tick volume at price. it is the most realistic stable approximation available from regular candle volume in pine.
show right density micro profile
this displays a technical density profile on the right side of each zone.
it helps visualize which parts of the zone had more interaction, pressure, or volume.
right density source
this selects what the right-side density profile is based on.
volume:
uses chart volume.
touch density:
counts how often price interacts with each part of the zone.
reaction pressure:
measures candle reaction strength around the zone.
composite:
combines volume when available with interaction and reaction pressure.
for beginners:
use composite for the most balanced profile.
profile window
this controls how many bars are scanned to build the internal and right-side profiles.
a larger value gives more historical context.
a smaller value focuses on recent market behavior.
for beginners:
use 300 bars as a balanced default.
micro profile rows
this controls how many rows are displayed inside each zone.
more rows give more detail but use more drawing objects.
fewer rows are cleaner and lighter.
for beginners:
use 6 to 8 rows.
max internal profile length
this controls the maximum length of the internal micro profile bars inside each zone.
a higher value makes profile bars longer and more visible.
a lower value keeps the blocks cleaner.
minimum cell width
this ensures every profile row remains visible even when volume or density is low.
this helps every zone keep a technical structure instead of appearing empty.
show volume delta in labels
this adds bull and bear volume difference information into the zone label.
a positive delta means more bullish volume pressure.
a negative delta means more bearish volume pressure.
show confluence zones
this turns the main fibonacci confluence blocks on or off.
when disabled, the engine still calculates data, but the blocks are hidden.
zone history length
this controls how far the zone blocks extend into the past.
a higher value makes zones longer.
a lower value keeps the chart more compact.
show density profile right
this displays the right-side profile structure.
this is useful for quickly comparing zone strength and internal distribution.
profile max length
this controls the maximum visual length of the right-side density profile.
higher values make strong profiles longer.
lower values keep the profile compact.
show zone labels
this shows or hides zone labels.
labels can display the tier, overlap count, price level, respect percentage, delta, and pressure information.
show dominant reference fib
this displays the dominant reference fibonacci from the most important recent leg.
this helps the trader understand which recent swing is guiding the current fibonacci map.
show fibonacci time zones
this displays vertical fibonacci time projections from the latest confirmed pivot.
these are not price signals.
they are timing reference points where the trader can watch for possible market reaction.
show dashboard
this shows the institutional dashboard.
the dashboard summarizes bias, active legs, zones found, top zone, magnets, price position, respect information, and engine status.
dashboard position
this controls where the dashboard appears on the chart.
available positions:
top right
top left
bottom right
bottom left
middle right
bull / b-tier color
this controls the color used for bullish or b-tier visual elements.
bear / a-tier color
this controls the color used for bearish or a-tier visual elements.
singularity / s color
this controls the color used for the strongest s-tier zones.
neutral / c color
this controls the color used for lower-tier or neutral elements.
panel background
this controls the dashboard background color.
panel border
this controls the dashboard border color.
mini tutorial for beginners
step 1: start with clean settings
keep the default settings first.
do not change everything immediately.
the script is designed to find fibonacci confluence zones from confirmed swing legs, so you should first observe how the zones behave on your market and timeframe.
step 2: understand the zones
a zone is an area where several fibonacci levels overlap.
if a zone has a high tier, it means more fibonacci levels are concentrated there.
s-tier is the strongest.
a-tier is strong.
b-tier is medium.
c-tier is weaker but still qualified.
step 3: use zones as decision areas
do not buy or sell only because price touches a zone.
wait for confirmation.
possible confirmations:
wick rejection
strong candle close
breakout
retest
volume reaction
trend alignment
market structure shift
step 4: read the internal micro profile
inside each zone, the micro profile shows where volume or interaction is concentrated.
a larger internal bar means stronger activity in that part of the zone.
this can help identify whether price is reacting near the top, middle, or bottom of the zone.
step 5: read the right-side density profile
the right-side profile gives a fast technical view of the zone.
if the profile is strong and balanced, the zone has more structural importance.
if the profile is thin, the zone may be weaker or less tested.
step 6: use the respect percentage
respect percentage shows how often price reacted from a zone after the zone existed.
a high respect value can mean the zone has been historically reactive.
a low respect value can mean the zone has been ignored or broken often.
do not use respect percentage alone.
combine it with price action.
step 7: use the magnet targets
the up magnet is the nearest important zone above price.
the down magnet is the nearest important zone below price.
these can be used as possible target areas, resistance areas, support areas, or places where price may slow down.
step 8: use the dashboard
the dashboard gives a quick summary of the current state.
watch:
bias
active legs
zones found
top zone
up magnet
down magnet
price position
respect data
engine status
if the panel says waiting or no qualified zone, the script does not yet have enough valid confluence to display a strong zone.
step 9: choose the right timeframe
for intraday trading, use the script to locate major reaction areas.
for swing trading, use higher timeframes for stronger zones.
zones from higher timeframes often carry more weight than small lower timeframe zones.
step 10: build a simple trading plan
bullish example:
price pulls back into a strong confluence zone.
the zone has a good respect percentage.
the internal profile shows strong activity.
price prints a bullish rejection.
the trader can then watch for a possible long setup.
bearish example:
price rallies into a strong confluence zone.
the zone is a-tier or s-tier.
the right-side profile shows strong interaction.
price rejects with a bearish candle.
the trader can then watch for a possible short setup.
breakout example:
price reaches a strong zone but does not reject.
price closes strongly beyond the zone.
the trader can then watch for continuation or a retest.
best beginner settings
pivot strength:
8 to 12 for cleaner swings.
active legs:
4 to 6 for balanced confluence.
min leg range:
0.5 atr or higher to remove small noisy swings.
zone width:
0.5 to 0.8 atr for practical zone size.
minimum block gap:
increase if zones look too close.
micro profile rows:
6 to 8 for clean internal detail.
right density source:
composite for the most balanced view.
profile window:
300 bars for a balanced profile.
important note
this indicator does not guarantee profit.
fibonacci confluence zones can fail.
a strong zone can break.
a high respect percentage does not guarantee the next reaction.
always use stop loss, position sizing, risk management, and personal confirmation before entering a trade.
the best use of this script is as a technical map of high-interest fibonacci zones, not as an automatic trading system.
インジケーター

Nexus Global 15m ORBIntroduction
The Nexus Global 15m ORB indicator is a comprehensive opening range tool designed to map the initial 15-minute price action across the three major global trading sessions: Tokyo, London, and New York. Beyond simply marking the high and low of the opening range, this script integrates Fibonacci-based Optimal Trade Entry (OTE) zones, mathematical trend extensions, and Higher Timeframe (HTF) structural confluence to help traders identify high-probability reversal and continuation zones.
Core Concepts & What It Does
Opening Range Breakout (ORB) strategies rely on the volatility generated at the start of a trading session. The first 15 minutes often establish a support and resistance framework for the hours that follow. This indicator automatically detects these 15-minute windows and projects the range forward until the next session begins.
However, a standard ORB is often not enough to build a complete trading plan. To address this, the indicator incorporates:
- Internal Fibonacci Levels & OTE Zone: Calculates key retracement levels (38.2% and 50%) and highlights a specific Optimal Trade Entry (OTE) box between the 61.8% and 78.6% levels of the session's range.
- Session Trend Extensions: Projects standard Fibonacci extensions (0.618, 1.272, and 1.618) outward from the ORB high and low to serve as dynamic take-profit targets or exhaustion levels.
- HTF Institutional Pivots: Pulls structural swing highs and lows from a user-defined higher timeframe (e.g., 4-hour) and calculates its own macro Fibonacci levels. When these macro levels intersect with the micro 15m ORB range, the indicator highlights them as "Institutional Pivots."
How It Calculates (Underlying Logic)
- Session Tracking: Uses time() functions to detect the exact 15-minute timeframe of the Tokyo (0845-0900 JST), London (0800-0815 GMT), and New York (0930-0945 EST) opens. It dynamically tracks the high and low during this window and locks the values once the window closes.
- Internal Mathematics: The range size (rng) is calculated as ORB High - ORB Low. Internal levels are found by subtracting percentages of the range from the ORB High (e.g., ORB High - (rng * 0.5) for the 50% level).
- HTF Confluence: Utilizes request.security() alongside ta.highest() and ta.lowest() over a customizable lookback period to establish the macro structural range. It then checks if the macro 38.2%, 50%, or 61.8% levels fall sequentially inside the current active ORB boundaries, plotting them distinctly when true.
- Performance Optimization: To ensure the indicator does not cause chart lag (a common issue with heavy line/box drawing scripts), the drawing engine is restricted to update visual arrays strictly on barstate.islast, ensuring lightning-fast load times even on the 1-minute chart.*
How to Use It
- Breakout & Retest: Watch for price to break the ORB High or Low, and then wait for a retracement back to the 38.2% or 50% internal levels to join the trend toward the 1.272 or 1.618 extensions.
- OTE Reversals: If a false breakout (fake-out) occurs, look for price to return to the highlighted OTE Zone (61.8% - 78.6%). This zone often acts as a strong area of defense for institutional order flow, providing excellent risk-to-reward entries back toward the opposite side of the ORB.
- Institutional Pivots: When an HTF line populates inside the session range, treat it as a heavy magnet or resistance. Trades taken in confluence with these pivots carry a much higher structural weighting.
Originality & Usefulness
While there are many ORB tools on TradingView, the vast majority only display horizontal lines for the high and low. This script is highly original because it combines micro-session timing with macro-structural Fibonacci confluence. By mashing up session tracking with HTF swing analysis and deep optimization drawing methods, it provides a complete, lag-free institutional framework in a single indicator, saving traders from needing multiple overlapping scripts to achieve the same result. インジケーター

インジケーター

Fibonacci Volume Profilefibonacci volume profile — institutional edition v2
fibonacci volume profile is a chart-based volume profile tool designed to combine volume structure, fibonacci levels, poc, vah, val, bull/bear volume split, merged poc clusters, confluence detection, global heatmap zones and live volume profile gauges in one visual workspace.
the goal of this tool is to help traders understand where volume is concentrated, where price is reacting, and where important structural levels may exist on the chart.
this indicator is not a buy or sell system. it is a market structure and volume analysis tool. it helps the user read the chart with more context before making a trading decision.
main concept
volume profile shows where volume has traded inside a selected price range.
instead of only looking at candles, this tool studies how volume is distributed across price levels. areas with high volume can act as important reaction zones because many market participants traded there. areas with lower volume can sometimes show thinner zones where price may move faster.
the script builds volume profiles using different trigger modes:
fixed bars
session
manual period
each profile displays volume rows, poc, value area, fibonacci levels and optional advanced modules.
how the volume profile works
each volume profile divides the selected range into several price rows.
for every row, the script estimates how much volume traded there.
the row with the highest volume becomes the poc.
the value area contains the main part of traded volume, based on the selected value area percentage.
vah is the upper limit of the value area.
val is the lower limit of the value area.
poc, vah and val are often used by traders as reference levels for reaction, acceptance, rejection, balance and imbalance.
important levels
poc
poc means point of control. it is the price level with the highest volume inside the profile.
a poc can act as a magnet when price returns to it. it can also become a reaction level if price rejects it.
vah
vah means value area high. it marks the upper boundary of the value area.
price above vah can show strength or expansion away from value.
price rejecting vah can show that buyers failed to accept higher prices.
val
val means value area low. it marks the lower boundary of the value area.
price below val can show weakness or expansion away from value.
price rejecting val can show that sellers failed to accept lower prices.
fibonacci module
the script can draw fibonacci levels from the selected volume profile structure.
the anchor can be based on:
vp range
vah to val
poc to range
the fibonacci direction can be automatic or manually selected.
automatic direction uses the dominant bull or bear volume logic to decide whether the fibonacci should be drawn from low to high or from high to low.
this makes the fibonacci module connected to the volume profile context instead of being only a manual drawing tool.
bull and bear volume split
the profile can separate estimated bullish and bearish volume.
this helps identify whether volume inside the profile is more aggressive on the buy side or the sell side.
the delta method can be selected from several modes:
bar direction
range position
body weighted
wick absorption
hybrid pro
this does not represent real bid and ask order flow. it is an estimation based on candle behavior and volume distribution.
merged poc module
when several poc levels are close together, the script can merge them into a cleaner cluster.
this helps reduce chart noise and makes repeated high-volume zones easier to read.
a merged poc cluster can show that several profiles agree around the same price area.
when multiple poc levels cluster near the same zone, that level can become more important for future analysis.
confluence detector
the true confluence detector looks for clusters between different level types.
it can combine:
poc
vah
val
fibonacci levels
multiple profiles
the idea is to identify zones where several independent references are close to each other.
a confluence zone is not a guaranteed reversal point. it is a zone where the chart deserves more attention.
global heatmap
the global heatmap aggregates visible volume profiles into one heatmap zone on the right side of the chart.
this gives a broader view of where volume is concentrated across all visible profiles.
the global heatmap can help identify larger high-volume areas and thinner zones.
live vp gauges panel
the live vp gauges panel shows live information about the current developing volume profile.
it includes readings such as:
buy pressure
sell pressure
net delta estimate
value area position
distance to poc
distance to vah
distance to val
current row pressure
last bar pressure
close location inside the vp range
this panel is not an order book. it does not use bid and ask data. it is based on the current volume profile structure.
dashboard
the dashboard gives a quick summary of the current mode and important status information.
it can show:
current vp mode
number of stored profiles
nearest poc
distance to nearest poc
fibonacci status
poc merge status
value area extension status
confluence status
global heatmap status
poc touch alert
the script includes a poc touch alert.
this alert can help notify when price reaches a stored poc level.
a poc touch does not mean immediate entry. it only means price has reached an important volume reference level.
how to use the tool
step 1: choose the vp mode
fixed bars creates a new profile every selected number of bars.
session creates profiles based on the selected session.
manual period builds a live profile from a fixed manual number of bars.
beginners can start with fixed bars because it is simple and stable.
step 2: choose the number of rows
rows per vp controls how detailed the volume profile is.
more rows give more precision but can make the chart heavier.
fewer rows give a cleaner view but less detail.
a balanced setting is usually better for beginners.
step 3: read poc, vah and val
start by locating the poc.
then look at vah and val.
ask three simple questions:
is price above value?
is price below value?
is price inside value?
this gives a basic market context.
step 4: check reaction zones
watch how price behaves when it reaches poc, vah, val, fibonacci levels or merged poc clusters.
a strong reaction can show rejection.
a slow move through the level can show acceptance.
a clean breakout can show expansion away from value.
step 5: confirm with price action
do not trade only because price touches a level.
wait for confirmation such as:
market structure shift
rejection candle
break and retest
support or resistance reaction
volume confirmation
trend confirmation
example 1: price returns to poc
price moves away from a profile and later returns to the poc.
this can be a magnet zone because the poc is the highest volume level of that profile.
a beginner can watch if price accepts the poc or rejects it.
if price holds above poc after a retest, it may show support behavior.
if price rejects below poc, it may show resistance behavior.
example 2: rejection at vah
price moves up into vah and fails to stay above it.
this can show that higher prices are not accepted.
a trader can then look for bearish confirmation on the normal price chart.
the level itself is only a reference. confirmation is still required.
example 3: reaction at val
price drops into val and quickly rejects lower prices.
this can show that sellers failed to push price below value.
a trader can then look for bullish confirmation before considering a long setup.
example 4: merged poc cluster
several poc levels appear close to each other and the script merges them.
this creates a cleaner high-volume cluster.
if price returns to that cluster, it can become an important decision zone.
a beginner should watch whether price bounces, consolidates, or breaks through the cluster.
example 5: confluence zone
a poc, a fibonacci level and a value area boundary appear near the same price.
the confluence detector can highlight this type of zone.
this does not predict the future, but it helps the trader focus on areas where several references agree.
example 6: global heatmap
the global heatmap shows a strong high-volume area on the right side of the chart.
if price trades near this zone, it may slow down, react or consolidate.
if price moves through a low-volume zone, it may move faster.
beginner trading workflow
first, identify the current trend on the main chart.
then, check where price is compared to the nearest poc.
next, look at vah and val.
then, check if there is a merged poc cluster or confluence zone nearby.
after that, wait for price action confirmation.
finally, define risk before entering any trade.
a simple beginner rule is:
do not enter just because a level appears.
wait for price to react.
wait for confirmation.
protect the trade with a clear invalidation level.
best use cases
volume profile analysis
poc reaction zones
value area reading
fibonacci confluence
session profile analysis
fixed range profile analysis
support and resistance context
market balance and imbalance reading
high-volume and low-volume zone detection
beginner-friendly structure analysis
settings overview
vp trigger
selects how the profile is created.
fixed bars builds profiles after a fixed number of bars.
session builds profiles around selected market sessions.
manual period builds a profile from a manual number of bars.
bars per vp
controls how many bars are used before a new fixed profile is created.
manual period bars
controls the number of bars used for the manual live profile.
max vp visible
controls how many profiles remain visible on the chart.
rows per vp
controls the number of price rows inside each profile.
value area percentage
controls how much of the profile volume is included inside the value area.
vp width percentage
controls the visual width of each profile.
show fibonacci
enables or disables fibonacci levels.
anchor type
selects what structure is used to anchor fibonacci levels.
fib direction
selects automatic or manual fibonacci direction.
show poc
shows or hides the point of control.
show vah and val
shows or hides value area high and value area low.
extend poc right
extends poc levels to the right side of the chart.
merge close poc lines
merges close poc levels into cleaner clusters.
bull and bear split
shows estimated bullish and bearish volume separately.
delta method
selects how bullish and bearish volume is estimated.
global heatmap
shows an aggregated heatmap from visible profiles.
true confluence detector
detects zones where several important levels cluster together.
live vp gauges panel
shows live pressure and distance readings from the developing profile.
dashboard
shows a compact status panel with useful script information.
risk note
this indicator is designed for technical analysis and education. it does not give financial advice and does not guarantee results. levels, profiles, gauges, heatmaps and alerts are references only. always use risk management and confirm every setup with your own analysis. インジケーター

Fibonacci A-B-C Volles Strategie-Board(ENGLISH)
---
The Fibonacci Betting-Playbook 062026: How to read the Strategy Board
If you want to succeed in the markets, you need more than just a gut feeling, you need a system that delivers crystal-clear odds. This script is your personal bookmaker dashboard directly on the chart. It scans price movements for a highly profitable pattern and shows you exactly when the risk-reward ratio is as good as a massively overpriced underdog quote in La Liga.
Here is the official manual for you and your users, so that everyone knows exactly how to read the signals and when it's better to keep your feet still.
The Game Plan: The A-B-C Formation
In the background, the script constantly scans for a specific market movement, the so-called A-B-C ZigZag. Think of it like the perfect set piece:
Point A (The Kickoff): The lowest point where the movement begins.
Point B (The First Goal): The first high point. The momentum is here.
Point C (The Tactical Pause): The price drops back slightly. Exactly here, in this pullback, we calculate our entry before the second half – the next big price breakout – begins.
As soon as the script recognizes this formation, it paints your playing field (the boxes) onto the chart.
Your Betting Odds: The Zones on the Board
When the setup is "hot", you will see two distinct boxes on your screen. They take the guesswork out of the equation and tell you exactly where you need to place your chips.
🟢 The Green Zone: The Entry (The Value Bets)
Here is where you build your position. If the price falls into this box, we have a statistical advantage (edge).
Line 0.500 (Initial Entry): The market has corrected half of its rally. Here you place your first, smaller bet.
Line 0.618 (Ideal Reload): This is the "Golden Ratio". The absolute sweet spot in the Fibonacci system. If the price drops here, you double down. The chance of a bounce is highest here.
Line 0.667 (The Last Bastion / STOP): The red dashed line. If the price falls below this, the setup is busted. The trade is canceled, you pull the ripcord, and accept the small loss. No hoping, no praying – strict bankroll management.
🟠 The Orange Zone: The Cashout (Taking Profits)
If the trade plays out and the price shoots up, this box shows you where the bookie opens the register.
Line 1.618 (Potential Turning Point): Your first target (Take Profit 1). Here you take a portion of your winnings off the table. Ring the register!
Line 1.809 (Trailing Stop-Loss): The price keeps running? Perfect. Trail your stop-loss to your entry price now. You are now riding a risk-free bet.
Line 2.000 (Massive Resistance): The absolute maximum. The air gets extremely thin up here. Take your remaining profit and close the position.
🔴 The VAR Signal: The Red Warning Box
Markets are often chaotic. If the script fails to recognize a clear A-B-C pattern, the stop-loss has been hit, or the target has already been reached, the system immediately deletes all lines from the chart.
Instead, a red box appears in the center: "CURRENTLY NO RECOMMENDATION POSSIBLE - WAIT FOR FURTHER CHART SIGNALS".
This is like a suspended betting market during a VAR check. Your only task at this moment: Do not trade. Keep your hands off the buy button. Wait patiently until the system builds the next profitable setup.
What you as a user must absolutely pay attention to (The Golden Rules)
Patience is your best croupier: Do not trade blindly just because the price is moving. Always wait until the boxes appear on the chart and the price dips into the green zone.
Respect the Stop-Loss (0.667): Even in the best Spanish casinos, you don't win every hand. If the red line is breached, close the trade on Trade Republic immediately. Whoever hesitates here gambles away their bankroll.
Split your stakes: Do not wager your entire capital at the 0.500 line. Make a partial entry and keep your powder dry in case the price drops to the golden 0.618 line. This massively improves your average entry price.
Secure your profits: When the price reaches the orange 1.618 line, do not get greedy. Take a partial profit. Nothing is more frustrating than turning a fat paper profit back into a loss.
インジケーター

インジケーター

インジケーター

インジケーター

Kinetic Ribbon Trail [JOAT]Kinetic Ribbon Trail
Introduction
Kinetic Ribbon Trail is an open-source trend-following indicator built on two structural layers: a 20-line Hull Moving Average gradient ribbon that quantifies the spread and conviction of near-term versus long-term momentum, and a Fibonacci-anchored adaptive trailing stop that adjusts its sensitivity based on the current swing structure and volatility ratio. The two layers interact — the ribbon provides visual context for momentum strength while the trail provides the dynamic level that determines directional bias.
The unique analytical contribution is the ribbon normalization. Most HMA ribbon indicators simply plot multiple lines and fill between them. Kinetic Ribbon Trail computes the signed spread between the fastest and slowest ribbon line, normalizes it by the 200-bar exponential average of that spread, clamps it to a -1 to +1 range, and uses the result to drive a continuous color gradient between the bear and bull theme colors. This means the ribbon's color intensity directly reflects how unusual the current momentum spread is relative to its historical average — not just whether the ribbon is bullish or bearish.
Core Concepts
1. 20-Line HMA Ribbon with rFactor Normalization
Twenty Hull Moving Average lines are computed from a base period, incrementing by a configurable step. The spread between the fastest and slowest line is the primary signal variable:
rSpread = rh01 - rh20
rAvgSpread = ta.ema(math.abs(rSpread), 200)
rFactor = math.max(-1, math.min(1, rSpread / (rAvgSpread * 1.5 + 1e-9)))
rCol = color.from_gradient(rFactor, -1, 1, colorBEAR, colorBULL)
When the fastest line is far above the slowest relative to its recent average, rFactor approaches +1 and the ribbon glows in full bull theme color. The gradient reflects spread magnitude — a bullish spread twice as wide as normal appears more saturated than one just barely positive.
2. Fibonacci Adaptive Trailing Stop
The trailing stop anchors to swing structure rather than to fixed ATR multiples. Confirmed swing highs and lows define a Fibonacci range. Three trail levels are computed from this range at the 0.382, 0.5, and 0.618 Fibonacci retracement. One is selected based on the trail mode: Aggressive, Balanced, or Conservative. A volatility adjustment scales the selected level by the inverse of the current volatility ratio.
The trail ratchets: for longs, it can only move up. For shorts, it can only move down. A flip occurs when price closes through the trail level with body ratio and penetration confirmation.
3. Four-State Regime Detection
A four-state regime classification determines which visual treatments are active: Trend Bull, Trend Bear, Range High-Vol, Range Low-Vol. The classification uses ADX relative to a threshold and the ATR-to-SMA(ATR) ratio. When a regime transition occurs, the chart background is tinted for 10 bars in the corresponding theme color before clearing.
4. Six-Factor Confidence Score
Each signal is assigned a confidence grade (D through A+) based on six weighted factors: swing structure alignment (20%), regime alignment (20%), ADX strength (15%), volume participation (15%), volatility favorability (15%), and SMA50 proximity to trail level (15%). Signals below a user-set minimum grade are suppressed.
Features
20-line HMA gradient ribbon: rFactor-normalized color gradient reflecting momentum spread intensity vs. its 200-bar historical average
19 ribbon fill layers: Adjacent HMA lines filled with gradient opacity layers for depth visualization
Fibonacci adaptive trailing stop: Trail anchored to swing structure at 0.382 / 0.5 / 0.618 Fibonacci levels with volatility adjustment
Trail ratchet with flip confirmation: Trail advances in one direction only; flips require body ratio and penetration confirmation
Gradient trail fill: Fill between trail and close — top color opaque, bottom color transparent
Four-state regime detection: Trend Bull, Trend Bear, Range High-Vol, Range Low-Vol with background tint on transition
Six-factor confidence scoring: A+ / A / B / C / D grading system applied to each signal
Confidence filter: Signals below the minimum confidence grade are suppressed
Trade block on trail flip: Entry, stop, TP1/TP2/TP3 rendered as gradient boxes on confirmed flip signals
Backtest tracker: Win rate and expected value
Four color themes: Phantom, Neon, Classic, Solar
Non-repainting: All signals gated by barstate.isconfirmed
Institutional dashboard: 13-row table with regime, trail level, confidence grade, signal, TP/SL levels, and performance stats
Input Parameters
Ribbon:
Base Length: Fastest HMA period (default: 10)
Step: Increment between each ribbon line (default: 14)
Fibonacci Trail:
Trail Mode: Aggressive (0.618) / Balanced (0.5) / Conservative (0.382) / Auto (regime-adaptive)
Pivot Lookback: Bars required to confirm a swing pivot
Confidence:
Enable Confidence Filter toggle
Min Signal Grade: D / C / B / A / A+
Trade Levels:
Show Trade Block toggle
Risk Preset: Conservative / Balanced / Aggressive / Scalping
Extend Bars: How far lines project right
How to Use This Indicator
Step 1: Read the Ribbon Color
A deeply saturated bull color means the ribbon spread is unusually wide — momentum is strong. A muted or transitional color means the spread is near its historical average — momentum is uncertain.
Step 2: Watch for Trail Flips
A signal fires when the Fibonacci trail flips direction and confidence meets the minimum grade. The trade block appears immediately with entry, stop, and three TP levels.
Step 3: Use Regime Context
The four-state regime in the dashboard tells you whether you are in a trending or ranging environment. High-confidence signals in trending regimes carry more structural weight than the same grade in a ranging regime.
Indicator Limitations
Swing detection uses ta.pivothigh() and ta.pivotlow() with a lookback offset. The Fibonacci levels are computed from swings confirmed bars after they occurred
In markets with very shallow swing structures, the Fibonacci range can be small relative to ATR, causing the trail to cluster near the current price and produce excessive flips
The 20-line ribbon increases visual complexity. Reducing the base length and step can make the ribbon more compact on busy charts
The confidence score uses volume as one factor. On timeframes or instruments where volume is not meaningful, this factor should carry less weight
Regime detection uses ADX, which lags price. A trend that begins explosively may be classified as ranging for several bars before ADX responds
Originality Statement
The rFactor normalization — dividing ribbon spread by a 200-bar EMA of absolute ribbon spread, clamped to -1/+1, driving a continuous color.from_gradient() — is an original approach to HMA ribbon coloring that reflects relative momentum intensity rather than absolute direction
Anchoring a trailing stop to Fibonacci retracements of the current confirmed swing structure, with volatility-ratio adjustment and body/penetration confirmation on flips, is distinct from standard ATR-multiplier trailing stops
The six-factor confidence scoring system applied per signal, producing an A+ to D grade that gates signal output, provides per-trade quality assessment within the indicator itself
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past confidence grades and win rates do not predict future performance. The author accepts no responsibility for trading losses resulting from use of this indicator.
Made with passion by jackofalltrades
インジケーター

MIDAS Fibonacci Cloud [JOAT]MIDAS Fibonacci Cloud
Introduction
MIDAS Fibonacci Cloud is an open-source VWAP-based analytical tool that combines a MIDAS-anchored volume-weighted average price with six Fibonacci-scaled standard deviation bands, a Z-score probability engine, and a synthetic order flow score to produce an integrated picture of institutional value, statistical deviation, and directional pressure on a single overlay.
The problem this solves is band relevance. Standard VWAP deviations use fixed multipliers (1×, 2×, 3× standard deviation) that carry no structural meaning in market terms. Replacing those multipliers with Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 1.0, 1.618) means the band levels correspond to proportional retracement relationships that institutional participants commonly reference. The 1.618 band in particular acts as an extreme extension zone where reversion probability, quantified by the built-in Z-score engine, typically exceeds 99.7%.
Core Concepts
1. MIDAS VWAP with Configurable Anchoring
The VWAP calculation uses the MIDAS method — cumulative volume-weighted price that resets at a user-selected anchor point rather than running as a continuous session VWAP. The anchor can be set automatically (based on the current timeframe), manually to a specific higher timeframe, or to a precise date. This allows the VWAP to be anchored to any significant market event.
The variance term used for standard deviation is computed directly from the volume-weighted sum of squared prices, producing a statistically correct VWAP standard deviation:
float midasVwap = sumVolPrice / sumVol
float variance = (sumVolSq / sumVol) - math.pow(midasVwap, 2)
float stdDev = math.sqrt(math.max(0, variance))
2. Fibonacci Deviation Bands
Six band pairs are computed above and below the VWAP anchor using the standard deviation scaled by a global sensitivity multiplier and each Fibonacci ratio. Upper bands are colored in the bull theme color with decreasing opacity from band 1 to band 6; lower bands in the bear theme color with the same gradient. A gradient fill connects the outer zone (fib4–fib6) to visually highlight the extreme deviation region.
3. Z-Score and Bell Curve Probability
Each bar's Z-score is computed as the signed distance from the VWAP in units of standard deviation. The dashboard converts this to a mean-reversion probability using standard normal distribution thresholds: within 1σ = 68.2%, within 2σ = 95.4%, within 3σ = 99.7%, beyond 3σ = 99.9%.
4. Synthetic Order Flow Score
A bar-level order flow score is computed from three components: candle body-to-range ratio (directional conviction), volume relative to the 20-bar average (institutional participation), and wick rejection percentage (price acceptance or rejection). These are weighted 40/35/25 and scored 0 to 100. VWAP crossover signals are gated by this score — crossovers with low order flow scores are filtered as noise.
5. Gradient Fill Zones
The two outer Fibonacci bands (fib4 and fib6) are connected with a gradient fill that creates a visual glow effect identifying the extreme deviation zones — the regions where price is statistically most likely to be overextended.
Features
MIDAS VWAP with three anchor modes: Auto (timeframe-adaptive), Timeframe (manual higher TF), Date (specific date anchor)
Six Fibonacci deviation band pairs: Levels at 0.236, 0.382, 0.500, 0.618, 1.000, 1.618 × standard deviation × global sensitivity
Gradient fill on extreme zones: Color-to-transparent gradient between fib4 and fib6 identifies overextension zones
Z-score and reversion probability: Computed every bar with bell curve probability output (68.2% / 95.4% / 99.7% / 99.9%)
Synthetic order flow gate: Body ratio, volume participation, and wick rejection combined into a 0-100 score that gates VWAP cross signals
Candle coloring by Z-score: Bar colors intensity-coded by distance from VWAP — neutral near center, saturated at extremes
Band labels at right edge: Each band level labeled with its Fibonacci ratio and price value, updated each bar
Anchor reset marker: Vertical marker in elite theme color at each VWAP reset point
Four color themes: Phantom, Neon, Classic, Solar
Non-repainting: VWAP and bands computed cumulatively from anchor; no future data referenced
Institutional dashboard: 8-row table showing VWAP price, distance %, Z-score, reversion probability, order flow score, and market state
Input Parameters
Anchor Settings:
Anchor Method: Auto / Timeframe / Date
Manual Timeframe: Timeframe to anchor to when method is Timeframe
Manual Date: Specific timestamp when method is Date
Fibonacci Multipliers:
Global Sensitivity: Scales all band widths proportionally (default: 1.2)
Fib Level 1 through 6: Individual Fibonacci ratios (defaults: 0.236, 0.382, 0.500, 0.618, 1.000, 1.618)
Visual Styles:
Color Theme: Phantom / Neon / Classic / Solar
Highlight Candles: Toggle candle coloring by Z-score
Show Band Labels: Toggle right-edge price labels on each band
Table Position and Size
How to Use This Indicator
Step 1: Choose Your Anchor
For intraday scalping, use Auto or Daily anchor. For swing trading, use Weekly or Monthly. For event-driven analysis, use Date and anchor to a specific earnings release, FOMC announcement, or major swing point.
Step 2: Read Band Levels as Statistical Reference
The 0.5 band is one half standard deviation from VWAP — a mild deviation typical of normal trending behavior. The 1.618 band is the extreme extension zone. Price at the 1.618 band has a statistical reversion probability above 99.7%, but this does not mean reversion is imminent or guaranteed.
Step 3: Check the Reversion Probability
Read the Reversion Prob row in the dashboard. As Z-score rises above 2, reversion probability exceeds 95.4%. This quantifies how unusual the current deviation is relative to the full history from the anchor point.
Step 4: Confirm with Order Flow Score
The Order Flow score reflects whether the current bar has institutional characteristics. A high score (above 60) during a VWAP cross suggests genuine participation. A low score (below 30) during a cross suggests a potentially false signal.
Indicator Limitations
The VWAP standard deviation widens significantly with the anchor period. Bands anchored to a six-month period will be very wide; bands anchored to one day will be tight. The global sensitivity parameter must be adjusted accordingly
The Z-score probabilities assume normally distributed returns, which markets do not produce. Fat tails mean extreme Z-scores occur more frequently than the percentages suggest
The synthetic order flow score uses tick volume as a proxy for actual order flow. On assets with low tick frequency, this approximation is less reliable
VWAP-based analysis is most relevant for liquid instruments
This indicator does not generate entry or exit signals. It provides statistical deviation context
Originality Statement
Replacing standard deviation band multipliers with Fibonacci ratios (0.236 through 1.618), scaled by a volume-weighted standard deviation from a MIDAS anchor, is not replicated in existing open-source Pine Script v6 VWAP publications
The combination of Z-score computation, bell curve probability quantification, and a synthetic order flow score as a gate for VWAP cross signals within a single indicator is an original integration
The candle coloring gradient driven by Z-score intensity provides real-time deviation awareness directly on price bars without requiring a separate oscillator panel
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Statistical deviation probabilities are based on a normal distribution assumption that financial markets do not satisfy. Past VWAP behavior does not predict future price action. The author accepts no responsibility for trading losses resulting from use of this indicator.
Made with passion by jackofalltrades
インジケーター
