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
指标和策略
Multi Moving Averages (EMA / SMA Toggle) ConfigurableMulti Moving Averages (EMA / SMA Toggle) is a lightweight and highly configurable indicator designed to plot up to three moving averages on your chart with a clean and minimalist input panel.
The indicator allows you to switch seamlessly between Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) using a single toggle, while preserving the same lengths, sources, and visual settings. Each moving average can be independently shown or hidden and fully customized for color, line width, and plot style.
This tool is ideal for traders who rely on multiple moving averages for trend identification, dynamic support and resistance, pullback analysis, and crossover-based strategies, while keeping their charts uncluttered and easy to read.
Key Features
Plot up to three moving averages
Global EMA / SMA toggle
Individual show / hide control for each MA
Customizable length, source, color, width, and style
Minimalist input layout with low scrolling
Fully compatible with the Style panel
Whether you prefer fast-reacting EMAs or smoother SMAs, this indicator adapts instantly to your workflow without requiring multiple indicators or duplicate settings.
MA-trix Laboratory [DAFE]MA-trix Laboratory : The Ultimate Moving Average & Trend Following Engine
55+ Algorithms. Dual/Triple MA Systems. Advanced Signal Filtering. Quantum Smoothing. This is not just a moving average; it is the definitive toolkit for forging your perfect trend.
█ PHILOSOPHY: WELCOME TO THE LABORATORY
The moving average is the cornerstone of technical analysis. It is also, in its standard form, an obsolete, one-dimensional tool. A simple EMA or SMA is a blunt instrument in a market that demands surgical precision. It lags, it whipsaws, and it fails to adapt to the market's ever-changing character.
The MA-trix Laboratory was not created to be another moving average. It was engineered to be the final word on moving averages—a comprehensive, institutional-grade research and execution environment. This is not an indicator; it is a powerful, interactive sandbox where you, the trader, can move beyond the static "one-size-fits-all" approach. Here, you can experiment, test, and forge a moving average system that is perfectly synchronized with your specific market, timeframe, and analytical style.
We have deconstructed the very concept of "average" and rebuilt it from the ground up, creating a library of over 55 distinct mathematical algorithms —from timeless classics to proprietary quantum models—all housed within a single, unified, and infinitely configurable engine.
█ WHAT MAKES THIS A "LABORATORY"? THE CORE INNOVATIONS
This tool stands in a class of its own, offering a suite of features that collectively create an unparalleled analytical experience.
The 55+ Algorithm MA Core: This is the heart of the Laboratory. You are not limited to one or two MA types. You have a vast library of over 55 unique mathematical engines at your command, from classical SMAs to advanced adaptive algorithms like KAMA and FRAMA, to proprietary DAFE models like the "DAFE Flux Reactor" and "DAFE Quantum Step."
Multi-MA Architecture: Seamlessly switch between Single, Dual, and Triple MA operational modes. Build classic two-line crossover systems, three-line trend alignment confirmations, or beautiful, flowing ribbons with just a single click.
Advanced Post-Smoothing Engine: In a revolutionary step, you can apply a second layer of signal processing to your chosen MA. Select from a suite of over 20 professional-grade noise filters —including Ehlers' SuperSmoother, Kalman Filters, and the proprietary "DAFE Phase-Zero"—to surgically remove noise from your MA line after it has been calculated, achieving unprecedented smoothness without significant lag.
The Institutional Signal Filtering Suite: A signal is only as good as its filter. The Laboratory includes a powerful, multi-domain filter engine that acts as an intelligent gatekeeper for your signals. You can require signals to be confirmed by any combination of:
📦 Volume: Require a surge in volume to validate a crossover.
🌊 Volatility: Only take signals during low-volatility "squeeze" conditions or high-volatility expansions.
💪 Trend: Use the ADX to ensure you are only taking signals in the direction of a strong, established trend.
🚀 Momentum: Use RSI, MACD, or ROC to confirm that momentum is on your side.
Integrated Performance Engine: How do you know which of the 55+ algorithms is best? You test it. The built-in Performance Dashboard is a comprehensive backtesting engine that tracks every trade generated by your configuration, providing real-time data on Win Rate, Profit Factor, Net P&L, and Max Drawdown.
█ THE ARSENAL: A DEEP DIVE INTO THE ALGORITHMIC CORE
This is your library of mathematical DNA. The 55+ MA types are grouped into distinct families, each with a unique philosophy.
THE ALGORITHM FAMILIES
The Classics (SMA, EMA, WMA, etc.): The foundational building blocks. Simple, reliable, and universally understood. EMA for responsiveness, SMA for smoothness.
The Low-Lag Warriors (DEMA, TEMA, Hull MA, ZLEMA): A family of MAs engineered specifically to combat the inherent lag of classical averages. The Hull MA is a standout, offering a remarkable balance of extreme smoothness and near-zero lag.
The Adaptive Geniuses (KAMA, VIDYA, FRAMA, Volatility Adjusted MA): These are "smart" MAs. They contain internal logic that allows them to automatically change their speed based on market conditions. They will tighten up in fast-moving trends and loosen in sideways chop, intelligently filtering out noise.
The DSP & Quantitative Masters (Gaussian, Ehlers, Butterworth, Laguerre): These algorithms are born from the world of digital signal processing and advanced mathematics. They use sophisticated techniques like bell-curve weighting, non-linear feedback loops, and frequency filtering to separate the true trend "signal" from market "noise" with unparalleled precision.
The DAFE Proprietary Engines (The "Black Ops" MAs): The crown jewels of the Laboratory. These are custom-built, proprietary algorithms you will not find anywhere else:
DAFE Flux Reactor: A volatility-thermodynamic MA that adapts its alpha using a sigmoid function on Bollinger Band width, creating explosive responsiveness during volatility breakouts.
DAFE Tensor Flow: A multi-vector MA that uses a weighted average of the OHLC data (a "tensor") before applying Hull smoothing, creating an incredibly robust center of gravity.
DAFE Quantum Step: A non-linear, stepped MA that only moves if price exceeds a volatility-based quantum threshold, effectively ignoring all insignificant noise.
DAFE Gravity Well: An institutionally-focused MA that weights its calculation by both time (recency) and volume, pulling the average towards zones of heavy market participation.
THE POST-SMOOTHING FILTERS
This is a second layer of refinement. After your primary MA is calculated, you can pass it through one of over 20 advanced filters to achieve an even higher degree of clarity.
The Ehlers Filters (SuperSmoother, 2-Pole, 3-Pole): A suite of brilliant DSP filters for surgical noise removal.
The Kalman Filter: A predictive filter from robotics and aerospace engineering that provides an "optimal estimate" of the MA's true position.
DAFE Proprietary Smoothers:
DAFE Phase-Zero: Uses a de-trending feedback loop to achieve near-zero lag smoothing.
DAFE Spectral Smooth: A frequency-domain filter that removes jitter while preserving the primary trend.
█ OPERATIONAL MODES & SIGNAL GENERATION
The Laboratory is designed for ultimate flexibility.
Modes: Instantly switch between Single, Dual, and Triple MA modes. Each mode can be a standard line display or a beautiful, flowing Ribbon .
Signal Logic: You have complete control over what constitutes a "signal." Choose from nine different logic modes, including classic Price Cross , Dual MA Cross , Triple MA Alignment , or even advanced logic like Slope Change and Sequential Cross .
The Filter Gauntlet: Before a signal is plotted, it can be passed through the four-stage filtering suite. You can demand that a simple EMA crossover is also confirmed by high volume, ADX trend strength, and bullish RSI—all at the same time. This transforms a basic signal into a high-conviction, multi-factor setup.
█ THE MASTER DASHBOARD: YOUR MISSION CONTROL
The comprehensive dashboard is your unified command center for analysis and performance tracking.
Engine Status: See the currently selected Operation Mode and a detailed breakdown of the type and length of each active MA.
Market Dynamics: Get an at-a-glance view of the current Trend Status, Momentum intensity (based on MA slope), and the percentage deviation of price from your primary MA.
Filter Readout: If filters are enabled, the dashboard provides a live status for each active filter (Volume, Volatility, Trend, Momentum), showing you a "PASS" or "BLOCK" status in real-time.
Performance Readout: When enabled, this section provides a full breakdown of your backtesting results, including Trade Count, Win Rate, Profit Factor, Net P&L, and Max Drawdown.
█ DEVELOPMENT PHILOSOPHY
The MA-trix Laboratory was born from a deep respect for the moving average and a relentless desire to push its boundaries into the 21st century. We believe that in modern markets, static tools are obsolete. The future of trading lies in adaptation and customization. This indicator is for the serious trader, the tinkerer, the scientist—the individual who is not content with a black box, but who seeks to understand, test, and refine their edge with surgical precision. It is a tool for forging your own alpha, not just following someone else's.
"I don't think traders can follow rules for very long unless they reflect their own trading style. Eventually, a breaking point is reached and the trader has to quit or change, or find a new set of rules he can follow. This seems to be part of the process of evolution and growth of a trader."
█ DISCLAIMER AND BEST PRACTICES
THIS IS A TOOL, NOT A STRATEGY: This indicator provides a sophisticated trend and signal generation framework. It must be integrated into a complete trading plan that includes risk management, position sizing, and your own contextual analysis.
TEST, DON'T GUESS: The power of this tool is its adaptability. Use the Performance Dashboard to rigorously test different algorithms, settings, and filters on your chosen asset and timeframe. Find what works, and build your strategy around that data.
START SIMPLE: The possibilities can be overwhelming. Begin with a classic Dual MA mode (e.g., EMA 20/50) with no filters. Once you are comfortable, begin experimenting with more advanced MA types and layering on filters one by one.
RISK MANAGEMENT IS PARAMOUNT: All trading involves substantial risk. The backtesting results are hypothetical and do not account for slippage or psychological factors.
Never risk more capital than you are prepared to lose.
— Ed Seykota, Market Wizard
The MA-trix Laboratory is designed to be the ultimate tool for that evolution, allowing you to discover and codify the rules that truly fit you.
Taking you to school. - Dskyz, Don't be average. Trade with MA-trix. Trade with DAFE
Mitigation POI Master: OB + FVG ConfluenceOverview
The Mitigation POI Master is a Smart Money Concepts (SMC) tool designed to identify high-probability Points of Interest (POI). Unlike standard indicators that clutter your chart with every single block, this script focuses on the Confluence of two critical institutional footprints: Order Blocks (OB) and Fair Value Gaps (FVG).
Key Features
💎 Automated POI Detection: Finds overlapping areas between OBs and FVGs, marking them as premium Demand or Supply zones.
🧹 Smart Mitigation Engine: Real-time tracking of zone mitigation. Once a zone is touched or broken through (customizable), it is automatically removed to keep your chart clean.
⚡ Liquidity Sweep Filter: Includes an optional filter to only show Order Blocks that have successfully swept previous candle liquidity—a hallmark of true institutional intervention.
📊 Volume Confirmation: Integrated volume filter to ensure the zones are born from high-activity impulsive moves.
Settings
Timeframe Usage: This indicator performs best on higher timeframes (H1, H4, Daily) as institutional moves are more significant there. Using lower TFs (M1, M5) may generate too many low-quality zones.
Sensitivity (ATR Multiplier):
- For volatile assets/lower TFs (Crypto, Gold): Increase the Sensitivity input (e.g., 8-10) to filter out noise.
- For stable assets/higher TFs (Forex Majors, Stocks): Use the default Sensitivity (e.g., 4-6).
Mitigation Mode: The default "Breakthrough" mode is safer for high R:R setups. "Touch" mode offers earlier entries but higher risk.
How to Use
Identify the POI: Look for the ✦ DEMAND or ✦ SUPPLY labels.
Wait for the Return: Wait for price to retrace into the POI (Mitigation).
Execute: Use lower timeframe confirmation (like MSB or CHoCH) within these zones for high R:R entries.
Alerts: Set alerts to get notified the moment a new high-confluence POI is formed.
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.
Smart Money Pressure DifferentialPurpose
The Smart Money Pressure Differential (SMPD) is built to reveal the underlying tug‑of‑war between informed volume flows represented by NVI and reactive volume flows represented by PVI, using a clean statistical framework. Instead of relying on raw NVI or PVI, which drift over time and are not directly comparable, the script isolates pressure deviations by measuring how far each index moves away from its own long‑term expectation. By standardizing these deviations, SMPD produces a stable, volatility‑normalized spread that highlights accumulation, distribution, and regime transitions with far greater clarity than traditional volume indicators.
How It Works
The script computes NVI and PVI, scales them, and subtracts their EMAs to extract deviation‑from‑trend pressure, with optional WMA smoothing to reduce micro‑noise. Each deviation series is then standardized independently using rolling mean and standard deviation, ensuring both NVI and PVI operate on equal statistical footing. Their difference becomes the SMPD spread, a normalized measure of which side is exerting more pressure. A second layer applies log‑ROC to capture acceleration rather than level, and these acceleration signals can be plotted as dotted lines. Standard deviation reference levels at 0, 1, 2, and 3 provide a consistent frame for interpreting extreme pressure events.
Rationale
This architecture solves structural weaknesses found in most volume‑based tools, particularly scale drift, volatility collapse, and the instability of cumulative indicators. Standardizing before differencing prevents one index from overpowering the other, ensuring the spread reflects true pressure imbalance rather than structural bias. The log‑ROC layer adds a stable acceleration measure that avoids the distortions of classic ROC when values approach zero. The result is a regime‑independent engine, producing signals that remain comparable across assets, timeframes, and market conditions. SMPD therefore becomes a robust diagnostic tool for identifying when smart‑money pressure is building, fading, or reversing, without relying on arbitrary thresholds or bounded oscillators that distort signal strength.
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).
Mentor Michael | Clean Liquidity Pullback ModelThis indicator is a clean, smart-money inspired educational model designed to help traders understand how price behaves around premium zones, liquidity-driven pullbacks, and fair value gap (FVG) rebalancing areas.
The model uses higher-timeframe trend filtering to identify directional bias, then focuses on premium price areas where institutions typically slow momentum, rebalance positions, or initiate corrective moves. When price shows signs of exhaustion near these zones, the script highlights a pullback confirmation, signaling a potential corrective phase rather than continuation.
To maintain clarity and professionalism, the script intentionally avoids over-plotting. It draws only the most relevant structures — a single premium zone, one pullback confirmation, and a clearly defined FVG target — making it easy to read and suitable for live market analysis or educational review.
This indicator is not a trading system and does not generate buy or sell signals. Instead, it serves as a visual learning tool to help traders develop better market structure awareness, risk management discipline, and context-based decision making.
For educational purposes only. Not financial advice.
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
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)
teril Second Candle Cross Alert (Intrabar)teril Second Candle Cross Alert
teril Second Candle Cross Alert teril Second Candle Cross Alert teril Second Candle Cross Alert
teril Second Candle Cross Alert
Professional Market StructureThis indicator is designed to simplify market structure by visually identifying the current trend phase using dynamic price channels.
It automatically plots structure-based channels by analyzing recent highs, lows, and price slope to determine whether the market is in an ascending (bullish) or descending (bearish) phase.
🔍 What This Script Shows
Ascending Structure: When price momentum is positive, the channel highlights bullish control.
Descending Structure: When momentum turns negative, the channel shifts to reflect bearish pressure.
Pivot High Labels: Important turning points are marked to help spot potential distribution or exhaustion zones.
Live Trend Status: The current market condition is clearly labeled on the chart.
🎯 How Traders Can Use It
Identify trend direction at a glance
Avoid trading against structure
Spot possible reversal or slowdown areas
Use it as a confirmation tool with supply & demand, liquidity, or price action strategies
🧠 Best Use Case
Forex, Crypto, Indices
Works best on 1H – 4H timeframes
Ideal for educational and structure-based trading
This is a non-repainting, structure-focused tool built for clarity—not clutter.
Trend Line & Delta Montosca [English v33.7]This indicator, Trend Line & Delta Montosca , is a high-precision tool designed to identify institutional entry points by combining price action structure with real-time volume sentiment (Order Flow).
Here is a breakdown of its core logic and operational flow:
1. Market Structure & Trendline Analysis
The indicator starts by identifying "Pivot Highs" and "Pivot Lows" based on the Sensitivity settings you chose.
Pivot Connect Method: It draws trendlines connecting these key structural points. A "Long" bias is established when a trendline is broken to the upside, and a "Short" bias when broken to the downside.
BOS (Break of Structure): It monitors when the price closes above the previous high or below the previous low to confirm the current market phase (Bullish or Bearish).
2. Intermarket Synchronization (ES + NQ)
This is a unique "Institutional" filter. The script checks a secondary symbol (e.g., NQ if you are trading ES) to ensure the move is happening across the entire market.
If both instruments hit a pivot at the same time, the trendline is drawn thicker, indicating higher institutional conviction.
3. Order Flow Validation (Delta)
Breaking a trendline is not enough; it must be backed by "Smart Money" volume. The indicator uses Lower Timeframe (LTF) Intrabar Data to calculate the Delta:
Strength Filter: It checks if the buying/selling volume in a single candle exceeds a specific percentage (set to 75% by default).
Efficiency Filter: It identifies "Absorption" where the price moves aggressively with lower volume, suggesting a lack of resistance.
4. Inverted FVG (Fair Value Gap) Reaction
The final "trigger" is often the reaction to a Fair Value Gap.
The script tracks bearish and bullish FVGs.
The Inversion Logic: A "Long" signal is only validated if the price "inverts" a bearish FVG (closes above it), treating the old resistance as new institutional support.
5. Blue Sky Filter (ATH)
When the price is at an All-Time High (ATH), traditional FVG reactions might not exist. The script includes an optional "Blue Sky" logic that allows for trend-following entries even if there is no previous FVG to invert, as long as the structural breakout and Delta are present.
Visualization Summary
Labels: Clearly mark "LONG" or "SHORT" at the exact candle of entry.
Snapshots: To help you review your trades, the script leaves a "visual footprint" (the trendline and the FVG box) that caused the signal, so you can see the exact institutional context after the trade has moved.
Full Dashboard V20 - Pro PA & Stoch OVB/OVS StatusTable (Multi timefram)
- show Trend
- show rsi
- show Stoch
- show prev candle (default hide)
- show curr candle (default hide)
- shows the time when the candlestick will close.
--can config show/hide all column
Graph
- show rsi 89/21
Signal
- show signal with tp/sl (default hide)
ASIA + Zones (1st/2nd) + Trend Table (M1/M3/M5..D1) Disegna il box della sessione Asia (23:00–07:00 Roma) e ne calcola High/Low.
Evidenzia le ZONE e salva quelle fuori dalla sessione Asia.
Tabella trend in alto a destra con BULL/BEAR/NA per i timeframe selezionabili:
M1, M3, M5, M15, H1, H4, D1, colori personalizzabili.
La direzione viene stimata con pivots (break dell’ultimo pivot high = BULL, break dell’ultimo pivot low = BEAR).
Draws the Asia session box (23:00–07:00 Rome time) and calculates its High/Low.
Highlights the zones and stores those outside the Asia session.
Trend table in the top-right corner showing BULL / BEAR / NA for selectable timeframes:
M1, M3, M5, M15, H1, H4, D1, with fully customizable colors.
Trend direction is estimated using pivots:
Break of the last pivot high → BULL
Break of the last pivot low → BEAR
Scalp Breakout Predictor Pro - by Herman Sangivera (Papua)Scalp Breakout Predictor Pro by Herman Sangivera ( Papuan Trader )
Overview
The Scalp Breakout Predictor Pro is a high-performance technical indicator designed for scalpers and day traders who thrive on market volatility. This tool specializes in identifying "Squeeze" phases—periods where the market is consolidating sideways—and predicts the likely direction of the upcoming breakout using underlying momentum accumulation.
How It Works
The indicator combines three core mathematical concepts to ensure "Safe but Fast" entries:
Squeeze Detection (BB vs. KC): It monitors the relationship between Bollinger Bands and Keltner Channels. When Bollinger Bands contract inside the Keltner Channels, the market is in a "Squeeze" (represented by the gray background). This indicates that energy is being coiled for a massive move.
Momentum Accumulation (Pre-Signal): While the price is still moving sideways, the script analyzes linear regression momentum.
PRE-BULL: Momentum is building upwards despite price being flat.
PRE-BEAR: Momentum is fading downwards despite price being flat.
Breakout Confirmation: An entry signal is only triggered when the Squeeze "fires" (the price breaks out of the bands), ensuring you don't get stuck in a dead market for too long.
Key Features
Real-time Prediction Labels: Get early warnings (PRE-BULL / PRE-BEAR) to prepare for the trade before it happens.
Dynamic TP/SL Lines: Automatically calculates Take Profit and Stop Loss levels based on the Average True Range (ATR), adapting to the current market's "breath."
On-Screen Dashboard: A sleek table in the top-right corner displays the current market phase (Squeeze vs. Volatile), the predicted next move, and the current ATR value.
Pine Script V6 Optimized: Built using the latest version of TradingView’s coding language for maximum speed and compatibility.
Trading Rules
Preparation: When you see a Gray Background, the market is sideways. Watch the Dashboard for the "Potential" direction.
Anticipation: If a PRE-BULL or PRE-BEAR label appears, get ready to enter.
Execution: Enter the trade when the ENTRY BUY (Lime Triangle) or ENTRY SELL (Red Triangle) signal appears.
Exit: Follow the Green Line for Take Profit and the Red Line for Stop Loss.
Technical Settings
HMA Length: Adjusts the sensitivity of the trend filter (Hull Moving Average).
TP/SL Multipliers: Allows you to customize your Risk:Reward ratio based on ATR volatility.
Squeeze Length: Determines the lookback period for consolidation detection.
Disclaimer: Scalping involves high risk. Always test this indicator on a demo account before using it with live capital.
Apex Wallet - Real-Time Market Volume Delta & Order FlowOverview The Apex Wallet Market Volume Delta is a professional liquidity analysis tool designed to decode the internal structure of market volume. Unlike standard volume bars, this script calculates the "Delta"—the net difference between buying and selling pressure—to reveal the true conviction of market participants in real-time.
Dynamic Multi-Mode Intelligence This indicator features an adaptive calculation engine that recalibrates its internal logic based on your trading style:
Scalping: Fast-response settings (9-period MA) for immediate execution on low timeframes.
Day-Trading: Balanced settings (26-period MA) optimized for intraday sessions.
Swing-Trading: High-filter settings (52-period MA) for major trend confirmation.
Advanced Order Flow Detection
Real-Time Delta Calculation: Tracks the precise interaction between price and volume to identify aggressive buyers vs. passive sellers.
Dual Calculation Modes: Choose between "Buy/Sell" (aggressive) or "Buy/Sell/Neutral" for a more granular view of flat market periods.
Visual Delta Labels: Displays the net volume values directly above each bar, with color-coded alerts (Green for Bullish Delta, Red for Bearish Delta).
Scalable UI: Features a "Scale Down Factor" to simplify large volume numbers into readable units (10/100/1k/10k).
Key Features:
Visual Split: Clearly differentiates historical volume from real-time buying and selling flows.
Trend Confirmation: Integrated optional EMA to compare current volume surges against the average market liquidity.
Clean Interface: Professional-grade histogram styling with clear demarcation of session activity.
Cinematic Session Fade [Pro]🎬 Cinematic Session Fade — A Clean Way to See Market Mood
This indicator is designed to enhance visual clarity, not clutter your chart.
Instead of adding more lines, boxes, or signals, it uses soft cinematic session shading to show how market behavior naturally changes throughout the day.
🌍 Session-Based Market Atmosphere
Asia Session (Calm Blue)
Represents balance, low volatility, and range-building conditions.
London Session (Warm Gold)
Highlights the transition phase where momentum often starts to build.
New York Session (Deep Red)
Emphasizes decision-making hours, volatility, and directional moves.
The session colors fade smoothly in the background, creating a professional and distraction-free viewing experience.
🎨 Why This Indicator Looks Clean & Professional
No indicators stacked on price
No buy/sell arrows or noisy labels
Soft, eye-friendly background shading
Clean candle colors for clear price focus
Optimized for dark mode charts
This makes the chart easy to read, easy on the eyes, and visually attractive for both analysis and screenshots.
🧠 How Traders Use It
Identify which session the market is in at a glance
Adjust expectations for volatility and behavior
Combine with your own strategy (structure, SMC, trend, or price action)
Perfect for education, market commentary, and clean chart presentations
📈 Best Markets
Forex
Gold (XAUUSD)
Bitcoin & Crypto
Indices
🎯 Final Note
This tool does not predict price.
It simply provides context and atmosphere, helping traders stay aligned with market rhythm while keeping charts elegant and professional.
If you value clarity over clutter, this indicator is built for you.
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!
Crypto Dual MA Signal EditionCrypto Dual MA Signal Edition - Comprehensive Technical Analysis Indicator
Overview
The Crypto Dual MA Signal Edition is a sophisticated technical analysis indicator specifically designed for cryptocurrency markets, combining trend-following and momentum analysis systems into a unified framework. This indicator integrates multiple proven technical analysis concepts to provide comprehensive market insights while maintaining clear, actionable signals.
Integration Rationale & Component Synergy
1. Dual EMA Trend System + Stochastic RSI Convergence
Integration Basis: Trend-following indicators (EMA) work effectively when combined with momentum oscillators (Stochastic RSI) to filter false signals and confirm trend strength.
Synergy Mechanism:
The dual EMA system (12/25 periods) identifies primary trend direction
Stochastic RSI (14-period) provides overbought/oversold readings within that trend
Trend signals are only confirmed when both systems align, reducing whipsaws
EMA crossovers provide entry signals, while Stochastic RSI validates momentum
2. MA Filter Integration
Integration Basis: Longer-term moving averages act as trend filters to avoid trading against established market direction.
Synergy Mechanism:
200-period MA (configurable type: EMA/SMA/WMA) serves as trend benchmark
Long positions only triggered above 200-MA in bullish trends
Short positions only triggered below 200-MA in bearish trends
Provides multi-timeframe confirmation to intraday signals
3. Background Highlight System
Integration Basis: Visual cues enhance signal recognition and emphasize critical market conditions.
Synergy Mechanism:
Background colors highlight Stochastic RSI events without cluttering price chart
Different colors for different signal types (middle cross, overbought/oversold, level breaks)
Works in parallel with other systems, providing additional context without interference
Component Functions & Operational Principles
Core Components:
Dual EMA System
Fast EMA (12): Quick trend changes
Slow EMA (25): Confirmed trend direction
Mode: Switchable between dual EMA display and single EMA
Signal generation based on EMA positioning and consecutive bars
Stochastic RSI System
Combines RSI momentum with stochastic oscillator principles
Triple-smoothed (RSI → Stochastic → K/D smoothing)
Predefined levels: 80 (overbought), 50 (middle), 20 (oversold)
Multiple cross types for different market conditions
Signal Generation Logic
Consecutive count mechanism for trend persistence
"B" signals: Initial bullish EMA alignment
"S" signals: Initial bearish EMA alignment
Candlestick coloring for visual trend representation
Alert Systems
EMA cross alerts for major trend changes
Stochastic RSI cross alerts for momentum shifts
Separate alerts for different signal categories
Practical Usage Guidelines
For Trend Traders:
Primary Trend Identification: Use EMA positioning relative to 200-MA
Entry Timing: Wait for "B" or "S" signals confirmed by Stochastic RSI alignment
Trend Continuation: Monitor consecutive bar counts and candlestick colors
Exit Signals: Watch for opposing signals or Stochastic RSI divergence
For Range/Swing Traders:
Overbought/Oversold Levels: Stochastic RSI extremes (below 20/above 80)
Middle Crosses: Stochastic RSI crosses around 50 level
EMA Filter: Use 200-MA as support/resistance reference
Customization Options:
Adjust EMA periods for different trading styles
Modify Stochastic RSI parameters for sensitivity
Enable/disable background highlights based on preference
Select MA type and period for trend filtering
Originality & Unique Features
Distinctive Integration:
Consecutive Count System: Tracks trend persistence beyond simple crossovers
Unified Signal Display: Combines letters ("B"/"S"), candlestick colors, and background highlights
Flexible EMA Modes: Switch between dual and single EMA displays
Comprehensive Filtering: EMA alignment, MA position, and momentum confirmation
Practical Design Choices:
Color Scheme: Blue for bullish, orange for bearish (clear differentiation)
Signal Prioritization: Initial signals marked with letters, trends with colors
Multi-layer Validation: Three-tier confirmation system (EMA + Stochastic + MA filter)
Clean Visualization: Information-rich display without chart clutter
Important Disclaimers & Limitations
Realistic Expectations:
This indicator provides signals, not guarantees
All technical indicators have inherent lag
Market conditions change; no system works perfectly in all environments
Cryptocurrency markets exhibit high volatility and unpredictable behavior
Proper Usage:
Never rely solely on one indicator for trading decisions
Always use appropriate risk management and position sizing
Consider fundamental factors and market context
Test thoroughly on historical data before live implementation
Adjust parameters to match specific cryptocurrency pairs and timeframes
Development Philosophy
This indicator was developed with these principles:
Evidence-Based: Components based on widely researched technical concepts
Practical Focus: Designed for actual trading use, not theoretical perfection
User-Centric: Customizable to individual preferences and trading styles
Transparent: Clear logic without "black box" calculations
Final Recommendations
For optimal results:
Start with default parameters on major cryptocurrency pairs (BTC, ETH)
Adjust Stochastic RSI sensitivity for altcoins with different volatility profiles
Use higher timeframes (4H, Daily) for primary trend analysis
Combine with volume analysis and market structure for confirmation
Regularly review and adjust settings as market conditions evolve
The Crypto Dual MA Signal Edition provides a comprehensive toolkit for cryptocurrency analysis, but successful trading requires disciplined execution, continuous learning, and integrated risk management strategies.
Institutional Liquidity & FVG Tracker by Herman Sangivera(Papua)Institutional Liquidity & FVG Tracker (Precision SMC) by Herman Sangivera ( Papuan Trader )
This indicator is designed to identify key institutional levels by tracking Buy Side Liquidity (BSL), Sell Side Liquidity (SSL), and Fair Value Gaps (FVG). It helps traders visualize where "Smart Money" is likely to hunt for stops and where market imbalances exist.
Key Features:
Dynamic Liquidity Levels: Automatically identifies Swing Highs and Lows where retail Stop Losses are clustered.
Liquidity Purge Detection: Lines will visually fade once price "sweeps" or grabs the liquidity, signaling a potential reversal.
Fair Value Gaps (FVG): Highlights price imbalances (gaps) created by aggressive institutional displacement. These areas often act as magnets for price retracements.
How to Use:
The Sweep: Wait for the price to cross a dashed liquidity line (BSL or SSL). This indicates a "Stop Hunt" is occurring.
The Shift: Look for a rapid price reversal immediately after the sweep that leaves a Fair Value Gap (colored boxes) in its wake.
The Entry: Consider entering a trade when price retraces back into the FVG box, using the liquidity sweep high/low as your protected Stop Loss.
Settings:
Liquidity Lookback: Adjust the sensitivity of swing points. Higher values identify more significant, longer-term liquidity pools.
FVG Minimum Size: Filters out small, insignificant gaps to keep your chart clean and focused on high-probability setups.
Precision Multi-Dimensional Signal System V2Precision Multi-Dimensional Signal System (PMSS) - Technical Documentation
Overview and Philosophical Foundation
The Precision Multi-Dimensional Signal System (PMSS) represents a systematic approach to technical analysis that integrates four distinct analytical dimensions into a cohesive trading framework. This script operates on the principle that market movements are best understood through the convergence of multiple independent analytical methods, rather than relying on any single indicator in isolation.
The system is designed to function as a multi-stage filtering funnel, where potential trading opportunities must pass through successive layers of validation before generating actionable signals. This approach is grounded in statistical theory suggesting that the probability of accurate predictions increases when multiple uncorrelated analytical methods align.
Integration Rationale and Component Synergy
1. Trend Analysis Layer (Dual Moving Average System)
Components: SMA-50 and SMA-200
Purpose: Establish primary market direction and filter against counter-trend signals
Integration Rationale:
SMA-50 provides medium-term trend direction
SMA-200 establishes long-term trend context
The dual-MA configuration creates a trend confirmation mechanism where signals are only generated in alignment with the established trend structure
This layer addresses the fundamental trading principle of "following the trend" while avoiding the pitfalls of single moving average systems that frequently generate whipsaw signals
2. Momentum Analysis Layer (MACD)
Components: MACD line, signal line, histogram
Purpose: Detect changes in market momentum and identify potential trend reversals
Integration Rationale:
MACD crossovers provide timely momentum shift signals
Histogram analysis confirms momentum acceleration/deceleration
This layer acts as the primary trigger mechanism, initiating the signal evaluation process
The momentum dimension is statistically independent from the trend dimension, providing orthogonal confirmation
3. Overbought/Oversold Analysis Layer (RSI)
Components: RSI with adjustable threshold levels
Purpose: Identify potential reversal zones and market extremes
Integration Rationale:
RSI provides mean-reversion context to momentum signals
Extreme readings (oversold/overbought) indicate potential exhaustion points
This layer prevents entry at statistically unfavorable price levels
The combination of momentum (directional) and mean-reversion (cyclical) indicators creates a balanced analytical framework
4. Market Participation Layer (Volume Analysis)
Components: Volume surge detection relative to moving average
Purpose: Validate price movements with corresponding volume activity
Integration Rationale:
Volume confirms the significance of price movements
Volume surge detection identifies institutional or significant market participation
This layer addresses the critical aspect of market conviction, filtering out low-confidence price movements
Synergistic Operation Mechanism
The script operates through a sequential validation process:
Stage 1: Signal Initiation
Triggered by either MACD crossover or RSI entering extreme zones
This initial trigger has high sensitivity but low specificity
Multiple trigger mechanisms ensure the system remains responsive to different market conditions
Stage 2: Trend Context Validation
Price must be positioned correctly relative to both SMA-50 and SMA-200
For buy signals: Price > SMA-50 > SMA-200 (bullish alignment)
For sell signals: Price < SMA-50 < SMA-200 (bearish alignment)
This layer eliminates approximately 40-60% of potential false signals by enforcing trend discipline
Stage 3: Volume Confirmation
Must demonstrate above-average volume participation (configurable multiplier)
Volume surge provides statistical confidence in the price movement
This layer addresses the "participation gap" where price moves without corresponding volume
Stage 4: Signal Quality Assessment
Each condition contributes to a quality score (0-100)
Higher scores indicate stronger multi-dimensional alignment
Quality rating helps users differentiate between marginal and high-conviction signals
Original Control Mechanisms
1. Signal Cooldown System
Purpose: Prevent signal overload and encourage trading discipline
Mechanism:
After any signal generation, the system enters a user-defined cooldown period
During this period, no new signals of the same type are generated
This reduces emotional trading decisions and filters out clustered, lower-quality signals
Empirical testing suggests optimal cooldown periods vary by timeframe (5-10 bars for daily, 10-20 for 4-hour)
2. Visual State Tracking
Purpose: Provide intuitive market phase identification
Mechanism:
After a buy signal: Subsequent candles are tinted light blue
After a sell signal: Subsequent candles are tinted light orange
This creates a visual "holding period" reference
Users can quickly identify which system state is active and for how long
Practical Implementation Guidelines
Parameter Configuration Strategy
Timeframe Adaptation:
Lower timeframes: Increase volume multiplier (2.0-3.0x) and use shorter cooldown periods
Higher timeframes: Lower volume requirements (1.5-2.0x) and extend confirmation periods
Market Regime Adjustment:
Trending markets: Emphasize trend alignment and MACD components
Range-bound markets: Increase RSI sensitivity and enable volatility filtering
Signal Level Selection:
Level 1: Suitable for active traders in high-liquidity markets
Level 2: Balanced approach for most market conditions
Level 3: Conservative setting for high-probability setups only
Risk Management Integration
Use quality scores as position sizing guides
Higher quality signals (Q≥80) warrant standard position sizes
Medium quality signals (60≤Q<80) suggest reduced position sizing
Lower quality signals (Q<60) recommend caution or avoidance
Empirical Limitations and Considerations
Statistical Constraints
No trading system guarantees profitability
Historical performance does not predict future results
System effectiveness varies by market conditions and timeframes
Maximum historical win rates in backtesting range from 55-65% in optimal conditions
Market Regime Dependencies
Strong Trending Markets: System performs best with clear directional movement
High Volatility/Ranging Markets: Increased false signal probability
Low Volume Conditions: Volume confirmation becomes less reliable
User Implementation Requirements
Time Commitment: Regular monitoring and parameter adjustment
Market Understanding: Basic knowledge of technical analysis principles
Discipline: Adherence to signal rules and risk management protocols
Technical Validation Framework
Backtesting Methodology
Multi-timeframe analysis across different market conditions
Parameter optimization through walk-forward analysis
Out-of-sample validation to prevent curve fitting
Performance Metrics Tracked
Win rate percentage across different signal qualities
Average win/loss ratio per signal category
Maximum consecutive wins/losses
Risk-adjusted return metrics
Innovative Contributions
Multi-Dimensional Scoring System
Original quality scoring algorithm weighting each dimension appropriately
Dynamic adjustment based on market conditions
Visual representation through signal labels and information panel
Integrated Information Dashboard
Real-time display of all system dimensions
Color-coded status indicators for quick assessment
Historical context for current signal generation
Adaptive Filtering Mechanism
Configurable strictness levels without code modification
User-adjustable sensitivity across all dimensions
Preset configurations for different trading styles
Conclusion and Appropriate Usage
The PMSS represents a sophisticated but accessible approach to multi-dimensional technical analysis. Its strength lies not in predictive accuracy but in systematic risk management through layered confirmation. Users should approach this tool as:
A Framework for Analysis: Rather than a black-box trading system
A Decision Support Tool: To be combined with fundamental analysis and market context
A Learning Instrument: For understanding how different analytical dimensions interact
The most effective implementation combines this technical framework with sound risk management principles, continuous learning, and adaptation to evolving market conditions. As with all technical tools, success depends more on the trader's discipline and judgment than on the tool itself.
Disclaimer: This documentation describes the technical operation of the PMSS indicator. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Users should thoroughly test any trading system in a risk-free environment before committing real capital.






















