Pivot Points with Support/ResistanceA) Pivot Resistance Levels (R1, R2, R3…)
Resistance pivots are projected upside levels where price often pauses, rejects, or reverses. They are commonly used as profit targets for long trades and areas to watch for short setups when buyers show weakness.
B) Pivot Support Levels (S1, S2, S3…)
Support pivots are projected downside levels where price often stabilizes or bounces. They are commonly used as profit targets for short trades and areas to watch for long setups when sellers lose momentum.
C) Role in Market Structure
S/R pivots map out probable intraday supply and demand zones based on the prior session’s price action. They help define the day’s trading range and highlight high-probability reaction areas.
D) Trading Interpretation
Acceptance above resistance → bullish continuation
Rejection at resistance → potential pullback or reversal
Acceptance below support → bearish continuation
Rejection at support → potential bounce
Best used with trend context, volume, and confluence (CPR, VAH/VAL, Camarilla)
Penunjuk dan strategi
True FVGsThis script highlights 3-candle Fair Value Gaps (FVGs) on your chart, showing areas where price moved quickly and left potential gaps in market structure. Bullish FVGs are shown with green boxes and suggest possible support, while bearish FVGs are shown with red boxes and suggest possible resistance. It also includes doji candles—very small-bodied candles that indicate indecision—so these patterns are not missed. The script displays the most recent 5 FVGs, making it easy to spot recent potential areas where price may react.
bosstvs tikole sir + VWAP + EMA21 + SMA50Simple VWAP + SMA Trend with Pivot High/Low
📖 Description
This indicator is designed to identify bullish and bearish market conditions using VWAP, 21 SMA, and 50 SMA, along with Pivot High and Pivot Low lines for structure-based support and resistance.
It helps traders quickly understand trend direction, market bias, and key price levels on any timeframe.
✅ Bullish Conditions
Price is above 21 SMA
Price is above VWAP
🟢 Indicates strong bullish momentum.
❌ Bearish Conditions
Price is below 21 SMA
Price is below 50 SMA
Price is below VWAP
🔴 Indicates strong bearish momentum.
📐 Pivot High / Low
Pivot High lines act as resistance
Pivot Low lines act as support
Helps in identifying breakouts, reversals, and structure
🎯 Best Use
Intraday & Swing trading
Trend confirmation
Support & Resistance mapping
Works well with price action strategies
Market Trend AnalyserThis indicator identifies high-quality entries using market structure concepts such as Change of Character (ChoCH) and Break of Structure (BOS), rather than relying on lagging traditional indicators.
How to use :
Enter trades on ChoCH and BOS signals (both long and short).
To reduce market noise, it is recommended to apply:
An ATR filter with a minimum value of 1
An ADX filter with a minimum value of 15
You may also enable a moving average (MA) filter to avoid trading against the prevailing trend.
Blockcircle Fair Value Gaps (FVG) and Volume ValidationWHAT MAKES IT ORIGINAL AND DIFFERENT
The BLOCKCIRCLE FAIR VALUE GAPS (FVG) AND VOLUME VALIDATION indicator solves the most common FVG (or price value gap) problem: chart clutter from irrelevant gaps and adds two important features, volume validation and trend filtering. It implements proximity filtering to only show gaps within a configurable percentage of the current price, automatic age-based deletion, and maximum gap size limits to exclude extreme moves. The result is a clean chart showing only actionable gaps near current price action.
HOW IT WORKS
Fair Value Gaps form when prices move aggressively, leaving an unfilled gap between consecutive candles. This indicator identifies gaps but applies multiple relevance filters: gaps must be within the proximity threshold of the current price, younger than the maximum age, and sized between the minimum and maximum thresholds. Gaps outside these parameters are automatically removed.
FEATURES
Proximity filter removes gaps far from the current price
Maximum age filter deletes stale gaps
Minimum and maximum gap size filters
Volume confirmation option
Three mitigation detection methods
Info table showing active gap counts
CONFIGURABLE SETTINGS
Maximum Zones to Display: Limit visual clutter
Minimum Gap Size Percent: Filter insignificant gaps
Maximum Gap Size Percent: Filter extreme moves
Proximity Filter Percent: Only gaps within this distance from the price
Maximum Age Bars: Delete gaps older than this
Require Above Average Volume: Institutional filter
Mitigation Type: Wick, Close, or 50% Fill
Delete Mitigated Zones: Automatic cleanup
USAGE NOTES
Default 30% proximity means gaps more than 30% away from the current price are hidden. Increase for longer-term analysis or decrease for tighter focus. The maximum age of 200 bars prevents ancient gaps from cluttering the chart, but this can be changed to 5,000!
If you have any questions, please don't hesitate to ask. I'd be happy to help!
Lipsius Pure Momentum (1m/5m/15m/1h)Description:
Overview This script provides a complete, mechanical scalping strategy designed for 5m, 10m, and 15m timeframes. It combines trend filtering with momentum confirmation to identify high-probability entries while keeping you out of choppy markets.
It features a Real-Time Dashboard that tells you the current market state at a glance: Bullish, Bearish, or Neutral.
How it Works (The Logic) The strategy is built on three core pillars:
EMA 200 (Trend): Determines the long-term direction.
VWAP (Volume/Value): Acts as the dynamic "fair value" level.
RSI (Momentum): Measures the strength of the move.
Entry Rules
LONG Signal (Green 'L'):
Price must be ABOVE both the EMA 200 and the VWAP.
RSI must be healthy (oversold enough to have room to grow).
Trigger: RSI crosses above the 50-line.
SHORT Signal (Red 'S'):
Price must be BELOW both the EMA 200 and the VWAP.
RSI must be healthy (not already oversold).
Trigger: RSI crosses below the 50-line.
NO TRADE (Neutral):
If the price is trapped between the EMA and VWAP, the dashboard will show NEUTRAL. This is a chop zone—do not trade.
Features
Asset Class Switcher: Select "Crypto" (uses standard Volume VWAP) or "Forex" (uses a fallback calculation if volume data is missing) in the settings.
Live Dashboard: Displays the status of the EMA, VWAP, RSI, and the final Trading Bias (Seek Long / Seek Short).
Timeframe Monitor: The dashboard warns you (Orange color) if you are not on the recommended 5m, 10m, or 15m charts.
Settings
EMA Length: 200 (Default)
RSI Length: 14 (Default)
Asset Class: Toggle between Crypto and Forex.
Rejection Block StrategiyaRejection Block Strategy. This indicator draws rejection blocks on the chart based on the strategy explained by VerumTrader. You can use the default settings or change the settings.
RSI Momentum LockConcept & Philosophy This indicator is a unique hybrid trend-following system that combines the momentum power of RSI with the visual simplicity of the SuperTrend. Unlike standard indicators that flip constantly during choppy markets, the RSI Momentum Lock uses a "State Machine" logic to capture and hold strong trends.
How It Works The indicator creates a "Trend Lock" based on RSI breakout levels:
Bullish Lock (Green): Triggered ONLY when RSI closes above 70 (Overbought Breakout). The trend remains bullish even if RSI falls back to neutral levels (50-60), filtering out minor corrections.
Bearish Lock (Red): Triggered ONLY when RSI closes below 30 (Oversold Breakdown). The trend remains bearish until a new bullish breakout occurs.
Visuals The plot looks like a SuperTrend, calculated using ATR (Average True Range) to provide a dynamic Trailing Stop line.
Green Line: Support level during an uptrend.
Red Line: Resistance level during a downtrend.
Why Use This Indicator?
Filters Noise: It ignores sideways movement between RSI 30 and 70.
Early Entry: Catches the momentum explosion right at the breakout.
Longer Rides: Keeps you in the trade longer than traditional SuperTrends.
Settings
RSI Length: Default is 14.
Levels: Default triggers are 70 (Buy) and 30 (Sell).
ATR Factor: Controls the distance of the line from the price (Default 3.0).
الفكرة والفلسفة (Concept & Philosophy)
هذا المؤشر هو نظام اتجاه هجين فريد يجمع بين قوة زخم مؤشر RSI والبساطة البصرية لمؤشر SuperTrend.
على عكس المؤشرات التقليدية التي تغيّر اتجاهها باستمرار في الأسواق العرضية (المتذبذبة)، يعتمد مؤشر RSI Momentum Lock على منطق آلة الحالات (State Machine) لالتقاط الاتجاهات القوية والاحتفاظ بها لأطول فترة ممكنة.
كيف يعمل المؤشر؟ (How It Works)
يقوم المؤشر بإنشاء ما يُعرف بـ قفل الاتجاه (Trend Lock) بناءً على اختراقات مؤشر RSI:
قفل صاعد (Bullish Lock – أخضر)
يتم تفعيله فقط عندما يغلق مؤشر RSI أعلى مستوى 70 (اختراق تشبع شرائي).
يظل الاتجاه صاعدًا حتى لو عاد RSI إلى مناطق محايدة (50 – 60).
هذا الأسلوب يمنع الخروج المبكر بسبب التصحيحات البسيطة.
قفل هابط (Bearish Lock – أحمر)
يتم تفعيله فقط عندما يغلق مؤشر RSI أسفل مستوى 30 (اختراق تشبع بيعي).
يظل الاتجاه هابطًا حتى يحدث اختراق صاعد جديد.
يساعد على تجنب الإشارات الكاذبة أثناء التذبذب.
الشكل البصري (Visuals)
يظهر المؤشر بصريًا بشكل مشابه لـ SuperTrend، ويتم حسابه باستخدام ATR (متوسط المدى الحقيقي) لإنشاء خط وقف متحرك ديناميكي:
الخط الأخضر: مستوى دعم أثناء الاتجاه الصاعد.
الخط الأحمر: مستوى مقاومة أثناء الاتجاه الهابط.
لماذا تستخدم هذا المؤشر؟ (Why Use This Indicator?)
فلترة الضوضاء: يتجاهل الحركة العرضية عندما يكون RSI بين 30 و70.
دخول مبكر: يلتقط انفجار الزخم مباشرة عند الاختراق الحقيقي.
صفقات أطول: يبقيك داخل الصفقة لفترة أطول مقارنة بمؤشرات SuperTrend التقليدية.
الإعدادات (Settings)
طول RSI: القيمة الافتراضية 14
المستويات:
شراء: 70
بيع: 30
عامل ATR: يحدد بُعد الخط عن السعر (القيمة الافتراضية 3.0)
Apex Wallet - Bitcoin Halving Cycle & Profit ProjectionOverview The Apex Wallet Bitcoin Halving Cycle Profit is a strategic macro-analysis tool designed for Bitcoin investors and long-term holders. It provides a visual framework of Bitcoin's 4-year cycles by identifying past halving dates and projecting future ones automatically. The script highlights key accumulation and profit-taking windows based on historical cycle performance.
Dynamic Cycle Intelligence
Halving Milestones: Automatically detects and marks all major halving events (2012, 2016, 2020, 2024) with precise timestamps.
Predictive Projections: Using an estimated 1,460-day cycle, the script projects up to 30 future halving events to help plan long-term investment horizons.
Timeframe Optimization: Built specifically for Weekly (W) and Monthly (M) charts to provide a clean, high-level perspective of market structure.
Key Strategy Visuals
Profit Windows: Visualizes "Start" and "End" profit zones with automated vertical lines and color-coded labels based on user-defined offsets from the halving.
DCA Chain Signals: Identifies strategic Dollar Cost Averaging (DCA) points throughout the cycle to assist in disciplined accumulation.
Heatmap Shading: Features dynamic background shading that intensifies as the cycle progresses toward historical peak performance periods.
How to Use:
Switch to a Weekly or Monthly Bitcoin chart.
Use the Green Labels (Profit START) to identify early cycle strength.
Monitor the Red Labels (Profit END) for historical cycle exhaustion zones.
Multi-Layer Support Resistance & Auto TrendlineMulti-Layer Support Resistance & Auto Trendline (Multi-Timeframe Analysis)
Maximize your chart analysis with this advanced Support and Resistance (S/R) engine. This indicator automatically detects critical horizontal levels and diagonal trendlines across four different lookback periods, giving you a comprehensive view of market structure.
Why this indicator?
Universal Search Appeal: Ideal for traders looking for "Support and Resistance," "Auto Trendline," "Pivot Points," and "Gap Detection."
Multi-Layer Logic: Filters market noise by identifying levels from short-term scalping confirms to ultra-long-term historical walls.
Auto Trendlines: No more manual drawing. It automatically connects valid pivot highs and lows to visualize trend channels and breakouts.
Gap Analysis: Automatically marks "Windows" (Gaps) as high-priority zones, often acting as magnetic levels for future price action.
Cyberpunk Aesthetics: High visibility neon colors with customizable transparency to keep your chart professional yet intuitive.
How to trade: Focus on price action where multiple layers (e.g., a diagonal trendline and a long-term horizontal line) intersect. These "confluence zones" offer higher probability trade setups.
多層型サポート&レジスタンス+自動トレンドライン(マルチ分析エンジン)
「サポート・レジスタンス」「自動トレンドライン」「窓(ギャップ)検知」を一つに統合した、高度な相場分析ツールです。4つの期間(短期・中期・長期・超長期)から価格の壁と流れを自動的に抽出し、精度の高いトレード戦略をサポートします。
本インジケーターの強み:
高い検索親和性: 「サポレジ」「自動トレンドライン」「ピボット」「窓埋め」などの普遍的な要素を全て網羅しています。
4層の多角ロジック: ノイズの多い短期的な節目から、歴史的に意識される超長期の壁までを階層的に表示。
自動トレンドライン: 高値・安値の更新に合わせて斜めのラインを自動描画。トレンドの転換やブレイクアウトを瞬時に判断できます。
ギャップ(窓)検知: 窓が開いた重要価格帯を自動マーク。窓埋めや反発の根拠として利用できます。
洗練されたデザイン: 視認性の高いネオンカラーを採用しつつ、層ごとの透明度や太さを自由に調整可能。チャートの美しさと実用性を両立しました。
活用方法: 複数のライン(例:斜めのトレンドラインと長期水平線)が重なる「コンフルエンス(根拠の重なり)」に注目してください。そこが最も反発やブレイクが期待できる強力なエントリーポイントになります。
teril final Second Candle Cross Alert (Intrabar) before closeteril final Second Candle Cross Alert (Intrabar) before close
teril final Second Candle Cross Alert (Intrabar) before close
teril final Second Candle Cross Alert (Intrabar) before close
teril final Second Candle Cross Alert (Intrabar) before close
SuperBands: Smart Pullback StrategyIndicator Name: SuperBands (Smart Pullback Strategy)
1. Core Concept (The Philosophy)
This indicator represents a smart fusion of two powerful trading methodologies: Trend Following and Mean Reversion. Instead of trying to predict market tops or bottoms, it focuses on joining an established trend at a "Discount Price."
In short: "Buy the dips in an Uptrend, and Sell the rallies in a Downtrend."
2. Technical Components
The indicator consists of two main engines working in harmony:
First: The Trend Filter (Supertrend):
Settings: (ATR 20 / Factor 6.0).
Function: Identifies the long-term market direction. The high Factor (6.0) is deliberately used to filter out noise and minor fluctuations, ensuring the trend direction only changes when there is a significant market shift.
Rule: If the line is Green, only Long trades are allowed. If Red, only Short trades are allowed.
Second: The Sniper (Bollinger Bands):
Settings: (Length 20 / StdDev 2.0).
Function: Identifies temporary Overbought and Oversold zones within the trend.
Rule: The Lower Band acts as a "Value Zone" for buying, while the Upper Band acts as a "Premium Zone" for selling.
3. Signal Logic (How it Works)
The indicator scans the market for specific, high-probability conditions:
A. Buy Signal (Green Triangle):
Appears only when both conditions are met:
Trend is Bullish: Supertrend is Green.
Price is "Cheap": Price drops to touch or break the Lower Bollinger Band.
Logic: The general trend is Up, and the price has pulled back to a dynamic support level. This is a buying opportunity.
B. Sell Signal (Red Triangle):
Appears only when both conditions are met:
Trend is Bearish: Supertrend is Red.
Price is "Expensive": Price rises to touch or break the Upper Bollinger Band.
Logic: The general trend is Down, and the price has rallied to a dynamic resistance level. This is a selling opportunity.
4. User Guide (How to Trade It)
To achieve the best results, consider the following approach when a signal appears:
A. Entry:
Enter the trade immediately upon the close of the candle where the triangle appears (or place a pending order slightly above/below the signal candle for confirmation).
B. Stop Loss (SL):
Conservative: Place the SL at the Supertrend line (if this line breaks, the trend is invalid).
Aggressive: Place the SL slightly below the signal candle's low or the most recent Swing Low.
C. Take Profit (TP):
Target 1: The Bollinger Bands Middle Line (Basis/SMA 20).
Target 2: The Opposite Band (Upper Band for Buy signals, Lower Band for Sell signals).
5. Key Strengths & Limitations
Main Advantage: This indicator prevents a common trader mistake: "FOMO" (Fear Of Missing Out). It stops you from buying at the top or selling at the bottom. It psychologically forces you to wait for the price to come to you.
Best Use Case: The wide Supertrend settings make this highly effective for Crypto and Volatile Stocks where trends are strong and pullbacks are deep.
Limitation: In tight, ranging markets (choppy markets), the price might not touch the bands often, or it might generate a signal followed by sideways movement.
Summary for the Trader:
This indicator tells you: "The trend is Up, but don't chase the price... wait for it to drop to the Lower Band, then strike."
اسم المؤشر: SuperBands (Smart Pullback Strategy)
1. الفكرة الأساسية (الفلسفة وراء المؤشر)
هذا المؤشر هو دمج ذكي بين استراتيجيتين شهيرتين: تتبع الاتجاه (Trend Following) و اقتناص الارتدادات (Mean Reversion). هو لا يحاول التنبؤ بقمة أو قاع السوق، بل يحاول الدخول مع الاتجاه العام القوي ولكن من "نقطة سعرية مخفضة" (Discount Price).
باختصار: "اشترِ الانخفاضات في الاتجاه الصاعد، وبع الارتفاعات في الاتجاه الهابط".
2. المكونات التقنية
يتكون المؤشر من جزأين رئيسيين يعملان كفريق واحد:
أولاً: الحارس (Supertrend):
الإعدادات: (ATR 20 / Factor 6.0).
الوظيفة: تحديد الاتجاه العام "طويل المدى". استخدام العامل 6.0 (وهو رقم كبير) يجعل المؤشر يتجاهل التذبذبات الصغيرة ولا يغير لونه إلا إذا تغير الاتجاه الحقيقي للسوق بقوة.
القاعدة: إذا كان الخط أخضر، يُسمح بالشراء فقط. إذا كان أحمر، يُسمح بالبيع فقط.
ثانياً: القناص (Bollinger Bands):
الإعدادات: (Length 20 / StdDev 2.0).
الوظيفة: تحديد مناطق ذروة البيع والشراء المؤقتة (Overbought/Oversold) داخل الاتجاه.
القاعدة: الحد السفلي يعتبر منطقة "رخيصة" للشراء، والحد العلوي منطقة "غالية" للبيع.
3. كيف تتكون الإشارة (آلية العمل)
يقوم المؤشر بمسح السوق بحثاً عن شروط محددة بدقة:
A. إشارة الشراء (المثلث الأخضر):
تظهر فقط عند تحقق الشرطين معاً:
الاتجاه صاعد: السوبر تريند لونه أخضر.
سعر مغري: السعر هبط ليلامس أو يكسر الحد السفلي للبولنجر باند (Lower Band).
المنطق: الاتجاه العام صاعد، والسعر قام بعمل تصحيح (Pullback) لمستوى دعم ديناميكي، إذن هي فرصة للشراء بسعر أفضل.
B. إشارة البيع (المثلث الأحمر):
تظهر فقط عند تحقق الشرطين معاً:
الاتجاه هابط: السوبر تريند لونه أحمر.
سعر مرتفع: السعر صعد ليلامس أو يخترق الحد العلوي للبولنجر باند (Upper Band).
المنطق: الاتجاه العام هابط، والسعر قام بعمل تصحيح صعودي لمقاومة ديناميكية، إذن هي فرصة للبيع من مكان مرتفع.
4. كيفية الاستفادة منه (دليل المستخدم)
لتحقيق أفضل نتائج، يُنصح باتباع الخطوات التالية عند ظهور الإشارة:
أ. نقاط الدخول (Entry):
ادخل الصفقة بمجرد إغلاق الشمعة التي ظهر عليها المثلث (أو ضع أمر معلق فوق/تحت الشمعة لتأكيد الحركة).
ب. وقف الخسارة (Stop Loss):
الخيار الآمن: ضع الوقف عند خط السوبر تريند (لأنه إذا كُسر الخط، يعني أن الاتجاه تغير).
الخيار المغامر: ضع الوقف أسفل قاع الشمعة السابقة بمسافة بسيطة، أو أسفل آخر قاع (Swing Low).
ج. جني الأرباح (Take Profit):
الهدف الأول: خط المنتصف للبولنجر باند (الخط البرتقالي الخفي أو متوسط 20).
الهدف الثاني: الحد المعاكس للبولنجر باند (الحد العلوي في حالة الشراء، والسفلي في حالة البيع).
5. مميزات وعيوب يجب الانتباه لها
الميزة القوية: يمنعك هذا المؤشر من ارتكاب خطأ شائع وهو "الشراء في القمة" أو "البيع في القاع". هو يجبرك نفسياً على انتظار السعر ليأتي إليك في مناطق التصحيح.
نقطة القوة: إعدادات السوبر تريند (6.0) تجعل الإشارات قوية جداً في العملات الرقمية (Crypto) والأسهم ذات الاتجاه الواضح (Trending Markets).
نقطة الضعف: في الأسواق العرضية المملة (Ranging Markets) ذات النطاق الضيق جداً، قد لا تلمس الأسعار حدود البولنجر كثيراً، أو قد يعطي إشارات دخول والسوق لا يتحرك بعدها بقوة.
ملخص للمتداول:
هذا المؤشر يقول لك: "السوق صاعد، لكن لا تطارد السعر.. انتظر حتى يهبط السعر إليك عند الخط السفلي ثم اشترِ".
UFX PRO How it works
The indicator plots a single line on the chart that changes position and color depending on the trend:
🟢 Uptrend:
The SuperTrend line is below the price → bullish bias
🔴 Downtrend:
The SuperTrend line is above the price → bearish bias
When the price crosses the SuperTrend line, it often signals a potential trend reversal.
✅ Advantages
✔ Easy to read
✔ Works well in trending markets
✔ Adaptive to volatility
✔ Useful for stops and trend confirmation
SuperRSI: Enhanced MomentumTitle: SuperRSI: Enhanced Momentum
Description:
Overview The SuperRSI is not your standard Relative Strength Index. While traditional RSI calculates momentum based solely on close prices, this "Titan Edition" incorporates price structure breakouts. It analyzes whether the price is breaking new highs or lows within the lookback period to calculate momentum. This makes the SuperRSI significantly more responsive to volatility and genuine market action than the classic formula.
Key Features
Titan Calculation Logic: Uses High/Low breakouts to capture true momentum, making it faster and more sensitive than standard RSI.
Dynamic Trend Coloring: The RSI line automatically changes color to give you an instant visual bias:
Green: RSI is above the Signal Line (Bullish Momentum).
Red: RSI is below the Signal Line (Bearish Momentum).
Signal Line Filtering: Includes a built-in "Slow Signal" (EMA based) to help filter out market noise and identify sustainable trends.
Visual Gradients: Clear background fills for Overbought (OB) and Oversold (OS) zones to highlight extreme conditions.
How to Use
Trend Identification: Simply look at the line color. If it’s Green, momentum is bullish. If it’s Red, momentum is bearish.
Entry & Exit Signals: Watch for the crossover between the RSI line and the Signal Line. A cross above is a buy signal; a cross below is a sell signal.
Overbought/Oversold:
Above 80: Extreme bullish momentum (potential reversal or strong trend continuation).
Below 20: Extreme bearish momentum.
Settings
Fully customizable lengths for RSI and Signal lines.
Adjustable Smoothing methods (RMA, SMA, EMA).
Customizable Overbought/Oversold levels (Default: 80/20)
العنوان: SuperRSI: Enhanced Momentum
الوصف:
نظرة عامة مؤشر SuperRSI ليس مجرد مؤشر قوة نسبية تقليدي. بينما يعتمد الـ RSI العادي على أسعار الإغلاق فقط، تعتمد هذه النسخة المطور (Titan Edition) على اختراقات الهيكل السعري. يقوم المؤشر بحساب الزخم بناءً على ما إذا كان السعر يكسر قمماً جديدة أو قيعانًا جديدة خلال الفترة المحددة. هذا يجعله أكثر استجابة للتقلبات وحركة السوق الحقيقية مقارنة بالمعادلة الكلاسيكية.
أهم المميزات
معادلة Titan للزخم: تستخدم اختراقات القمم والقيعان (High/Low) لالتقاط الزخم الحقيقي، مما يجعله أسرع وأدق من RSI العادي.
تلوين ديناميكي للاتجاه: يتغير لون خط المؤشر تلقائياً ليعطيك رؤية فورية للاتجاه:
اللون الأخضر: الـ RSI يتداول فوق خط الإشارة (زخم صاعد).
اللون الأحمر: الـ RSI يتداول تحت خط الإشارة (زخم هابط).
فلترة الإشارات: يحتوي على "خط إشارة" مدمج (Slow Signal) لتنقية ضجيج السوق (Noise) وتحديد الاتجاهات المستدامة.
تدرجات لونية: خلفيات واضحة لمناطق التشبع الشرائي (Overbought) والتشبع البيعي (Oversold).
طريقة الاستخدام
تحديد الاتجاه: انظر ببساطة إلى لون الخط. إذا كان أخضر فالزخم شرائي، وإذا كان أحمر فالزخم بيعي.
إشارات الدخول والخروج: راقب التقاطع بين خط الـ RSI وخط الإشارة. التقاطع لأعلى يعتبر إشارة شراء، والتقاطع لأسفل يعتبر إشارة بيع.
مناطق التشبع:
فوق 80: تشبع شرائي (احتمالية انعكاس أو استمرار قوي للترند).
تحت 20: تشبع بيعي.
الإعدادات
إمكانية تعديل المدة الزمنية (Length) للـ RSI وخطوط الإشارة.
خيارات متعددة لنوع المتوسط المستخدم (RMA, SMA, EMA).
مستويات تشبع قابلة للتعديل (الافتراضي: 80/20).
Sonic R 89 - NY SL Custom Fixed//@version=5
indicator("Sonic R 89 - NY SL Custom Fixed", overlay=true, max_lines_count=500)
// --- 0. TÙY CHỈNH THÔNG SỐ ---
group_session = "Cài đặt Phiên Giao Dịch (Giờ New York)"
use_session = input.bool(true, "Chỉ giao dịch theo khung giờ", group=group_session)
session_time = input.session("0800-1200", "Khung giờ NY 1", group=group_session)
session_time2 = input.session("1300-1700", "Khung giờ NY 2", group=group_session)
max_trades_per_session = input.int(1, "Số lệnh tối đa/mỗi khung giờ", minval=1, group=group_session)
group_risk = "Quản lý Rủi ro (Dashboard)"
risk_usd = input.float(100.0, "Số tiền rủi ro mỗi lệnh ($)", minval=1.0, group=group_risk)
group_sl_custom = "Cấu hình Stop Loss (SL)"
sl_mode = input.string("Dragon", "Chế độ SL", options= , group=group_sl_custom)
lookback_x = input.int(5, "Số nến (X) cho Swing SL", minval=1, group=group_sl_custom)
group_htf = "Lọc Đa khung thời gian (MTF)"
htf_res = input.timeframe("30", "Chọn khung HTF", group=group_htf)
group_sonic = "Cấu hình Sonic R"
vol_mult = input.float(1.5, "Đột biến Volume", minval=1.0)
max_waves = input.int(4, "Ưu tiên n nhịp đầu", minval=1)
trade_cd = input.int(5, "Khoảng cách lệnh (nến)", minval=1)
group_tp = "Quản lý SL/TP & Dòng kẻ"
rr_tp1 = input.float(1.0, "TP1 (RR)", step=0.1)
rr_tp2 = input.float(2.0, "TP2 (RR)", step=0.1)
rr_tp3 = input.float(3.0, "TP3 (RR)", step=0.1)
rr_tp4 = input.float(4.0, "TP4 (RR)", step=0.1)
line_len = input.int(15, "Chiều dài dòng kẻ", minval=1)
// --- 1. KIỂM TRA PHIÊN & HTF ---
is_in_sess1 = not na(time(timeframe.period, session_time, "America/New_York"))
is_in_sess2 = not na(time(timeframe.period, session_time2, "America/New_York"))
is_in_session = use_session ? (is_in_sess1 or is_in_sess2) : true
var int trades_count = 0
is_new_session = is_in_session and not is_in_session
if is_new_session
trades_count := 0
htf_open = request.security(syminfo.tickerid, htf_res, open, lookahead=barmerge.lookahead_on)
htf_close = request.security(syminfo.tickerid, htf_res, close, lookahead=barmerge.lookahead_on)
is_htf_trend = htf_close >= htf_open ? 1 : -1
// --- 2. TÍNH TOÁN CHỈ BÁO ---
ema89 = ta.ema(close, 89)
ema34H = ta.ema(high, 34)
ema34L = ta.ema(low, 34)
atr = ta.atr(14)
avgVol = ta.sma(volume, 20)
slope89 = (ema89 - ema89 ) / atr
hasSlope = math.abs(slope89) > 0.12
isSqueezed = math.abs(ta.ema(close, 34) - ema89) < (atr * 0.5)
var int waveCount = 0
if not hasSlope
waveCount := 0
newWave = hasSlope and ((low <= ema34H and close > ema34H) or (high >= ema34L and close < ema34L))
if newWave and not newWave
waveCount := waveCount + 1
// --- 3. LOGIC VÀO LỆNH ---
isMarubozu = math.abs(close - open) / (high - low) > 0.8
highVol = volume > avgVol * vol_mult
buyCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == 1 and
(isMarubozu or highVol) and close > ema34H and low >= ema89 and
(slope89 > 0.1 or isSqueezed ) and close > open
sellCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == -1 and
(isMarubozu or highVol) and close < ema34L and high <= ema89 and
(slope89 < -0.1 or isSqueezed ) and close < open
// --- 4. QUẢN LÝ LỆNH ---
var float last_entry = na
var float last_sl = na
var float last_tp1 = na
var float last_tp2 = na
var float last_tp3 = na
var float last_tp4 = na
var string last_type = "NONE"
var int lastBar = 0
trigger_buy = buyCondition and (bar_index - lastBar > trade_cd)
trigger_sell = sellCondition and (bar_index - lastBar > trade_cd)
// --- 5. TÍNH TOÁN SL & LOT SIZE ---
float contract_size = 1.0
if str.contains(syminfo.ticker, "XAU") or str.contains(syminfo.ticker, "GOLD")
contract_size := 100
// Logic tính SL linh hoạt
float swing_low = ta.lowest(low, lookback_x)
float swing_high = ta.highest(high, lookback_x)
float temp_sl_calc = na
if trigger_buy
temp_sl_calc := (sl_mode == "Dragon") ? ema34L : swing_low
if trigger_sell
temp_sl_calc := (sl_mode == "Dragon") ? ema34H : swing_high
float sl_dist_calc = math.abs(close - temp_sl_calc)
float calc_lots = (sl_dist_calc > 0) ? (risk_usd / (sl_dist_calc * contract_size)) : 0
if (trigger_buy or trigger_sell)
trades_count := trades_count + 1
lastBar := bar_index
last_type := trigger_buy ? "BUY" : "SELL"
last_entry := close
last_sl := temp_sl_calc
float riskAmt = math.abs(last_entry - last_sl)
last_tp1 := trigger_buy ? last_entry + (riskAmt * rr_tp1) : last_entry - (riskAmt * rr_tp1)
last_tp2 := trigger_buy ? last_entry + (riskAmt * rr_tp2) : last_entry - (riskAmt * rr_tp2)
last_tp3 := trigger_buy ? last_entry + (riskAmt * rr_tp3) : last_entry - (riskAmt * rr_tp3)
last_tp4 := trigger_buy ? last_entry + (riskAmt * rr_tp4) : last_entry - (riskAmt * rr_tp4)
// Vẽ dòng kẻ
line.new(bar_index, last_entry, bar_index + line_len, last_entry, color=color.new(color.gray, 50), width=2)
line.new(bar_index, last_sl, bar_index + line_len, last_sl, color=color.red, width=2, style=line.style_dashed)
line.new(bar_index, last_tp1, bar_index + line_len, last_tp1, color=color.green, width=1)
line.new(bar_index, last_tp2, bar_index + line_len, last_tp2, color=color.lime, width=1)
line.new(bar_index, last_tp3, bar_index + line_len, last_tp3, color=color.aqua, width=1)
line.new(bar_index, last_tp4, bar_index + line_len, last_tp4, color=color.blue, width=2)
// KÍCH HOẠT ALERT()
string alert_msg = (trigger_buy ? "BUY " : "SELL ") + syminfo.ticker + " at " + str.tostring(close) + " | SL Mode: " + sl_mode + " | Lot: " + str.tostring(calc_lots, "#.##") + " | SL: " + str.tostring(last_sl, format.mintick)
alert(alert_msg, alert.freq_once_per_bar_close)
// --- 6. CẢNH BÁO CỐ ĐỊNH ---
alertcondition(trigger_buy, title="Sonic R BUY Alert", message="Sonic R BUY Signal Detected")
alertcondition(trigger_sell, title="Sonic R SELL Alert", message="Sonic R SELL Signal Detected")
// --- 7. DASHBOARD & PLOT ---
var table sonic_table = table.new(position.top_right, 2, 10, bgcolor=color.new(color.black, 70), border_width=1, border_color=color.gray)
if barstate.islast
table.cell(sonic_table, 0, 0, "NY SESSION", text_color=color.white), table.cell(sonic_table, 1, 0, last_type, text_color=(last_type == "BUY" ? color.lime : color.red))
table.cell(sonic_table, 0, 1, "SL Mode:", text_color=color.white), table.cell(sonic_table, 1, 1, sl_mode, text_color=color.orange)
table.cell(sonic_table, 0, 2, "Trades this Sess:", text_color=color.white), table.cell(sonic_table, 1, 2, str.tostring(trades_count) + "/" + str.tostring(max_trades_per_session), text_color=color.yellow)
table.cell(sonic_table, 0, 3, "LOT SIZE:", text_color=color.orange), table.cell(sonic_table, 1, 3, str.tostring(calc_lots, "#.##"), text_color=color.orange)
table.cell(sonic_table, 0, 4, "Entry:", text_color=color.white), table.cell(sonic_table, 1, 4, str.tostring(last_entry, format.mintick), text_color=color.yellow)
table.cell(sonic_table, 0, 5, "SL:", text_color=color.white), table.cell(sonic_table, 1, 5, str.tostring(last_sl, format.mintick), text_color=color.red)
table.cell(sonic_table, 0, 6, "TP1:", text_color=color.gray), table.cell(sonic_table, 1, 6, str.tostring(last_tp1, format.mintick), text_color=color.green)
table.cell(sonic_table, 0, 7, "TP2:", text_color=color.gray), table.cell(sonic_table, 1, 7, str.tostring(last_tp2, format.mintick), text_color=color.lime)
table.cell(sonic_table, 0, 8, "TP3:", text_color=color.gray), table.cell(sonic_table, 1, 8, str.tostring(last_tp3, format.mintick), text_color=color.aqua)
table.cell(sonic_table, 0, 9, "TP4:", text_color=color.gray), table.cell(sonic_table, 1, 9, str.tostring(last_tp4, format.mintick), text_color=color.blue)
plot(ema89, color=slope89 > 0.1 ? color.lime : slope89 < -0.1 ? color.red : color.gray, linewidth=2)
p_high = plot(ema34H, color=color.new(color.blue, 80))
p_low = plot(ema34L, color=color.new(color.blue, 80))
fill(p_high, p_low, color=color.new(color.blue, 96))
plotshape(trigger_buy, "BUY", shape.triangleup, location.belowbar, color=color.green, size=size.small)
plotshape(trigger_sell, "SELL", shape.triangledown, location.abovebar, color=color.red, size=size.small)
bgcolor(isSqueezed ? color.new(color.yellow, 92) : na)
bgcolor(not is_in_session ? color.new(color.gray, 96) : na)
Multi-Timeframe Order BlocksDesigned to identify and visualize key supply and demand zones based on order block theory across multiple timeframes. The indicator detects order blocks by analyzing sequential candle patterns and price movement thresholds to highlight potential reversal or continuation zones where institutional buying or selling activity may have occurred.
The indicator works by scanning for clusters of consecutive bullish or bearish candles followed by a significant price move, which signals the formation of an order block. It then plots these zones as colored boxes on the chart—green for demand (bullish order blocks) and red for supply (bearish order blocks). The zones can be based on candle bodies or wicks, depending on user preference, and the indicator supports multi-timeframe analysis by allowing optional higher timeframe inputs.
How It Works:
Sequential Candle Detection: The indicator looks for a specified number of consecutive bullish or bearish candles (configurable by the user) to identify potential order blocks.
Price Movement Threshold: It checks if the price movement after the order block formation exceeds a user-defined percentage threshold, ensuring only significant zones are marked.
Zone Plotting: Once an order block is confirmed, the indicator draws a supply or demand zone as a box on the chart, using either candle bodies or wicks for zone boundaries.
Multi-Timeframe Support: Users can optionally specify higher timeframes to incorporate broader market context, enhancing the reliability of the zones.
Zone Management: The indicator limits the number of zones displayed to avoid clutter, automatically removing the oldest zones when the maximum count is exceeded.
How to Interpret:
Demand Zones (Green Boxes): These represent areas where buying pressure was strong enough to create a bullish order block. Price often finds support here, making these zones potential entry points for long trades or areas to watch for price bounces.
Supply Zones (Red Boxes): These indicate areas of strong selling pressure forming bearish order blocks. Price may face resistance in these zones, which can be used as potential exit points for longs or entry points for shorts.
Multi-Timeframe Confirmation: Zones identified on higher timeframes tend to be stronger and more reliable. Use the optional higher timeframe inputs to align your trades with broader market trends.
Use with Other Indicators: Combine order block zones with volume, momentum, or trend indicators to improve trade confirmation and risk management.
Zone Breaks: A decisive break and close beyond a supply or demand zone may signal a shift in market sentiment and potential trend continuation or reversal.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Trading involves significant risk, and it is possible to lose more than your initial investment. Users should conduct their own research and consider their financial situation carefully before making any trading decisions. The developer and publisher of this indicator are not responsible for any trading losses or damages incurred. Always use proper risk management and consult with a licensed financial advisor if needed.
Fibonacci ATMAFibonacci ATMA. An ATR-adjusted EMA. This is for use with fibonacci scales for day trading and swing trading.
Super OscillatorSuper Oscillator – Intraday Momentum
Super Oscillator is a momentum-based oscillator designed for intraday trading, optimized for 1-minute charts and fast market conditions.
The indicator uses a zero-centered momentum model with dynamic smoothing and clearly defined zones to help traders identify exhaustion, pullbacks, and momentum shifts without excessive noise.
Key Features
Zero-centered oscillator for immediate directional bias
Dynamic overbought and oversold zones
Neutral “dead zone” to avoid low-probability trades
Smoothed momentum line with signal line for timing entries
Optimized for scalping and short-term intraday trading
Fully compatible with TradingView Pine Script v6
How to Use
Overbought zone: Look for bearish reactions or momentum exhaustion
Oversold zone: Look for bullish reactions or pullbacks
Dead zone: Avoid trades when momentum is unclear
Use the oscillator as a confirmation tool, always with price action and structure
Best Use Case
Intraday scalping (1M–5M)
Futures markets (indices, metals)
NY session trading
Disclaimer
This indicator does not predict price direction. It measures momentum and exhaustion and should be used as part of a complete trading plan with proper risk management.
Volume Profile - Density of Density [DAFE]Volume Profile - Density of Density
The Art & Science of Market Architecture: An AI-Enhanced Volume Profile & Order Flow Engine with a Revolutionary Visualization Core.
█ PHILOSOPHY: BEYOND THE PROFILE, INTO THE DENSITY
Standard Volume Profile shows you a one-dimensional story: where volume was traded. It shows you the first layer of density. But this is like looking at a galaxy and only seeing the stars, completely missing the gravitational forces, the dark matter, and the nebulae that give it structure.
Volume Profile - Density of Density (VP-DoD) is a revolutionary leap forward. It was engineered to analyze the second order of market data: the properties of the density itself . We don't just ask "Where did volume trade?" We ask " Why did it trade there? What was the character of that volume? What is the statistical significance of its shape? What is the probability of what happens next?"
This is a complete, institutional-grade analytical framework built on the DAFE principle: Data Analysis For Execution . It fuses a higher-timeframe structural engine, a proprietary microstructure delta engine, and a Bayesian AI into a single, cohesive intelligence system. It is designed to transform your chart from a flat, lagging record of the past into a living, three-dimensional map of market structure and intention.
█ WHAT MAKES VP-DoD ULTIMATE UNLIKE ANY OTHER PROFILE TOOL?
This is not just another volume profile script. It stands apart due to a suite of proprietary features previously unseen on this platform.
Higher Timeframe (HTF) Core: While other profiles are trapped by the noise of your current chart, VP-DoD builds its foundation on a higher timeframe of your choice (e.g., Daily data on a 15m chart). This is its greatest strength. It filters out intraday noise to reveal the true, macro architectural levels where institutions have built their positions.
Microstructure Hybrid Delta Engine: Standard delta is primitive. Our engine provides a far more accurate picture of order flow by simulating tick data and analyzing the battle between candle bodies (aggression) and wicks (absorption). It sees the hidden story inside the volume.
Bayesian AI Confidence Model: This is not a simple weighted score. VP-DoD incorporates a genuine Bayesian inference model. It starts with a neutral "belief" about the market and continuously updates its Bullish/Bearish Confidence percentage based on new evidence from delta, POC velocity, and price action. It thinks like a professional quant, providing you with a real-time statistical edge.
Advanced Statistical Analysis: It calculates metrics found nowhere else, such as Profile Entropy (a measure of market disorder) and Volatility Skew (a measure of fear vs. greed from the derivatives market), and normalizes them with Z-Scores for universal applicability.
Revolutionary Visualization Engine: Data should be intuitive and beautiful. VP-DoD features 14 distinct, animated, and theme-aware rendering modes . From "Nebula Plasma" and "Liquid Metal" to "DNA Helix" and "Constellation Map," you can transform raw data into interactive data art, allowing you to perceive market structure in a way that resonates with your unique analytical style.
█ THE ART OF ANALYSIS: A REVOLUTIONARY VISUALIZATION CORE
Data is useless if it isn't intuitive. VP-DoD shatters the mold of boring, static indicators with a state-of-the-art visualization engine. This is where data analysis becomes data art.
The Profile Itself: 14 Modes of Perception
Choose how you want to see the market's architecture:
Nebula Plasma & Quantum Matrix: Futuristic, cyberpunk aesthetics with vibrant glow effects that make HVNs and POCs pulse with energy.
Thermal Vision & Heat Shimmer: Renders the profile as a heatmap, instantly drawing your eye to the "hottest" zones of institutional liquidity.
Liquid Metal & Crystalline: Creates a tangible, almost physical representation of volume with metallic sheens, animated light flows, and faceted structures.
3D Depth Map & Prismatic Refraction: Uses layering and color channel separation to create a stunning illusion of depth, separating the profile into its core components.
Particle Field & Constellation Map: Abstract, beautiful data art modes that represent volume as animated particles or glowing stars, connecting major nodes like celestial bodies.
DNA Helix & Magnetic Field: Dynamic, animated modes that visualize the forces of attraction and repulsion around the POC and Value Area, representing the market's underlying code.
The POC & Value Area: A Living, Breathing Structure
The POC and VA are no longer static lines. They are a dynamic, interactive system designed for immediate contextual awareness:
Multi-Layered Glow Effects: The POC and VA lines are rendered with multiple layers of glowing, pulsating light, giving them a vibrant, three-dimensional presence on your chart.
Dynamic Labels & Badges: Each key level (POC, VAH, VAL) features an advanced label block showing not just the price, but the real-time distance from the current price, and a status badge (e.g., "▲ ABOVE", "◆ INSIDE") that changes color and text based on price interaction.
Intelligent Color Adaptation: The color of the VAH and VAL lines dynamically changes. A VAH line will glow bright green when price is breaking above it, but will appear dim and neutral when price is far below it, providing instant visual cues about market context.
█ ACTIONABLE INTELLIGENCE: THE SIGNAL & ALERT SYSTEM
VP-DoD is not just an analytical tool; it's a complete trading framework with a built-in, context-aware signal system.
Absorption/Distribution Signals (🏦): The "Whale Signal." Triggers when price and delta are in stark divergence, indicating large passive orders are absorbing the market—a classic institutional maneuver.
Coiling Signals (⚡): A high-probability setup that alerts you when the market is compressing (VA contracting, low entropy), storing energy for a significant breakout.
POC Shift & VA Breakout Signals: Trend-initiation signals that fire when value is migrating and the market breaks out of its established balance area with conviction.
Delta Extreme Signals: Contrarian reversal signals that detect capitulation at the extremes of buying or selling pressure, often marking key turning points.
█ THE DASHBOARD: YOUR INSTITUTIONAL COMMAND CENTER
The professional-grade dashboard provides a real-time, comprehensive overview of the market's hidden state.
Market Regime: Instantly know if the market is BALANCED, COILING, TRENDING , or VOLATILE .
Advanced Metrics: Monitor Entropy (disorder), Volatility Skew (fear/greed), and a composite Risk Score .
Institutional Score: See the calculated Liquidity Score and Conviction Level , grading the quality of the current market structure.
Bayesian AI: The crown jewel. See the real-time, AI-calculated Bull vs. Bear Confidence percentages, giving you a statistical edge on the probable direction of the next move.
Breakout Gauge: A forward-looking metric that calculates the Breakout Probability and its likely Bias (Bullish/Bearish).
█ DEVELOPMENT PHILOSOPHY
VP-DoD Ultimate was created out of a passion for revealing the hidden architecture of the market. We believe that the most profound truths are found at the intersection of rigorous science and intuitive art. This tool is the culmination of thousands of hours of research into market microstructure, statistical analysis, and data visualization. It is for the trader who is no longer satisfied with lagging indicators and seeks a deeper, more contextual understanding of the market auction. It is for the trader who believes that analysis should be not only effective but also beautiful.
VP-DoD Ultimate is designed to help you ride the trend with confidence, but more importantly, to give you the data-driven intelligence to anticipate that final, critical bend.
█ DISCLAIMER AND BEST PRACTICES
CONTEXT IS KING: This is an advanced contextual tool, not a simple "buy/sell" signal indicator. Use its intelligence to frame your trades within your own strategy.
RISK MANAGEMENT IS PARAMOUNT: All trading involves substantial risk. The signals and levels provided are based on historical data and statistical probability, not guarantees.
HTF IS YOUR GUIDE: For the highest probability setups, use the HTF feature (e.g., 240m or Daily) to identify macro structure. Then, execute trades on a lower timeframe based on interactions with these key macro levels.
ALIGN WITH THE REGIME: Pay close attention to the "Regime" and "Entropy" readouts on the dashboard. Trading a breakout strategy during a high-entropy "RANGING" regime is a low-probability endeavor. Align your strategy with the market's current state.
"The trend is your friend, except at the end where it bends."
— Ed Seykota, Market Wizard
Taking you to school. - Dskyz, Trade with Volume. Trade with Density. Trade with DAFE
AI Academy: Volume k-NN [PhenLabs]📊 AI Academy: Volume k-NN
Version: PineScript™ v6
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 Description
AI Academy: Volume k-NN (Theory Edition) is an educational indicator designed to demystify how artificial intelligence pattern recognition works directly on your TradingView charts. Rather than being a black-box signal generator, this tool visualizes the entire k-Nearest Neighbors algorithm process in real-time, showing you exactly how AI identifies similar historical patterns and generates predictions.
The indicator scans up to 2,000 historical bars to find patterns that match your current price action, then uses an ensemble of the closest matches to project potential future movement. What sets this apart is the integrated “AI Grimoire”—an interactive educational book overlay that teaches core machine learning concepts through four illuminating chapters.
Whether you’re a trader curious about AI methodology or a developer learning algorithmic concepts, this indicator transforms abstract machine learning theory into tangible, visual understanding.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Points of Innovation
• First TradingView indicator to visualize k-NN algorithm execution in real-time with full transparency
• Interactive “AI Grimoire” educational overlay teaches machine learning concepts while you trade
• Dual-mode pattern matching combines price action with optional volume confirmation
• Confidence-based opacity system visually communicates prediction reliability
• Historical match visualization shows exactly which past patterns informed the prediction
• Ghost bar projections display averaged ensemble predictions with adjustable forecast horizons
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 Core Components
• Pattern Capture Engine: Converts recent price action into logarithmic returns for normalized comparison across different price levels
• k-NN Search Algorithm: Calculates Euclidean distance between current pattern and historical patterns to find closest matches
• Volume Weighting System: Optional feature that incorporates volume patterns into distance calculations with adjustable influence
• Ensemble Predictor: Averages future returns from k-nearest historical matches to generate consensus forecast
• Confidence Calculator: Measures average distance of top matches to determine prediction reliability on 0-100% scale
• AI Grimoire Display: Table-based educational overlay rendering book-style content with chapter navigation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔥 Key Features
• Adjustable Pattern Length: Define how many bars constitute the current pattern for matching (5-100 bars)
• Configurable Search Depth: Control how far back the algorithm searches for historical matches (500-4,900 bars)
• Flexible k-Neighbors: Select how many closest matches inform the prediction (1-20 neighbors)
• Volume Toggle: Enable or disable volume pattern matching for different market conditions
• Volume Influence Slider: Fine-tune the weight given to volume vs. price patterns (0-100%)
• Ghost Bar Count: Adjust how many future bars the indicator projects (3-15 bars)
• Minimum Confidence Filter: Set threshold to hide low-confidence predictions
• Historical Match Display: Toggle visibility of colored boxes marking source patterns
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 Visualization
• Blue Scanner Box: Highlights current pattern being analyzed labeled “AI INPUT (The Prompt)”
• Green Historical Boxes: Mark past patterns where price subsequently moved bullish
• Red Historical Boxes: Mark past patterns where price subsequently moved bearish
• Ghost Bars: Semi-transparent candles projecting into the future showing predicted price path
• Confidence Label: Displays prediction confidence percentage and number of matches used
• AI Grimoire Book: Leather-bound book overlay in top-right corner with navigable chapters
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 Usage Guidelines
Algorithm Settings
• Pattern Length — Default: 20 | Range: 5-100 | Controls how many recent bars define the pattern. Shorter values find more matches but less specific. Longer values find fewer but more precise matches.
• Search Depth — Default: 2000 | Range: 500-4900 | Determines how many historical bars to scan. Higher values find more potential matches but increase computation time.
• k-Neighbors — Default: 5 | Range: 1-20 | Number of closest matches to use for prediction. Higher values smooth predictions but may dilute strong signals.
• Ghost Bar Count — Default: 5 | Range: 3-15 | How many future bars to project. Shorter horizons are typically more reliable.
• Use Volume Matching — Default: Off | When enabled, patterns must match on both price AND volume characteristics.
• Volume Influence — Default: 30% | Range: 0-100% | Weight given to volume pattern when volume matching is enabled.
Visualization Settings
• Bullish/Bearish Match Colors — Customize colors for historical match boxes based on outcome direction.
• Min Confidence % — Default: 60 | Predictions below this threshold will not display.
• Show Historical Matches — Default: On | Toggle visibility of source pattern boxes on chart.
Education Settings
• Select Chapter — Navigate through AI Grimoire chapters or keep book closed for clean chart view.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Best Use Cases
• Learning how k-Nearest Neighbors algorithm functions in a trading context
• Understanding the relationship between historical patterns and forward predictions
• Identifying when current market conditions resemble past scenarios
• Supplementing discretionary analysis with pattern-based confluence
• Teaching others machine learning concepts through visual demonstration
• Validating whether volume confirms price pattern formations
• Building intuition for what AI “sees” when analyzing charts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Limitations
• Past pattern similarity does not guarantee future outcome similarity
• Requires sufficient historical data (minimum 500+ bars) to function properly
• Computation-intensive on lower timeframes with maximum search depth
• Cannot predict truly novel “black swan” events not represented in historical data
• Volume matching less effective on assets with inconsistent volume reporting
• Predictions become less reliable as forecast horizon extends further out
• Educational overlay may obstruct chart view on smaller screens
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 What Makes This Unique
• Full Transparency: Unlike black-box AI tools, every step of the algorithm is visualized on your chart
• Integrated Education: The AI Grimoire teaches machine learning concepts without leaving TradingView
• Theory Meets Practice: See exactly which historical patterns inform each prediction
• Honest Uncertainty: Confidence scoring and opacity fading acknowledge when the AI “doesn’t know”
• Dual-Mode Analysis: Optional volume weighting adds institutional-quality analysis dimension
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 How It Works
1. Pattern Capture: On each bar, the indicator captures the most recent price changes as logarithmic returns, creating a normalized “fingerprint” of current market behavior. If volume matching is enabled, volume changes are captured similarly.
2. Historical Search: The algorithm iterates through up to 2,000 historical bars, calculating the Euclidean distance between the current pattern fingerprint and each historical pattern. Distance combines price similarity and optional volume similarity based on weight settings.
3. Neighbor Selection: All historical patterns are ranked by similarity (lowest distance = most similar). The k-closest matches are selected as the “ensemble council” that will inform the prediction.
4. Confidence Calculation: Average distance of top-k matches determines confidence. Tighter clustering of similar patterns yields higher confidence scores, while scattered or distant matches produce lower confidence.
5. Prediction Generation: Future returns from each historical match (what happened AFTER those patterns) are averaged together. This ensemble average is applied to current price to generate ghost bar projections.
6. Visualization: Historical match locations are marked with colored boxes (green for bullish outcomes, red for bearish). Ghost bars render with opacity tied to confidence level—higher confidence means more solid bars.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Note:
This indicator is designed primarily for educational purposes —to help traders understand how AI pattern recognition algorithms function. While the predictions can supplement your analysis, they should never be used as the sole basis for trading decisions. The AI Grimoire chapters explain key concepts including why AI “hallucinates” during unprecedented market events. Always combine with proper risk management and additional confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ETHUSD in Compression Phase Above Support📉 DeadChart – Silence Before Expansion
DeadChart is a minimalist, professional market-state indicator designed to identify low-volatility “dead zones” where price pauses, liquidity is absorbed, and the next expansion is quietly prepared. Instead of chasing noise, this tool helps traders focus on where nothing is happening — because that’s often where the real move is born.
🧠 Concept Behind DeadChart
Markets do not move continuously. They alternate between:
Expansion (impulse)
Compression (silence / accumulation)
DeadChart is built to visually highlight these compression phases, where volatility dries up and emotional traders lose interest — while smart money positions quietly.
Silence comes before the storm.
🧩 How the Indicator Works
Uses ATR (Average True Range) to measure real volatility
Compares current volatility with its historical average
When volatility contracts below normal levels, the market is labeled as a Dead Zone
Candles turn neutral grey, visually removing emotional bias
Clearly marked Support and Resistance zones provide institutional context
🎯 Key Features
✔ Dead Market (Low Volatility) Detection
✔ Clean, Dark Institutional Visual Style
✔ Fixed High-Probability Support & Resistance Zones
✔ Noise-Free Candle Coloring During Compression
✔ Non-repainting logic
✔ Lightweight and chart-friendly
MONSTER KHAN GOLED KILLERTHIS INDICATORE work base on many strategies and work in gold btc and us oil but best for gold and btc use m5 to m15 time frame






















