Dr. Shubh's Open Drive (Trend + Volume)Capture the First Move of the Day. 🌅
The "Open Drive" is the most powerful signal in intraday trading. It occurs when Institutional Money (FII/DII) enters aggressively at the market open, leaving zero wicks and pushing price in one direction instantly.
Most traders get trapped by "fake" open drives. This Optimized Indicator filters out the noise to find the true momentum.
⚡ How It Works (The 3-Step Filter):
⏰ Time Lock: It only activates during the first 15 minutes (09:15 - 09:30). It ignores the rest of the day.
🕯️ Wick Anatomy: It mathematically checks for "Marubozu" structure.
Buy Signal: Tiny/No Lower Wick (Buyers controlled the open instantly).
Sell Signal: Tiny/No Upper Wick (Sellers controlled the open instantly).
📉 Trend & Volume: It ensures you aren't fighting the trend.
Checks if price is above/below the 50 EMA.
Checks if Volume > 20 SMA to confirm institutional participation.
🎯 Visual Guide:
Green Triangle: 🟢 Valid BUY Drive (Strong Body, High Volume, Above EMA).
Red Triangle: 🔴 Valid SELL Drive (Strong Body, High Volume, Below EMA).
Orange Line: The 50 EMA Trend Filter.
⚙️ Settings:
Wick Strictness: Default 0.10 (10%). Tighten to 0.05 for stricter "Sniper" entries.
Open Session: Default 09:15-09:30 (NSE). Change to 09:30-09:45 for US Markets.
Part of the Financial Surgeon Academy Level 2 Toolkit. 🩺
Indicateurs et stratégies
Dr. Shubh's CPR Daily (Trend Detector)Here is the professional description for your CPR Indicator. This is designed to be the "Diagnostic Tool" for your Level 2 students.
Title: 🏥 Financial Surgeon: Daily CPR Trend Detector (Level 2)
Description:
Diagnose the Day Before You Trade. 🩺
This indicator is the "MRI Machine" for the market. It uses the Central Pivot Range (CPR) to mathematically determine if the day is likely to be Trending (Healthy) or Sideways (Choppy/Sick).
⚡ How It Works:
The Physics: It calculates the daily Pivot, Top Central (TC), and Bottom Central (BC) based on yesterday's price action.
The Spring Theory:
Narrow CPR: The market is "Coiled" like a tight spring. Expect an explosive move (Trend Day).
Wide CPR: The spring is loose. Expect a boring, range-bound day (No-Trade Zone).
Auto-Labeling: Automatically calculates the width percentage and labels the chart for you.
🎯 Visual Guide:
Green Fill (Narrow): 🟢 GO. High probability of a trend. Look for breakouts.
Gray Fill (Wide): ⚪ STOP. Low energy. Expect choppy markets and "stop-hunts."
Fuchsia Line: The Central Pivot (Magnet).
⚙️ Settings:
Narrow Threshold (%): Default is 0.20%. Decrease this for stricter trend definitions on Indices.
Part of the Financial Surgeon Academy Level 2 Toolkit. 🧬
Tradehook.tech-MTMGBS ACP ProTradehook.tech-MTMGBS_ACP
### Advanced Chart Patterns - Head & Shoulders, Triangles, Channels
**Category:** Patterns | **Overlay:** Yes | **Complexity:** ⭐⭐⭐⭐⭐
#### Description
ACP (Advanced Chart Patterns) detects complex multi-point patterns including Head & Shoulders (both regular and inverse), triangles (symmetrical, ascending, descending), wedges (rising, falling), and channels (ascending, descending, horizontal).
#### Patterns Detected
| Pattern | Structure | Bias | Target Calculation |
|---------|-----------|------|-------------------|
| Head & Shoulders | 3 peaks, middle highest | Bearish | Neckline - Head height |
| Inverse H&S | 3 troughs, middle lowest | Bullish | Neckline + Head depth |
| Ascending Triangle | Flat top, rising lows | Bullish | Base + Height |
| Descending Triangle | Flat bottom, falling highs | Bearish | Base - Height |
| Symmetrical Triangle | Converging highs/lows | Neutral | Breakout direction |
| Rising Wedge | Both lines rising, converging | Bearish | Wedge start |
| Falling Wedge | Both lines falling, converging | Bullish | Wedge start |
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 3-15 | Pivot detection strength |
| `patternTolerance` | 2.0 | 1.0-5.0 | Pattern match tolerance % |
| `showTriangles` | true | - | Detect triangle patterns |
| `showHS` | true | - | Detect H&S patterns |
| `showChannels` | true | - | Detect channel patterns |
#### Pattern Signal Codes
| Code | Pattern |
|------|---------|
| 1 | Head & Shoulders (Bearish) |
| 2 | Inverse H&S (Bullish) |
| 3 | Symmetrical Triangle |
| 4 | Ascending Triangle (Bullish) |
| 5 | Descending Triangle (Bearish) |
| 6 | Ascending Channel |
| 7 | Descending Channel |
#### Best Use Cases
✅ High-probability reversal identification
✅ Breakout anticipation
✅ Price target calculation
✅ Risk/reward optimization
Dr. Shubh's VIX-Dynamic Range & TargetsStop Guessing Targets. Start Calculating Them. 🧮
This advanced indicator uses India VIX (Volatility Index) to mathematically calculate the "Safe Range" and "Max Targets" for the day. Instead of random lines, it projects levels based on the market's actual fear/greed reading.
⚡ How It Works:
Auto-VIX Reading: It pulls the latest VIX data automatically (Default: NSE:INDIAVIX).
Dynamic Entry: Calculates a "Volatility Adjusted" entry buffer based on the VIX percentage.
Fibonacci Targets: Plots 3 scientifically calculated targets (1.0, 1.618, 2.0) based on standard deviation.
🎯 Visual Guide:
Lime/Orange Lines: Your Dynamic Entry triggers.
Green Zones: Bullish Targets (T1, T2, T3).
Red Zones: Bearish Targets (T1, T2, T3).
⚙️ Settings: Adjust the Sensitivity to widen or tighten the entry zone based on asset class.
Part of the Financial Surgeon Academy Level 2 Toolkit. 🩺
Dr. Shubh's Entry Breach SystemStop Trading the Noise. Start Trading the Breakout. 📉📈
This indicator acts as a "Force Field" for your charts. It creates a mathematical No-Trade Zone (Gray Band) based on the Previous Day's Close, preventing you from entering trades during low-probability "chop."
⚡ How It Works (The Triple Lock):
🚫 The Buffer: Calculates a volatility zone (default 0.5%) around yesterday's price. If candles are Gray, you sit on your hands.
🌊 The Breach: Signals appear only when price forcefully breaks out of the zone.
🔋 The Fuel: Filters out fake-outs by requiring Volume > Average and confirming the Opening Bias.
🎯 Visual Guide:
Gray Zone: 🛑 NO TRADE (Noise/Equilibrium).
Green Triangle: 🟢 BUY Signal (Bullish Breach + Volume).
Red Triangle: 🔴 SELL Signal (Bearish Breach + Volume).
⚙️ Settings: Adjust the Buffer % to fit the asset (0.5% for Stocks, 1.0% for Crypto).
Part of the Financial Surgeon Academy Toolkit. 🩺
A01_Smartify_Flip (Gold_XAUUSD_TF_15_Min)A01_Smartify_Gold_XAUUSD_TF_15_Min
A01_Smartify_Gold_XAUUSD_TF_15_Min is a premium, invite-only trading indicator developed exclusively for Gold (XAUUSD) on the 15-minute timeframe.
The script is designed to deliver a clean, disciplined, and structured visual trading experience, focusing on clarity of execution points and trade flow representation directly on the chart.
All internal calculations and logic are proprietary and intentionally not exposed or adjustable.
🔒 Intended Usage
Asset: XAUUSD (Gold) only
Timeframe: 15 Minutes (15M) only
Usage on other instruments or timeframes is not supported and may produce unreliable results.
This indicator is suitable for traders who prefer rule-based visual guidance, consistency, and minimal chart clutter.
⚖️ Legal Disclaimer
This script is provided strictly for educational and analytical purposes only.
It does not constitute financial advice, investment recommendations, or solicitation to trade.
Trading and investing in financial markets involve substantial risk, including the potential loss of capital.
The author makes no guarantees regarding accuracy, profitability, or future performance.
Users are solely responsible for all trading decisions, risk management, and outcomes resulting from the use of this indicator.
By using this script, you acknowledge and agree that the author shall not be held liable for any direct or indirect losses, damages, or claims arising from its use.
📲 Access & Support
For subscription access, inquiries, or additional information:
WhatsApp: +91 92388 23825
Tradehook.tech-MTMGBS-PatternFinder# TH_MTMGBS_PatternFinder
### M/W Pattern & Double Top/Bottom Detection
**Category:** Patterns | **Overlay:** Yes | **Complexity:** ⭐⭐⭐⭐ | **Version:** 2.2
M PATTERN (Bearish):
Peak1 (High Vol) Peak2 (Low Vol) ← Declining volume = bearish divergence
/\ /\
/ \ ✓Vol / \
/ \ Decline / \____
/ \_/ / Break
W PATTERN (Bullish):
Trough1 (High Vol) Trough2 (Low Vol) ← Declining volume = selling exhaustion
\ /¯¯¯¯\ /
\ / \ / ✓Vol
\ / \ / Decline
\/ \/____
Break
#### Description
PatternFinder detects M patterns (bearish) and W patterns (bullish) with three variants each.
Now includes **optional volume confirmation** to filter for higher-probability setups.
#### Pattern Variants
| M Patterns (Bearish) | W Patterns (Bullish) |
|---------------------|----------------------|
| Double Top (Equal Highs) | Double Bottom (Equal Lows) |
| Lower High M | Higher Low W |
| Higher High M (Failed BO) | Lower Low W (Failed BD) |
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 2-20 | Pivot detection sensitivity |
| `maxPatternBars` | 100 | 20-300 | Max bars for pattern width |
| `minPatternBars` | 10 | 5-50 | Min bars for pattern width |
| `equalTolerance` | 0.3 | 0.1-1.0 | ATR multiplier for "equal" peaks |
| `minPatternHeight` | 1.0 | 0.5-5.0 | Min height in ATR units |
| `useVolumeFilter` | false | - | Require volume confirmation |
| `volumeDeclinePercent` | 20% | 5-50% | Min volume decline required |
#### Pattern Validation Rules
1. ✓ Correct swing sequence (H-L-H for M, L-H-L for W)
2. ✓ Pattern width within min/max bar limits
3. ✓ Pattern height meets minimum ATR threshold
4. ✓ Peak/trough difference within ATR tolerance
5. ✓ Price breaks neckline (with buffer) for confirmation
6. ✓ Volume declining on second peak/trough (optional)
#### Best Use Cases
✅ Reversal trading at significant levels
✅ Target calculation using measured move principle
✅ High-probability setups with volume confirmation
✅ Failed breakout/breakdown detection
Multi-Ticker Mini-Chart GridMulti-ticker mini-chart grid that displays six different markets in a 2×3 layout within a separate pane. It pulls recent candle data for each selected ticker, normalizes prices to a fixed height, and plots each chart as candlesticks, OHLC bars, or a line chart depending on user settings. It also highlights fair value gaps for each symbol and labels each mini-chart with the ticker name and current price.
helloRSQ: SPX Thermal v2 Updatedjust a test, dont get your hopes up
it's designed for options trading across all available markets on your platform, including indices, stocks, forex, gold, and crypto.
It supports both pre-market and regular session trading and includes a performance table that shows trade quality before entry, helping you test and refine settings to improve consistency and win rate.
Recommended timeframe: 30 minutes or lower for clearer signals and better trade management.
Chart Clues PRIME - Structure Based Trade Management ToolkitChart Clues PRIME is a rule-based trading assistance tool designed to help traders read market structure, manage open positions, and stay aligned with higher-timeframe context.
This indicator does not generate random buy/sell calls or promise profits.
Instead, it focuses on clarity, confirmation, and position awareness, allowing traders to make better decisions based on structure and price behavior.
Chart Clues PRIME is built for traders who already understand basic market concepts and want a clean, structured framework to support their trading process.
Core Philosophy
Markets move in phases — expansion, pause, and reversal.
Chart Clues PRIME highlights where price is, what phase it is likely in, and how existing positions should be managed — without emotional bias.
Key Features
-> Structure-Based Levels
Automatically highlights important bullish and bearish reference levels
Supports multiple swing-based levels
Clearly shows when levels are approached, respected, or triggered
-> Execution Gate Logic
Prevents premature reactions
Helps traders identify when price actually interacts with a level
Designed to reduce false entries and emotional decisions
-> Demand & Supply Zones
Higher-timeframe aware zones
Zones remain stable once formed
Designed for context, not instant entries
-> Market Status Awareness
Displays whether the market is trending or consolidating
Helps traders avoid forcing trades during low-quality conditions
-> Smart Exit Framework (Structure-Based)
Exit logic is only active after a trade is executed
Uses structure, momentum shift, and price behavior
Helps protect profits or reduce unnecessary drawdowns
Does not rely on fixed targets or arbitrary indicators
-> Multi-Timeframe Context
Displays higher-timeframe bias in a clean table format
Displays higher-timeframe bias in a clean table format
Who This Indicator Is For
Traders who already understand basic chart reading
Traders looking for discipline and structure, not signals
Traders looking for discipline and structure, not signals
Who This Indicator Is NOT For
Traders looking for guaranteed profits
Traders expecting instant buy/sell alerts
Beginners with no understanding of market structure
Important Notes (Policy-Safe)
This indicator is not financial advice
No profit guarantees are implied
All trading decisions remain the responsibility of the user
Past visual examples do not represent future performance
Usage Recommendation
Chart Clues PRIME works best when used alongside:
Proper risk management
Consistent position sizing
A clear trading plan
Final Words
Chart Clues PRIME does not try to predict the market.
It helps traders understand where they are, what has changed, and when discipline matters most.
Tradehook.tech-MTMGBS-CandleStixTradehook.tech-MTMGBS-CandleStix
### Comprehensive Candlestick Pattern Recognition
**Category:** Patterns | **Overlay:** Yes | **Complexity:** ⭐⭐⭐
#### Description
CandleStix scans for all major candlestick patterns including single-bar patterns (doji, hammer, shooting star, pin bars), two-bar patterns (engulfing, harami, piercing, dark cloud), and three-bar patterns (morning star, evening star, three soldiers, three crows).
#### Patterns Detected
| Pattern | Bars | Bias | Reliability |
|---------|------|------|-------------|
| Bullish Engulfing | 2 | Bullish | ⭐⭐⭐⭐ |
| Bearish Engulfing | 2 | Bearish | ⭐⭐⭐⭐ |
| Hammer | 1 | Bullish | ⭐⭐⭐ |
| Shooting Star | 1 | Bearish | ⭐⭐⭐ |
| Doji | 1 | Neutral/Reversal | ⭐⭐ |
| Morning Star | 3 | Bullish | ⭐⭐⭐⭐⭐ |
| Evening Star | 3 | Bearish | ⭐⭐⭐⭐⭐ |
| Bullish Pin Bar | 1 | Bullish | ⭐⭐⭐⭐ |
| Bearish Pin Bar | 1 | Bearish | ⭐⭐⭐⭐ |
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `bodySizeRatio` | 0.3 | 0.1-0.5 | Max body/range ratio for doji |
| `pinBarWickRatio` | 2.0 | 1.5-4.0 | Min wick/body ratio for pin bars |
| `engulfMinRatio` | 1.1 | 1.0-2.0 | Min engulfing body ratio |
| `showLabels` | true | - | Display pattern labels on chart |
#### Signal Output
| Code | Pattern | Bias |
|------|---------|------|
| 1 | Engulfing | Direction dependent |
| 2 | Pin Bar | Direction dependent |
| 3 | Doji | Neutral |
| 4 | Hammer | Bullish |
| 5 | Shooting Star | Bearish |
| 6 | Morning Star | Bullish |
| 7 | Evening Star | Bearish |
#### Best Use Cases
✅ Entry timing at key levels
✅ Reversal confirmation
✅ Exit signal when opposing pattern forms
✅ Trend exhaustion identification
HEKATRADER | 40-60 + MTF TrendDESCRIPTION (English):
Diagonal Trendline Breakout Strategy Indicator - A simple trendline drawing tool designed for easy chart application.
When you activate the indicator, the first bar you select draws a horizontal line, and the second bar draws a diagonal trendline, with their endpoints connected.
Long or short trades can be taken at trend breakout points, and alerts can be set up to receive notifications when breakouts occur.
Recommended pair: XAUUSD
Recommended TF: 5M
Conditions: Draw on the highest and lowest points of swing movements with a minimum of 100 pips ($10 price movement), enter continuation trades on triangle breakouts.
Recommended SL/TP: -40 Pips / +60 Pips
Can be used on different timeframes and pairs, test on demo before live trading.
MTF Trend Table:
The indicator includes a Multi-Timeframe (MTF) trend table showing trend direction across 4 different timeframes: 30 minutes, 1 hour, 4 hours, and daily. Each timeframe displays an up arrow (▲) for uptrend or down arrow (▼) for downtrend based on higher highs/higher lows analysis. The MTF table can be toggled on/off from the indicator settings.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
SRM Version EMA Buy/Sell V3The Smart Reversal Matrix indicator is designed to identify high-probability market reversal zones by combining Price Action, Momentum Filters (MACD & RSI), and the Price pattern structure.
This tool helps traders visualize potential Buy (bullish) and Sell (bearish) turning points with dynamic market structure mapping.
It’s suitable for scalpers, swing traders, and day traders who want a clear visual confirmation of reversals in trend direction.
⚠️ Disclaimer
This indicator is a technical analysis tool, not financial advice.
Always confirm signals with your own strategy and risk management rules before trading live markets.
🔍 How to Use It
1️⃣ Check Market Trend
Above EMA 20 → bullish bias
Below EMA 20 → bearish bias
2️⃣ Wait for Reversal Signal
BUY signal = bullish swing reversal
SELL signal = bearish swing reversal
3️⃣ Confirm Candle Strength (Optional)
Bar “1” or “2” after signal often gives earliest entry
Bar “3-5” useful for pullback entries
4️⃣ Plan Trade Levels
Use swing high/low for stop placement
Optionally project lines +500 pips / −500 pips for targets (Forex)
Backtest Opening 4H BTCBacktesting Script to analyse die price action through out the daily opening on BTC. Scalping of extremity liquidity after daily trading hours opened
V-Max Horizon-RadarOverview The V-Max Horizon-Radar V1.7 is a high-precision tactical execution engine designed for "Snapback" and "Mean Reversion" strategies. Unlike traditional indicators that rely on lagging signals, this script synchronizes Macro Strategic Horizons with Tactical Radar Trajectories to identify institutional liquidations and high-probability reversal zones.
Technical Methodology & Originality V1.7 features a unique quantitative framework optimized for modern crypto market volatility:
Macro-to-Tactical Dual-Layer Defense: The system maps out two distinct defensive perimeters. The "Strategic Horizon" (Macro) identifies extreme boundaries based on deep lookback periods, while the "Radar Trajectories" (Tactical) track 1H step-lines and EMA-200 "Trend Walls".
ATR-Based Dynamic Physical Sensing: To solve the "near-miss" problem in price action, the script utilizes a dynamic wall_zone algorithm. This creates a volatility-adjusted gravitational field around support/resistance levels, ensuring signals trigger when price enters the influence zone, rather than waiting for a perfect touch.
⚡ SNAP Execution Logic: This high-conviction signal identifies "Lightning Snapbacks" by validating three objective conditions:
Volume Exhaustion: Relative Volume (RelVol) exceeding user-defined thresholds (e.g., 1.5x).
Price Rejection: Minimum wick percentage (default 35%) to confirm aggressive rejection.
Structural Convergence: Mandatory contact within the Physical Sensing zone of a Strategic or Tactical wall.
Interactive Tactical Navigation Engine: To streamline risk management, the script features interactive tooltips. Hovering over a ⚡ SNAP signal reveals a pre-calculated combat report, including Dynamic Stop Loss (based on ATR buffer) and a 1.5R (Risk:Reward) Take-Profit target.
How to Use
Identify the Battlefield: Monitor the Strategic Horizon lines (Diamonds) to understand the ultimate macro boundaries.
Wait for the Snap: Look for ⚡ SNAP labels which appear when high-volume rejection occurs at critical walls.
Risk Navigation: Hover over the signal to view the suggested Entry, SL, and TP targets calculated specifically for that trade's volatility.
產品概述 V-Max 戰略地平線雷達 V1.7 是一款專為「回彈交易」與「均值回歸」設計的高精度戰術執行引擎。本腳本同步了「宏觀戰略地平線」與「微觀雷達軌跡」,幫助交易者精準識別機構洗盤與高勝率反轉區。
技術邏輯與功能 V1.7 採用了針對現代加密貨幣市場波動優化的獨家量化架構:
宏觀與戰術雙層防線:系統同時標記兩層防禦邊界。「戰略地平線」負責識別大週期的極限位置,而「雷達軌跡」則追蹤 1H 階梯線與 200-EMA 「趨勢牆」。
ATR 動態物理感應區:為解決價格「差一點碰到」的偵測盲點,腳本採用動態 wall_zone 演算法。它在支撐/壓力位周圍建立一個隨波動率調整的「引力場」,確保價格只要進入影響區並產生反應即被偵測。
⚡ SNAP 執行邏輯:此訊號專為捕捉「閃電回彈」而設計,需同時滿足三個客觀條件:
成交量衰竭:相對成交量 (RelVol) 突破門檻。
價格拒絕:具備足夠的影線收回比例(預設 35%)以確認強力反彈。
結構共振:價格必須處於戰略或戰術牆壁的物理感應區內。
互動式戰術導航引擎:為簡化風險管理,腳本內建互動式 Tooltips。滑鼠懸停於 ⚡ SNAP 標籤時,將顯示包含動態止損(ATR 緩衝)與 1.5R 盈虧比目標價的戰報。
Access & Authorization This is a Protected Script. Access is currently provided for free. Please "Boost" this script and follow my profile for more tactical updates.
Disclaimer: This script is for advanced technical analysis and educational purposes only. Past performance does not guarantee future results. Trading involves significant risk.
Institutional Cycle Intelligence System (Machine Learning) The Institutional Cycle Intelligence System (Machine Learning) represents a paradigmatic shift in the capabilities of retail trading analysis, bridging the substantial divide between standard technical analysis and the rigorous, mathematically intensive domain of quantitative finance. At its core, this system is not merely an indicator but a sophisticated ensemble engine that synthesizes advanced Digital Signal Processing (DSP), spectral analysis, and modern Machine Learning techniques into a singular, cohesive market view. For quantitative analysts and institutional traders, this script serves as a testament to the power of "higher mathematics" applied to the chaotic, non-stationary nature of financial time series data. It moves beyond the lagging nature of time-domain indicators—like moving averages or the RSI—and operates primarily in the frequency domain, attempting to deconstruct price action into its constituent oscillatory components. This approach acknowledges a fundamental truth of market mechanics: that price is a composite signal, a noisy waveform comprised of underlying trends, cyclical harmonics, and stochastic noise. By isolating these components, the system offers a look into the "heartbeat" of market liquidity and institutional accumulation-distribution cycles.
The defining characteristic that elevates this system to an institutional grade is its refusal to rely on a single mathematical model. Financial markets are dynamic systems; they shift between trending, mean-reverting, and chaotic regimes. A model that excels in a clean sine-wave market, like a standard cycle, will fail primarily during strong trends or high-volatility shocks. To solve this, the system employs an "Ensemble Architecture," running seven distinct, high-level mathematical models simultaneously. It creates a "committee of experts," where each algorithm analyzes the market through a different mathematical lens—some statistical, some spectral, and some decompositional. However, the true innovation lies in the integration of a Gradient Boosting Machine (GBM). This is where the concept becomes a game-changer for Pine Script development. The system does not merely average these models; it employs a machine learning layer that dynamically optimizes the weight of each model based on its recent predictive performance. It "learns" which mathematical approach is currently syncing best with the market's behavior and amplifies that signal while dampening the others. This is an application of adaptive filtering and optimization theory that is rarely seen outside of proprietary high-frequency trading desks.
To understand the gravity of the mathematics involved, one must examine the specific algorithms employed, starting with the Ehlers Bandpass Filter and Hilbert Transform. This component is rooted in electrical engineering and signal processing. The Bandpass filter is designed to reject frequencies outside a specific range, effectively stripping away the high-frequency noise (tick-by-tick randomness) and low-frequency trends (macro-economic drift) to isolate the "tradable" cycle. Once isolated, the script applies the Hilbert Transform, a linear operator that produces the analytic representation of the signal. By converting the real-valued price series into the complex plane (creating real and imaginary components), the system can mathematically calculate the instantaneous phase and amplitude of the cycle. This allows for the precise determination of market turning points without the lag associated with traditional smoothing, effectively solving the "phase delay" problem that plagues standard oscillators.
Complementing the classic DSP approach is the MESA (Maximum Entropy Spectral Analysis) model. Standard Fourier analysis assumes that data outside the observation window repeats or is zero, which creates "spectral leakage" and inaccuracies when analyzing short data bursts typical of trading. MESA, however, is based on information theory. It constructs a model that maximizes the entropy (randomness) of the unobserved data, thereby making the fewest assumptions possible about what the market did before or after the sample size. This results in a high-resolution estimation of cycle periods even with limited data points. It is a highly mathematical approach to autoregressive modeling, allowing the system to detect shifting cycle lengths rapidly as market volatility expands or contracts.
The system also integrates the Goertzel Algorithm, a method optimized for detecting specific frequency components within a signal. While a Fast Fourier Transform (FFT) scans the entire frequency spectrum, the Goertzel algorithm acts as a matched filter, surgically interrogating the price data for the presence of specific, pre-defined cycle periods (Short, Medium, and Long). It computes the energy or "power" at these specific frequencies. For a quant, this is akin to tuning a radio receiver to listen specifically for the presence of institutional order flow frequencies. If the "power" at the 20-bar cycle is high, the Goertzel component signals that this specific harmonic is currently driving price action. This selective frequency analysis is computationally efficient and provides a direct measurement of cycle strength, distinguishing between a genuine cycle and random market drift.
Moving into the realm of non-linear and non-stationary analysis, the system employs Empirical Mode Decomposition (EMD). Developed for analyzing data that is neither linear nor stationary—a perfect description of financial markets—EMD does not assume a fixed basis like sine waves. Instead, it uses a recursive "sifting" process to decompose the price into a finite number of Intrinsic Mode Functions (IMFs). The algorithm identifies local maxima and minima, creates upper and lower envelopes using cubic splines, and subtracts the mean of these envelopes from the data. This process is repeated until true oscillatory modes are extracted. EMD is often referred to as the "Hilbert-Huang Transform" in academic literature and is considered one of the most powerful tools for analyzing natural phenomena. By using EMD, the system can adapt to asymmetric cycles (where the rally is fast and the drop is slow) that linear models like the Fourier transform would misinterpret.
The inclusion of Singular Spectrum Analysis (SSA) further deepens the mathematical rigor. SSA is a nonparametric spectral estimation method that combines elements of classical time series analysis, multivariate geometry, and signal processing. Conceptually, it involves embedding the time series into a vector space to form a "trajectory matrix" and then performing a decomposition (similar to Principal Component Analysis or SVD) to separate the series into independent components representing trend, oscillatory signals, and noise. While Pine Script limits the full matrix algebra required for complete SVD, the implementation here utilizes heuristic approximations to achieve the decompositional effect. This allows the system to filter out noise "subspaces," reconstructing a signal that retains the structural integrity of the market movement while discarding the stochastic "fuzz" that leads to false signals.
Wavelet Analysis is utilized to address the "Heisenberg Uncertainty Principle" of signal processing, which states one cannot know the precise frequency and precise time of an event simultaneously. While Fourier analysis loses time resolution to gain frequency resolution, Wavelets use "short" basis functions for high frequencies and "long" basis functions for low frequencies. This Multi-Resolution Analysis (MRA) allows the system to see the forest and the trees simultaneously. It decomposes price energy across different scales, identifying whether volatility is driven by short-term microstructure noise or long-term structural shifts. The calculation of "Wavelet Energy" within the script provides a distinct metric of market state, often preceding explosive moves when energy clusters across multiple timescales.
Finally, the statistical backbone is provided by Autocorrelation. This is the mathematical study of self-similarity. It calculates the correlation of the price series with a lagged version of itself. By scanning through various lags (periods), the algorithm identifies the time shift that produces the highest correlation coefficient. If price correlates highly with itself from 20 bars ago, it confirms a 20-bar cycle memory in the market. This is a purely statistical validation method that serves as a "sanity check" for the more complex spectral models, ensuring that the detected cycles are statistically significant and not artifacts of curve fitting.
The culmination of these seven mathematical titans is the Gradient Boosting Machine (GBM) optimization layer. In the context of Pine Script, this is a revolutionary concept. Traditional indicators have static parameters; they calculate the same way in a crash as they do in a bull run. This system, however, utilizes a simplified machine learning loop. It calculates the "loss" or error of each of the seven models relative to recent price returns. Using a gradient descent-inspired approach, it updates a weight vector, assigning higher influence to models that have been predictive in the recent lookback window and penalizing those that have failed. If the market enters a choppy period where trends vanish, the EMD and Wavelet models (which handle noise well) might gain dominance, while the Trend-following components are suppressed. If the market enters a clean harmonic swing, the Ehlers and Goertzel models will take the lead. This dynamic adaptation makes the system "alive," capable of morphing its internal logic to match the current market regime.
For the quantitative analyst, this system offers a robust framework for algorithmic strategy development. It provides "feature engineering" out of the box—transforming raw price data into normalized, de-trended, and phase-aligned oscillators. The composite signal is not just a line on a chart; it is a probability-weighted vector of market state. The "Zero-Lag" nature of the phase calculations allows for entry and exit precision that moving averages mathematically cannot provide. Furthermore, the decomposition of market movements into Short, Medium, and Long cycles allows for fractal analysis—identifying moments of "Constructive Interference" where all three cycles align in phase, creating high-probability, high-velocity trade setups often associated with institutional order execution.
In conclusion, the Institutional Cycle Intelligence System (Machine Learning) is a tour de force of applied mathematics and computational finance. It transcends the limitations of standard technical analysis by treating the market not as a visual pattern, but as a complex signal processing problem. By leveraging the orthogonality of different mathematical approaches—spectral, statistical, and decompositional—and fusing them through an adaptive machine learning mechanism, it offers a level of insight typically reserved for hedge funds with dedicated quant teams. It demonstrates that Pine Script is no longer just a scripting language for drawing lines, but a viable environment for implementing complex, adaptive, and mathematically rigorous trading systems. It is a tool for those who understand that in the financial markets, the edge lies not in predicting the future, but in deeply understanding the mathematical structure of the present.
indicator from AmoryWhat is Amory Indicator?
Amory is a trade confirmation indicator.
It does not try to predict the market.
It only tells you when the market is ready to move and which side is in control.
Its main purpose is to:
Filter out bad trades
Avoid sideways traps
Confirm real breakouts
Help you enter only when probability is high
Tradehook.tech-MTMGBS-AutoTrend_TraderTradehook.tech-MTMGBS-AutoTrend_Trader
### Automatic Trendline Detection & Breakout System
**Category:** Trendlines | **Overlay:** Yes | **Complexity:** ⭐⭐⭐⭐
#### Description
AT_Trader automatically detects and draws trendlines by connecting swing highs (resistance trendlines) and swing lows (support trendlines). The system also detects trendline breakouts with optional buffer zones to filter false breaks.
#### Core Logic
```
Upper Trendline: Connect 2+ swing highs, extend right
Lower Trendline: Connect 2+ swing lows, extend right
Breakout Detection:
IF Close > Upper Trendline + Buffer THEN Bullish Breakout
IF Close < Lower Trendline - Buffer THEN Bearish Breakout
```
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 3-15 | Strength for pivot detection |
| `minTouches` | 2 | 2-5 | Minimum touches to validate trendline |
| `bufferTicks` | 5 | 0-20 | Buffer zone for breakout detection |
| `extendRight` | true | - | Extend trendlines into future |
| `showBreakouts` | true | - | Mark breakout points |
#### Signal Interpretation
| Event | Signal | Action |
|-------|--------|--------|
| Price touches support TL | Support test | Watch for bounce |
| Price touches resistance TL | Resistance test | Watch for rejection |
| Break above resistance TL | Bullish breakout | Look for long entry |
| Break below support TL | Bearish breakout | Look for short entry |
| Retest of broken TL | Confirmation | High-probability entry |
#### Best Use Cases
✅ Automatic trendline identification
✅ Breakout trading system
✅ Dynamic S/R visualization
✅ Pattern formation detection (channels, wedges)
Advanced Market Flow IndicatorAdvanced Market Flow Indicator - Complete Trading Guide
What This Indicator Does
The Advanced Market Flow (AMF) Indicator helps you identify whether the market is in a buying condition, selling condition, or if you should wait. It combines multiple analysis methods to give you clear signals on when to enter and exit trades.
Getting Started: Choose Your Trading Mode
Before using the indicator, select your preferred Trading Mode in the input settings:
Aggressive Mode ⚡
Best for: Day traders, scalpers, short-term traders
Shows: Volatility Band 1 (Green/Red line only)
Characteristics: Fast signals, more trade opportunities, quicker reactions
Risk Level: Higher (more false signals possible)
Timeframes: 1M, 5M, 15M, 1H
Balanced Mode 🎯
Best for: Swing traders, position traders, beginners
Shows: Volatility Band 2 (Blue/Orange line only)
Characteristics: Stable signals, fewer but quality trades, smoother trends
Risk Level: Lower (more reliable signals)
Timeframes: 1H, 4H, 1D, 1W
Both Mode 📊
Best for: Experienced traders, full market analysis
Shows: Both Volatility Bands (all lines visible)
Characteristics: Complete picture, can compare fast vs slow signals
Risk Level: Medium (requires understanding of both bands)
Timeframes: All timeframes
Understanding the Visual Elements
1. Volatility Bands
Band 1 - Aggressive (Green/Red Line)
More sensitive, reacts faster to price changes
Green = Price in uptrend (bullish)
Red = Price in downtrend (bearish)
Acts as dynamic support/resistance for quick trades
Band 2 - Balanced (Blue/Orange Line)
Less sensitive, shows stronger, confirmed trends
Blue = Price in confirmed uptrend (bullish)
Orange = Price in confirmed downtrend (bearish)
Acts as major support/resistance for swing trades
Key Concept:
When price is above the band = bullish territory
When price is below the band = bearish territory
Price touching the band = potential entry point
2. Green Zone (Bullish Zone)
Appears when conditions favor buying
Shows the support flow area where price may bounce up
The larger the green zone, the stronger the bullish signal
Only appears during BUY signals
3. Red Zone (Bearish Zone)
Appears when conditions favor selling
Shows the resistance flow area where price may reverse down
The larger the red zone, the stronger the bearish signal
Only appears during SELL signals
4. Status Box (Top Right)
BUY (Green Background) = Long position conditions
SELL (Red Background) = Short position conditions
WAIT (Gray Background) = No clear direction, stay out
P&L Row: Shows profit/loss from current signal entry point
5. Multi-Timeframe Table (Bottom Right)
Displays signals across 7 timeframes (1M, 5M, 15M, 1H, 4H, 1D, 1W)
Each row shows: Period | Status | P&L
Helps confirm if multiple timeframes align
Green = BUY, Red = SELL, Gray = WAIT
How to Take Trades by Mode
🔴 AGGRESSIVE MODE TRADING
BUY Signal (Long Entry)
Set indicator to "Aggressive" mode
Wait for Status Box to show "BUY" in green
Confirm green zone appears on chart
Watch for price to touch the Green/Red Band (when it's green)
Enter: When price bounces off the green band or breaks above it
Stop Loss: 10-20 points below the green zone bottom
Take Profit:
Quick scalp: 1:1 or 1:2 risk-reward
Or exit when band turns red
Or exit when Status changes to "WAIT"
SELL Signal (Short Entry)
Wait for Status Box to show "SELL" in red
Confirm red zone appears on chart
Watch for price to touch the Green/Red Band (when it's red)
Enter: When price rejects from the red band or breaks below it
Stop Loss: 10-20 points above the red zone top
Take Profit:
Quick scalp: 1:1 or 1:2 risk-reward
Or exit when band turns green
Or exit when Status changes to "WAIT"
Aggressive Mode Tips
Take profits quickly (signals change fast)
Use tight stop losses
Best during high volatility periods
Check 1M, 5M, 15M timeframes in the table
Don't hold positions overnight
🔵 BALANCED MODE TRADING
BUY Signal (Long Entry)
Set indicator to "Balanced" mode
Wait for Status Box to show "BUY" in green
Confirm green zone appears on chart
Watch for price to touch the Blue/Orange Band (when it's blue)
Enter: When price bounces off the blue band or confirms above it
Stop Loss: 30-50 points below the green zone bottom
Take Profit:
Target previous swing high
Or 2:1 to 3:1 risk-reward ratio
Or exit when band turns orange
Or exit when Status changes to "WAIT"
SELL Signal (Short Entry)
Wait for Status Box to show "SELL" in red
Confirm red zone appears on chart
Watch for price to touch the Blue/Orange Band (when it's orange)
Enter: When price rejects from the orange band or confirms below it
Stop Loss: 30-50 points above the red zone top
Take Profit:
Target previous swing low
Or 2:1 to 3:1 risk-reward ratio
Or exit when band turns blue
Or exit when Status changes to "WAIT"
Balanced Mode Tips
Be patient, wait for clear setups
Use wider stop losses
Best during trending markets
Check 1H, 4H, 1D timeframes in the table
Can hold positions for days/weeks
Fewer trades but higher win rate
🟣 BOTH MODE TRADING
Advanced Strategy: Band Confluence
When both bands are visible, you can use advanced techniques:
Strong BUY Setup (Highest Probability)
Both bands are green/blue = Strong uptrend
Price above both bands = Momentum confirmed
Green zone present = Support established
Multiple timeframes show BUY = Alignment confirmed
Action: Enter long with confidence, wider profit targets
Strong SELL Setup (Highest Probability)
Both bands are red/orange = Strong downtrend
Price below both bands = Momentum confirmed
Red zone present = Resistance established
Multiple timeframes show SELL = Alignment confirmed
Action: Enter short with confidence, wider profit targets
Early Entry Signal
Band 1 turns green but Band 2 still red = Early bullish reversal
Action: Small position, tight stop, expect volatility
Exit: When Band 2 turns blue (confirm trend) or Band 1 turns red (false signal)
Trend Confirmation Signal
Band 1 already green, Band 2 turns blue = Confirmed uptrend
Action: Add to position, move stop to breakeven
Hold: Until either band changes color
Divergence Warning
Band 1 red but Band 2 blue = Conflicting signals
Action: Reduce position size or stay out
Meaning: Short-term weakness in longer-term uptrend
Both Mode Tips
Use Band 1 for entries, Band 2 for confirmation
When bands disagree, respect the higher timeframe (Band 2)
Best for traders who want complete market view
Requires more screen time and experience
Multi-Timeframe Analysis
How to Use the Bottom Right Table
The table shows 7 timeframes simultaneously. Here's how to read it:
Strong Signals (High Confidence)
All green (1M through 1W) = Very strong uptrend across all timeframes
All red = Very strong downtrend across all timeframes
Action: Trade in the direction of alignment with larger positions
Moderate Signals (Medium Confidence)
3-4 timeframes aligned = Decent trend forming
Action: Trade with standard position size
Example: 15M, 1H, 4H all show BUY = Good long setup
Weak Signals (Low Confidence)
Mixed colors = No clear trend, choppy market
Action: Reduce position size or avoid trading
Example: 5M shows BUY, but 1H shows SELL = Conflict
Timeframe Priority by Trading Style
Scalpers: Focus on 1M, 5M (must align)
Day Traders: Focus on 5M, 15M, 1H (at least 2 must align)
Swing Traders: Focus on 1H, 4H, 1D (at least 2 must align)
Position Traders: Focus on 4H, 1D, 1W (must align)
Risk Management Rules (CRITICAL)
Position Sizing
Aggressive Mode: Risk 0.5-1% per trade (more trades = smaller size)
Balanced Mode: Risk 1-2% per trade (fewer trades = larger size)
Both Mode: Risk 1-1.5% per trade
Never risk more than 5% of capital across all open trades
Stop Loss Rules
ModeStop Loss DistanceMax Risk per TradeAggressive10-20 points below/above zone0.5-1%Balanced30-50 points below/above zone1-2%Both20-40 points (based on band used)1-1.5%
Take Profit Targets
Aggressive Mode: 1:1 to 1:2 risk-reward ratio
Balanced Mode: 2:1 to 3:1 risk-reward ratio
Both Mode: 1.5:1 to 2.5:1 risk-reward ratio
When to Exit Immediately
Status changes to "WAIT" (close all positions in that direction)
Stop loss is hit (no exceptions, no "holding hoping")
P&L in Status Box turns negative and worsening
Major news event announced (close before news)
Common Trading Scenarios
Scenario 1: Perfect Setup (Take This Trade)
Mode: Balanced
Status: BUY
Zone: Large green zone
Timeframes: 1H, 4H, 1D all show BUY
P&L: All positive in table
Action: Enter long, standard position size, target 2:1 RR
Scenario 2: Risky Setup (Reduce Size or Skip)
Mode: Aggressive
Status: BUY
Zone: Small green zone
Timeframes: Mixed (some BUY, some SELL)
P&L: Some negative in table
Action: Either skip or enter with 0.5% risk, tight stop
Scenario 3: Reversal Setup
Mode: Both
Status: Changes from SELL to BUY
Bands: Band 1 turns green, Band 2 still orange
Action: Exit all shorts immediately, prepare for long entry when Band 2 turns blue
Scenario 4: Trend Continuation
Mode: Balanced
Status: BUY (has been BUY for several candles)
P&L: +50 in Status Box
Price: Pulls back to touch blue band
Action: Add to position (pyramid), move stop to breakeven
Scenario 5: Choppy Market (Stay Out)
Status: Constantly switching BUY → WAIT → SELL → WAIT
Zones: Appearing and disappearing rapidly
Timeframes: No alignment (all different)
Action: Close all positions, wait for clarity
Scenario 6: False Signal
Status: BUY
You enter: Long position
P&L immediately negative: -10, -15, -20
Action: Exit immediately (don't wait for stop loss), signal is failing
Trading Rules Checklist
Before Entering Any Trade:
Indicator Status is BUY or SELL (not WAIT)
Appropriate zone is visible (green for BUY, red for SELL)
At least 2 timeframes agree in the multi-timeframe table
You know your exact stop loss level
You know your exact take profit target
Risk is 0.5-2% of capital (based on mode)
No major news in next 30 minutes
After Entering a Trade:
Stop loss order placed immediately
Take profit target set
Position size recorded
Monitor Status Box for changes
Monitor P&L (if goes deeply negative, consider exit)
Daily Trading Rules:
Maximum 3 trades per day in Aggressive mode
Maximum 1-2 trades per day in Balanced mode
Stop trading after 2 consecutive losses
Stop trading if daily loss reaches 3%
Pro Tips & Tricks
Timing Your Entries
Best Entry (Aggressive): When price touches the band and shows rejection candle
Best Entry (Balanced): Wait for candle close above/below band before entering
Worst Entry: Chasing price far from the band
Using the P&L Feature
Positive P&L growing: Signal is working, consider adding position
P&L near zero: Signal uncertain, prepare to exit
Negative P&L: Signal failing, exit or tighten stop
P&L in table all negative: Wrong market conditions, stop trading
Zone Size Interpretation
Large zones (wide gap): Strong conviction, high probability
Medium zones: Standard signal, normal position size
Tiny zones: Weak signal, reduce size or skip
No zone: Never trade when no zone is visible
Band Color Changes
Aggressive Band (1) flips frequently: High volatility, good for scalping
Balanced Band (2) stable: Low volatility, good for swing trading
Both bands same color: Strong trend, high confidence
Bands different colors: Transitioning, be cautious
Best Market Conditions by Mode
ModeBest MarketWorst MarketAggressiveHigh volatility, rangingLow volatility trendingBalancedTrending marketsChoppy, sidewaysBothAny (adaptable)Extremely choppy
Troubleshooting Common Problems
Problem 1: Too Many Losses in Aggressive Mode
Solution: Switch to Balanced mode or reduce trade frequency
Reason: Market may not be suitable for quick trades
Problem 2: Missing Big Moves in Balanced Mode
Solution: Switch to Both mode to see early signals
Or: Add alerts on Aggressive band for early warnings
Problem 3: Signals Keep Changing to WAIT
Solution: Market is choppy, stop trading until clear trend forms
Check: Move to higher timeframe charts
Problem 4: Stop Loss Getting Hit Often
Solution: Widen stop loss distance or trade higher timeframes
Check: Zone size - if tiny, signals are weak
Problem 5: Can't Decide Between Modes
Start with: Balanced mode (safer for beginners)
After 50 trades: Review results, switch if needed
Consider: Your personality (patient vs action-oriented)
Mode Selection Guide
Choose Aggressive Mode If:
You can monitor charts constantly
You prefer many small profits over few large ones
You trade during high volatility hours
You're comfortable with quick decisions
You use timeframes: 1M, 5M, 15M
Choose Balanced Mode If:
You check charts a few times per day
You prefer fewer, higher-quality trades
You want less stressful trading
You're a beginner or part-time trader
You use timeframes: 1H, 4H, 1D
Choose Both Mode If:
You're an experienced trader
You want to see complete market structure
You can interpret conflicting signals
You want early entry + confirmation
You use multiple strategies
Quick Reference Cards
Aggressive Mode Quick Reference
SignalBand ColorZoneActionStopTargetBUYGreenGreen appearsLONG-10-20pts1:1 RRSELLRedRed appearsSHORT+10-20pts1:1 RRWAITAnyNone/BothOUT--
Balanced Mode Quick Reference
SignalBand ColorZoneActionStopTargetBUYBlueGreen appearsLONG-30-50pts2:1 RRSELLOrangeRed appearsSHORT+30-50pts2:1 RRWAITAnyNone/BothOUT--
Both Mode Quick Reference
Band 1Band 2Signal StrengthActionGreenBlueVery Strong UPLONG (full size)RedOrangeVery Strong DOWNSHORT (full size)GreenOrangeWeak/EarlyLONG (small size)RedBlueWeak/EarlySHORT (small size)MixedMixedConfusedWAIT
Final Reminders
Golden Rules
Never trade without a stop loss - This is your safety net
Respect the WAIT signal - No signal is better than a bad signal
Start small - Master one mode before trying others
Keep a trading journal - Track which mode works best for you
The indicator is a tool, not a crystal ball - Use your brain too
Success Formula
Success = (Right Mode × Proper Risk Management × Discipline) - Emotions
Remember
This indicator shows probabilities, not certainties
No indicator wins 100% of the time
Risk management is more important than win rate
Consistency beats occasional big wins
Paper trade first before risking real money
Tradehook.tech-MTMGBS-SwingStructureTradehook.tech-MTMGBS- SwingStructure
### Multi-Level Swing Point Detection & Trend Structure
**Category:** Market Structure | **Overlay:** Yes | **Complexity:** ⭐⭐⭐
#### Description
SwingStructure provides clean identification of swing highs and swing lows at multiple levels (minor, intermediate, major), plotting the market's structural rhythm. Understanding swing structure is fundamental to all price action trading methods.
#### Swing Classification
| Level | Strength | Typical Use |
|-------|----------|-------------|
| Minor (S=3) | 3 bars each side | Scalping, micro entries |
| Intermediate (S=5) | 5 bars each side | Day trading, swing entries |
| Major (S=10) | 10 bars each side | Swing trading, trend bias |
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 2-20 | Bars required on each side |
| `showMinor` | true | - | Display minor swing points |
| `showMajor` | true | - | Display major swing points |
| `showConnections` | true | - | Draw lines between swings |
#### Trend Determination via Swings
| Swing Pattern | Trend | Action |
|---------------|-------|--------|
| Higher Highs + Higher Lows | UPTREND | Buy dips to swing lows |
| Lower Highs + Lower Lows | DOWNTREND | Sell rallies to swing highs |
| Higher Highs + Lower Lows | EXPANSION | Range breakout possible |
| Lower Highs + Higher Lows | CONTRACTION | Prepare for breakout |
#### Best Use Cases
✅ Trend direction confirmation
✅ Support/resistance identification
✅ Pattern recognition foundation
✅ Stop loss placement (behind swings)
Tradehook.Tech-MTMGBS-ICTSMC# 🏦 TradeHook.Tech - MTMGBS-ICTSMC
## Smart Money Concepts | Institutional Order Flow | ICT Methodology
## 📖 Overview
**MTMGBS-SMC** (Market Trend & Market Generated Bias System - Smart Money Concepts) is a comprehensive institutional order flow indicator built on **ICT (Inner Circle Trader)** methodology and Smart Money principles.
This indicator decodes the market's underlying structure by identifying:
- ✅ **Market Structure** (Swing Highs/Lows, HH, HL, LH, LL)
- ✅ **Break of Structure (BOS)** — Trend continuation signals
- ✅ **Change of Character (CHoCH)** — Early reversal warnings
- ✅ **Order Blocks (OB)** — Institutional supply/demand zones
- ✅ **Fair Value Gaps (FVG)** — Price imbalances & magnets
- ✅ **Inverse Fair Value Gaps (iFVG)** — Validated support/resistance
- ✅ **Liquidity Pools (BSL/SSL)** — Stop hunt targets
- ✅ **Liquidity Sweeps** — Reversal confirmation signals
> 💡 *"Retail traders chase price. Smart money engineers it."*
---
## 🎯 Why Smart Money Concepts?
Traditional technical analysis focuses on lagging indicators. **SMC flips the script** by analyzing *where* institutional players are likely:
| Institutional Action | What They Do | What You See |
|---------------------|--------------|--------------|
| **Accumulation** | Build positions at discount | Bullish Order Block forms |
| **Distribution** | Offload positions at premium | Bearish Order Block forms |
| **Liquidity Hunt** | Trigger retail stops for entries | Sweep of BSL/SSL |
| **Rebalancing** | Fill price inefficiencies | Price returns to FVG |
This indicator visualizes these footprints in **real-time**.
---
## 🔥 Features
### 📐 Market Structure Analysis
```
┌─────────────────────────────────────────────────┐
│ HH ──────────────────── Higher High │
│ \ │
│ \ HH ─────────── New Higher High │
│ \ / │
│ HL ────────────── Higher Low (Bullish) │
│ │
│ Structure: BULLISH TREND │
│ Signal: Look for longs at OB/FVG on pullback │
└─────────────────────────────────────────────────┘
```
- **Swing Detection** with adjustable strength (2-20 bars)
- **Automatic HH/HL/LH/LL labeling** for instant structure recognition
- **Real-time structure bias** displayed in info panel
### 🔄 BOS & CHoCH Detection
```
BREAK OF STRUCTURE (BOS) CHANGE OF CHARACTER (CHoCH)
BOS ←── Price breaks swing CHoCH ←── Price breaks swing
│ in TREND direction │ AGAINST trend
│ │
─────┼───── Previous High ─────┼───── Previous High
│ │
Confirms trend Warns of reversal
continuation potential
```
- **BOS** = Trend continuation confirmation
- **CHoCH** = Early reversal warning
- Customizable colors for bullish/bearish signals
- Cooldown filter prevents label spam
### 🟩 Order Blocks (Supply & Demand Zones)
```
BULLISH ORDER BLOCK BEARISH ORDER BLOCK
┌──── Impulsive move up Impulsive move down ────┐
│ │
│ │
════╪════ ← Last bearish candle ════╪════ ← Last bullish candle
│ before the move │ before the move
│ (DEMAND ZONE) │ (SUPPLY ZONE)
│ │
Entry Entry
Zone Zone
```
**Three Sensitivity Modes:**
| Mode | Logic | Best For |
|------|-------|----------|
| **Strict** | Strong engulfing required | High-probability setups only |
| **Moderate** | Balanced detection | General trading |
| **Relaxed** | Momentum-based detection | Catching more setups |
**Order Block Lifecycle:**
1. ✨ **Created** — Opposite candle before impulsive move
2. ⏳ **Grace Period** — Protected from early invalidation
3. 🎯 **Active** — Price moves away, OB becomes valid
4. ✅ **Tested** — Price returns to zone (entry opportunity)
5. ❌ **Mitigated** — Price closes through zone (removed)
### 📊 Fair Value Gaps (Price Imbalances)
```
BULLISH FVG BEARISH FVG
Candle 3 ───┐ ┌─── Candle 3
│ │
GAP ─┼─ Low > High ├─ GAP ─ High < Low
│ (Inefficiency) │ (Inefficiency)
Candle 1 ───┘ └─── Candle 1
Price tends to return Price tends to return
to fill the gap to fill the gap
```
**FVG → iFVG Conversion:**
When price enters an FVG but holds (doesn't close through), it converts to an **Inverse FVG (iFVG)** — a validated support/resistance zone with higher probability.
### 💧 Liquidity Visualization
```
BSL (Buyside Liquidity) SSL (Sellside Liquidity)
──────────────────────── ────────────────────────
BSL $1.2500 ───────────── Swing highs with buy stops
═══════════════════════ above. Target for bears.
↑
Retail stops resting ↓
above swing highs ═══════════════════════
SSL $1.2300 ─────────────
Swing lows with sell stops
below. Target for bulls.
```
**Fully Customizable:**
- 🎨 Separate colors for BSL & SSL
- 📏 Line styles: Solid / Dashed / Dotted
- 📐 Line width: 1-5
- 🏷️ Label position: Left / Right / Center
- 💰 Optional price display on labels
- ✓ Sweep confirmation labels
---
## ⚙️ Settings Guide
### 🔷 Swing Structure
| Setting | Default | Description |
|---------|---------|-------------|
| Swing Strength | 5 | Bars required to confirm swing (higher = fewer swings) |
| Show Swing H/L | ✅ | Display circle markers at swing points |
| Show HH/HL/LH/LL | ✅ | Display structure labels |
### 🔷 Break of Structure
| Setting | Default | Description |
|---------|---------|-------------|
| Show BOS | ✅ | Display BOS labels |
| BOS Bull Color | Teal | Color for bullish BOS |
| BOS Bear Color | Maroon | Color for bearish BOS |
### 🔷 Change of Character
| Setting | Default | Description |
|---------|---------|-------------|
| Show CHoCH | ✅ | Display CHoCH labels |
| CHoCH Bull Color | Lime | Color for bullish CHoCH |
| CHoCH Bear Color | Fuchsia | Color for bearish CHoCH |
### 🔷 Order Blocks
| Setting | Default | Description |
|---------|---------|-------------|
| Show Order Blocks | ✅ | Display OB zones |
| OB Sensitivity | Moderate | Strict / Moderate / Relaxed |
| OB Extend Bars | 50 | How far zones extend right |
| Max Active OBs | 20 | Maximum OBs displayed per side |
| OB Grace Period | 5 | Bars before mitigation allowed |
| OB Opacity | 75 | Zone transparency (50-95) |
### 🔷 Fair Value Gaps
| Setting | Default | Description |
|---------|---------|-------------|
| Show FVG | ✅ | Display FVG zones |
| FVG Sensitivity | Moderate | Strict / Moderate / Relaxed |
| Show iFVG | ✅ | Convert tested FVGs to inverse |
| FVG Extend Bars | 50 | How far zones extend right |
| Max Active FVGs | 20 | Maximum FVGs displayed per side |
| FVG Grace Period | 5 | Bars before checks begin |
| FVG Opacity | 85 | Zone transparency (50-95) |
### 🔷 Liquidity (BSL)
| Setting | Default | Description |
|---------|---------|-------------|
| BSL Color | Red | Line and label color |
| BSL Line Style | Dashed | Solid / Dashed / Dotted |
| BSL Line Width | 2 | Thickness (1-5) |
| Show BSL Label | ✅ | Display label on line |
| BSL Label Position | Left | Left / Right / Center |
| Show BSL Price | ✅ | Include price in label |
### 🔷 Liquidity (SSL)
| Setting | Default | Description |
|---------|---------|-------------|
| SSL Color | Green | Line and label color |
| SSL Line Style | Dashed | Solid / Dashed / Dotted |
| SSL Line Width | 2 | Thickness (1-5) |
| Show SSL Label | ✅ | Display label on line |
| SSL Label Position | Left | Left / Right / Center |
| Show SSL Price | ✅ | Include price in label |
### 🔷 Liquidity Swept
| Setting | Default | Description |
|---------|---------|-------------|
| BSL Swept Color | Red | Label color when BSL swept |
| SSL Swept Color | Green | Label color when SSL swept |
| Swept Label Size | Normal | Tiny / Small / Normal / Large |
| Show Swept Icon | ✅ | Display ✓ in swept labels |
### 🔷 General
| Setting | Default | Description |
|---------|---------|-------------|
| Label Cooldown | 3 | Bars between same label type |
| Show Background | ❌ | Tint chart based on structure |
---
## 📈 Trading Strategies
### 🟢 Strategy 1: OB + Liquidity Sweep (High Probability)
```
SETUP:
1. Identify trend direction (HH/HL = Bullish)
2. Wait for price to sweep SSL (takes out lows)
3. Look for bullish OB near the sweep
4. Enter long when price returns to OB
5. Stop below OB, Target at BSL
BSL ════════════════════ Target
↑
Entry at OB after SSL sweep
↑
┌────────┐
│ Bull OB │←── Enter here
└────────┘
↑
SSL ════════════════════ Swept ✓
```
### 🔴 Strategy 2: CHoCH + FVG Entry
```
SETUP:
1. Price makes CHoCH (breaks structure against trend)
2. Wait for FVG to form in new direction
3. Enter when price returns to FVG
4. Stop beyond the CHoCH swing
5. Target the next OB or liquidity level
Previous High ──────
│
│ CHoCH ←── Structure break
│
┌────────┐
│Bear FVG│←── Entry zone
└────────┘
│
↓
Target (SSL or Bull OB)
```
### 🔵 Strategy 3: BOS Continuation
```
SETUP:
1. Wait for BOS in trend direction
2. Identify nearest OB in direction of trend
3. Enter at OB with stop beyond it
4. Target next liquidity level
BOS ←── Confirms trend
│
│ Pullback
│ ↙
┌────────┐
│ Bull OB │←── Entry
└────────┘
│
↓
Previous Low (Stop)
```
---
## 🚨 Alerts Available
| Alert | Description |
|-------|-------------|
| Bullish BOS | Break of Structure to the upside |
| Bearish BOS | Break of Structure to the downside |
| Bullish CHoCH | Change of Character to bullish |
| Bearish CHoCH | Change of Character to bearish |
| Bullish OB | New bullish order block formed |
| Bearish OB | New bearish order block formed |
| Bullish FVG | New bullish fair value gap formed |
| Bearish FVG | New bearish fair value gap formed |
| BSL Swept | Buyside liquidity taken |
| SSL Swept | Sellside liquidity taken |
---
## 📊 Info Panel
The indicator displays a real-time information table showing:
```
┌──────────────┬──────────┐
│ Structure │ BULLISH │
├──────────────┼──────────┤
│ Swing H │ 1.2500 │
│ Swing L │ 1.2350 │
├──────────────┼──────────┤
│ Bull OBs │ 3 │
│ Bear OBs │ 2 │
├──────────────┼──────────┤
│ Bull FVGs │ 4 │
│ Bear FVGs │ 1 │
├──────────────┼──────────┤
│ BSL Lines │ 3 │
│ SSL Lines │ 4 │
├──────────────┼──────────┤
│ OB Mode │ Moderate │
│ FVG Mode │ Moderate │
└──────────────┴──────────┘
```
---
## 💡 Pro Tips
1. **Higher Timeframe Bias** — Use SMC on HTF (4H/Daily) to determine direction, then drop to LTF (15m/1H) for entries
2. **Confluence is King** — Best entries occur where multiple concepts align (OB + FVG + Liquidity sweep)
3. **Respect the Trend** — Trade OBs in the direction of the higher timeframe structure
4. **Patience Pays** — Wait for price to come to your zone; don't chase
5. **Sensitivity Selection**:
- Use **Strict** on lower timeframes (less noise)
- Use **Relaxed** on higher timeframes (catch more setups)
---
## ⚠️ Disclaimer
This indicator is a tool for analysis, not financial advice. Smart Money Concepts require practice and understanding of market context. Always:
- Use proper risk management
- Backtest before live trading
- Combine with your own analysis
- Never risk more than you can afford to lose
---
## 🔄 Version History
| Version | Date | Changes |
|---------|------|---------|
| 1.0.0 | 2024 | Initial release |
| 1.1.0 | 2024 | Added sensitivity modes for OB & FVG |
| 1.2.0 | 2024 | Full liquidity customization (color, style, labels) |
---
## 🙏 Credits
Methodology inspired by:
- **ICT (Inner Circle Trader)** — Michael J. Huddleston
- **Smart Money Concepts** community
- **TradeHook.Tech** development team
---
```
══════════════════════════════════════════════════════════════════
Trade Smarter. Trade with the Institutions. Trade with SMC.
══════════════════════════════════════════════════════════════════
```
**📧 Questions?** Comment below or reach out to TradeHook.Tech
**⭐ Found value?** Leave a like and follow for updates!
---
*#SmartMoney #ICT #OrderBlocks #FVG #MarketStructure #Liquidity #TradingView #PineScript*
TheeArchitect Smart SMC & Screener [Pro]Description Text:
TheeArchitect Smart SMC & Screener is an advanced, all-in-one institutional trading toolkit designed to declutter your charts and provide actionable, real-time Smart Money Concepts (SMC) analysis.
Unlike standard SMC indicators that flood the screen with historical noise, this tool utilizes a proprietary "Smart Mitigation" engine that actively filters data, displaying only the unmitigated and highly probable Zones of Interest (PD Arrays) relevant to the current price action.
🚀 Key Features
1. Dynamic A-B-C Market Structure Engine The script automatically maps the market structure using a logic-based 3-point system:
Point A (Origin): The start of the move.
Point B (Strong Point/Invalidation): Defines the current trend Bias. A break of B signals a Trend Reversal.
Point C (Weak Point/Target): The liquidity target. A break of C signals Trend Continuation.
Benefit: Instantly identify the current market Bias (Bullish/Bearish) and structural range.
2. Smart Mitigation Logic (The "Clean Chart" Philosophy) This is the core innovation of this tool. The algorithm continuously scans historical Order Blocks and FVGs against price action:
Automatic Cleanup: If a zone has been mitigated (tested) by price, it is automatically removed from the chart.
Hierarchy Filter: Only the most extreme/relevant zones within the leg are shown.
Result: You see only fresh, tradable zones without the visual noise.
3. High-Probability PD Arrays The tool identifies two specific types of zones within the dealing range:
Order Blocks (OB): Validated based on "Discount" (for longs) and "Premium" (for shorts) pricing models. It detects both single-candle blocks and aggregated consecutive candles.
Fair Value Gaps (FVG): Imbalance zones strictly filtered by equilibrium logic.
4. Multi-Asset Pro Screener A customizable dashboard attached to your chart monitors up to 20 different assets simultaneously in real-time.
Status Indicators: Instantly see if any asset is currently inside an OB, an FVG, or triggering a Breakout.
Signal Persistence: The screener uses advanced logic to prevent "flickering." Signals remain visible until the candle closes, ensuring confirmed setups.
Customizable: You can change the 20 assets directly from the indicator settings to match your watchlist (Crypto, Forex, Indices, etc.).
⚙️ How to Use
Trend Identification: Look at the structural lines. Green indicates a Bullish Bias; Red indicates a Bearish Bias.
Entry Zones: Wait for price to retrace into the colored boxes (OB or FVG).
Green Boxes: Bullish zones (Look for buys).
Red Boxes: Bearish zones (Look for sells).
The Screener: Use the table to scan the entire market at a glance. When you see "OB" or "FVG" next to a ticker, switch to that chart to execute your trade.
🔒 Access & Settings
Fully Customizable: Change the 20 assets, line thickness, and zone transparency from the settings menu.
Access: This is an Invite-Only script. To gain access, please send me a private message or follow the link in my signature.
Disclaimer: Trading involves high risk. This tool is designed for educational and analytical purposes only and does not constitute financial advice. Past performance is not indicative of future results.
OBV 3 MA Delta V2 + VWOBV Momentum
OBV 3 MA Delta – Adaptive OBV for Different Market Structures
Most traders use traditional OBV as a universal tool across all markets.
However, after extensive testing, I realized this assumption is fundamentally flawed.
👉 Each market has a different relationship between price and volume.
Crypto, equities, indices, and futures do NOT distribute volume the same way.
________________________________________
The Core Problem with Traditional OBV
Classic OBV relies on a binary logic:
• If price closes up → add full volume
• If price closes down → subtract full volume
This works reasonably well in some markets, but fails in others:
• In Crypto (BTC, ETH) → strong volatility, momentum-driven volume
• In Equity Indices (S&P 500) → smoother trends, institutional volume absorption
As a result:
• OBV can lag,
• miss early divergences,
• or completely flatten important volume signals.
________________________________________
What This Indicator Does Differently
This indicator introduces multiple OBV calculation modes, allowing OBV to adapt to the market structure instead of forcing one formula everywhere.
Calculation Modes Included
OBV Close
Uses price change × price level × volume
→ More sensitive to real price effort, especially effective for crypto markets
OBV Standard
Classic OBV logic
→ Kept for comparison and backward compatibility
VWOBV % (Volume-Weighted OBV by % Price Change)
Volume is weighted by percentage price movement, not just direction
→ Excellent for indices and large-cap markets
VWOBV Momentum
Measures volume-weighted price acceleration, not just accumulation
→ Highlights hidden institutional momentum that standard OBV often misses
________________________________________
BTC vs S&P 500 — Why One OBV Is Not Enough
Bitcoin (BTCUSDT)
Using OBV Close, bearish divergence appears early and clearly, well before price breaks down.
Traditional OBV also shows divergence, but later and weaker.
S&P 500
With classic OBV, divergence is shallow and often unclear.
However, when switching to VWOBV % or VWOBV Momentum,
the divergence becomes deep, structured, and visually obvious.
👉 Same indicator, same settings — different market, different behavior.
This clearly demonstrates:
OBV must adapt to the market, not the other way around.
________________________________________
Additional Features
• Optional Heikin Ashi smoothing (auto-disabled on higher timeframes)
• Flexible reset modes (daily, weekly, monthly, custom bars, specific date)
• 3 Moving Averages on OBV for structure & trend confirmation
• Clean visuals, minimal clutter
• Designed for comparison & experimentation, not black-box signals
________________________________________
Final Thoughts
This indicator is not claiming one OBV formula is “the best”.
Instead, it provides a framework:
• Test how price and volume interact in your market
• Choose the OBV model that reflects that behavior
• Use divergences as context, not blind signals
Enjoy and happy trading!
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user
M.KHOA






















