Polynomial Regression Clustering [LuxAlgo]The Polynomial Regression Clustering indicator utilizes K-Means clustering to categorize historical price data into discrete levels and fits polynomial regression curves to each identified cluster.
This tool allows traders to visualize non-linear trends within specific price regimes, providing a unique perspective on support, resistance, and price momentum.
🔶 USAGE
The indicator identifies "K" number of clusters based on the vertical distribution of price over a user-defined lookback period. Each cluster represents a group of bars that share similar price levels, and a polynomial regression line is calculated to represent the localized trend for that specific group.
🔹 Cluster Identification
The script groups price action into color-coded dots. By default, it uses the HL2 (Average price) to determine which cluster a bar belongs to. This is particularly useful for identifying historical value areas where price has spent a significant amount of time.
🔹 Polynomial Fitting
Unlike standard linear regression, which produces a straight line, the polynomial regression curves can bend to fit the data more accurately.
A Polynomial Degree of 1 will result in a standard linear regression (straight lines). A Polynomial Degree of 2 or higher allows for curves that capture parabolic moves or cyclical swings within each cluster.
🔹 Future Projections
The current active cluster (the one containing the most recent price point) can be projected into the future. This allows you to see where the localized trend for the current price regime is heading based on the mathematical fit of historical data.
🔶 DETAILS
🔹 K-Means Algorithm
The script uses an iterative K-Means algorithm to find the optimal centroids (center points) for the price levels. It calculates the distance of each price point to the nearest centroid and refines the centroid position until the clusters are stable or the maximum iterations are reached.
🔹 Regression Logic
Once price points are assigned to a cluster, the script solves for the coefficients of a polynomial equation that minimizes the distance between the line and the cluster's data points. To ensure numerical stability with higher degrees, the horizontal (time) axis is normalized before performing matrix operations.
🔶 SETTINGS
🔹 K-Means
Number of Clusters (K): Defines how many price levels the indicator should look for. Higher values create more granular levels. Lookback Period: The number of recent bars used to perform the clustering and regression calculation. Max Iterations: The maximum number of refinement steps for the K-Means algorithm.
🔹 Regression
Polynomial Degree: Controls the "bend" of the regression lines. Higher degrees allow for more complex curves. Extend All Fits to Current Bar: When enabled, the regression lines for all historical clusters are extended to the rightmost edge of the chart. Project Current Cluster into Future: Extends the current regime's regression line into the future (empty space) using a dashed line.
🔹 Visual Style
Show Regression Lines: Toggles the visibility of the polynomial curves. Show Cluster Dots: Toggles the visibility of the colored dots on each price bar. Dot Size: Adjusts the size of the cluster dots. Cluster Colors: Customizable colors for each of the identified clusters.
Các mẫu biểu đồ
[CT] MTF CISD w/ExtensionsThis indicator is a modified version of “Change in State of Delivery CISD” originally created by © AlgoAlpha and released under the Mozilla Public License 2.0. The core CISD logic, including how the script identifies qualifying bullish and bearish state changes and how it draws the original CISD levels, comes from AlgoAlpha’s work. The version you are using has been modified by © ChaosTrader63 to add multi time frame CISD functionality, optional HTF labeling and styling controls, and a configurable method to extend a user selected number of the most recent current time frame CISD levels beyond the last candle.
At its core, CISD is designed to identify moments when price behavior suggests a meaningful shift in control, where one side of the market has effectively “taken delivery” and the prior state has changed. The script watches price swings, then tracks specific candle state transitions that can act like triggers. When the conditions are met, it prints a CISD level as a horizontal line originating from the candle that defined the trigger and extending to the detection candle, creating a clear reference level that can behave like a decision point for future price interaction. In practice, those levels often act as areas where price may react, reject, or accept, because they represent the point where a meaningful state change was confirmed by price behavior rather than by a simple moving average or lagging trend filter.
The indicator also includes swing based liquidity tracking to provide context around potential liquidity events. It detects swing highs and swing lows using a pivot period you control, then maintains those swing levels as “liquidity lines” until they are either mitigated or expire after a set number of bars. When price wicks into one of those swing liquidity levels and confirms the mitigation, the script records that event. If a CISD trigger happens shortly after, and the new state change occurs with evidence that opposing liquidity was just taken, the script flags that as a stronger event by marking it on the chart. This is meant to separate normal CISD signals from those that occur after a sweep, because a sweep plus a decisive state change is often more meaningful than a state change that happens in the middle of noise.
The user controls in the calculations section determine how sensitive or selective the CISD detection is. The noise filter controls how strict the script is about qualifying the internal structure that leads to a CISD event. Higher values reduce noise and typically produce fewer, more selective CISD levels, while lower values will produce more frequent levels that may be less reliable in choppy conditions. The swing period controls how far back the script looks when identifying pivot highs and lows, which changes how “major” a swing must be to count as liquidity. The expiry bars setting controls how long older liquidity levels remain active before they stop updating or are removed, and the liquidity lookback determines how recently a swing mitigation must have occurred for the script to treat the CISD as happening with a sweep.
Visually, the script colors candles based on the current CISD trend state. When a bearish CISD is detected, the trend state flips bearish and candles are shaded using the bearish color with a user controlled transparency blend, and when a bullish CISD is detected the trend state flips bullish and candles are shaded using the bullish color. This makes the tool useful not only for marking levels, but also for keeping a simple “state” view on the chart so you can see when the indicator believes control has shifted. If you enable the option to use HTF trend for candle coloring, then the candle shading can reflect the higher time frame trend state instead of the local chart state, which is helpful when you want to trade a lower time frame while staying aligned with the higher time frame CISD bias.
The modifications add a higher time frame CISD layer so you can see more significant CISD levels from a chosen HTF while trading on a lower time frame chart. When enabled, the script computes CISD on the higher time frame through a request security call and then draws HTF CISD lines onto your current chart. You can require confirmed HTF signals only, which means the HTF CISD will print only after the HTF candle closes, reducing repaint style behavior and preventing the level from appearing and disappearing mid-candle. The HTF CISD lines keep the original bullish and bearish color scheme, and you can choose whether they render as solid or dashed to visually separate HTF structure from current time frame structure. The script can also place a label on the HTF CISD level, showing the selected HTF, for example “15 min HTF CISD,” and you can control the label background color, text color, size, and a horizontal offset so the label sits to the right of the current price rather than directly on top of the level.
The other key modification is the extension system for the current time frame CISD levels. The original script draws CISD levels from the origin candle to the detection candle, which is the “normal” behavior and is still preserved for all CISD levels. The enhancement allows you to choose how many of the most recent current time frame CISD levels you want to extend past the last candle by a defined number of bars. This is designed for traders who want their freshest decision levels projected into the future so they can be used as immediate references for reaction, acceptance, rejection, entries, or targets, without cluttering the chart by extending every single historical level. Because the extension uses the original line and simply moves the line’s end point to bar index plus your offset, it extends cleanly from the true starting point with no visual gap, and it automatically updates as new bars print. When a level is no longer within the most recent group, the script restores the original endpoint so older CISD lines revert back to normal and do not continue extending.
To use the indicator effectively, start by choosing whether you want it to be a current time frame decision tool, a higher time frame structure tool, or both. If you are trading lower time frames, enabling HTF CISD with confirmed only is usually the cleanest way to stay aligned with the dominant structure while avoiding levels that shift during an unclosed HTF candle. Then tune the swing period and noise filter to your market. If you are seeing too many levels in chop, increase the noise filter and consider a longer swing period so only larger structural transitions qualify. If you are missing important shifts, reduce the noise filter slightly so the script becomes more responsive. For execution, treat CISD levels like state change reference prices. When price returns to a bullish CISD level, look for acceptance above it to confirm continuation or rejection below it to warn of failure, and do the inverse for bearish levels. The liquidity sweep markers are especially useful as a context filter, because a CISD that occurs after a sweep often represents a more forceful transition where one side grabbed liquidity and then reversed state, which can create cleaner follow-through or stronger reaction zones.
Overall, this modified version keeps AlgoAlpha’s original CISD and liquidity framework intact, but adds the two things traders typically need when using a state change concept in live execution: the ability to overlay higher time frame CISD structure on a lower time frame chart, and the ability to project only the most relevant recent CISD levels into future bars so the levels are immediately actionable without turning the chart into a wall of extended lines.
Internal vs External Liquidity Zones [Alpha Extract]A sophisticated dual-timeframe market structure visualization system that identifies and maps internal (short-term) and external (long-term) liquidity levels with comprehensive Break of Structure (BOS) and Change of Character (CHoCH) detection across both timeframes. Utilizing pivot-based zone creation with ATR-scaled heights and sweep classification, this indicator delivers institutional-grade liquidity mapping distinguishing between major swing liquidity (external) and minor retracement liquidity (internal) for multi-dimensional market structure analysis. The system's hierarchical structure framework combined with objective arrow projection and state-based zone coloring provides complete smart money concept implementation for advanced order flow trading.
🔶 Understanding Internal vs External Structure
External Structure represents major swing points using longer pivot lengths (default 10 bars), identifying significant highs and lows that define the broader market range and trend direction. These are the key levels where large institutional positions likely exist, stop losses cluster, and major trend reversals may occur. External structure breaks (eBOS/eCHoCH) signal significant shifts in market sentiment and often precede sustained directional moves.
Internal Structure captures minor swing points within the external range using shorter pivot lengths (default 3 bars), revealing short-term liquidity pools formed during retracements, consolidations, and minor corrections. These represent areas where smaller participants' stops accumulate and where price often reacts before continuing toward external objectives. Internal structure breaks (iBOS/iCHoCH) provide early warning signals and tactical entry opportunities within the broader external trend context.
The relationship between internal and external structure creates a hierarchical framework: external zones define the "what" (overall bias and major objectives), while internal zones reveal the "how" (tactical path and entry models). When internal structure breaks bullish while within an external bearish range, it signals potential reversal setup. When internal breaks align with external direction, it confirms trend strength.
🔶 Advanced Dual-Pivot Detection Framework
Implements separate pivot calculation systems for external and internal structure with configurable lookback periods optimizing for different swing magnitudes. The system identifies external pivots using extended length capturing major swing extremes, detects internal pivots using compressed length for minor retracement highs/lows, and optionally requires internal pivots occur within current external range boundaries ensuring hierarchical structure coherence.
// Dual Structure Detection
External_Pivot_High = ta.pivothigh(high, External_Length, External_Length)
External_Pivot_Low = ta.pivotlow(low, External_Length, External_Length)
Internal_Pivot_High = ta.pivothigh(high, Internal_Length, Internal_Length)
Internal_Pivot_Low = ta.pivotlow(low, Internal_Length, Internal_Length)
// Optional Range Requirement
Valid_Internal = requireInside ? (pivot within ) : true
🔶 BOS and CHoCH Detection System
Break of Structure (BOS) occurs when price breaks a recent structure point in the direction of the current trend, confirming trend continuation. The system identifies BOS when:
Price breaks above previous high while trend remains bullish (bullish BOS)
Price breaks below previous low while trend remains bearish (bearish BOS)
Previous structure point hasn't been violated yet
Change of Character (CHoCH) signals potential trend reversal when price breaks structure counter to the established trend direction. The system detects CHoCH when:
Price breaks above previous high while trend was bearish (bullish CHoCH - reversal signal)
Price breaks below previous low while trend was bullish (bearish CHoCH - reversal signal)
Both external (e-prefix) and internal (i-prefix) structures generate independent BOS/CHoCH labels, enabling multi-timeframe structure analysis where eCHoCH may signal major reversal while iBOS confirms minor trend within that reversal.
🔶 Intelligent Zone Creation Architecture
Features ATR-based or tick-based zone height calculation with separate sizing for internal and external liquidity levels, creating visual boxes centered on pivot points. The system calculates zone dimensions using configurable ATR multiples (default 0.40x) or fixed tick counts, positions zones symmetrically above/below pivot levels, and applies distinct color schemes distinguishing external highs (red), external lows (white), internal highs (cyan), and internal lows (blue).
🔶 Equal High/Low Detection Mode
Provides advanced internal zone mode that only creates zones when consecutive internal pivots form equal highs or equal lows within ATR-based tolerance, filtering noise and highlighting significant accumulation/distribution patterns. The system tracks previous internal pivots, compares new pivots against tolerance threshold, creates averaged zone when equality detected, and ignores isolated pivots that don't form patterns, reducing visual clutter while emphasizing institutional liquidity clustering.
🔶 Comprehensive Sweep Classification System
Implements three sweep detection modes distinguishing between liquidity grabs and genuine breakouts with state-based zone coloring:
Wick Mode: Marks zone as swept when wick touches but close remains outside
Close Mode: Requires close through zone for sweep classification
Wick+Close Classify Mode: Distinguishes sweeps (S - wick touches, close outside) from breaks (B - close through zone)
The system transitions zones through three states: Active (0 - untouched), Swept (1 - liquidity grabbed), Broken (2 - fully breached), applying progressive transparency increases to visually distinguish state changes and enabling traders to identify false breakouts versus genuine structural violations.
🔶 Objective Arrow Projection Framework
Features intelligent objective labeling that triggers when internal zones are swept, projecting arrows pointing toward opposite external structure as probable targets. The system generates "->ExtH" labels when internal low swept (suggesting move toward external high) and "->ExtL" labels when internal high swept (suggesting move toward external low), providing smart money concept implementation where internal liquidity grabs often precede runs toward external objectives.
🔶 Dynamic Zone Management System
Maintains separate arrays for external and internal zones with configurable history modes and maximum zone limits. The system implements "Latest Only" mode (clears previous external zones of same side when new pivot detected) or "Keep History" mode (preserves all zones up to maximum limit), automatically expires oldest zones when limits reached, and optionally clears all internal zones when new external pivot forms, maintaining clean chart presentation while preserving relevant liquidity context.
🔶 Trend Momentum Scoring Engine
Calculates sophisticated trend state using dual-component analysis combining momentum (price change normalized by volatility) with strength (MA separation and slope alignment). The system generates TrendScore objects containing momentum value, strength percentage, direction (-1/0/+1), and confidence score (0-100), uses these scores to classify BOS versus CHoCH by comparing previous and current trend states, and provides objective structural classification beyond simple price level violations.
🔶 Adaptive Zone Extension Logic
Implements intelligent right-edge management where active zones extend to current bar but freeze at touch/sweep point when cut-on-touch enabled. The system continuously updates zone right boundaries during active state, locks boundary at bar of first violation, and maintains locked position through subsequent bars, creating visual history of when liquidity was accessed while preventing misleading forward projection of filled zones.
🔶 Multi-State Visual Feedback System
Provides comprehensive color and transparency modulation based on zone state with two visual style options. "Soft Fill" mode uses semi-transparent fills with subtle borders, while "Outline" mode displays only colored borders with transparent fills. The system applies progressive transparency increases: Active (light), Swept (medium), Broken (heavy), with independent control over fill and border transparency enabling customization from subtle hints to prominent highlighting.
🔶 Structure Line Visualization Architecture
Creates dashed horizontal lines connecting structure break points to current bar with BOS/CHoCH labels positioned at midpoint between break bar and detection bar. The system draws lines at exact structure level, applies color coding matching bullish (green) or bearish (red) classification, and uses compact labels (eBOS, eCHoCH, iBOS, iCHoCH) for instant structural event identification without cluttering chart with excessive text.
🔶 Performance Optimization Framework
Utilizes efficient array management with configurable maximum limits (default 120 zones each type), automatic cleanup of oldest elements, and optional hiding of filled zones reducing active object count. The system includes intelligent state tracking minimizing recalculation overhead, optimized sweep detection using simple comparison logic, and streamlined zone update loops processing only active zones for consistent performance across extended sessions.
🔶 Why Choose Internal vs External Liquidity Zones ?
This indicator delivers institutional-grade market structure analysis through hierarchical dual-timeframe liquidity mapping with comprehensive BOS/CHoCH detection. The distinction between external (major swing) and internal (minor retracement) structure provides complete smart money concept implementation where external zones define bias and targets while internal zones reveal tactical entries and stop hunts. The system's sweep classification distinguishes liquidity grabs from genuine breakouts, objective arrows project probable targets based on internal sweeps toward external levels, and comprehensive BOS/CHoCH labeling across both timeframes enables multi-dimensional structural analysis. Perfect for order flow traders implementing ICT concepts, liquidity-based strategies, or market maker models in cryptocurrency, forex, and futures markets where understanding the relationship between internal accumulation and external objectives is essential for high-probability trade location and proper risk management.
CRR Market StructureCRR — Market Structure (Educational) is an educational chart overlay designed to help traders visualize market structure and price behavior in a clear, objective way.
This indicator focuses on:
Swing structure (HH, LH, HL, LL)
Break of Structure (BOS)
Change of Character (ChoCH)
Current market range
Optional internal Fibonacci levels
Optional confirmation filters (ATR, Volume, MACD, Gap detection)
Important
This script is NOT a trading strategy.
It does NOT generate buy or sell signals, does NOT predict future price, and does NOT provide financial advice.
It is strictly a visual and educational tool to support discretionary analysis.
How to Use This Indicator
This tool is intended to be used as a context and structure guide, not as a signal generator.
Market Structure Reading
HH / HL → Bullish structure
LH / LL → Bearish structure
Observe how price reacts after BOS or ChoCH events.
BOS vs ChoCH
BOS confirms continuation in the current trend.
ChoCH highlights a potential structural shift.
Strength is visually differentiated using optional filters.
Range Awareness
Yellow dotted lines represent the current active range.
Useful for identifying consolidation, expansion, or compression phases.
Fibonacci Context (Optional)
Internal Fibonacci levels visualize retracements inside the last structure range.
Designed for context only, not entries.
Community Usage Guidelines
This indicator is built to encourage shared learning and discussion:
Share charts showing clean BOS / ChoCH examples.
Compare structure behavior across different markets and timeframes.
Discuss price behavior, not signals.
Use screenshots to explain why structure matters.
If you publish ideas using this indicator:
Focus on market structure explanation.
Avoid calling entries or targets.
Keep analysis educational and transparent.
Final Notes
Market structure is not about prediction, but about understanding price behavior.
This tool aims to help traders see the market more clearly, reduce noise, and develop stronger analytical skills.
If you find this indicator useful:
Like
Share insights
Collaborate respectfully with the community
NTrades [IFVG Model + SMT]NTrades – IFVG Model + SMT
NTrades – IFVG Model + SMT is a multi-concept market structure indicator designed to identify high-probability intraday trading opportunities by combining Directional Fair Value Gaps (IFVG), Smart Money Technique (SMT) divergences, and Higher Timeframe (HTF) candle projections into one streamlined tool.
Key Features
✅ Directional IFVG Model
Detects and plots 15-minute Fair Value Gaps aligned with a selected daily market bias (Bullish or Bearish).
Filters FVGs using customizable lookback days and automatically extends zones for forward reference.
Focuses on post-NY open price inefficiencies for higher institutional relevance.
✅ SMT Divergence Detection
Identifies pivot-based SMT divergences between the main chart symbol and up to two external correlated markets.
Highlights bullish and bearish liquidity displacements using customizable styling.
Allows timeframe-specific SMT visibility for cleaner chart analysis.
✅ Adjacent 15M SMT Confirmation
Detects short-term SMT shifts between consecutive 15-minute candles.
Provides rapid confirmation of potential liquidity grabs and reversals using visual divergence lines.
✅ Higher Timeframe Candle Overlay
Displays projected HTF candles directly on the chart with optional Heikin Ashi smoothing.
Includes projected Open, High, Low, and Close levels for precision execution and context.
Supports automatic timeframe selection or fully customizable HTF settings.
✅ Advanced Customization
Adjustable visual styling for FVGs, SMT signals, and HTF candles.
Custom session opening time support.
Flexible projection levels and display options for cleaner workflow integration.
Topscore SMC Dashboard v7.2 DUAL + Liquidity + HTF FVGThis is a highly advanced **Smart Money Concepts (SMC) & ICT (Inner Circle Trader)** trading suite. It automates the analysis of market structure, liquidity, and imbalances across multiple timeframes to provide high-probability trade setups.
Here is a breakdown of how it works, its features, and how to trade with it.
---
### 1. Key Features & Logic
#### **A. Liquidity Pools (BSL / SSL)**
* **What it does:** It identifies "Equal Highs" (BSL - Buy Side Liquidity) and "Equal Lows" (SSL - Sell Side Liquidity).
* **Visuals:**
* **Red Dashed Lines:** BSL (Resistance/Liquidity above).
* **Green Dashed Lines:** SSL (Support/Liquidity below).
* **The "Sweep":** When price pierces these lines and reverses, the script marks it as **"💰 BSL/SSL Swept"**. In SMC, a sweep is often a precursor to a reversal.
#### **B. Fair Value Gaps (FVG) - Dual Timeframe**
* **LTF FVG (Lower Timeframe):** Detects standard gaps on your *current* chart (Standard Boxes).
* **HTF FVG (Higher Timeframe):** Uses `request.security` to look inside a higher timeframe (default is 1 Hour/60min) and projects those gaps onto your current chart.
* **Benefit:** Allows you to trade a 5-minute chart while seeing 1-hour "Magnet" levels without switching screens.
#### **C. Probability Engine**
* The script calculates a "Win Probability" % based on a confluence checklist. It adds points for:
1. **Liquidity Sweeps:** (+40 points) Highest weight.
2. **HTF FVG Alignment:** (+30 points) Trading into a higher timeframe gap.
3. **Trend Alignment:** (+15 points) Is price above/below the 50 SMA?
4. **FVG Quality:** (+10 points) Size and clarity of the gap.
* **Dual Calculation:** It calculates the score for **BOTH Long and Short** scenarios simultaneously and highlights the stronger side.
#### **D. Smart Risk Management**
* **Stop Loss (SL):** It doesn't just use a fixed number. It intelligently places SL behind:
* The recent Liquidity Sweep wick.
* The boundary of an FVG.
* A recent Swing High/Low.
* **Take Profit (TP):** Calculated based on your defined Risk:Reward Ratio (default 1:2).
---
### 2. The Dashboard (Top Right) explained
The dashboard is your "Cockpit." Here is how to read it row by row:
| Row | Description |
| --- | --- |
| **Entry** | Shows current price (or your manual entry price if set in settings). |
| **Liquidity** | Tells you if a pool (BSL/SSL) has just been swept or if active pools exist. |
| **HTF** | Status of the Higher Timeframe. e.g., "Bull FVG" means price is inside a 1H Buy zone. |
| **LONG / SHORT** | Shows the Probability Score for both directions. The stronger side will have a Star (⭐). |
| **SL / TP** | The exact price levels for Stop Loss and Take Profit calculated by the script. |
| **RR / Status** | Shows Risk:Reward and flashes **"HIGH PROB!"** if score > 65%. |
| **Confluence** | Lists *why* the score is high (e.g., "SSL Swept, HTF Bull FVG"). |
---
### 3. How to Trade using this Indicator
#### **Scenario 1: The Reversal Setup (High Probability)**
1. **Wait for a "Sweep":** Look for price to cross a Dotted Line (Liquidity Pool) and generate a **"💰 Swept"** label.
2. **Check HTF:** Ideally, this sweep happens inside a Higher Timeframe FVG (Large colored box).
3. **Check Dashboard:** Look for the probability score to turn **Green (>65%)**.
4. **Entry:** Enter when the dashboard confirms the setup.
5. **Execution:** Place your SL and TP exactly where the lines on the chart indicate.
#### **Scenario 2: Trend Continuation**
1. **Trend Check:** Price is trending (e.g., creating higher highs).
2. **Retracement:** Price pulls back into a **LTF FVG** (small box) or **HTF FVG** (large box).
3. **Confirmation:** Dashboard shows "Confluence: Uptrend, Quality FVG".
4. **Trade:** Take the trade in the direction of the trend.
---
### 4. Settings Guide (Inputs)
* **General Settings:**
* `Show LTF/HTF FVG`: Toggle boxes on/off.
* `Max boxes to keep`: Increase if you want to see history, decrease to make the chart faster.
* **HTF Settings:**
* `HTF Timeframe`: If you scalp M1/M5, set this to "60" (1 Hour). If you trade H1, set this to "240" (4 Hour) or "D" (Daily).
* **Liquidity Settings:**
* `Liquidity Lookback`: Higher number = Major swing points only. Lower number = Minor internal liquidity.
* **Trade Setup Calculator:**
* `Entry Price`: Leave at 0 for "Live" pricing. Set a specific price if you are planning a Limit Order and want to see where the SL/TP would be.
* `Risk:Reward`: Default is 2.0. Change to 1.5 or 3.0 based on your style.
### 5. Pro Tips for this Script
1. **Don't follow blindly:** A 90% probability on the dashboard is mathematical based on *past* logic, not a guarantee of the future.
2. **Best Timeframes:** This works best on **M5 and M15** for execution, with the HTF setting set to **H1 or H4**.
3. **The "Sweep" is Key:** The highest probability setups usually involve a Liquidity Sweep (Stop Hunt) *before* the move. If there is no sweep, the setup is weaker.
นี่คือคำอธิบายฉบับภาษาไทยสำหรับอินดิเคเตอร์ **"SMC Dashboard v7.2 DUAL + Liquidity + HTF FVG"** ครับ
ตัวนี้ถือเป็นเครื่องมือระดับ "All-in-One" สำหรับสายเทรด **SMC (Smart Money Concepts)** และ **ICT** ที่ช่วยวิเคราะห์โครงสร้างตลาด สภาพคล่อง (Liquidity) และช่องว่างราคา (FVG) ให้แบบอัตโนมัติ พร้อมคำนวณความน่าจะเป็นในการเข้าเทรดให้ด้วย
---
### 1. หลักการทำงานและฟีเจอร์เด่น
#### **A. การหา Liquidity (สภาพคล่อง / จุดกิน Stop Loss)**
* **BSL (Buy Side Liquidity):** เส้นประสีแดงด้านบน (แนวต้านที่มีคนวาง SL ไว้เยอะ)
* **SSL (Sell Side Liquidity):** เส้นประสีเขียวด้านล่าง (แนวรับที่มีคนวาง SL ไว้เยอะ)
* **The Sweep (การกวาด):** เมื่อราคาแทงทะลุเส้นประเหล่านี้แล้วดึงกลับ ระบบจะขึ้นป้ายเตือนว่า **"💰 BSL/SSL Swept"**
* *เทคนิค:* ในสาย SMC การเกิด Sweep คือสัญญาณการกลับตัวที่ทรงพลังมาก (แปลว่ารายใหญ่เก็บของครบแล้ว)
#### **B. Fair Value Gaps (FVG) แบบ 2 Timeframe**
* **LTF FVG (กล่องเล็ก):** คือ Gap ใน Timeframe ปัจจุบันที่คุณเปิดอยู่
* **HTF FVG (กล่องใหญ่):** ระบบจะไปดึงข้อมูลจาก **Timeframe ใหญ่** (ค่ามาตรฐานคือ 1 ชั่วโมง) มาวาดเป็นกล่องบนกราฟปัจจุบันให้
* *ประโยชน์:* ทำให้คุณเทรด M5 แต่เห็นแนวรับ/ต้านสำคัญของ H1 ได้ทันทีโดยไม่ต้องสลับหน้าจอ
#### **C. ระบบคำนวณความน่าจะเป็น (Probability Engine)**
ระบบจะให้คะแนน (Score) ว่าฝั่งไหนน่าเล่นกว่ากัน โดยดูจาก:
1. มีการกวาด Liquidity (Sweep) หรือไม่? (+40 คะแนน)
2. ราคาอยู่ในโซน HTF FVG หรือไม่? (+30 คะแนน)
3. เทรนด์เป็นขาขึ้นหรือลง? (+15 คะแนน)
4. คุณภาพของ Gap สวยไหม? (+10 คะแนน)
---
### 2. วิธีอ่านค่าบน Dashboard (ตารางมุมขวาบน)
ตารางนี้เปรียบเสมือนหน้าปัดเครื่องบิน บอกข้อมูลสำคัญดังนี้:
| หัวข้อ | ความหมาย |
| --- | --- |
| **Entry** | ราคาปัจจุบัน (หรือราคาที่เราตั้งใจจะเข้า) |
| **Liquidity** | สถานะล่าสุด: บอกว่ามีการ "Sweep" (กวาด) ไปแล้วหรือยัง |
| **HTF** | บอกสถานะ Timeframe ใหญ่ เช่น "Bull FVG" (อยู่ในโซนซื้อของ H1) |
| **LONG / SHORT** | **ไฮไลท์สำคัญ:** บอก % ความน่าจะเป็นของทั้งสองฝั่ง ฝั่งไหนคะแนนเยอะกว่าจะมีดาว (⭐) |
| **SL / TP** | จุด Stop Loss และ Take Profit ที่ระบบคำนวณให้แนะนำ |
| **RR / Status** | อัตราส่วนกำไรต่อขาดทุน ถ้าคะแนนเกิน 65% จะขึ้นว่า **"HIGH PROB!"** (น่าเข้ามาก) |
| **Confluence** | เหตุผลสนับสนุน: ระบบจะบอกว่าทำไมถึงให้คะแนนสูง (เช่น เพราะมี Sweep + เทรนด์ขาขึ้น) |
---
### 3. วิธีการเทรด (How to Trade)
#### **ท่าไม้ตาย 1: สวนเทรนด์ (Reversal Setup)**
1. **รอสัญญาณ Sweep:** รอให้ราคาแทงทะลุเส้นประ (Liquidity) แล้วหดไส้กลับ (ขึ้นป้าย 💰 Swept)
2. **ดู Dashboard:** คะแนนความน่าจะเป็นต้องเป็นสีเขียว (>65%)
3. **เข้าออเดอร์:** กด Buy/Sell ตามทิศทางที่กลับตัว
4. **วาง SL/TP:** ตามเส้นที่ระบบขีดให้บนกราฟ (SL จะอยู่หลังไส้เทียนที่ไปกวาดมา)
#### **ท่าไม้ตาย 2: ตามเทรนด์ (Continuation)**
1. **ดูเทรนด์:** กราฟเป็นขาขึ้น (ราคายืนเหนือเส้น SMA 50)
2. **รอย่อ:** ราคาย่อตัวลงมาในกล่อง **FVG** (ทั้งกล่องเล็กหรือกล่องใหญ่)
3. **เช็ค Dashboard:** ช่อง Confluence ขึ้นว่า "Uptrend, Quality FVG"
4. **เข้าออเดอร์:** Buy ตามน้ำขึ้นไป
---
### 4. การตั้งค่าที่แนะนำ (Settings)
* **HTF Timeframe:**
* ถ้าคุณเทรด **M1 - M5** แนะนำให้ตั้ง HTF เป็น **"60" (1 ชั่วโมง)**
* ถ้าคุณเทรด **M15** แนะนำให้ตั้ง HTF เป็น **"240" (4 ชั่วโมง)**
* **Risk:Reward:** ค่าเดิมคือ 2.0 (กำไร 2 เท่าของความเสี่ยง) สามารถปรับเป็น 1.5 หรือ 3.0 ได้ตามสไตล์
* **Entry Price:** ปกติให้เป็น 0 (ใช้ราคา Real-time) แต่ถ้าจะวาง Pending Order ให้ใส่ราคาที่เราต้องการลงไป ระบบจะคำนวณ SL/TP ใหม่ให้เห็นภาพล่วงหน้า
### 5. ข้อแนะนำเพิ่มเติม
* **อย่าเชื่อ 100%:** แม้ Dashboard จะบอกว่าโอกาสชนะ 90% แต่มันคำนวณจากสูตรคณิตศาสตร์ ตลาดจริงมีความผันผวนเสมอ
* **การกวาด (Sweep) คือหัวใจ:** Setup ที่ดีที่สุดของตัวนี้คือตอนที่เกิด **Liquidity Sweep** แล้วไปชนกับ **HTF FVG** (กล่องใหญ่) จังหวะนี้จะมีโอกาสชนะสูงที่สุดครับ
Colidation Breakout Structure(HA-CBS)Overview
Most breakout indicators suffer from "noise," reacting to every minor price movement and producing frequent fakeouts. HA-CBS solves this by utilizing Heikin-Ashi (HA) smoothing and Swing Point analysis to isolate periods of extreme energy accumulation (Consolidation) and verifying the subsequent breakout with Fair Value Gaps (FVG) .
⚠️ Usage Note: This script is strictly optimized for Heikin-Ashi charts . The core logic relies on Heikin-Ashi body (Open/Close) calculations. To ensure the signals align perfectly with the price action you see, please switch your chart type to Heikin-Ashi.
How it Works: The HA-CBS Logic
Unlike generic indicators that draw signals instantly, HA-CBS follows a rigorous three-step verification process to ensure market displacement is real:
Structural Mapping: Using a multi-term swing point algorithm, the script identifies key supply and demand boundaries.
Consolidation Counting (The "Coil"): The script measures how many consecutive Heikin-Ashi bodies remain "tucked" within the structural range. A built-in CANDLE_MARGIN_RATE ensures that insignificant doji-like candles don't disrupt the count. The longer the "coil," the higher the potential for an explosive breakout.
Kinetic Validation (FVG): When price finally breaks the structural boundary, the script checks for a Fair Value Gap. An FVG-backed breakout confirms that institutional "Impulse" is present, distinguishing a genuine trend start from a mere stop-run.
Key Features
Impulse Filter: Filters out low-momentum movements by requiring an FVG at the moment of the structural break.
HA-Body Precision: Focuses on the "core" of the candle, ignoring volatile wicks that often lead to false signals.
Multi-Term Flexibility: Users can toggle between Short, Intermediate, and Long-term swing structures to suit scalping, day trading, or swing trading.
Recent Candidate Mode: Use the Recent Only toggle to keep your chart clean by only displaying the most recent and relevant breakout candidate for each structure.
Trading Strategy
Strategy A: The Impulse Entry (Aggressive)
Enter the trade as soon as the HA-CBS signal is confirmed (HA Close breaks the structure with an FVG). This captures the immediate momentum as a new supply/demand imbalance is established.
Strategy B: The Mitigation Entry (Conservative)
Wait for price to return (retrace) to the identified HA-CBS Block. Institutional players often "mitigate" their positions by returning to the breakout source. This approach typically offers a higher Risk/Reward ratio.
Borna StructureBorna Structure
Borna Structure is a clean market structure indicator that plots key swing levels on the chart and marks Break of Structure (BOS) and Change of Character (CHoCH) events based on close-confirmed breaks.
The indicator uses horizontal levels to represent structural highs and lows and prints BOS or CHoCH only when price breaks and closes beyond a valid level, avoiding repeated signals on continuation candles. This makes it suitable for manual analysis and backtesting, especially on intraday timeframes.
Borna Structure does not provide buy or sell signals and is intended to be used as a market structure reference tool, commonly combined with session levels or price action confirmation.
Custom Auto Fibo (Lines)Simple Fibo lines that show only 1 and 0 (Thick black lines) levels and 0.382 and 0.618 levels in green.
Mostly useful for scalping.
Use with EMA-8 and RSI trendline.
Institutional Reload Zones //@version=5
indicator("MSS Institutional Reload Zones (HTF + Sweep + Displacement) ", overlay=true, max_boxes_count=20, max_labels_count=50)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Inputs
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
pivotLeft = input.int(3, "Pivot Left", minval=1)
pivotRight = input.int(3, "Pivot Right", minval=1)
htfTf = input.timeframe("60", "HTF Timeframe (60=1H, 240=4H)")
emaFastLen = input.int(50, "HTF EMA Fast", minval=1)
emaSlowLen = input.int(200, "HTF EMA Slow", minval=1)
atrLen = input.int(14, "ATR Length", minval=1)
dispMult = input.float(1.2, "Displacement ATR Mult", minval=0.5, step=0.1)
closeTopPct = input.float(0.25, "Close within top %", minval=0.05, maxval=0.5, step=0.05)
sweepLookbackBars = input.int(60, "Sweep lookback (bars)", minval=10, maxval=500)
sweepValidBars = input.int(30, "Sweep active for N bars", minval=5, maxval=200)
cooldownBars = input.int(30, "Signal cooldown (bars)", minval=0, maxval=300)
extendBars = input.int(200, "Extend zones (bars)", minval=20)
showOB = input.bool(true, "Show Pullback OB zone")
showFib = input.bool(true, "Show 50-61.8% zone")
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// HTF trend filter
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
htfClose = request.security(syminfo.tickerid, htfTf, close)
htfEmaFast = request.security(syminfo.tickerid, htfTf, ta.ema(close, emaFastLen))
htfEmaSlow = request.security(syminfo.tickerid, htfTf, ta.ema(close, emaSlowLen))
htfBull = (htfEmaFast > htfEmaSlow) and (htfClose >= htfEmaFast)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// LTF structure pivots
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
atr = ta.atr(atrLen)
ph = ta.pivothigh(high, pivotLeft, pivotRight)
pl = ta.pivotlow(low, pivotLeft, pivotRight)
var float lastSwingHigh = na
var float lastSwingLow = na
if not na(ph)
lastSwingHigh := ph
if not na(pl)
lastSwingLow := pl
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Sweep filter (simple + robust)
// “sweep” = breaks below lowest low of last N bars and reclaims (close back above that level)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
sweepLevel = ta.lowest(low, sweepLookbackBars)
sweepNow = (low < sweepLevel) and (close > sweepLevel)
var int sweepUntil = na
if sweepNow
sweepUntil := bar_index + sweepValidBars
sweepActive = not na(sweepUntil) and (bar_index <= sweepUntil)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Displacement filter
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
cRange = high - low
closeTopOk = close >= (high - cRange * closeTopPct)
dispOk = (cRange >= atr * dispMult) and closeTopOk and (close > open)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// MSS bullish (filtered)
// base MSS: close crosses above last swing high
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
baseMssBull = (not na(lastSwingHigh)) and ta.crossover(close, lastSwingHigh)
var int lastSignalBar = na
cooldownOk = na(lastSignalBar) ? true : (bar_index - lastSignalBar >= cooldownBars)
mssBull = baseMssBull and htfBull and sweepActive and dispOk and cooldownOk
if mssBull
lastSignalBar := bar_index
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Find last bearish candle before MSS for OB zone
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
f_lastBearish(_lookback) =>
float obH = na
float obL = na
int found = 0
for i = 1 to _lookback
if found == 0 and close < open
obH := high
obL := low
found := 1
= f_lastBearish(30)
// Impulse anchors for fib zone (use lastSwingLow to current high on MSS bar)
impLow = lastSwingLow
impHigh = high
fib50 = (not na(impLow)) ? (impLow + (impHigh - impLow) * 0.50) : na
fib618 = (not na(impLow)) ? (impLow + (impHigh - impLow) * 0.618) : na
fibTop = (not na(fib50) and not na(fib618)) ? math.max(fib50, fib618) : na
fibBot = (not na(fib50) and not na(fib618)) ? math.min(fib50, fib618) : na
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Boxes (delete previous, draw new) — SINGLE LINE calls only
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
var box obBox = na
var box fibBox = na
if mssBull
if showOB and not na(obHigh) and not na(obLow)
if not na(obBox)
box.delete(obBox)
obBox := box.new(left=bar_index, top=obHigh, right=bar_index + extendBars, bottom=obLow, bgcolor=color.new(color.gray, 82), border_color=color.new(color.gray, 30))
if showFib and not na(fibTop) and not na(fibBot)
if not na(fibBox)
box.delete(fibBox)
fibBox := box.new(left=bar_index, top=fibTop, right=bar_index + extendBars, bottom=fibBot, bgcolor=color.new(color.teal, 85), border_color=color.new(color.teal, 35))
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Visuals
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
plotshape(mssBull, title="MSS Bull (Filtered)", style=shape.labelup, text="MSS✔", size=size.tiny, color=color.new(color.green, 0), textcolor=color.white, location=location.belowbar)
plot(htfEmaFast, title="HTF EMA Fast", color=color.new(color.orange, 80))
plot(htfEmaSlow, title="HTF EMA Slow", color=color.new(color.purple, 80))
Roboballs42 Auto Bull/Bear Flag (ZigZag) + Targets [Parallel]Roboballs42 • Auto Bull/Bear Flag (ZigZag) + Targets automatically detects bull flags and bear flags using a ZigZag-style pivot engine, draws a parallel flag channel anchored back to the flagpole (xB), and projects the channel only a limited number of bars into the future (no infinite rays).
While a flag is active, the script shows a live breakout arrow as soon as price breaks the channel intrabar. Once the breakout confirms, the arrow locks at the breakout candle and the flag is considered complete. Patterns that get invalidated (price breaks the “wrong side” of the flag) are automatically deleted to keep the chart clean.
If you enjoy this indicator and want to support the project, BTC donations are appreciated:
bc1qvda8daynuqhpx8e9g07ddyelhpmv4ja5wc9cmm
Key Features
Auto Bull Flags + Bear Flags
Parallel channel that extends left to the flagpole (no incomplete flags)
Limited forward projection (Projection bars) to avoid endless lines
Live breakout arrow (realtime) + locked arrow on confirmation
Measured-move target plotted on confirmed breakout
Invalidation cleanup (delete patterns when price violates the wrong side)
Custom controls: pivot sensitivity, pole size (ATR), flag depth %, max flag length, touch tolerance, breakout type, invalidation type, and memory limits
Notes
“Early pivots” can repaint like a standard fast ZigZag.
This indicator is a pattern-visualization tool, not financial advice.
TL Compress & StealthBreak v3.3Here is the simplified **Practical User Guide** for this indicator.
### **How to Read the Screen**
1. **The Dashboard (Table):** Tells you the current market health.
2. **Background Color:** Tells you the "Phase" of the market.
3. **Triangles:** The final signal to trade.
---
### **Step-by-Step Usage**
#### **1. WAIT (The Squeeze)**
* **Look for:** **Yellow** or **Orange** background.
* **Meaning:** The market is "Compressing" (quiet before a big move).
* **Action:** **Do nothing.** Wait for the breakout.
#### **2. GET READY (The Setup)**
* **Look for:** **Blue** (Bullish) or **Pink** (Bearish) background.
* **Meaning:** The market has pulled back and is "Ready" to launch.
* **Action:** Prepare your order. Watch for the signal.
#### **3. EXECUTE (The Signal)**
* **Look for:**
* 🟢 **Green Triangle (BUY):** When the trend is UP.
* 🔴 **Red Triangle (SELL):** When the trend is DOWN.
* **Dashboard Check:** Ensure the "TREND" row on the table matches your signal (e.g., TREND = UP for a Buy).
* **Action:** **Enter the trade immediately.**
---
### **Stop Loss & Exit Strategy**
* **Stop Loss (SL):**
* **For BUY:** Place SL just below the **Orange Line** (Slow EMA).
* **For SELL:** Place SL just above the **Orange Line** (Slow EMA).
* **Take Profit (TP):**
* Target a 1:1.5 or 1:2 Risk-Reward ratio.
* **Or:** Exit if the background color disappears or changes to the opposite color.
### **Important Note**
* **"Zero Delay" Mode:** The signals appear very fast. If the candle closes and the Triangle remains, the signal is valid. Do not enter if the signal flashes and disappears before the candle closes.
JESUS SAVES LevelsJESUS SAVES Levels is a price-action based support and resistance indicator designed to automatically identify and visualize significant market levels.
The indicator detects structural peaks and valleys from a user-selectable source timeframe and projects them as horizontal levels across the chart. These levels help traders understand where price previously reacted and where future reactions are more likely.
Key Features
• Automatic Peak & Valley Detection
Levels are generated from clear market structure (swing highs and swing lows).
• Multi-Timeframe Analysis
Choose any source timeframe (e.g. M5, M15, H1) while viewing the levels on any chart timeframe, including M1.
• Dynamic Level Validation
Levels remain active as long as price respects them.
Once broken, they are automatically marked as invalid and visually faded, remaining visible only for historical context.
• Clean & Minimal Chart Design
Valid levels are clearly visible, while invalid levels fade into the background to keep the chart readable.
• Performance Optimized
An internal level limit ensures fast loading and smooth performance, even on lower timeframes.
Ideal For
• Support & resistance trading
• Market structure analysis
• Intraday and scalping strategies
• Higher-timeframe context on lower-timeframe charts
JESUS SAVES Levels focuses on clarity, structure, and discipline — helping traders better understand price behavior without clutter or subjective drawing.
Roboballs42 EMA + PVSRA Vector Candles + CME Gap + SMC BoxesAll-in-one BTC overlay: 13/50/200/800 EMAs + 50 EMA cloud + PVSRA vector candles + VCZ zones + CME weekend gaps + Auto-Fib Golden Pocket + optional S/D boxes.
Roboballs42 • EMA Strategy + Vector Candles + CME Gap (All-in-One Overlay)
This is my personal “daily driver” overlay built for BTC/crypto, but it works on any chart/timeframe.
It combines clean trend structure with liquidity/volume cues and a few high-utility market context tools.
What’s included
EMA Strategy: 13 / 50 / 200 / 800 EMAs (custom colors, thickness, line style)
50 EMA Cloud (volatility-based band, border hidden for clean look)
13/50 Cross Markers (custom shapes/sizes) + optional ATR-offset arrows
PVSRA Vector Candles (via TradersReality library) + alerts
Vector Candle Zones (VCZ) (optional zones based on vector candle logic)
CME Bitcoin Weekend Gap: shaded weekend + gap box that extends right and shrinks as filled
Auto-Fib Golden Pocket (0.618–0.65) + optional 0.382 / 0.5 / 0.786 + anchor line
Daily Open + Weekly Psy Levels (TR style)
SMC Lite Supply/Demand Boxes (optional, lightweight)
How I use it (simple)
Trend bias from EMAs (13/50 for momentum, 200/800 for macro bias)
Vector candles + VCZ for “effort / participation” and reaction zones
CME gaps for weekend inefficiencies + likely magnets/targets
Golden Pocket + 0.5 for clean pullback zones in trend
Support / Donations (BTC)
If this indicator helps you and you want to support continued development, BTC donations are appreciated:
BTC: bc1qvda8daynuqhpx8e9g07ddyelhpmv4ja5wc9cmm
Notes
Some tools are designed for specific timeframes (e.g., Weekly Psy levels valid for certain intraday TFs).
CME gap logic is based on Chicago time and weekend schedule assumptions.
Disclaimer
For educational and analytical purposes only. Not financial advice. Always manage risk.
stelaraX - Supply & Demand ZonesstelaraX – Supply & Demand Zones
stelaraX – Supply & Demand Zones is a price action indicator designed to automatically draw supply and demand zones based on pivot structure and candle confirmation. The script highlights potential institutional reaction areas and extends zones forward for easy planning and level-based analysis.
For advanced AI-based chart analysis and automated zone interpretation, visit stelarax.com
Core logic
The indicator detects zones using pivot logic with a user-defined lookback period.
Supply zones are created when:
* a pivot high is confirmed
* the candle at the pivot reference point is bearish (close below open)
Demand zones are created when:
* a pivot low is confirmed
* the candle at the pivot reference point is bullish (close above open)
Zone boundaries are defined using the pivot candle range:
* supply zone uses the pivot high as the top and the candle body high as the bottom
* demand zone uses the pivot low as the bottom and the candle body low as the top
Visualization
The script draws zones directly on the chart using extended boxes:
* supply zones are displayed in red tones
* demand zones are displayed in green tones
Each zone is extended forward by a configurable number of bars to keep the level visible for future price interaction. Zone colors and border styles are fully customizable.
The indicator maintains a clean chart by limiting the total number of active zones for both supply and demand.
Use case
This indicator is intended for:
* identifying key supply and demand reaction zones
* level-based trading and confluence analysis
* planning entries and exits around structural areas
* mapping potential reversal and continuation locations
* multi-timeframe zone tracking
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Roboballs42 Auto W/M Pattern Detector + Measured Move & Fib TaRoboballs42 — Auto W/M Pattern Detector + Measured Move & Fib Targets
This indicator automatically detects Double Bottom (W) and Double Top (M) patterns using a ZigZag-based market structure engine with built-in quality filtering.
Designed for clean charts, realistic targets, and high-signal price action, this tool removes manual drawing and highlights only meaningful reversal structures.
🔍 Core Features
Automatic W (double bottom) and M (double top) detection
Clear adjacent structure triangles for pattern validation
Neckline detection with projected measured move targets
Automatic Fibonacci extension levels from the structure
Optional multi-timeframe logic
Quality and risk filtering to reduce low-probability setups
Smart memory system to keep charts uncluttered
Fully scalable visuals for all timeframes
📐 Why Traders Use It
Quickly spot reversal structures without manual drawing
Visualize realistic upside/downside targets
Combine market structure + fib logic in one clean tool
Useful for BTC, crypto, forex, stocks, and indices
⚙️ Customization
Toggle W/M patterns, necklines, measured moves, invalidation rays
Adjust pivot sensitivity and risk filtering
Control label size, opacity, and chart cleanliness
Designed to work cleanly on any timeframe
❤️ Support / Donations
If this indicator helps your trading and you’d like to support continued development, BTC donations are appreciated:
Bitcoin (BTC):
bc1qvda8daynuqhpx8e9g07ddyelhpmv4ja5wc9cmm
💡 Tip: The address is copyable from Settings → Inputs for easy copy/paste.
⚠️ Disclaimer
This script is for educational and analytical purposes only.
It is not financial advice. Always manage risk and confirm setups with your own analysis.
DSMS - DeltaSurge Matrix Station - 1M Scalping [SurgeGuru]DSMS - DeltaSurge Matrix Station
HOW TO READ THE CHART
=====================================
This guide explains every visual element you see on the chart.
DSMS is a volume profile + order flow indicator built for 1-minute Bitcoin scalping.
It shows WHERE institutional money is sitting and WHERE price is likely to react next.
=====================================
1. THE VOLUME PROFILE (left side of chart)
=====================================
The colored horizontal bars extending left from the candles are the volume profile.
Each bar represents a price level (called a "bin") and shows how much volume traded there.
LONGER BAR = more volume at that price.
BAR COLOR tells you who is in control:
- Green/teal bar = buyers dominated that level (bullish delta)
- Red/orange bar = sellers dominated that level (bearish delta)
- The more intense the color, the stronger the imbalance
SPLIT BARS (bull/bear breakdown):
If enabled, each bar splits into two halves showing exact buy vs sell volume.
Top half = sell volume, bottom half = buy volume.
HEATMAP (wide faded bars behind the profile):
The large transparent boxes behind the profile bars are the heatmap.
They show the same delta information but stretched wider for quick visual scanning.
Bright = high conviction. Faded = low conviction.
=====================================
2. KEY PRICE LEVELS ON THE PROFILE
=====================================
POC (Point of Control):
The bin outlined with a bright border is the POC -- the single price level
with the MOST volume. Price tends to gravitate back to the POC.
A small label shows the POC price and context like "EQUILIBRIUM" or "BULL ATK".
POC FLASH LINE:
A short dashed cyan line appears at the POC when a bounce is detected.
Trigger conditions: price is at the POC, the current candle is bullish after
a bearish candle, and volume is at least 1.2x average. This signals that
the POC is acting as active support and price is reacting to it in real time.
VA HIGH / VA LOW (Value Area lines):
Two horizontal lines mark the top and bottom of the Value Area -- the price range
where approximately 70% of volume traded. These act as support and resistance.
- VA High = resistance when price is below, breakout level when price pushes above
- VA Low = support when price is above, breakdown level when price drops below
When a breakout happens, the line turns green (up) or red (down) and gets thicker.
=====================================
3. LABELS ON PROFILE BINS
=====================================
Each profile bin can show a small text label. These describe what is happening
at that specific price level. Here is what each label means:
ABS (with up/down arrow):
"ABS▼ 7b" = Absorption detected. Institutional players are absorbing selling
pressure at this level (likely accumulating). The "7b" means it held for 7 bars.
ABS▼ = absorbing sells (bullish). ABS▲ = absorbing buys (bearish).
FLOW (with arrow):
"FLOW↑" or "FLOW↓" = A flow shift happened here. The delta direction reversed,
meaning buyers took over from sellers or vice versa. This is a momentum change signal.
FAIL (with arrow):
"FAIL↑" or "FAIL↓" = A flow shift was detected but FAILED to confirm.
The reversal started but price did not follow through. Shown in orange.
Often means the opposing side absorbed the move.
INVAL / INVALID:
"INVAL" or "INVALID" = A previously confirmed flow shift was invalidated.
Price reversed back through the shift level, canceling the signal.
Shown in orange. Treat the original shift direction as no longer valid.
BULL EXH / BEAR EXH:
"BULL EXH" or "BEAR EXH" = Exhaustion zone. Extreme delta (above 65%) combined
with FADING volume. The dominant side pushed too hard and is running out of fuel.
Shown in gold. Often precedes a reversal. Higher delta + lower volume = more exhausted.
IMBALANCE RATIO (number:1):
"4:1" = The ratio of buy volume to sell volume (or vice versa) at this bin.
A 4:1 ratio means one side has 4x the volume of the other.
Only shown when the imbalance exceeds the configured threshold.
ICE:
"ICE" = Iceberg order detected in this bin. High volume traded but price barely
moved, suggesting a large hidden order was absorbing all the activity.
CONFL / CONF+ / CONF-:
Confluence detected. Multiple signals (structure + order flow) agree on direction.
CONF+ = bullish confluence. CONF- = bearish confluence.
CONFLICT:
Structure says one thing, order flow says another. Be cautious.
STK (with multiplier):
"STK x3" = Imbalance stack. Three or more consecutive bins all lean the same
direction. Shows institutional pressure building across multiple price levels.
OB (with arrow):
"OB↑" or "OB↓" = This bin overlaps with an active Order Block (see section 6).
FVG (with arrow):
"FVG↑" or "FVG↓" = This bin overlaps with an active Fair Value Gap (see section 7).
"uFVG↑" or "uFVG↓" = Same but for a micro-level FVG (smaller gap detected
within the profile structure rather than on-chart candle gaps).
uSR:
Micro structure level. A price level that has been tested multiple times with
high volume -- acts as local support or resistance.
EQUILIBRIUM / BULL ATK / BEAR DEF / etc:
Context labels that describe the state of the bin:
- EQUILIBRIUM = balanced buyers and sellers
- BULL ATK = buyers attacking with increasing volume
- BULL DEF = buyers holding but volume fading
- BEAR ATK = sellers attacking with increasing volume
- BEAR DEF = sellers holding but volume fading
CONFIDENCE SCORE (number at end of label):
Example: "ABS▼ CONFL "
The number in brackets is a confidence score from 0-100.
Higher = more signals agreeing. Above 70 is strong.
DWELL TIME:
"8d" at the end means price spent 8 bars dwelling at this level.
More time at a level = stronger support/resistance.
=====================================
4. ARROWS ON PROFILE BINS
=====================================
Small arrows may appear to the right of profile bars:
DELTA ARROWS (^^):
Show if buying/selling pressure is accelerating or decelerating.
pointing up = bullish momentum gaining speed
pointing down = bearish momentum gaining speed
VOLUME ARROWS:
Show if volume is increasing or decreasing at each level.
Up arrow = volume building. Down arrow = volume fading.
VELOCITY BANDS:
Small colored boxes to the right of the profile.
Green = volume accelerating. Red = volume decelerating.
Only appears on high-volume bins.
=====================================
5. CVD LINE (curved line inside the profile)
=====================================
The colored line running through the profile area is the CVD
(Cumulative Volume Delta) line.
It tracks the running total of buy volume minus sell volume across the session.
- Line going UP = buyers accumulating over time
- Line going DOWN = sellers accumulating over time
HOW THE LINE COLOR WORKS:
The line color is NOT random. It checks the CVD value against 5 moving averages
(EMA 8, 13, 21, 34, and 55). Each EMA that CVD is ABOVE scores +1. Each EMA
that CVD is BELOW scores -1. The total score (-5 to +5) sets the color:
+5 (above ALL 5 EMAs) = deep forest green -- strong bullish momentum
+3 to +4 = bright green -- solid bullish
+1 to +2 = light green -- lean bullish
0 = gray -- neutral, no clear direction
-1 to -2 = light red -- lean bearish
-3 to -4 = bright red -- solid bearish
-5 (below ALL 5 EMAs) = deep dark red -- strong bearish momentum
In practice: when the line shifts from red to green, it means CVD has crossed
above its moving averages -- buying pressure is accelerating. When green turns
red, selling pressure is taking over. A gray section means CVD is choppy and
sitting between its averages with no conviction.
CVD LABEL (at the right end of the line):
"CVD +1.2K +5"
First number = raw CVD value (+1,200 net buy volume)
Second number = confirmation count (+5 means 5 consecutive bars where the
adaptive reset system confirmed the bullish direction)
The label color uses a separate gradient based on the confirmation count:
Deep green = many consecutive bullish confirmations
Deep red = many consecutive bearish confirmations
Yellow/gray = few or mixed confirmations
=====================================
6. ORDER BLOCKS (OBs) - colored boxes on candles
=====================================
Order Blocks are zones where institutions placed large orders.
They appear as colored boxes around groups of candles.
ACTIVE OBs (not yet tested):
- Green/teal box = bullish OB (expect support when price returns)
- Red box = bearish OB (expect resistance when price returns)
- Solid fill, extends rightward from the origin candles
BROKEN OBs (breakers):
- Same colors but with a transparent fill and border outline only
- A bullish OB becomes a breaker when price closes below its bottom
- A bearish OB becomes a breaker when price closes above its top
- Once broken, the OB flips role: old support becomes resistance and vice versa
- A dotted midline shows the 50% level of the broken OB
- If price then closes through the breaker in the new direction, it is removed entirely
Two detection methods run simultaneously:
- Fast: simple 3-bar pivot swings for reactive OBs near current price
- Deep: ICS-style fractal depth swings for structural OBs from further back
The "Detection Depth" setting controls the fractal depth (Short/Intermediate/Long Term).
=====================================
7. FAIR VALUE GAPS (FVGs) - striped zones on candles
=====================================
FVGs are gaps in the price action where one side (buyers or sellers) was so
dominant that price skipped over a range. Price tends to come back and fill these gaps.
They appear as small striped/hatched boxes at the gap location.
- Purple-ish stripes = the gap zone
- Each individual stripe is deleted when price crosses through its midpoint,
so the gap visually erodes from the inside out as price fills it
- After 21 bars, remaining unfilled stripes fade to show the gap is aging
- Once every stripe is filled, the FVG is fully removed from the chart
- Maximum 30 FVGs tracked at once (oldest removed first if exceeded)
=====================================
8. MULTI-TIMEFRAME BOXES (2m / 5m / 15m)
=====================================
Colored boxes extending behind and slightly ahead of the current candles.
These show FVGs and Order Blocks detected on HIGHER timeframes (2-minute,
5-minute, 15-minute charts) projected onto your 1-minute chart.
HOW TO TELL THEM APART:
Border style:
- Dashed border = FVG (Fair Value Gap)
- Solid border = OB (Order Block)
Thickness and length:
- Thin border, extends 20 bars back = 2-minute timeframe
- Thin border, extends 30 bars back = 5-minute timeframe
- Thick border, extends 50 bars back = 15-minute timeframe
Color:
- Cyan/teal = bullish (expect support)
- Orange = bearish (expect resistance)
When your 1-minute price touches a higher-timeframe structure, it carries
more weight because institutions watch those levels.
=====================================
9. PREDICTIVE CONFLUENCE ZONES (projected boxes)
=====================================
These are the "ZONE S x3" and "ZONE R x2" boxes that project AHEAD of current price
(to the right of the last candle).
They appear when multiple structures from different sources cluster at the
same price area:
- 1m Order Blocks + 1m FVGs + 2m structures + 5m structures + 15m structures
The system scans all unmitigated levels, finds where they overlap, and projects
a high-probability reaction zone.
"ZONE S x3" = Support zone, 3 structures converge here (green box)
"ZONE R x2" = Resistance zone, 2 structures converge here (red box)
Higher count = stronger zone. These are the highest-conviction levels on the chart.
=====================================
10. SIGNAL LABELS ON CANDLES
=====================================
These labels appear directly on or near candles when specific conditions are met:
SWEEP LABELS (cyan/magenta bubbles):
Example: "VA High 8"
A liquidity sweep happened -- price wicked past a key level and reversed.
The name shows which level was swept. The number is a quality score.
Higher score = more reliable sweep. Cyan = bullish sweep. Magenta = bearish.
ICE (cyan/red squares):
Small squares below (bull) or above (bear) candles.
"ICE 2.3x" = Iceberg order detected. Volume was 2.3x average but price
barely moved. A hidden large order was absorbing all activity.
COILED:
"COILED " = Price has been compressing (low volatility) for 4 bars
while sitting near a wall of support/resistance. Like a spring ready to release.
Green = bullish coil (expect breakout up). Red = bearish coil (expect breakdown).
!!SR (with arrow and count):
"!!SR 5x" = A wall of 5 micro-structure levels stacked at this price.
Strong support (arrow down, green) or resistance (arrow up, red).
CVD DIV:
"CVD DIV (up arrow)" = Bullish CVD divergence. Price is making lower lows but CVD
is improving -- hidden buying.
"CVD DIV (down arrow)" = Bearish CVD divergence. Price making higher highs but CVD
declining -- hidden selling.
VA BREAK:
"VA BREAK (up arrow)" or "VA BREAK (down arrow)" = Price just broke out of the Value Area.
A thick green or red line extends forward showing the breakout level.
This is a high-momentum signal.
VOLUME SPIKE:
"x3.2" = Volume on this candle is 3.2x the average. Shows in magenta above the candle.
REJECT:
"REJECT (arrow)" = Price momentum is pushing into a wall of support or resistance.
Warns of a potential rejection/reversal at that wall.
=====================================
11. SEQUENCE PATTERNS (triangles)
=====================================
These track a full institutional flow sequence through 4 stages:
1. ABSORPTION = institution absorbs orders at a level
2. FLOW SHIFT = delta reverses confirming direction
3. SWEEP = liquidity grab confirms intent
4. BREAKOUT = Value Area breakout completes the pattern
PROGRESS LABELS (small, during build-up):
"SEQ:SHIFT" or "SEQ:SWEEP" = Sequence is building, currently at that stage.
COMPLETED SEQUENCE (large triangle + label):
Hot pink triangle (up or down) with "SEQ BULL " or "SEQ BEAR ".
The number is the sequence score. This is the highest-confidence signal in DSMS.
A full 4-stage institutional sequence just completed.
=====================================
12. CANDLE TECH (colored candle borders)
=====================================
Certain candles get a colored border and a small label:
- Green border = bullish pattern detected (hammer, bullish engulfing, etc.)
- Red border = bearish pattern detected (shooting star, bearish engulfing, etc.)
The label shows:
"R 5" = Reversal pattern, score 5
"(up arrow) 3" = Continuation pattern, score 3
Higher score = more confirming factors (CVD alignment, volume surge, trend direction).
Thicker border = stronger pattern.
=====================================
13. LIQUIDITY VOID LINES
=====================================
Yellow dashed horizontal lines extending left from the profile.
These mark price levels with very low volume -- gaps where price moved
through quickly without much trading. When price returns to these levels,
it tends to move through them fast again or react sharply.
=====================================
14. STATE OF THE ARENA TABLE (corner dashboard)
=====================================
The table in the corner of the chart is the real-time scoring dashboard.
It combines all signals into one weighted score from -100 (max bearish) to +100 (max bullish).
HEADER ROW:
Shows the overall market state and final score.
States: BREAKOUT, TRENDING, COMPRESSED, CONTESTED, or NEUTRAL.
COMPONENT ROWS (each scored -100 to +100, weighted into final score):
Delta Flow (10%) -- raw buying vs selling pressure on current bar
CVD Flow (10%) -- cumulative volume delta trend and EMA band position
Flow Shift (9%) -- recent delta direction reversals
Absorption (9%) -- institutional stop hunt detection
Sequence (8%) -- institutional flow sequence progress
Confluence (7%) -- structural + psychological signal agreement
OB/FVG (7%) -- nearest order block or gap bias
Sweep (7%) -- recent liquidity grab signals
MTF (6%) -- multi-timeframe alignment (2m/5m/15m)
Volume (6%) -- spike detection
Walls (6%) -- support/resistance cluster strength
Accel (5%) -- delta acceleration (2nd derivative of momentum)
Iceberg (4%) -- hidden institutional order detection
Candle (3%) -- pattern recognition score
POC Shift (3%) -- value area migration direction
The final score is the weighted sum, clamped to -100 to +100.
70+ or below -70 = STRONG conviction
40-69 = MEDIUM conviction
15-39 = WEAK conviction
Below 15 = no clear direction
Each row shows a text status, numeric score, and a visual bar made of blocks.
Green blocks = bullish. Red blocks = bearish. More blocks = stronger signal.
SIGNAL SECTION (bottom of table):
Shows the single highest-priority actionable signal right now.
"Key" = what the signal is based on
"Action" = suggested stance (BUY / SELL / HOLD / CAUTION)
"Watch" = what to watch for next
=====================================
QUICK REFERENCE - COLOR GUIDE
=====================================
Cyan/Teal ......... Bullish structures, support, buy signals
Red/Orange ........ Bearish structures, resistance, sell signals
Green ............. Bullish momentum, buyers winning
Red ............... Bearish momentum, sellers winning
Yellow ............ Liquidity voids, caution zones
Purple ............ FVG gap zones
Hot Pink .......... Completed sequence patterns
Magenta ........... Volume spikes, sweep highlights
Gold .............. Predictive zone projections
White text ........ All on-chart signal labels
=====================================
ALERTS
=====================================
DSMS has 6 built-in alerts you can set from TradingView's alert menu:
Flow Shift -- delta direction reversed at a price level
Volume Spike -- volume exceeds threshold with bin concentration
VA Breakout -- price broke out of the Value Area
Strong Confluence -- multiple signals align above the confluence threshold
Absorption -- institutional absorption pattern detected
Sequence Complete -- full 4-stage institutional sequence finished
To set an alert: click the alarm clock icon in TradingView, select DSMS as
the condition source, pick the alert type, and choose your notification method.
Each alert can be toggled on/off in the settings panel.
=====================================
SETTINGS OVERVIEW
=====================================
Everything is toggleable. The main groups in settings are:
Core Settings -- lookback period, number of bins, profile width
Display Options -- toggle heatmap, delta flow, volume breakdown, POC
1M Scalping -- CVD line, zoomed-out mode, volume trend arrows
Signal Settings -- enable/disable each signal type
Advanced Tuning -- compression bars, confidence thresholds
OB/FVG Settings -- order block depth, FVG stripe count, max blocks
Candle Tech -- pattern detection and scoring
Liquidity Sweeps -- wick ratio, volume requirement, score display
Tier 3: Flow Intel -- sequence patterns, multi-timeframe (2m/5m/15m), predictive zones
Colors -- customize every major visual element
State of the Arena -- table position, size, and which components to show
Swing Trade StrategySwing Trade Strategy
📊 Overview
Multi-indicator trend-following system for cryptocurrency swing trading. Combines 10 technical indicators with weighted voting to identify high-probability trend reversals.
🎯 Key Features
10 indicators with weighted consensus voting (max 13 points Bull/Bear)
Trend confirmation system reduces false signals
Visual signals: Green/red trend line, buy/sell arrows, position backgrounds
Real-time dashboard: Shows Bull/Bear scores and trend strength
Long-only positions with automatic exits during bear markets
📈 How It Works
Entry: When Bull score exceeds Bear score by +2 (WEAK BULL) or +5 (STRONG BULL), confirmed over 2 bars
Exit: When Bear score exceeds Bull score by -2, confirmed over 2 bars
Indicators: RMI, ALMA, CTI, EMA crossovers, DEMA DMI, Stochastic, Trend Oscillators, and more
📊 Performance Characteristics
Trades: 4-5 per year (swing trading approach)
Win Rate: 39% (fewer wins but larger gains)
Profit Factor: 2.4+ (winners are 2.4x larger than losers)
Max Drawdown: -42%
⚙️ Settings
Timeframe: Daily (1D) recommended
Position Size: 95% of equity
Commission: 0.1% per trade
Asset: Optimized for BTC/crypto
💡 Usage
Apply to BTC Daily chart
Green arrow = BUY, Red arrow = SELL
Monitor dashboard for trend strength
Hold positions until opposite signal
⚠️ Risk Warning
Max 42% drawdown - high risk tolerance required
Long-only strategy - no shorting
Optimized for crypto markets
Past performance ≠ future results
Version: 1.0 | Pine Script: v6 | Style: Trend Following
ADV Vertical Time LinesCreates a vertical time line each 5M ,15M, 30M, 45M, 1H, 2H, 4H.
Creates alerts each time.
Great for 3-bar & 4-bar plays.
EMA CROSS SMC Structures and FVG TorHzpk v0.1 EMA CROSS SMC Structures and FVG TorHzpk v0.1
2/8/2026
SMC Valid/Invalid PullbacksThis indicator helps to identify valid / invalid price pullbacks from smc perspective






















