Auto Trendlines - Support Resistance Touch-Graded [Dots3Red]📐 AUTO TRENDLINES - Support Resistance Touch-Graded
Most auto-trendline tools do one thing: draw a line and stop. This one keeps score. Every time price touches a detected trendline, the touch is graded on confirmed bars — did price genuinely bounce away, or push through? The result is a running, honest record instead of a static line you're left to interpret on your own.
🎯 WHY THIS MATTERS
A trendline by itself is just a guess about where price might react. This script turns that guess into a measurement. Instead of assuming "trendlines work," it tracks — on this specific chart, in real time — how often they actually have. If a line has been touched four times and bounced three, you see exactly that: "4 touches · 3 bounced." No line gets the benefit of the doubt it hasn't earned.
⚙️ HOW IT WORKS
📍 Detection — the script tracks one active resistance line (built from the two most recent confirmed pivot highs) and one active support line (from the two most recent pivot lows). A slope filter rejects near-horizontal lines, since those are levels, not trendlines — different tool, different job.
🎯 Touch grading — when price reaches close enough to a line (configurable tolerance), that touch enters a pending state. Within a set number of bars, it resolves one of three ways:
• Bounce — price moved away cleanly without breaking
• Break — price closed convincingly through the line; it retires and the line's story ends there
• Timeout — neither happened clearly enough to call
📊 Two layers of scoring — each individual line carries its own tally (shown right on the chart), and the dashboard separately tracks a global bounce rate across every line the script has drawn on that chart, so far. That global number is the honest headline: it's what trendline touches have actually done here, not a theoretical average.
✨ Trendline glow — each active line gets a soft fade extending away from it, independently. This isn't a channel — resistance and support aren't matched pairs here, so the two glows are deliberately unrelated, each hugging only its own line.
🔒 Non-repainting — lines are built only from confirmed pivots and never quietly redrawn to fit later price. Touch grading happens only on confirmed bars. What you see historically is what happened, not a retrofit.
🧭 HOW TO USE
1️⃣ Read the label, not just the line. "3 touches · 1 bounced" and "3 touches · 3 bounced" look identical as a plain line, but tell very different stories about how much to trust the next touch.
2️⃣ Check the dashboard's global Bounce Rate before leaning on any single line. If the aggregate rate on this chart is sitting at 35%, that's useful context — it means trendlines haven't been particularly reliable here lately, regardless of how convincing any one line looks in isolation.
3️⃣ Watch for the retirement. Once a line breaks, it's either removed immediately or kept as a dashed reference (your choice, see settings) — either way, a broken line stops being "live" and stops collecting new touches. Don't keep treating a dashed line as active support/resistance.
4️⃣ Tune the tolerance and outcome window to the instrument. A fast-moving crypto pair and a slow index behave very differently — the default settings are a reasonable starting point, not a universal fit.
🛠️ SETTINGS
📐 Detection
• Pivot Leg — bars required each side to confirm a pivot; larger = fewer, more significant pivots
• Require Meaningful Slope + Min Slope — filters out near-horizontal lines
• Max Line Age — retires lines that have simply gotten too old
🎯 Touch Grading
• Touch Tolerance — how close price must come to count as a touch
• Break Buffer — how far past the line close must clear to count as a break
• Bounce Distance — how far price must move away, cleanly, to count as a bounce
• Outcome Window — bars allowed for a touch to resolve
🎨 Visualization
• Line Stat Labels, Touch Markers — toggle each independently
• Show Broken Lines — keep retired lines visible (dashed) or clear them immediately
• Trendline Glow + Glow Fade Distance — soft fade extending from each active line
EXAMPLE ( with Broken Trend Lines )
🖥️ Dashboard
• Show/hide, position — current resistance/support status, global bounce rate, break count, active pivot leg
📝 NOTES
Because only one resistance and one support line are actively tracked at a time, older structure isn't shown once a fresher pivot pair replaces it (unless "Show Broken Lines" is enabled). This script measures how trendlines have behaved on this chart — it does not predict how any specific future touch will resolve.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical bounce/break rates do not guarantee future performance. อินดิเคเตอร์

Order Flow Footprint & DeltaOrder Flow Footprint & Delta
OVERVIEW
Order Flow Footprint & Delta is a candle + volume proxy scanner for the Order Flow playbook on TradingView.
It marks three educational setups — OF1 Continuation, OF2 Absorption reversal, and OF3 Break & retest — using structure bias, volume impulse, absorption proxies, and break/retest logic.
Important: TradingView does not provide true bid/ask footprint data for most symbols. This script uses candle and volume proxies. The on-chart dashboard shows Proxy = no footprint.
Built by the Xcelerate Trade team.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BEST USED WITH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Works much better together with:
→ “Fluid Liquidity Zones - CHoCH + Mitigation + HTF | Xcelerate Trade”
(or “Fluid Liquidity Zones - CHoCH | Xcelerate Trade”)
Use SUPPLY / DEMAND zones + CHoCH / market structure first, then OF labels as confirmation.
CONCEPT
Order flow tools help traders read aggression and reaction around levels. On TradingView, those ideas are approximated from open/high/low/close and volume.
Use this indicator as confirmation after higher-level context (supply/demand or liquidity zones + market structure), not as a standalone entry system.
GOLDEN RULE
Zone (SUPPLY/DEMAND) + structure first → then OF1/OF2/OF3 as confirmation — never the reverse.
Recommended timeframes: 15m–1h. Lower timeframes (1m/3m) are noisier and produce more false signals.
HOW THE SETUPS WORK
OF1 — CONTINUATION (cyan)
Idea: trend + stacked impulse + pullback + continuation.
Long OF1 when:
1) Bull bias (HH/HL structure + optional HTF up filter)
2) A bullish impulse / stacked strong bars existed
3) Price pulled back into the impulse zone
4) Confirmation (bullish bar / positive delta proxy)
Short OF1 is the mirror for bearish continuation.
OF2 — ABSORPTION REVERSAL (violet)
Idea: sweep of a level + absorption + reclaim.
Long OF2 when:
1) Sweep below a low / level (wick down)
2) Absorption (high volume, little progress)
3) Reclaim above the level with upside aggression
Short OF2 is the mirror after a sweep above a high.
OF3 — BREAK & RETEST (green long / red short)
Idea: volume break → retest → rejection.
Long OF3: break up → retest broken level as support → rejection up.
Short OF3: break down → retest as resistance → rejection down.
FEATURES
• Toggle OF1 / OF2 / OF3 independently
• Structure bias with optional HTF filter for OF1
• Volume / delta / imbalance / absorption proxies
• Optional break level lines
• Live dashboard (bias, delta proxy, stack status, setup wait/active)
• Alerts for each OF1/OF2/OF3 long and short condition
HOW TO USE (WITH FLUID LIQUIDITY ZONES)
1) Read bias / structure (HH HL / LH LL, CHoCH) for higher-level direction
2) Note where price is: DEMAND = long bias area, SUPPLY = short bias area
3) Then use OF labels:
• DEMAND + OF2 or green OF3 → long candidates
• SUPPLY + OF2 or red OF3 → short candidates
• OF1 only with the trend (not counter-trend in a range)
4) Dashboard “wait” means no signal on the current bar; older labels remain on history
SKIP / AVOID
• Bias = RANGE and you are not clearly on a zone
• Labels in the middle of a range with no level
• OF1 against SUPPLY/DEMAND
• Chaotic OF1+OF2+OF3 overlap with no clear level
• Acting on a label alone with no zone/structure context
EXAMPLES
• DEMAND + green OF3 / OF2 → look for LONG after reclaim/confirm
• SUPPLY + red OF3 / OF2 → look for SHORT
• Cyan OF1 in uptrend, pullback into DEMAND → continuation LONG
• Label only, no zone/structure → do not enter
LIMITATIONS
• This is not real footprint / DOM / bid-ask data. Signals are proxies and can be wrong.
• Especially noisy on 1m/3m charts.
• The script does not place trades and does not guarantee results.
• Always combine with your own risk management and market context.
อินดิเคเตอร์

SMC Analytics Pro Hey traders! 👋
Finding a clean, non-lagging Smart Money Concepts (SMC) indicator on TradingView can be frustrating. Most public scripts end up squishing your chart scale , lagging your browser, or cluttering your screen with hundreds of overlapping boxes. 😩
So I decided to code a complete, ultra-precise Smart Money Concepts engine in Pine Script v5—rebuilt from the ground up to keep your charts smooth, clean, and 100% accurate! 🚀✨
The Core Idea: Institutional trading isn't about guessing where price is going—it's about tracking where bank liquidity lives. This indicator maps out market structure, institutional order blocks, and imbalance gaps without crowding your price action.
🔥 Key Features That Make This Unique
Dual Structure Architecture: Automatically plots both Internal Structure (micro scalp breaks) and Swing Structure (macro trend breaks) so you never trade against the major market trend.
Structure-Triggered Order Blocks (OB): No more clutter! OBs are drawn only when a real Break of Structure (BOS) or Change of Character (CHoCH) occurs at the origin of the impulse move.
Real-Time Mitigation Engine: When price retraces and touches an Order Block or fills a Fair Value Gap (FVG), the zone automatically vanishes in Present Mode to keep your chart tidy.
Fixed Chart Scale Guarantee: Unlike other SMC scripts that distort your vertical price scale and make candles look flat, this indicator keeps your chart scaling perfectly proportioned on every single timeframe! 📈
Fair Value Gaps (FVG): Identifies genuine 3-candle imbalance gaps where big money stepped in with aggressive market orders.
Liquidity Pools (EQH / EQL): Highlights Equal Highs and Equal Lows where retail stop losses are sitting waiting to be swept.
Dynamic Equilibrium (50%) Level: Displays the exact 50% midpoint of the active swing range so you always know if you're buying in Discount or selling in Premium .
🛠️ How to Use This in Your Trading Setup
Identify the Macro Trend: Look for solid green/red BOS lines and check if swing points are making Higher Highs (HH) or Lower Lows (LL).
Wait for Price to Enter a Zone: Look for price to retrace back down into an unmitigated Bullish Order Block or fill a Bullish FVG below the Equilibrium (50%) line.
Look for Internal Confirmation: Drop down to a lower timeframe and wait for a dashed iBOS / CHoCH break in your direction before taking the trade! 🎯
⚡ Multi-Timeframe Compatibility
Whether you are scalping the 1-minute chart on CAPITALCOM:NAS100 , day trading Forex on the 15-minute, or swing trading Crypto on the Daily, the logic adapts dynamically to any market and timeframe! 🌍
Inputs can be customized in the settings panel—feel free to tweak the pivot lookbacks to match your personal trading style.
If you find this indicator helpful for your daily analysis, please hit the Boost button 🚀 and leave a comment below! Happy trading! 🙌 อินดิเคเตอร์

Buyers/Sellers Trapped V2This marks the bar where price spikes hard one way, reverses back through the middle of that
spike, and closes against it. Whoever chased the move is trapped, and price tends to keep going
in the direction of the reversal. I first published a version of this in 2017. This is the
rebuild: the original detection is untouched, with a trend filter, a defined stop and an exit
rule built around it.
WHAT IT DETECTS
The pattern spans three bars. A bar spikes beyond the true range of the bar preceding it, price
reclaims back through the midpoint of that spike, and the close finishes against the spike
direction. True range is the reference rather than a fixed percentage, so the threshold adapts
to the instrument and the timeframe instead of needing to be retuned per symbol.
ST, green up arrow: a hard down-spike that gets reclaimed and closes up. Sellers who sold the
low are trapped. Read as bullish continuation.
BT, red down arrow: a hard up-spike that gets rejected and closes down. Buyers who bought the
high are trapped. Read as bearish continuation.
WHAT V2 ADDS
Trend filter. A moving average and its slope tag each signal as aligned with the prevailing
trend or not. You can show only the aligned ones, fade the rest, or show everything equally.
Trade plan. A stop level drawn just beyond the spike extreme with an ATR buffer, so the
invalidation is not sitting on the wick. Optional entry-trigger and target lines.
Exit cue. Marks where a trend-aligned trade's trend flips, meaning price closes back through
the moving average, or where the stop level gives out.
Alerts on any trap, on trend-aligned traps only, and on the exit.
HOW TO USE IT
Trade it with the trend rather than against it. A trap in the direction of an established trend
is a continuation entry, or a place to add to a position you already hold. Put the stop beyond
the spike with the ATR buffer rather than on the wick itself.
Resist a tight fixed target. The spike makes the stop wide by construction, so a small target
pays badly for the risk being carried. The tool is built around exiting on the trend flip
instead, which is why the exit cue is on by default.
LIMITS WORTH KNOWING
The testing behind that exit choice covered 3,179 signals on BTC, ETH, SOL, BNB and XRP across
daily, four-hour and one-hour data. It compared exit rules against each other, it was
frictionless with no commission or slippage applied, and it was crypto only. That makes it
directional evidence about which exit suits this setup. It is not a performance record, and
nothing in it suggests future results will resemble past ones.
The setup is strongest in trending markets and noisy in chop, which is what the trend filter
exists to manage. Signals evaluate on the bar close, so they can flicker on a forming bar until
it closes. That is normal for any close-based signal, but worth knowing before acting on one
intrabar. The stop is wide by design, so size accordingly. อินดิเคเตอร์

ORB Detector DynamicORB Detector Dynamic
OVERVIEW
ORB Detector Dynamic is an Opening Range Breakout (ORB) visualization tool for Asia, London, and New York sessions.
It builds and locks the opening-range high and low for a selected session window, keeps session labels on history, and marks breakouts only after the range is locked — not while the range is still forming.
Built by the Xcelerate Trade team.
CONCEPT
An Opening Range Breakout uses the high and low of a defined window after a session open (for example the first 5, 15, or 30 minutes).
Once that window closes, the range is treated as locked. Breaks of the locked high or low can then be used as timing context together with broader session and structure tools.
HOW IT WORKS
1) Choose one session: Asia, London, or New York
2) Set the ORB window times in Inputs (Eastern Time — America/New_York; editable)
3) During the window, the script updates ORB High and ORB Low
4) When the window closes, the range locks and the label stops showing “forming”
5) Breakout conditions are evaluated only after lock, until the next ORB window starts
6) One breakout flag per direction per session (no repeated spam)
Default ORB windows (EST / America/New_York):
• Asia — 19:00–19:15
• London — 03:00–03:15
• New York — 09:30–09:45
Change start and end times in Inputs to match your ORB length (5 / 15 / 30 minutes). If you change ORB Timeframe, also adjust the session end time.
FEATURES
• ORB High / ORB Low levels (Style colors editable; defaults blue)
• Session labels on history (example: “NY ORB 15m”, “Asia ORB 15m”)
• “forming” label text while the window is still open
• Breakout flash (background highlight on first break — on by default)
• Optional breakout arrows in Style (off by default)
• Alerts:
– ORB Session Start
– ORB Range Locked
– ORB High Breakout (after range)
– ORB Low Breakdown (after range)
HOW TO USE
1) Add the indicator and select the session you trade
2) Confirm ORB Timeframe and session start/end match your playbook
3) Wait until the label no longer says “forming” (range locked)
4) Use a clean break of ORB High as long bias context, or ORB Low as short bias context
5) Prefer confluence with session boxes and higher-timeframe structure before acting
6) Recommended chart timeframe: same as the ORB window or lower (example: 1m–15m for a 15m ORB)
Works well together with:
• Xcelerate - Best Sessions - New York, London & Asia
• Fluid Liquidity Zones - CHoCH + Mitigation + HTF | Xcelerate Trade
SKIP / AVOID
• Trading breaks while the ORB window is still forming
• Chop or news spikes that pierce both sides of the range
• Entries with no session context and no higher-timeframe bias
LIMITATIONS
• This script is a visualization and alert tool. It does not place trades and does not guarantee results.
• Session times use America/New_York so DST is handled by TradingView’s timezone engine; verify times for your market and broker.
• On very low timeframes, noise and gaps can produce false or early breaks relative to your rules.
• Always confirm with your own risk management and market context.
อินดิเคเตอร์

Price Flow - Buy Sell# Price Flow Buy Sell
**Price Flow Buy Sell** is an adaptive market-flow indicator designed to identify potential BUY and SELL opportunities by analyzing price direction, volatility, momentum, statistical price extremes, and signs of trend exhaustion.
Instead of relying on a basic moving-average crossover, Price Flow Buy Sell continuously estimates the market's dynamic **fair value** and measures how price is behaving around that level.
The goal is simple:
**Identify when price becomes stretched, momentum begins to weaken, and price flow shows signs of changing direction.**
## 🚀 Key Features
### 🟢 Clear BUY & SELL Signals
Price Flow Buy Sell displays easy-to-read signals directly on the chart:
**BUY** signals identify potential bullish reversal opportunities.
**SELL** signals identify potential bearish reversal opportunities.
Signals are not generated from price crossing a single line. Multiple conditions involving price rejection, momentum and market behavior are evaluated before a signal is produced.
---
## 📈 Adaptive Price Flow
At the heart of the indicator is an adaptive statistical regression model that calculates a dynamic **Fair Value Core**.
Unlike a traditional moving average, the calculation uses weighted historical price information and automatically adapts to changing volatility.
This creates a smoother representation of the underlying price flow while helping reduce short-term market noise.
---
## 🌊 Dynamic Fair Value
The central Price Flow line represents the estimated fair value of the market.
Its color provides a quick visual indication of momentum:
🟢 **Green:** Bullish price flow
🔴 **Red:** Bearish price flow
⚪ **Grey/Neutral:** Momentum is weak or transitioning
The indicator analyzes both the **velocity and acceleration** of the fair-value curve rather than simply checking whether price is above or below it.
This can help identify when an existing move is beginning to lose momentum.
---
## 🎯 Adaptive Price Zones
Price Flow Buy Sell automatically creates dynamic Inner and Outer zones around fair value.
### Inner Zones
The Inner Zones represent moderate deviations from fair value.
They are particularly useful when the market is consolidating or trading within a range.
### Outer Zones
The Outer Zones represent more extreme deviations from fair value.
During stronger trends, the indicator becomes more selective and focuses on price rejection around these extreme zones.
This helps reduce the tendency to generate reversal signals too early during powerful market moves.
---
## 🟢 How BUY Signals Are Detected
A potential BUY setup begins when price becomes extended below its calculated fair-value range.
The indicator then looks for evidence that bearish pressure is weakening.
Depending on current market conditions, the system evaluates factors including:
• Price reaching the lower adaptive zone
• Rejection back inside the zone
• Bullish candle confirmation
• Weakening bearish price flow
• Positive momentum acceleration
• Current trend/range conditions
When the required conditions align, a **BUY** signal is displayed below the candle.
The objective is to identify potential bullish reversals after selling pressure begins to lose strength.
---
## 🔴 How SELL Signals Are Detected
A potential SELL setup occurs when price becomes extended above its calculated fair-value range.
The indicator then analyzes whether bullish momentum is beginning to weaken.
Conditions can include:
• Price reaching the upper adaptive zone
• Rejection back inside the zone
• Bearish candle confirmation
• Weakening bullish price flow
• Negative momentum acceleration
• Current trend/range conditions
When the conditions align, a **SELL** signal is displayed above the candle.
The objective is to identify potential bearish reversals after buying pressure begins to lose strength.
---
## 🧠 Automatic Trend & Range Detection
Markets behave differently when trending and ranging.
Price Flow Buy Sell automatically evaluates the strength of the underlying price movement and adjusts its signal logic accordingly.
**Trending Market**
The indicator becomes more selective and primarily looks for reversals from the Outer Zones.
**Ranging Market**
The indicator can use the closer Inner Zones to detect shorter price-flow reversals.
This adaptive behavior allows the same indicator to respond differently as market conditions change.
---
## ⚡ Adaptive Volatility Engine
Market volatility is constantly changing.
When **Adaptive Volatility** is enabled, Price Flow Buy Sell automatically adjusts its calculations using current ATR volatility relative to recent market volatility.
During high volatility, additional smoothing helps reduce noise.
During normal or lower volatility, the indicator can remain more responsive to changes in price flow.
---
## 🛡️ Range Filter
The optional **Range Filter** provides additional momentum confirmation for signals generated around the Inner Zones.
When enabled, the indicator requires evidence that the existing price movement is weakening before generating a signal.
This provides a more selective signal approach.
Traders looking for more aggressive signals can disable the Range Filter.
---
## 🔄 Strict Buy/Sell Alternation
Price Flow Buy Sell also includes an optional **Strict Buy/Sell Alternation** mode.
When enabled, signals follow the sequence:
**BUY → SELL → BUY → SELL**
A second BUY cannot occur until a SELL has appeared, and vice versa.
This can provide a cleaner chart for traders who prefer directional transitions rather than repeated same-direction signals.
---
## 🔔 BUY & SELL Alerts
TradingView alerts are available for both signal types:
🔔 **BUY Alert**
🔔 **SELL Alert**
Alerts can be used to monitor multiple markets without continuously watching every chart.
---
## ⚙️ Main Settings
**Base Bandwidth**
Controls the responsiveness and smoothness of the Price Flow calculation.
Lower values increase responsiveness, while higher values provide greater smoothing.
**Lookback Window**
Controls the amount of historical price information used in calculating fair value.
**Inner Band Multiplier**
Controls the distance of the Inner Price Flow Zones.
**Outer Band Multiplier**
Controls the distance of the more extreme Outer Price Flow Zones.
**Adaptive Volatility**
Allows the calculation to automatically adjust to changing volatility.
**Range Filter**
Adds momentum confirmation to signals generated during ranging conditions.
**Strict Buy/Sell Alternation**
Prevents consecutive signals in the same direction.
---
## 📊 Suitable Markets
Price Flow Buy Sell can be applied to different liquid markets, including:
• Stocks
• Indices
• Futures
• Commodities
• Forex
• Cryptocurrency
It can also be tested across different chart timeframes depending on the trader's strategy.
---
## 💡 How to Use Price Flow Buy Sell
Rather than treating every BUY or SELL label as an automatic trade, traders can use Price Flow Buy Sell as a confirmation tool alongside:
• Support & Resistance
• VWAP
• Market Structure
• Volume Analysis
• Higher-Timeframe Trend
• RSI / Momentum
• Risk Management
For example, a BUY signal appearing near an established support area can provide stronger context than a BUY signal occurring without supporting market structure.
---
## ⚠️ Important
Price Flow Buy Sell does not attempt to predict the exact top or bottom of every market movement.
The indicator identifies conditions where price has become statistically extended from its estimated fair value while the underlying price flow shows potential signs of momentum exhaustion or reversal.
Signals should therefore be considered trading opportunities rather than guaranteed outcomes.
Always use appropriate risk management and independently evaluate market conditions before making trading decisions.
---
### Price Flow Buy Sell
**Follow the flow. Identify the extremes. Spot potential reversals.**
อินดิเคเตอร์

อินดิเคเตอร์

Liquidity Trend Heatmap [BigBeluga]🔵 OVERVIEW
The Liquidity Trend Heatmap is a professional-grade volume analysis tool that maps market liquidity directly onto your price chart. By combining a trend-following baseline with a high-resolution volume-at-price heatmap, it helps traders instantly visualize where the market's "heavy" trading zones are located relative to the current trend.
🔵 FEATURES
The indicator utilizes a sophisticated volume-distribution engine to provide actionable market intelligence:
1 — Dynamic Liquidity Heatmap
Multi-Node Distribution: The indicator divides the recent price range into a 26-level grid, calculating the cumulative volume traded at each level over your defined Lookback Period .
Visual Heatmap Nodes: Liquidity is displayed as shapes (Squares, Circles, etc.) that shift color and intensity based on the volume processed at that price.
Normalized Intensity: Nodes appear more vivid based on their volume relative to the Point of Control (POC), ensuring you only focus on the most significant liquidity zones.
2 — Institutional Point of Control (POC) Tracker
Automated POC Detection: The system identifies the specific price level with the highest volume accumulation, marking it as the market’s primary liquidity magnet.
Real-Time Metrics: A dedicated POC label on the far right of your chart provides the exact price and volume traded at the POC, keeping your focus on the most critical level.
3 — Trend-Following Dashboard
Trend Baseline: Includes a customizable moving average ( Trend Length ) that acts as a structural midline. This midline automatically updates color to indicate whether the current environment is Bullish or Bearish.
Information Dashboard: A clean, configurable table at the top-right provides instant updates on the current trend status, POC price, and total POC volume without cluttering your workspace.
🔵 HOW TO USE
This tool is designed to identify "smart money" zones and potential mean-reversion levels:
Identify Liquidity Magnets: Use the POC level as a primary target or support/resistance level. High-volume nodes often act as magnets for price action.
Confirm Trend: Use the Trend Line and dashboard status to ensure your liquidity-based trades are aligned with the prevailing market trend.
Filter Weak Levels: Adjust the Heatmap Threshold % to hide low-volume levels. This cleans up your chart and leaves only the most relevant, high-conviction liquidity zones visible.
🔵 NOTES
Why this implementation is unique:
It combines complex volume-profile math with a lightweight, user-friendly visual interface, making it suitable for both scalpers and swing traders.
The "future-extending" heatmap nodes visualize expected liquidity distribution into the immediate future, helping you anticipate price behavior before it happens.
The system is highly customizable, allowing you to toggle the trend line, adjust shape types, and change heatmap thresholds to suit your specific trading style.
อินดิเคเตอร์

Regime Detector [StrixEDGE]📊 WHAT IT DOES
StrixEDGE Regime Detector automatically classifies the market into four distinct states — Strong Trend, Weak Trend, Ranging, or Volatile Chop — using a proprietary four-metric analysis system. Subtle background colors make the current regime instantly visible without cluttering your chart.
🔬 WHY IT'S DIFFERENT
Most regime indicators rely solely on ADX. This indicator combines four independent dimensions: ADX for trend strength, RSI range-shift analysis for bull/bear regime identification, KAMA slope for adaptive trend direction, and ATR volatility ratio for market character assessment. The four-layer approach catches regime changes that single-metric tools miss entirely.
⚙️ HOW IT WORKS
The indicator evaluates four metrics simultaneously:
• ADX measures raw trend strength (>25 = trending)
• RSI tracks whether momentum is operating in bull mode (40-80) or bear mode (20-60)
• KAMA's normalized slope detects whether price is directional or flat
• ATR ratio reveals if volatility is above or below its historical average
These combine into a decision matrix: all four must agree for a "Strong Trend" classification. Partial agreement produces "Weak Trend." Low ADX + flat KAMA = "Ranging." High volatility without trend = "Volatile Chop."
📈 HOW TO USE
• Green background = Strong Uptrend → trade with trend, trail stops
• Red background = Strong Downtrend → look for shorts or stay flat
• Blue background = Ranging → use mean-reversion setups, avoid trend strategies
• Amber background = Volatile Chop → reduce size or sit out
• Diamond markers appear when regime shifts — these are key decision points
🎛️ INPUTS & DEFAULTS
ADX Period: 14 | RSI Period: 14 | KAMA Length: 21 | ATR Period: 14
ATR Lookback: 50 | Flat Threshold: 0.05 | Sensitivity: Normal
All inputs adjustable. Conservative mode raises thresholds for fewer signals. Aggressive lowers them.
═══════════════════════════════════════════════════════
🔧 CUSTOMIZATION
All parameters are fully adjustable through the indicator settings panel. Inputs are grouped logically:
• ⚙️ Core Parameters — main calculation settings
• 📊 Table Settings — table size (Tiny to Huge), position (4 corners), visibility toggle
• 🎨 Visual Settings — colors, show/hide elements
• 🔔 Alert Settings — threshold values for notifications
📊 DATA TABLE
A built-in data table displays all key metrics in real-time. Adjust the table size from Tiny to Huge to match your chart layout. Position it in any corner. Toggle visibility on/off.
🔔 ALERTS
Pre-built alert conditions for all major signals. Set up alerts via TradingView's alert dialog — select this indicator and choose from the available conditions.
⏱️ RECOMMENDED TIMEFRAMES
Works on all timeframes. Recommended: 1H, 4H, Daily for best signal quality. Lower timeframes produce more signals but with higher noise. Weekly/Monthly for position trading context.
✅ COMPLIANCE
• No repainting — all signals based on confirmed bar close data
• No future data references
• Open-source code — verify the logic yourself
⚠️ DISCLAIMER
This indicator is a technical analysis tool, not financial advice. It does not predict future price movements. Past patterns and signals do not guarantee future results. Trading involves substantial risk of loss. Always use proper risk management, including stop losses and appropriate position sizing. Never risk more than you can afford to lose. อินดิเคเตอร์

ICT Killzones + Session Liquidity Levels [ForexCracked]🔵 OVERVIEW
Most killzone indicators shade the London and New York windows and stop there. This one uses the sessions as the starting point and then answers the question you actually open the chart for: which session highs and lows are still sitting there untaken, how deep price usually runs past a level like that when it does get taken, and whether the next session is even big enough to reach it.
Asia, London and New York are boxed with their ranges in pips. Every completed session leaves its high and low behind as a liquidity zone. The moment one gets swept it is deleted, so everything you can see is still in play.
🔵 THE ZONES ARE BANDS, NOT LINES, AND THE THICKNESS IS MEASURED
This is the part that is different. When a session high gets taken, price rarely stops exactly at it. It runs past, and how far it runs is a property of the symbol and the session, not a round number.
So the engine records the overshoot every single time a level of that session and side is taken, keeps the last forty, and draws the zone with a thickness equal to the median of those overshoots in ATR units. The upper edge of a pink zone is therefore a measured price: the level where the run past this kind of high has historically finished. Below eight recorded samples the zone falls back to a default height and the label says so, so you always know whether the number has anything behind it.
🔵 SESSION HANDOFF TALLIES
Under each Asia and London level is a count of what the sessions after it have actually done with levels like it.
An Asia high shows two counts: how often London swept it, and how often New York did. A London level shows what New York did with it. New York is the last session of the day, so its levels carry no handoff count, they are simply untapped until swept. The counts read like "LDN swept 34/60 sessions", counted price events from the chart in front of you with the sample size attached. On very low timeframes the chart does not hold 60 sessions, so n will be smaller. The label always shows the real n.
🔵 THE FORWARD ENVELOPE
Right of the last bar, the session that has not opened yet is drawn as a dashed box, sized by the median range of that session over its recent history, with both edge prices labelled.
That is there to keep you honest about distance. An untapped Asia high forty pips above price means something different when London's median range is seventy pips than when it is thirty. The envelope shows you which situation you are in before you plan the trade.
🔵 WHAT IS ON THE CHART
• Navy session boxes for Asia, London and New York, each labelled with its range in pips
• A faint tint over the London and New York killzone windows
• Pink zones for liquidity above price, teal for liquidity below, each with its price, its distance, its measured depth, and, on Asia and London levels, its handoff tallies
• A dashed forward envelope for the next session, with edge prices
• A compact panel: the live session, today's ranges against their medians, how many levels are untapped each side, and the nearest one
🔵 HOW TO USE
• Read the untapped levels as destinations, not entries. They are where resting orders sit, which is where price is often drawn.
• Use the far edge of the zone for invalidation. That edge is the measured median overshoot, so a stop just beyond it sits past where the run usually finishes rather than at a round number inside it.
• Check the forward envelope before you commit to a level as a target. If the level sits outside the next session's median range, reaching it is the exception rather than the expectation.
• Treat the handoff tally as base rate, not prediction. Thirty-four out of sixty tells you it is close to a coin flip. Fifty out of sixty tells you something much stronger about that symbol.
• Set your own session hours. The defaults are the common GMT windows, but the timezone dropdown and the three session inputs let you match your broker or your own killzone definitions.
🔵 SETTINGS
• Intraday only, 4H or faster. Sessions have no meaning on daily bars, and the script says so on the chart if you try
• Timezone, and the three session windows (defaults are Asia 0000-0800, London 0800-1600, New York 1300-2100 GMT)
• Skip weekend sessions in statistics (default on): on 24/7 symbols the quiet weekend sessions still draw their levels, but they stay out of the medians and tallies so they do not drag the numbers down
• Two killzone windows, shaded faintly, defaulting to the London and New York opens
• Statistics window: how many completed sessions the medians and tallies are counted over
• Minimum zone height in ATR, so a zone never becomes too thin to see on a small chart
• Days of session boxes to keep, untapped levels per side, dashboard position, colours
🔵 ALERTS
• A session opens, or a killzone opens
• An untapped session level is swept
• Price comes within a quarter of an ATR of the nearest untapped level
⚠️ DISCLAIMER
"ICT" is used here as the community vocabulary for killzones and session liquidity concepts. This script is independent work and is not affiliated with or endorsed by Inner Circle Trader.
The tallies and median depths are counted descriptions of what has already happened on this symbol, not forecasts. A level that has been taken fifty out of sixty times can hold today. Sample sizes vary by symbol and timeframe and small samples are unreliable by nature. Nothing here is a trade signal. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes. Not financial advice. อินดิเคเตอร์

Educational - Candlesticks, Structure and SMC WHAT THIS IS
An educational tool for reading candlestick and market structure patterns. It identifies what has just formed on the chart and explains it in full sentences: what it is, what to watch for, what can happen next, and the exact condition that invalidates it. A second table continuously shows the Smart Money Concepts picture.
There are no entry signals, no alerts, no webhooks and no score meant for trading decisions in this script. If you are looking for a signal system, this is not it.
WHY IT IS DIFFERENT
Most pattern detectors print a name above the candle and stop there. That is not enough to learn from, because the same hammer is not the same event at the previous day low inside a downtrend as it is in the middle of the Asian range.
Two things address this:
Trend-context sensitivity. The same shape carries the opposite meaning at the top and bottom of a trend, and the script resolves this rather than flattening it. A long lower wick with a small upper body is a hammer in a downtrend, but at the top of an uptrend it is a hanging man - a bearish warning. A long upper wick at the bottom of a downtrend is an inverted hammer, not a shooting star. Most detectors conflate these two pairs.
A grade that names what is missing. Every recognised pattern is scored on six factors: proximity to a level, alignment with structure, kill zone timing, candle quality, volatility, and higher timeframe agreement. The grade itself is secondary. The useful part is the line listing which factors failed, so the lesson is not "a hammer is bullish" but what makes a hammer valuable or worthless.
WHAT IT RECOGNISES
Structural: break of structure up and down, change of character up and down, liquidity sweeps above and below, double top and double bottom on the neckline break, ascending and descending triangles, ranges.
Candlesticks: bullish and bearish engulfing, piercing line, dark cloud cover, bullish and bearish harami, belt hold, marubozu, tweezer top and bottom, hammer, hanging man, shooting star, inverted hammer, three white soldiers, three black crows, morning star, evening star, outside bar, inside bar, spinning top, doji.
THE SMC TABLE
Updates on every bar, not only when a new pattern appears:
Premium / discount position relative to the equilibrium of the last swing range
Bullish and bearish order block with price levels and state: fresh, tested, or broken into a breaker block
The nearest unfilled fair value gap with its boundaries
Liquidity pools: equal highs or equal lows where stops accumulate
Session and kill zone
Each item comes with an explanation of the concept itself, so no external reference is needed.
LANGUAGE
All table content is available in English and Hungarian. Use the "Language / Nyelv" setting in the first input group. English is the default. Input labels are bilingual, English first, because input labels cannot be switched at runtime in Pine.
SETTINGS
Deliberately minimal. Only what affects recognition is exposed: swing sensitivity (pivot length), the ATR penetration required for a structure break, the five timeframes used for agreement, and the position and text size of the two tables. Purely cosmetic options are fixed at sensible defaults in the code.
HOW TO USE IT
Put it on a clean chart, leave the educational table on, and read it when something forms. Do not trade the pattern name. Read the grade line: if it says a level is missing, or that the higher timeframes disagree, that is the actual lesson of the bar.
LIMITATIONS - please read
Patterns are evaluated on CLOSED bars. The live bar can still change.
Only ONE pattern is explained at a time, the most significant one by the internal ordering. Several patterns can be true on the same bar.
Piercing line and dark cloud cover are simplified, gap-free variants. Forex and crypto rarely produce true opening gaps, so an open beyond the previous CLOSE is accepted instead of beyond the previous high or low. This is stated in the table itself.
Double tops, double bottoms and triangles are derived from the last two swing points only. They are hints, not fully drawn patterns.
The kill zone is the traditional 07:00-10:00 local time window in London and New York. The London window starts one hour before the London session as defined in this script; that is intentional and matches common usage.
Candlestick patterns are not predictive on their own. Without context, levels and risk management they are not usable.
This is an educational and analytical tool. It is not financial advice and it does not guarantee any result.
MI EZ (magyar)
Oktatóeszköz a gyertyaalakzatok és a piaci szerkezet olvasásához. Felismeri, mi alakult ki éppen a charton, és teljes mondatokban elmagyarázza: mi ez, mire figyelj, mi történhet ezután, és pontosan mi teszi érvénytelenné. Egy második tábla folyamatosan mutatja a Smart Money Concepts helyzetképet.
Nincs benne belépő-jelzés, riasztás, webhook vagy kereskedési döntéshez szánt pontszám. Aki jelzőrendszert keres, ne ezt töltse le.
Miben más. A legtöbb alakzat-felismerő kiír egy nevet a gyertya fölé, és ennyi. Tanuláshoz ez kevés, mert ugyanaz a kalapács a napi támaszon, csökkenő trendben nem ugyanaz az esemény, mint az ázsiai sáv közepén.
Ezt két dolog kezeli. Egyrészt a trendkontextus: ugyanaz a forma ellentétes jelentésű a trend tetején és alján, és a szkript ezt feloldja. A hosszú alsó kanócos gyertya csökkenő trendben kalapács, emelkedő trend tetején viszont akasztott ember, vagyis bearish figyelmeztetés. Csökkenő trend alján a hosszú felső kanócos gyertya fordított kalapács, nem hullócsillag. Ezt a két párost a legtöbb felismerő összemossa.
Másrészt az osztályzat, ami megnevezi, mi hiányzik. Hat tényező: szint közelsége, szerkezeti irány, kill zone, gyertyaminőség, volatilitás, magasabb idősíkok egyetértése. Nem a jegy a lényeg, hanem a sor, ami felsorolja, melyik tényező bukott meg — így nem azt tanulod meg, hogy „a kalapács bullish", hanem azt, mitől lesz egy kalapács értékes vagy értéktelen.
Felismert alakzatok. Szerkezeti: BOS fel és le, CHoCH fel és le, likviditás-lehalászás mindkét irányban, dupla csúcs és dupla alj a nyakvonal törésekor, emelkedő és csökkenő háromszög, oldalazó sáv. Gyertyaminták: vevői és eladói elnyelő, átszúró vonal, sötét felhő takaró, bikás és medve harami, övfogás, marubozu, csipesz tető és alj, kalapács, akasztott ember, hullócsillag, fordított kalapács, három katona, három varjú, hajnalcsillag, esti csillag, külső és belső gyertya, pörgettyű, doji.
SMC tábla. Prémium/diszkont helyzet, bikás és medve order block az árszintekkel és állapottal (friss, tesztelve, törött breaker), a legközelebbi kitöltetlen fair value gap, likviditási poolok, szekció és kill zone — mindegyik mellé a fogalom magyarázatával.
Nyelv. A táblák tartalma angolul és magyarul is elérhető, az első beállítás-csoportban váltható. Alapértelmezés az angol.
Korlátok. Az alakzatok záró gyertyából számolódnak. Egyszerre egy alakzatot magyaráz el, pedig több is teljesülhet ugyanazon a gyertyán. Az átszúró vonal és a sötét felhő takaró egyszerűsített, rés nélküli változat. A dupla csúcs, dupla alj és a háromszögek csak az utolsó két lengőpontból származnak. A gyertyaalakzatok önmagukban nem prediktívek.
Ez oktatási és elemzési eszköz. Nem befektetési tanács, és nem garantál eredményt. อินดิเคเตอร์

Triple Period RSI Momentum Confirmation FrameworkTriple RSI — Momentum Confirmation Framework
RSI leads. Momentum confirms. Price breaks.
Vinod Triple RSI is a multi-period momentum framework designed to identify developing trend transitions by combining Triple RSI, MACD Histogram and DMI/ADX into one structured analytical view.
THE CORE IDEA
Momentum often changes before price structure confirms the move.
Rather than waiting for price to break a major trendline and then looking for confirmation, this framework first observes whether momentum is beginning to turn — and then looks for progressive confirmation from multiple independent measures.
THE CONFIRMATION SEQUENCE
1️⃣ Triple RSI — 21 / 14 / 7
The three RSI periods provide different speeds of momentum:
• RSI 21 → Structural momentum
• RSI 14 → Intermediate momentum
• RSI 7 → Short-term momentum
An important early signal occurs when RSI breaks its own declining structure before price breaks its corresponding trendline.
Conviction increases when the multiple RSI periods move above the 50 level, indicating broader bullish momentum alignment.
2️⃣ MACD Histogram
A transition from negative to positive Histogram, followed by expansion, provides confirmation that bullish momentum is strengthening.
3️⃣ DMI / ADX — DI Length 13 | ADX Smoothing 8
Further confirmation comes when:
DMI+ crosses above DMI−
and bullish directional strength moves above the 20 level.
4️⃣ PRICE STRUCTURE
The final confirmation is the actual price trendline / structure breakout.
THE FRAMEWORK
RSI Breakout
↓
RSI Multi-Period Alignment > 50
↓
MACD Histogram Turns Bullish
↓
DMI+ > DMI−
↓
Directional Strength > 20
↓
PRICE STRUCTURE BREAKOUT
THE KEY INSIGHT
RSI can lead.
Momentum can confirm.
Price ultimately validates the move.
The objective is therefore not to predict every breakout, but to recognize when momentum, directional strength and price structure progressively come into alignment.
The strongest setups are often those where momentum begins changing while price is still trapped below structural resistance, followed by confirmation from MACD, DMI/ADX and eventually price itself.
The example illustrated demonstrates this sequence clearly: RSI broke out from its declining structure near the bottom well before the weekly price trendline breakout. The subsequent move above RSI 50, bullish MACD Histogram and DMI+ dominance provided progressively stronger confirmation before price finally broke the descending trendline.
DEFAULT SETTINGS
Triple RSI: 21 / 14 / 7
MACD: Histogram
DMI Length: 13
ADX Smoothing: 8
Key RSI Level: 50
Directional Strength Reference: 20
This indicator is designed as a discretionary analytical framework, not a standalone buy/sell signal generator. Use it alongside price action, market structure, volume and appropriate risk management.
Vinod Triple RSI
Read the momentum first. Wait for confirmation. Let price validate the thesis. อินดิเคเตอร์

Smart Money Liquidation Exploits [AlgoAlpha]🟠 OVERVIEW
Smart Money Liquidation Exploits maps recent swing highs and lows as liquidity levels, then watches how price reacts when these levels are reached. It focuses on liquidity sweeps where price moves beyond a prior swing with the wick but the candle body remains on the other side of the level.
The indicator combines pivot-based liquidity mapping, wick rejection signals, and structure-based take-profit levels. This helps traders separate a liquidity sweep from a simple break through a previous high or low.
It can use the current chart timeframe or a selected higher timeframe. This lets traders view liquidity and sweep signals from broader market structure while staying on a lower-timeframe chart.
🟠 CONCEPTS
Liquidity Level — A price level formed from a confirmed pivot high or pivot low. Pivot highs represent potential buy-side liquidity, while pivot lows represent potential sell-side liquidity.
Liquidity Sweep — A move where the wick crosses a liquidity level but the candle body stays beyond neither side of that level. A sweep below a pivot low is treated as bullish, while a sweep above a pivot high is treated as bearish.
Pivot Structure — Confirmed swing highs and lows defined by the Pivot Length setting. Consecutive pivots in the same direction are updated when a more extreme high or low forms.
Take-Profit Level — A target created after a valid sweep. For bullish sweeps, the target is the midpoint between the swept low and the latest swing high. For bearish sweeps, it is the midpoint between the swept high and the latest swing low.
Level Expiry — The period during which a liquidity or take-profit level remains active. Levels stop extending after they are reached or after the selected number of bars expires.
🟠 FEATURES
Liquidity Levels — Displays active pivot-based liquidity levels above and below price.
Sweep Signals — Marks bullish sweeps with ▲ and bearish sweeps with ▼ when price wicks through a liquidity level without the candle body crossing it.
Take-Profit Levels — Displays a dotted target after a valid liquidity sweep when an opposing swing is available.
Target Confirmation — Marks completed take-profit targets with a ✅ and connects the original sweep to the target hit.
Higher-Timeframe Mode — Allows liquidity levels, sweeps, targets, and expiry periods to use structure from a selected higher timeframe.
🟠 HOW TO USE
Watch the active liquidity levels around price to identify recent swing highs and lows that price may test.
Look for a ▲ below price when sell-side liquidity is swept. This shows that price moved below a pivot low but the candle body remained above the level.
Look for a ▼ above price when buy-side liquidity is swept. This shows that price moved above a pivot high but the candle body remained below the level.
After a valid sweep, use the dotted take-profit level as the indicator's structure-based target.
Watch for a ✅ when price reaches an active target. The connecting dotted line shows which sweep produced the completed target.
Increase Pivot Length to focus on broader swings, or reduce it to detect smaller local swings.
Enable Higher Timeframe mode when you want the liquidity structure and signals to come from a broader timeframe than the current chart.
Adjust Level Expiry Bars to control how long untouched liquidity and take-profit levels remain active.
🟠 CONCLUSION
Smart Money Liquidation Exploits combines pivot-based liquidity levels, wick-defined liquidity sweeps, and structure-based take-profit targets. It gives traders a visual way to identify rejected liquidity runs and track the price objective associated with each valid sweep. อินดิเคเตอร์

Triple Bottom/Top Patterns [The_lurker]╔═══════════════════════════════════════════════════════╗
Triple Bottom/Top Patterns
╚═══════════════════════════════════════════════════════╝
An indicator that detects Triple Bottom and Triple Top patterns and tracks every pattern from the moment its structure completes until its final resolution — with no repainting, and with symmetry limits that adapt to market volatility instead of fixed numbers.
The core idea: a pattern is not a shape you draw and abandon. It is an event with a beginning, a path, and an end — and this indicator tracks all three.
╔═══════════════════════════════════════════════════════╗
◆ WHAT SETS THIS INDICATOR APART
╚═══════════════════════════════════════════════════════╝
▌ 1 ─ No repainting, by structure rather than by promise
✕ Common: an "in progress" mode draws an unconfirmed third leg, so the shape shifts and is redrawn every time price moves. The pattern you see in history is not what was displayed at the time.
✓ Here: all seven points are confirmed price pivots, and every state change occurs on confirmed bar close. What you see today on an old bar is literally what was displayed when it appeared.
There is no "in progress" mode in this indicator — a deliberate choice, not a missing feature.
▌ 2 ─ Symmetry limits that adapt to volatility
✕ Common: a fixed percentage for the allowed difference between the ends.
The problem is that one percentage means radically different things:
▸ 1% on the 15-minute chart ≈ 3.6 volatility units ← far too loose
▸ 1% on the daily chart ≈ 0.26 volatility units ← far too strict
The same number delivers completely different precision depending on timeframe, while the user believes a single standard has been set.
✓ Here: the difference is measured in units of Average True Range at the moment of formation.
One number means the same thing on every timeframe, every instrument, and every market condition — from Bitcoin to low-priced altcoins, from the 1-minute to the weekly.
▌ 3 ─ A complete eight-state machine
✕ Common: the pattern is drawn, the breakout is announced, and its role ends.
✓ Here: every pattern travels a defined and declared path:
⏳ Awaiting breakout
✓ Pattern complete
🎯 Target reached
✕ Pattern failed
🔄 Reverse target reached
⌛ Waiting period expired
⌛ Complete, no target reached
⌛ Failed, no reverse target reached
▌ 4 ─ The two states you will not find elsewhere
✕ Common: the target line extends indefinitely. A pattern that broke out a year ago still has its line crawling across your chart today, with no answer to the question: was it reached or not?
✓ Here: every pattern has a defined time window to reach its target. If the window closes without a hit, the state is declared "Complete, no target" and the line freezes.
This prevents dead lines from accumulating, and gives an explicit answer instead of open silence.
▌ 5 ─ No resolution within the event bar itself
✕ Common: a pattern breaks out and the target is counted as reached in that same bar if price touched it.
The problem: the order of high, low, and close inside a single bar is unknown to any indicator. Price may have reached the target before closing above the neckline — that is, before the entry signal existed at all.
✓ Here: resolution is deferred by a full bar. A target can never be reached on the completion bar itself.
A small detail that separates honest tracking from optimistic tracking.
▌ 6 ─ Every point is a pivot, including the turning point and both mids
✕ Common: the intermediate points and the trend origin are taken as the raw highest or lowest value within a window.
The problem: a single stray wick can become a point in the pattern — and if it defines the neckline, the entire decisive level rests on noise.
✓ Here: all seven points are confirmed pivots. One wick cannot define a neckline.
▌ 7 ─ Tracking continues after failure
✕ Common: the pattern breaks down and is erased from the chart.
✓ Here: it breaks down and is fully recoloured — lines, fill, and labels — and a reverse target is computed and tracked with the same precision and the same time window.
Pattern failure is tradeable information, not the end of tracking.
▌ 8 ─ One pattern per zone
✕ Common: several overlapping patterns draw on top of one another, turning the chart into a tangled mesh.
✓ Here: when patterns overlap in time, only the one with the tightest symmetry remains. And a pattern that has completed or failed is never erased retroactively — it blocks a newcomer instead of being replaced by it.
The result: a clean chart, and a history that is not rewritten.
▌ 9 ─ Prior trend gate
A reversal pattern without a prior trend is not a reversal.
✓ The indicator requires the leg from the turning point to the first end to reach a defined multiple of the pattern's own height — and this requirement is what determines which pivot is selected as the turning point, so no arbitrary peak preceding the pattern gets picked up.
╔═══════════════════════════════════════════════════════╗
📐 PATTERN STRUCTURE: SEVEN POINTS
╚═══════════════════════════════════════════════════════╝
① Turning point ─ the last opposite pivot before the first end, where the prior trend reversed
②④⑥ The three ends ─ B1 · B2 · B3 or T1 · T2 · T3
confirmed pivots, aligned within a limit measured in volatility units
③⑤ The two mids ─ the separating highs in a Triple Bottom, or the separating lows in a Triple Top
▬▬ Neckline ─ the higher of the two mids in a Triple Bottom, the lower in a Triple Top
this is the level that defines pattern completion
⑦ Crossing point ─ where the final leg intersects the neckline on completion
Path: ① → ② → ③ → ④ → ⑤ → ⑥ → ⑦
╔═══════════════════════════════════════════════════════╗
🎯 TARGETS
╚═══════════════════════════════════════════════════════╝
The target is purely geometric: the pattern height — the distance between the neckline and the furthest end — projected from the breakout point.
▸ Conservative 0.618 of pattern height
▸ Balanced full pattern height
▸ Aggressive 1.618 of pattern height
An independent mode for each case: Bottom bullish target · Bottom bearish target on failure · Top bearish target · Top bullish target on failure.
The fill criterion is selectable:
▸ Touch ─ matches a limit order resting at the target
▸ Close ─ more conservative
╔═══════════════════════════════════════════════════════╗
⚙️ SETTINGS
╚═══════════════════════════════════════════════════════╝
▌ Pattern Detection
▸ Pivots left and right ─ pivot confirmation sensitivity
▸ Min arm length ─ minimum bars between each consecutive pair of points
▸ Ends symmetry ×ATR ─ the single most influential parameter
▸ Mids symmetry ×ATR ─ same unit, applied to the two intermediate points
▸ Min depth ×ATR ─ excludes shallow sideways chop
▸ Prior leg ×Pattern height ─ required strength of the preceding trend
▸ Trend length and lookback ─ search range for the turning point
▸ Extension multiplier ─ breakout waiting period, relative to pattern width
▌ Targets
▸ Target window ×Width ─ time allowed to reach the target. Zero = no expiry
▌ Visual
▸ Max live patterns per side ─ raise it on lower timeframes
▸ Independent colours per side: pattern · fill · text · label background
Transparency is set from the colour picker itself
╔═══════════════════════════════════════════════════════╗
🔔 ALERT
╚═══════════════════════════════════════════════════════╝
A single alert: Triple Pattern Complete.
▸ Fires when the neckline is broken on confirmed bar close
▸ Covers both bottoms and tops
▸ Once per pattern
▸ The message includes ticker, timeframe, and close price automatically
To create: alarm icon → select the indicator as source → choose the condition → set frequency to "Once Per Bar Close".
⚠ TradingView freezes the indicator settings at the moment the alert is created. If you change any setting afterwards, delete the alert and create it again.
╔═══════════════════════════════════════════════════════╗
📊 PRACTICAL USE
╚═══════════════════════════════════════════════════════╝
▸ The neckline is the decisive level. Before it is broken: a candidate structure. After: a completed event.
▸ The furthest end defines the invalidation point — a close below the lowest of the three bottoms, or above the highest of the three tops.
▸ The info table shows, for each side: target mode · target price · current state · pattern age in bars.
▸ The age field matters: a pattern fifty bars old is not the same as one five hundred bars old.
▸ Triple patterns are inherently rarer than double ones. If nothing appears on a higher timeframe, that is expected behaviour rather than a fault — raise the ends symmetry limit first, then review the prior trend gate.
╔═══════════════════════════════════════════════════════╗
⚠ DISCLOSURE AND LIMITATIONS
╚═══════════════════════════════════════════════════════╝
▸ This indicator is a visual analysis tool that organises how you read the market. It does not provide buy or sell recommendations, and it promises no results.
▸ Drawing correctness is one thing; pattern performance is another. The indicator draws patterns and tracks their events precisely, but the predictive ability of the pattern itself has not been tested statistically here and is not claimed.
▸ The search scope is limited to the last fifty pivots per side, so a very old pattern may not be detected.
▸ When the tracked-pattern budget fills, a live pattern may be replaced by a newer one. Raising "Max live patterns" reduces this.
▸ Use it within a complete trading approach that includes risk management, not as a sole source of decisions.
╔═══════════════════════════════════════════════════════╗
Triple Bottom/Top Patterns نماذج القيعان والقمم الثلاثية
╚═══════════════════════════════════════════════════════╝
مؤشر يكتشف نماذج القاع الثلاثي والقمة الثلاثية، ويتابع كل نموذج من لحظة اكتمال بنيته حتى حسمه النهائي — بلا إعادة رسم، وبحدود تماثل تتكيف مع تقلب السوق بدل أرقام ثابتة.
الفكرة المركزية: النموذج ليس شكلًا يُرسم ثم يُترك. هو حدث له بداية ومسار ونهاية، والمؤشر يتتبع الثلاثة.
╔═══════════════════════════════════════════════════════╗
◆ ما الذي يميز هذا المؤشر
╚═══════════════════════════════════════════════════════╝
▌ ١ ─ لا إعادة رسم، بضمانة بنيوية لا بوعد نصي
✕ الشائع: وضع "قيد التكوين" يرسم طرفًا ثالثًا غير مؤكد، فيتحرك الشكل ويُعاد رسمه كلما تحرك السعر. النموذج الذي تراه في التاريخ ليس ما كان معروضًا لحظتها.
✓ هنا: النقاط السبع كلها محاور سعرية مؤكدة، وكل تغييرات الحالة تقع تحت إغلاق الشمعة المؤكد. ما تراه اليوم على شمعة قديمة هو حرفيًا ما كان معروضًا وقت ظهوره.
لا يوجد وضع "قيد التكوين" في هذا المؤشر — وهذا اختيار مقصود، لا نقص.
▌ ٢ ─ حدود التماثل تتكيف مع التقلب
✕ الشائع: نسبة مئوية ثابتة للفارق المسموح بين الأطراف.
المشكلة أن النسبة الواحدة تعني أشياء مختلفة جذريًا:
▸ 1٪ على فريم 15 دقيقة ≈ 3.6 من وحدات التقلب ← متساهل جدًا
▸ 1٪ على الفريم اليومي ≈ 0.26 من وحدات التقلب ← صارم جدًا
أي أن نفس الرقم يعطي دقة مختلفة تمامًا حسب الفريم، والمستخدم يظن أنه ثبّت معيارًا واحدًا.
✓ هنا: الفارق يُقاس بوحدات المدى الحقيقي المتوسط عند لحظة التكوين.
الرقم الواحد يعني الشيء نفسه على كل فريم، وكل أصل، وكل حالة سوق — من البيتكوين إلى العملات منخفضة السعر، ومن الدقيقة إلى الأسبوعي.
▌ ٣ ─ آلة حالة كاملة من ثماني حالات
✕ الشائع: يرسم النموذج، يعلن الاختراق، وينتهي دوره.
✓ هنا: كل نموذج يمر بمسار محدد ومعلن:
⏳ انتظار الاختراق
✓ اكتمال النموذج
🎯 بلوغ الهدف
✕ فشل النموذج
🔄 بلوغ الهدف العكسي
⌛ انتهاء مدة الانتظار
⌛ اكتمال بلا بلوغ هدف
⌛ فشل بلا بلوغ هدف عكسي
▌ ٤ ─ الحالتان اللتان لا تجدهما في غيره
✕ الشائع: خط الهدف يمتد إلى ما لا نهاية. نموذج اخترق قبل سنة وما زال خطه يزحف على شارتك اليوم، بلا إجابة عن سؤال: هل وصل أم لا؟
✓ هنا: لكل نموذج نافذة زمنية محددة لبلوغ هدفه. إن انقضت بلا وصول، تُعلن الحالة "اكتمال بلا بلوغ هدف" ويتجمد الخط.
هذا يمنع تراكم خطوط ميتة، ويعطي إجابة صريحة بدل صمت مفتوح.
▌ ٥ ─ لا حسم في شمعة الحدث نفسها
✕ الشائع: النموذج يخترق ويُحسب الهدف متحققًا في نفس الشمعة إن لامسه السعر.
المشكلة: ترتيب الأعلى والأدنى والإغلاق داخل الشمعة الواحدة غير معلوم لأي مؤشر. ربما بلغ السعر الهدف قبل أن يغلق فوق العنق، أي قبل وجود إشارة الدخول أصلًا.
✓ هنا: الحسم يُؤجَّل شمعة كاملة. لا يمكن أن يتحقق هدف في شمعة الاكتمال نفسها.
تفصيل صغير يفصل بين متابعة صادقة وأخرى متفائلة.
▌ ٦ ─ كل النقاط محاور، بما فيها نقطة التحول والوسيطتان
✕ الشائع: النقاط الوسيطة ونقطة بداية الاتجاه تُؤخذ كأعلى أو أدنى قيمة خام في نافذة.
المشكلة: ذيل شمعة شارد قد يصبح نقطة في النموذج — وإن كان هو خط العنق، فالمستوى الحاسم كله مبني على ضجيج.
✓ هنا: النقاط السبع محاور مؤكدة. ذيل واحد لا يمكن أن يحدد خط عنق.
▌ ٧ ─ متابعة ما بعد الفشل
✕ الشائع: النموذج ينكسر فيُشطب من الشارت.
✓ هنا: ينكسر فيُعاد تلوينه بالكامل — الخطوط والتضليل والعلامات — ويُحسب له هدف عكسي يُتابع بنفس الدقة والنافذة الزمنية.
فشل النموذج معلومة تداولية، لا نهاية المتابعة.
▌ ٨ ─ نموذج واحد لكل منطقة
✕ الشائع: عدة نماذج متداخلة ترسم فوق بعضها فيتحول الشارت إلى شبكة متشابكة.
✓ هنا: عند تداخل زمني، يبقى الأدقّ تماثلًا فقط. والنموذج الذي اكتمل أو فشل لا يُمحى بأثر رجعي — يمنع ظهور نموذج جديد فوقه بدل أن يُستبدل به.
النتيجة: شارت نظيف، وتاريخ لا يُزوَّر.
▌ ٩ ─ بوابة الاتجاه السابق
النموذج الانعكاسي بلا اتجاه سابق ليس انعكاسًا.
✓ المؤشر يشترط أن يبلغ المسار من نقطة التحول إلى الطرف الأول مضاعفًا محددًا من ارتفاع النموذج نفسه — وهذا الشرط هو ما يحدد أي محور يُختار كنقطة تحول، فلا تُلتقط قمة عشوائية سبقت النموذج.
╔═══════════════════════════════════════════════════════╗
📐 بنية النموذج: سبع نقاط
╚═══════════════════════════════════════════════════════╝
① نقطة التحول ─ آخر محور مقابل قبل الطرف الأول، حيث انقلب الاتجاه السابق
②④⑥ الأطراف الثلاثة ─ B1 · B2 · B3 أو T1 · T2 · T3
محاور مؤكدة، متقاربة ضمن حد يُقاس بوحدات التقلب
③⑤ الوسيطتان ─ القمتان الفاصلتان في القاع الثلاثي، أو القاعان في القمة الثلاثية
▬▬ خط العنق ─ أعلى الوسيطتين في القاع الثلاثي، وأدناهما في القمة الثلاثية
هو المستوى الذي يحدد اكتمال النموذج
⑦ نقطة العبور ─ تقاطع الساق الأخيرة مع خط العنق عند الاكتمال
المسار: ① → ② → ③ → ④ → ⑤ → ⑥ → ⑦
╔═══════════════════════════════════════════════════════╗
🎯 الأهداف
╚═══════════════════════════════════════════════════════╝
الهدف هندسي بحت: ارتفاع النموذج — المسافة بين خط العنق وأبعد الأطراف — يُسقط من نقطة الاختراق.
▸ محافظ 0.618 من ارتفاع النموذج
▸ متوازن ارتفاع النموذج كاملًا
▸ عدواني 1.618 من ارتفاع النموذج
نمط مستقل لكل حالة: هدف القاع الصاعد · هدف القاع الهابط عند الفشل · هدف القمة الهابط · هدف القمة الصاعد عند الفشل.
معيار التحقق قابل للاختيار:
▸ لمسة السعر ─ يطابق تنفيذ أمر معلق عند الهدف
▸ إغلاق الشمعة ─ أكثر تحفظًا
╔═══════════════════════════════════════════════════════╗
⚙️ الإعدادات
╚═══════════════════════════════════════════════════════╝
▌ كشف النموذج
▸ شموع اليسار واليمين ─ حساسية تأكيد المحاور
▸ الحد الأدنى للذراع ─ أقل عدد شموع بين كل نقطتين متتاليتين
▸ تماثل الأطراف الثلاثة ×ATR ─ المعامل الأهم في المؤشر
▸ تماثل الوسيطين ×ATR ─ نفس الوحدة، للنقطتين الوسيطتين
▸ أدنى عمق للنموذج ×ATR ─ يستبعد التذبذبات الجانبية الضحلة
▸ ارتفاع الاتجاه ×ارتفاع النموذج ─ قوة المسار السابق المطلوبة
▸ طول المسار ومدى البحث ─ نطاق البحث عن نقطة التحول
▸ معامل التمدد ─ مدة انتظار الاختراق بدلالة عرض النموذج
▌ الأهداف
▸ نافذة الهدف ×العرض ─ المدة المسموحة لبلوغ الهدف. صفر = بلا انتهاء
▌ العرض
▸ أقصى نماذج متتبعة لكل جانب ─ ارفعه على الفريمات المنخفضة
▸ ألوان مستقلة لكل جانب: النموذج · التضليل · النص · خلفية العلامة
الشفافية تُضبط من منتقي اللون نفسه
╔═══════════════════════════════════════════════════════╗
🔔 التنبيه
╚═══════════════════════════════════════════════════════╝
تنبيه واحد فقط: اكتمال النموذج الثلاثي.
▸ يُطلق عند كسر خط العنق بإغلاق شمعة مؤكد
▸ للقاع والقمة معًا
▸ مرة واحدة لكل نموذج
▸ الرسالة تتضمن الرمز والفريم وسعر الإغلاق تلقائيًا
الإنشاء: أيقونة المنبه → المؤشر كمصدر → الشرط → التكرار "مرة عند إغلاق الشمعة".
⚠ TradingView يحفظ إعدادات المؤشر لحظة إنشاء التنبيه. إن غيّرت أي إعداد بعدها، احذف التنبيه وأنشئه من جديد.
╔═══════════════════════════════════════════════════════╗
📊 الاستخدام العملي
╚═══════════════════════════════════════════════════════╝
▸ خط العنق هو المستوى الحاسم. قبل اختراقه: بنية محتملة. بعده: حدث مكتمل.
▸ الطرف الأبعد يحدد نقطة إبطال النموذج — إغلاق تحت أدنى القيعان الثلاثة، أو فوق أعلى القمم الثلاث.
▸ جدول المعلومات يعرض لكل جانب: نمط الهدف · سعر الهدف · الحالة الراهنة · عمر النموذج بالشموع.
▸ حقل العمر مهم: نموذج عمره خمسون شمعة ليس كنموذج عمره خمسمئة.
▸ النماذج الثلاثية أندر بطبيعتها من الثنائية. إن لم يظهر شيء على فريم مرتفع فهذا سلوك متوقع لا خلل — ارفع حد تماثل الأطراف أولًا، ثم راجع بوابة ارتفاع الاتجاه.
╔═══════════════════════════════════════════════════════╗
⚠ الإفصاح والقيود
╚═══════════════════════════════════════════════════════╝
▸ هذا المؤشر أداة تحليل بصري وتنظيم لرؤية السوق. لا يقدم توصيات شراء أو بيع، ولا يَعِد بنتائج.
▸ صحة الرسم شيء وأداء النموذج شيء آخر. المؤشر يرسم النماذج ويتتبع أحداثها بدقة، لكن قدرة النموذج نفسه على التنبؤ لم تُختبر إحصائيًا هنا ولا يُدعى بها.
▸ نطاق البحث محدود بآخر خمسين محورًا لكل جانب، فقد لا يُكتشف نموذج قديم جدًا.
▸ عند امتلاء ميزانية النماذج المتتبعة، قد يُستبدل نموذج حي بآخر أحدث. رفع "أقصى نماذج متتبعة" يقلل ذلك.
▸ استخدمه ضمن منهج تداول متكامل يشمل إدارة المخاطر، لا كمصدر قرار وحيد.
─────────────────────────────────────────────
The_lurker — Fawaz Al-Enezi | فواز العنزي
───────────────────────────────────────────── อินดิเคเตอร์

Composite Liquidity Flow: five-asset weighted volume deltaWhat it does
One histogram that answers a single question: which way is the whole index complex leaning right now? It estimates buying and selling pressure across five instruments at once, weights them, smooths them, and prints the net as a z-scored delta with an agreement layer on top.
What is original here
Volume delta and RSI are both public methodology, and neither is mine. Three things here are not standard:
1. Pressure is attributed per bar from candle geometry, then priced in dollars rather than counted in shares. A 600-dollar instrument and a 60-dollar instrument therefore contribute on a comparable scale, which a raw share-count composite cannot do.
2. The five legs are not summed. Index futures, their tracking funds, and an inverse hedge fund are weighted separately, and the hedge leg has its logic inverted, so buying in the inverse product is counted as selling pressure on the complex. Hedging demand is treated as information rather than noise. This is the part I have not seen elsewhere.
3. The composite is z-scored against its own recent distribution, so the same scale reads correctly on a quiet session and on a high-volatility print.
The RSI layer is a display filter, not an input to the flow calculation. It gates when markers are allowed to print and never changes the histogram. That is the reason for the combination: flow describes who is pushing, RSI describes whether price has already travelled, and a marker is only allowed when the two agree. Without the filter the same flow model prints far more markers, most of them late.
How it works
Per-instrument pressure comes from candle structure. On an up bar, the body plus the lower wick is attributed to buyers and the upper wick to sellers; on a down bar the attribution reverses. That fraction multiplies the bar volume, then the closing price, producing a dollar figure per leg. Legs are weighted, summed, smoothed with an exponential average, then converted to a z-score against a rolling lookback. A session filter zeroes the fund legs outside regular hours, where their volume is unrepresentative of real positioning.
Divergences require three conditions at once: price at a lookback extreme, three consecutive bars of the composite moving the other way, and optional confirmation from the filter. A cooldown then suppresses repeats so the markers stay rare enough to mean something.
How to use it
Built for intraday index trading and tuned by default for 5-minute charts. Above the zero line and rising, with the filter supportive, means the composite tape agrees with a long. Below and falling is the mirror. The divergence markers are warnings about the move in progress, not entries. The dashboard reports each component separately so you can see which one is disagreeing before you act on the net.
What it cannot do
Markers are evaluated on the live bar, so a divergence or agreement arrow can appear and then disappear before the bar closes. Judge them on closed bars only. Nothing is drawn in the past and no confirmed marker moves once its bar has closed.
Everything here is estimated from open, high, low, close and volume. It is a structural proxy for order flow, not tick data, and it inherits every weakness a proxy has: it cannot see the order book, it cannot distinguish an aggressive buyer from a passive one, and on thin instruments the attribution is close to meaningless. It describes the index complex only and says nothing useful about an individual stock. It does not predict anything. It describes what the current bar and its neighbors have already printed.
Settings
Five symbols and their weights, smoothing length and z-score lookback, filter parameters, divergence strictness and cooldown, session handling, and a display toggle for each visual layer. อินดิเคเตอร์

Hunter DWM Control Pro• Overview
Hunter DWM Control Pro is a multi-timeframe technical analysis script built around a structural process evaluated across the Daily, Weekly, and Monthly timeframes.
The script combines structural breakout references, structural invalidation levels, sequential price targets, evolving support and resistance, an Advanced Radar Control Cloud, normalized directional momentum, and timeframe-based candle coloring.
These components operate within one analytical workflow. The structural engine identifies the price structure being monitored, the target engine follows how that structure develops after a breakout, while the Radar and momentum components provide additional information about the directional environment surrounding the structure.
The complete D/W/M structural display is intended primarily for use on a Daily chart.
________________________________________
• Structural Detection
The structural process begins by evaluating directional candle shapes.
A qualifying bullish candle requires:
• Close above Open.
• The candle body to be larger than the combined upper and lower wicks.
A qualifying bearish candle applies the opposite directional condition using the same body-versus-wicks relationship.
The script records the Low of the most recent qualifying bullish candle. It then monitors for a qualifying bearish candle that closes below that bullish Low.
When this bearish structure occurs, its High, Low, and time are stored.
A bullish structural breakout is detected when a later close moves above the stored High of that bearish structure.
The same process is calculated separately on the Daily, Weekly, and Monthly timeframes.
________________________________________
• Daily, Weekly and Monthly Structure
The main table organizes the current structural state of:
• Daily
• Weekly
• Monthly
For each timeframe, the table can display:
• Last High
• Breakout
• SL
• RS
• SUP
• SL Stat
• T1
• T2
• T3
The three-timeframe view shows how the same structural process is developing across different time horizons.
________________________________________
• Structural Invalidation
When a breakout cycle becomes active, the script stores the Low of the bearish structure associated with that breakout as its structural invalidation reference.
The SL status can display:
• ACTIVE — an active structural cycle remains above its stored invalidation level.
• BROKEN — the relevant timeframe has closed below the stored invalidation level.
• INACTIVE — no active structural cycle is currently associated with that stored level.
Before an active cycle exists, the SL column may display the Low of the currently identified structure as a reference level.
These values are structural references generated by the script. They do not determine position size, account exposure, or individual risk tolerance.
________________________________________
• Primary Target Calculation
When a structural breakout cycle is established, the High and Low associated with that structure are stored.
The structural range is calculated as:
Range = Structure High - Structure Low
The primary targets are then derived as:
• T1 = Structure High + 1 × Range
• T2 = Structure High + 2 × Range
• T3 = Structure High + 3 × Range
A target is recorded as reached when the relevant timeframe closes at or above that target level.
Before a confirmed breakout cycle exists, the table can display preview target values calculated from the currently identified structure.
These preview levels provide a structural map of the levels ahead, while actual target-hit tracking begins after a breakout cycle is established.
________________________________________
• Extension Targets
After T3 has been reached, the script can establish an additional target sequence.
An extension requires a qualifying bullish candle to close at or above T3.
The High and Low of that candle define a new range reference from which three additional targets are calculated:
• EXT1
• EXT2
• EXT3
Once created, the extension anchor and target levels remain fixed for that extension cycle.
This separates the original structural projection from a later expansion phase.
________________________________________
• Dynamic Support and Resistance
The RS and SUP fields change as price progresses through the structural sequence.
Before an active target cycle exists, the stored structural High acts as the next resistance reference.
After a breakout, the original breakout level becomes a support reference while T1 becomes the next resistance.
As T1, T2, T3, and extension targets are reached, the script advances the support and resistance references through the sequence.
RS and SUP therefore describe the current location within the script's structural path rather than fixed support and resistance levels.
________________________________________
• Action State
The Action field summarizes the current Daily trade-state logic.
Possible states are:
• WAIT — no active Daily trade-state cycle.
• BUY — a new confirmed Daily structural breakout event has activated the programmed state.
• HOLD — the Daily state remains active and price has not closed below the stored structural invalidation level.
• TP — a programmed Daily target has just been confirmed while the state is active.
• EXIT — the Daily close has moved below the stored structural invalidation level.
The script also prevents a new BUY state when the first Daily target has already been registered for the relevant sequence.
These terms describe programmed indicator states. They are not brokerage orders and do not constitute instructions to buy, hold, take profit, or exit a position.
________________________________________
• Multi-Timeframe Candle Coloring
On the Daily chart, candles can optionally be colored according to the highest active breakout timeframe.
The priority is:
Monthly → Weekly → Daily
Accordingly:
• Daily breakout state uses the Daily color.
• Weekly breakout state takes priority over Daily.
• Monthly breakout state takes priority over Weekly and Daily.
• When none of these breakout states is active, the script leaves the chart's normal candle colors unchanged.
The candle coloring provides a compact visual representation of the highest active structural timeframe without adding additional markers around each candle.
________________________________________
• Advanced Radar Control Cloud
The Advanced Radar Control Cloud provides directional context separately from the D/W/M structural engine.
The Radar identifies strong directional candles using the relationship between candle body size and the combined wick size.
A qualifying bullish candle contributes to the Bull Control feed.
A qualifying bearish candle contributes to the Bear Control feed.
When a new qualifying directional candle is not present, the previous feed value is carried forward.
The Bull and Bear feeds are then smoothed using EMA calculations.
The default Radar Control EMA length is 11.
The script also measures the distance between Bull Control and Bear Control relative to ATR(14).
The Radar classifies the current environment into four states:
• Bull Control
• Bear Control
• Compression
• Transition
Compression occurs when the normalized distance between the two control lines is below the selected threshold. The default compression reference is 0.18 ATR.
Bull Control requires price to be above the upper Radar boundary together with a non-declining Bull Control line.
Bear Control requires price to be below the lower Radar boundary together with a non-rising Bear Control line.
Other non-compression conditions are classified as Transition.
The colored area between Bull Control and Bear Control forms the Advanced Radar Control Cloud.
An optional Radar Slow Bias line applies additional EMA smoothing to the midpoint between the two control lines. Its default length is 33, and it is hidden by default.
The Radar describes current directional conditions. It does not predict the direction of the next candle.
________________________________________
• Strength and Acceleration
The script measures directional candle impulse relative to its recent baseline.
The current directional movement is calculated from:
Close - Open
Its absolute movement is compared with the recent average absolute candle movement over a default seven-bar calculation length.
The resulting Strength value describes the current directional impulse relative to that recent baseline.
Acceleration measures the change in normalized Strength from the previous bar.
The Note field converts the relationship between Strength and Acceleration into descriptive states such as:
• Explosive
• Strong
• Starting
• Fading
• Moderate
• Weak
• Reversing
• Dead
These labels describe programmed momentum conditions. They are not probability, confidence, win-rate, or accuracy measurements.
________________________________________
• Early Entry Alert
The script includes a separate Early Entry alert condition.
The programmed condition requires:
• A confirmed crossover above the Daily structural High.
• An active Weekly breakout condition.
• Bull Control from the Radar.
• Positive Acceleration.
• Strong or Explosive positive momentum according to the script's classification.
Early Entry operates as an alert condition only and does not replace or modify the main Action-state engine.
________________________________________
• Why These Components Are Combined
Hunter DWM Control Pro uses established technical-analysis calculations such as EMA, ATR, candle-body and wick measurements, price ranges, and multi-timeframe price data.
The individual calculations are supporting components rather than the purpose of the script.
The script coordinates one structural process across Daily, Weekly, and Monthly data and connects that structure with stored invalidation levels, sequential targets, extension targets, evolving support and resistance, Action states, Radar context, normalized directional momentum, and timeframe-based candle coloring.
The structural engine identifies the reference levels.
The target and support/resistance engines describe how those levels evolve after a breakout.
The Radar and momentum components provide additional context about the directional environment and current price movement.
This relationship between the components is the reason they are presented together.
________________________________________
• Intended Timeframe
The complete structural workflow is designed primarily for a Daily chart.
On the Daily timeframe, the script displays:
• D/W/M structural lines.
• Structural SL references.
• The full multi-timeframe table.
• Action states.
• Timeframe-based candle coloring.
Radar and momentum calculations use the chart's current timeframe, but the complete D/W/M workflow is intended to be interpreted from the Daily chart.
________________________________________
• Multi-Timeframe Data Behavior
Daily, Weekly, and Monthly calculations are evaluated inside their respective requested timeframes.
The script uses multi-timeframe requests with future-data lookahead disabled.
However, values associated with the current Weekly or Monthly candle can still change while that higher-timeframe candle remains open.
Users should therefore distinguish between a developing higher-timeframe condition and one based on a completed higher-timeframe candle.
Daily BUY and EXIT events additionally require a confirmed Daily chart bar.
________________________________________
• Main Table
The main table contains:
• TF — Timeframe.
• Last High — Current stored structural High.
• Breakout — Current structural breakout state.
• SL — Structural Low or invalidation reference.
• RS — Current resistance reference.
• SUP — Current support reference.
• SL Stat — ACTIVE, BROKEN, or INACTIVE.
• T1 / T2 / T3 — Preview, primary, or extension target sequence depending on the current structural state.
• Action — Current Daily trade-state label.
________________________________________
• Radar Table
The compact Radar table contains:
• Trend — UP, DOWN, COMPRESSION, or NEUTRAL.
• Accel — Change in normalized directional Strength.
• Strength — Current normalized directional candle impulse.
• Note — Current descriptive momentum state.
________________________________________
• Settings
Available settings include controls for:
• Daily, Weekly, and Monthly colors.
• Candle coloring by highest breakout timeframe.
• Structural line length, width, and style.
• SL line length, width, and style.
• Label size and transparency.
• Main table appearance and position.
• Radar Control EMA length.
• Radar Bias EMA length.
• Radar compression threshold.
• Radar cloud transparency.
• Bull and Bear Radar colors.
• Radar Cloud visibility.
• Radar Slow Bias visibility.
• Radar table text size.
________________________________________
• Alerts
The script includes alert conditions for:
• BUY
• TP
• EXIT
• Early Entry
An alert means that the corresponding programmed condition has occurred.
It does not place a market order and does not imply that price will subsequently move in a particular direction.
________________________________________
• Limitations
Hunter DWM Control Pro is based on price-derived technical calculations.
Structural breakouts can fail.
Price may not reach projected targets.
A previously active structural condition can later be invalidated.
Radar, Strength, and Acceleration states can change as new price data becomes available.
Weekly and Monthly values can change while their current candles are still developing.
Preview targets shown before a confirmed breakout are structural projections and are not active target-hit records.
The script does not account for brokerage execution, spread, slippage, commissions, liquidity, leverage, position sizing, or individual risk-management rules.
The indicator is not a backtesting strategy and does not calculate or report historical profitability, win rate, or signal accuracy.
________________________________________
• Disclaimer
Hunter DWM Control Pro is a technical-analysis tool provided for informational and educational purposes.
Its levels, states, targets, colors, tables, and alerts are outputs of programmed calculations applied to market data.
They do not constitute financial advice or a recommendation to buy, sell, hold, or exit any financial instrument.
Users remain responsible for their own analysis, risk management, and trading decisions.
________________________________________
• نظرة عامة
Hunter DWM Control Pro هو سكربت للتحليل الفني متعدد الأطر الزمنية، ويعتمد على تسلسل هيكلي يتم تقييمه على الإطار اليومي والأسبوعي والشهري.
يجمع المؤشر بين مراجع الاختراق الهيكلي، ومستويات الإبطال الهيكلي، والأهداف السعرية المتتابعة، والدعم والمقاومة المتغيرة، وسحابة Radar Control المتطورة، وقياس القوة الاتجاهية، وتلوين الشموع وفق حالة الأطر الزمنية.
تعمل هذه المكونات ضمن دورة تحليل واحدة؛ فالمحرك الهيكلي يحدد البنية السعرية التي تتم مراقبتها، ومحرك الأهداف يتابع كيفية تطور تلك البنية بعد الاختراق، بينما يقدم الرادار وقياسات القوة معلومات إضافية عن البيئة الاتجاهية المحيطة بها.
تم تصميم العرض الهيكلي الكامل D/W/M بصورة أساسية للاستخدام على الشارت اليومي.
________________________________________
• اكتشاف الهيكل
يبدأ التسلسل الهيكلي بتقييم شكل الشموع الاتجاهية.
تتطلب الشمعة الصاعدة المستوفية للشروط:
• أن يكون الإغلاق أعلى من الافتتاح.
• أن يكون جسم الشمعة أكبر من مجموع الظل العلوي والسفلي.
ويتم تطبيق الشرط الاتجاهي المقابل على الشمعة الهابطة باستخدام العلاقة نفسها بين الجسم والظلال.
يسجل المؤشر قاع آخر شمعة صاعدة مستوفية للشروط، ثم يبحث عن شمعة هابطة مستوفية للشروط تغلق أسفل ذلك القاع.
عند ظهور هذا الهيكل الهابط، يتم تسجيل قمته وقاعه ووقته.
يتم اكتشاف الاختراق الهيكلي الصاعد عندما يحدث لاحقًا إغلاق أعلى من القمة المسجلة لذلك الهيكل.
ويتم تنفيذ العملية نفسها بصورة مستقلة على Daily وWeekly وMonthly.
________________________________________
• هيكل Daily وWeekly وMonthly
ينظم الجدول الرئيسي الحالة الهيكلية لكل من:
• Daily
• Weekly
• Monthly
ويعرض لكل إطار معلومات مثل:
• Last High
• Breakout
• SL
• RS
• SUP
• SL Stat
• T1
• T2
• T3
والغرض من قراءة الأطر الثلاثة هو معرفة كيفية تطور التسلسل الهيكلي نفسه عبر أكثر من أفق زمني.
________________________________________
• الإبطال الهيكلي
عند تفعيل دورة اختراق، يقوم المؤشر بتخزين قاع الهيكل الهابط المرتبط بذلك الاختراق ليصبح مرجع الإبطال الهيكلي.
يمكن أن تظهر حالة SL كالتالي:
• ACTIVE — توجد دورة هيكلية نشطة وما زالت أعلى مستوى الإبطال المخزن.
• BROKEN — أغلق الإطار المعني أسفل مستوى الإبطال المخزن.
• INACTIVE — لا توجد حاليًا دورة هيكلية نشطة مرتبطة بذلك المستوى.
وقبل وجود دورة نشطة، يمكن أن تعرض خانة SL قاع الهيكل الحالي كمرجع سعري.
هذه المستويات مراجع هيكلية محسوبة بواسطة المؤشر، ولا تحدد حجم الصفقة أو مقدار التعرض في الحساب أو مستوى المخاطرة المناسب للمستخدم.
________________________________________
• حساب الأهداف الأساسية
عند إنشاء دورة اختراق هيكلي جديدة، يتم تخزين قمة وقاع الهيكل المرتبط بها.
يتم حساب المدى كالتالي:
المدى = قمة الهيكل - قاع الهيكل
ثم:
• T1 = قمة الهيكل + مرة واحدة من المدى
• T2 = قمة الهيكل + مرتين من المدى
• T3 = قمة الهيكل + ثلاث مرات من المدى
يسجل المؤشر تحقق الهدف عندما يغلق الإطار الزمني المعني عند مستوى الهدف أو أعلى منه.
وقبل وجود دورة اختراق مؤكدة، يمكن أن يعرض الجدول أهدافًا تقديرية محسوبة من الهيكل الحالي.
تستخدم هذه المستويات لتوضيح المسار الهيكلي أمام السعر، بينما تبدأ متابعة تحقق الأهداف الفعلية بعد تفعيل دورة الاختراق.
________________________________________
• الأهداف الامتدادية
بعد تحقق T3 يمكن للمؤشر إنشاء تسلسل أهداف إضافي.
يتطلب تفعيل الامتداد وجود شمعة صاعدة مستوفية لشروط القوة تغلق عند T3 أو أعلى منه.
يتم استخدام قمة وقاع تلك الشمعة لتحديد مدى جديد، ومنه يتم حساب:
• EXT1
• EXT2
• EXT3
بعد إنشاء الامتداد يتم تثبيت مرجعه وأهدافه لدورة الامتداد الحالية، ولا يعاد حسابها من كل شمعة صاعدة لاحقة.
وبذلك يتم الفصل بين أهداف الهيكل الأساسي ومرحلة التوسع السعري اللاحقة.
________________________________________
• الدعم والمقاومة الديناميكية
تتغير خانات RS وSUP مع تقدم السعر خلال التسلسل الهيكلي.
قبل وجود دورة أهداف نشطة، تعمل القمة الهيكلية المسجلة كمرجع للمقاومة التالية.
بعد الاختراق، يتحول مستوى الاختراق الأصلي إلى مرجع دعم، بينما يصبح T1 المقاومة التالية.
ومع تحقق T1 ثم T2 ثم T3 وأهداف الامتداد، يقوم المؤشر بنقل مراجع الدعم والمقاومة عبر التسلسل.
ولذلك فإن RS وSUP يصفان الموقع الحالي داخل المسار الهيكلي للمؤشر، وليسا مستويات دعم ومقاومة ثابتة.
________________________________________
• حالة Action
تلخص خانة Action حالة منطق الصفقة اليومية داخل المؤشر.
الحالات الممكنة هي:
• WAIT — لا توجد دورة صفقة يومية نشطة.
• BUY — حدث اختراق هيكلي يومي جديد ومؤكد وقام بتفعيل الحالة البرمجية.
• HOLD — ما زالت الحالة اليومية نشطة ولم يغلق السعر أسفل مستوى الإبطال المخزن.
• TP — تم تأكيد أحد الأهداف اليومية المبرمجة أثناء بقاء الحالة نشطة.
• EXIT — أغلق السعر اليومي أسفل مستوى الإبطال الهيكلي المخزن.
كما يمنع المحرك إنشاء حالة BUY جديدة إذا كان الهدف اليومي الأول قد تم تسجيله بالفعل ضمن التسلسل المعني.
هذه المصطلحات أسماء لحالات برمجية داخل المؤشر، وليست أوامر تنفيذ لدى وسيط ولا تعليمات للمستخدم بالشراء أو الاحتفاظ أو جني الربح أو الخروج.
________________________________________
• تلوين الشموع متعدد الأطر
على الشارت اليومي يمكن للمؤشر تلوين الشموع اختياريًا وفق أعلى إطار زمني توجد عليه حالة اختراق نشطة.
ترتيب الأولوية هو:
Monthly → Weekly → Daily
وبالتالي:
• إذا كان Daily نشطًا يظهر لون اليومي.
• إذا كان Weekly نشطًا يأخذ الأولوية على اليومي.
• إذا كان Monthly نشطًا يأخذ الأولوية على الأسبوعي واليومي.
• إذا لم تكن أي من الحالات الثلاث نشطة، لا يغير المؤشر ألوان الشموع الأصلية للشارت.
الغرض من التلوين هو إظهار أعلى إطار هيكلي نشط بصريًا دون إضافة إشارات متكررة حول كل شمعة.
________________________________________
• سحابة Advanced Radar Control
تقدم سحابة Radar Control المتطورة قراءة للسياق الاتجاهي بشكل منفصل عن محرك D/W/M.
يحدد الرادار الشموع الاتجاهية القوية باستخدام العلاقة بين حجم جسم الشمعة ومجموع الظلال.
تغذي الشمعة الصاعدة المستوفية للشروط Bull Control، بينما تغذي الشمعة الهابطة المستوفية للشروط Bear Control.
وعندما لا توجد شمعة اتجاهية جديدة مستوفية للشروط، يتم الاحتفاظ بآخر قيمة.
ثم يتم تنعيم Bull Control وBear Control باستخدام EMA.
القيمة الافتراضية لطول Radar Control هي 11.
كما يقيس المؤشر المسافة بين Bull Control وBear Control مقارنة بـ ATR(14).
ويصنف الرادار البيئة الحالية إلى:
• Bull Control
• Bear Control
• Compression
• Transition
تظهر حالة Compression عندما تصبح المسافة المعيارية بين خطي السيطرة أقل من الحد المحدد، والقيمة الافتراضية هي 0.18 ATR.
تتطلب Bull Control وجود السعر أعلى الحد العلوي للرادار مع عدم انخفاض Bull Control.
وتتطلب Bear Control وجود السعر أسفل الحد السفلي للرادار مع عدم ارتفاع Bear Control.
أما الحالات الأخرى غير المصنفة كـCompression فتظهر كـTransition.
المنطقة الملونة بين Bull Control وBear Control تمثل سحابة Advanced Radar Control.
كما يوجد خط اختياري باسم Radar Slow Bias يعتمد على تنعيم إضافي لمتوسط خطي السيطرة بواسطة EMA بطول افتراضي 33، وهو مخفي افتراضيًا.
الرادار يصف الحالة الاتجاهية الحالية ولا يتنبأ باتجاه الشمعة التالية.
________________________________________
• Strength وAcceleration
يقيس المؤشر قوة الحركة الاتجاهية الحالية مقارنة بخط أساس حديث.
الحركة الاتجاهية الحالية هي:
Close - Open
ثم تتم مقارنة الحركة بمتوسط القيمة المطلقة لحركة الشموع الأخيرة خلال فترة افتراضية قدرها سبع شموع.
تمثل Strength قوة الحركة الاتجاهية الحالية مقارنة بخط الأساس الحديث.
أما Acceleration فيقيس التغير في Strength المعيارية مقارنة بالشمعة السابقة.
وتحول خانة Note هذه القراءات إلى أوصاف مثل:
• Explosive
• Strong
• Starting
• Fading
• Moderate
• Weak
• Reversing
• Dead
هذه الحالات تصف الزخم المحسوب داخل المؤشر، ولا تمثل احتمال نجاح أو Confidence أو Win Rate أو نسبة دقة.
________________________________________
• تنبيه Early Entry
يتضمن المؤشر شرط تنبيه مستقل باسم Early Entry.
ويتطلب:
• تقاطعًا مؤكدًا أعلى المستوى الهيكلي اليومي.
• وجود حالة اختراق أسبوعية نشطة.
• حالة Bull Control في الرادار.
• Acceleration إيجابي.
• وجود Strong أو Explosive ضمن تصنيف الزخم الإيجابي.
Early Entry هو شرط للتنبيه فقط، ولا يغير أو يستبدل محرك Action الرئيسي.
________________________________________
• لماذا تم جمع هذه المكونات؟
يستخدم Hunter DWM Control Pro حسابات معروفة في التحليل الفني مثل EMA وATR وقياسات أجسام وظلال الشموع ومدى السعر وبيانات الأطر الزمنية المتعددة.
ولا يتم تقديم هذه الحسابات الفردية باعتبارها أساليب جديدة بحد ذاتها.
يقوم السكربت بتنسيق تسلسل هيكلي واحد عبر Daily وWeekly وMonthly وربطه بمستويات الإبطال المخزنة، والأهداف المتتابعة، وأهداف الامتداد، والدعم والمقاومة المتغيرة، وحالات Action، وسياق الرادار، والقوة الاتجاهية المعيارية، وتلوين الشموع متعدد الأطر.
يحدد المحرك الهيكلي المستويات المرجعية، وتوضح محركات الأهداف والدعم والمقاومة كيفية تطور تلك المستويات بعد الاختراق، بينما يضيف الرادار وقياسات القوة سياقًا إضافيًا للحالة الاتجاهية والحركة الحالية.
وهذا الترابط هو سبب استخدام هذه المكونات معًا داخل السكربت.
________________________________________
• الإطار الزمني المقصود
تم تصميم دورة العمل الهيكلية الكاملة بصورة أساسية للشارت اليومي.
على الإطار اليومي يعرض المؤشر:
• خطوط D/W/M الهيكلية.
• مراجع SL.
• جدول الأطر الزمنية الكامل.
• حالات Action.
• تلوين الشموع وفق الأطر الزمنية.
أما حسابات الرادار والزخم فتستخدم بيانات الإطار الموجود على الشارت، لكن قراءة دورة D/W/M الكاملة مخصصة أساسًا للشارت اليومي.
________________________________________
• سلوك بيانات الأطر الزمنية
يتم تنفيذ حسابات Daily وWeekly وMonthly داخل الإطار الزمني الخاص بكل منها.
ويستخدم السكربت طلبات Multi-Timeframe مع تعطيل الوصول إلى بيانات مستقبلية.
مع ذلك، يمكن لقيم Weekly أو Monthly الحالية أن تتغير أثناء استمرار تكون شمعة الإطار الأعلى.
ولذلك يجب التمييز بين حالة إطار زمني أعلى ما زالت شمعتها قيد التكوين وبين حالة مبنية على شمعة مكتملة.
كما تتطلب أحداث BUY وEXIT اليومية تأكيد الشمعة الحالية.
________________________________________
• الجدول الرئيسي
يتضمن الجدول:
• TF — الإطار الزمني.
• Last High — القمة الهيكلية الحالية المسجلة.
• Breakout — حالة الاختراق الحالية.
• SL — مرجع القاع أو الإبطال الهيكلي.
• RS — المقاومة الحالية.
• SUP — الدعم الحالي.
• SL Stat — ACTIVE أو BROKEN أو INACTIVE.
• T1 / T2 / T3 — الأهداف التقديرية أو الأساسية أو الامتدادية حسب الحالة الحالية.
• Action — حالة الصفقة اليومية البرمجية الحالية.
________________________________________
• جدول الرادار
يتضمن جدول الرادار:
• Trend — UP أو DOWN أو COMPRESSION أو NEUTRAL.
• Accel — تغير القوة الاتجاهية المعيارية.
• Strength — القوة الاتجاهية الحالية مقارنة بخطها الأساسي.
• Note — الوصف البرمجي الحالي للزخم.
________________________________________
• الإعدادات
تشمل الإعدادات خيارات للتحكم في:
• ألوان Daily وWeekly وMonthly.
• تلوين الشموع حسب أعلى إطار اختراق.
• طول وعرض ونمط الخطوط الهيكلية.
• طول وعرض ونمط خطوط SL.
• حجم وشفافية التسميات.
• شكل وموقع الجدول الرئيسي.
• Radar Control EMA Length.
• Radar Bias EMA Length.
• Radar Compression Threshold.
• شفافية سحابة الرادار.
• ألوان Bull وBear Radar.
• إظهار أو إخفاء Radar Cloud.
• إظهار أو إخفاء Radar Slow Bias.
• حجم النص في جدول الرادار.
________________________________________
• التنبيهات
يتضمن السكربت شروط تنبيه لـ:
• BUY
• TP
• EXIT
• Early Entry
يعني التنبيه أن الشرط البرمجي المرتبط به قد تحقق.
ولا يقوم بتنفيذ أمر في السوق ولا يعني أن السعر سيتحرك لاحقًا في اتجاه معين.
________________________________________
• القيود
يعتمد Hunter DWM Control Pro على حسابات تحليل فني مشتقة من بيانات السعر.
قد يفشل الاختراق الهيكلي.
وقد لا يصل السعر إلى الأهداف المتوقعة.
وقد يتم إبطال حالة هيكلية كانت نشطة سابقًا.
كما يمكن أن تتغير حالات Radar وStrength وAcceleration مع وصول بيانات سعرية جديدة.
ويمكن أن تتغير قيم Weekly وMonthly أثناء استمرار تكون شموعها الحالية.
الأهداف التقديرية التي تظهر قبل الاختراق المؤكد هي إسقاطات هيكلية وليست سجلات لأهداف نشطة تم تحقيقها.
لا يأخذ السكربت في الاعتبار تنفيذ الوسيط أو السبريد أو الانزلاق السعري أو العمولات أو السيولة أو الرافعة المالية أو حجم الصفقة أو قواعد إدارة المخاطر الخاصة بالمستخدم.
المؤشر ليس Strategy للاختبار التاريخي ولا يحسب أو يعرض الربحية التاريخية أو Win Rate أو نسبة دقة للإشارات.
________________________________________
• إخلاء المسؤولية
Hunter DWM Control Pro هو أداة للتحليل الفني مقدمة لأغراض معلوماتية وتعليمية.
المستويات والحالات والأهداف والألوان والجداول والتنبيهات التي يعرضها هي نواتج لحسابات برمجية مطبقة على بيانات السوق.
ولا تمثل نصيحة مالية أو توصية بشراء أو بيع أو الاحتفاظ أو الخروج من أي أداة مالية.
يبقى المستخدم مسؤولًا عن تحليله وإدارة مخاطره وقراراته.
อินดิเคเตอร์

Sessions - New York, London & AsiaOVERVIEW
This indicator draws price range boxes for the main trading sessions (Asia, London/Europe, and New York) and an optional full-day box with daily high/low labels and open/close lines. It is a chart-context tool: it shows where price traded during each session window, not buy/sell signals.
PURPOSE / WHY THIS EXISTS
Many traders need a clear visual of:
1) which session produced the day’s high or low,
2) how large the session range was,
3) how sessions overlap (for example London–New York),
4) and where the daily open sits relative to those ranges.
This script combines three session range boxes with a daily structure layer (00:00–24:00 in a fixed timezone). The components are meant to work together so you can read session behavior against the same day’s overall range without stacking several separate scripts.
WHAT IT DOES
• Asia session box — tracks high/low while the Asia window is open; freezes the box when the session ends.
• London (Europe) session box — same logic for the London window.
• New York session box — same logic for the RTH-style New York window.
• Daily box — full calendar day high/low in the same timezone.
• Daily high/low labels — marks the bar time of the daily high and low.
• Optional daily open and close/last lines with labels.
Sessions are only drawn on intraday charts. On daily and higher timeframes, session boxes are disabled (the daily layer can still apply depending on your settings).
DEFAULT SESSION TIMES
All times use the America/New_York timezone (TradingView handles daylight saving for that zone). Defaults can be edited in the inputs:
• Asia: 20:00–05:00
• London (Europe): 03:00–12:00
• New York: 09:30–16:00
Overlaps are intentional. For example, Asia and London can share a morning window, and London and New York share a large mid-day window. The boxes stack so you can see concurrency visually.
HOW IT WORKS (CONCEPT)
1) Session membership
For each session, the script checks whether the current bar’s time falls inside the configured session string, evaluated in America/New_York.
2) Session start / end
• Session start: first bar that is inside the session after being outside.
• Session end: first bar that is outside the session after being inside.
3) Range tracking
While inside a session, the script updates running high and low from bar high/low. The live box left edge is the session start bar; the right edge follows the current bar. When the session ends, the box is fixed for that day/session instance and kept in an optional history list.
4) Daily layer
The daily open is taken from the 1D open of the symbol. Daily high/low are tracked from bar values until the New York calendar day changes, then the previous day is finalized as a historical daily box (if enabled).
5) Object limits
History depth is capped by internal safety limits so the chart does not exceed TradingView drawing object limits on low timeframes.
HOW TO USE IT
Typical workflow on a 1m–15m chart:
1) Load the symbol you trade (indices, FX, metals, etc.).
2) Keep default session times if your process is U.S.-anchored; otherwise edit the three session inputs.
3) Use GLOBAL visibility toggles if you only need one or two sessions on screen.
4) Compare the current New York (or London) box size to recent historical boxes of the same color — this is visual context for range expansion/contraction, not a trade rule by itself.
5) Use daily high/low labels to see whether extremes printed in Asia, London, or New York.
6) Use open/close lines if you track acceptance above/below the daily open as part of your own rules.
Suggested reading order on any day:
Daily structure first (open, D Hi, D Lo) → then session boxes → then your own entry method (structure, levels, etc.). This script does not define entries, stop-loss, or take-profit.
INPUTS (MAIN GROUPS)
• Session time strings and colors for Asia / London / New York.
• Per-session show historical vs current boxes; outline-only options.
• GLOBAL toggles for each session.
• Daily box: historical and current day display.
• Daily high/low labels and colors.
• Daily open/close lines and their labels.
COLORS (DEFAULT IDEA)
• Asia — yellow tones
• London — blue tones
• New York — red tones
• Daily — lime tones
Colors are customizable so you can match your chart theme.
WHAT THIS SCRIPT IS NOT
• Not a strategy and not a signal generator.
• Not a guarantee of profitable trades or future price direction.
• Not a replacement for risk management or a complete trading plan.
• Session times are conventions (liquidity-focused windows), not a claim that one session is inherently “better” to trade.
TIPS FOR A CLEAN CHART
• Publish/use with this script alone on the chart for clarity.
• Prefer outline-only if fills feel heavy.
• Reduce historical session display if the chart becomes crowded.
LIMITATIONS
• Session logic depends on the bar timeframe: on higher intraday TFs, box edges align to those bars, not tick-perfect open/close of the clock window.
• Some symbols have thin overnight liquidity; box size then reflects that microstructure, not “quality” of a setup.
• Past session ranges do not predict the next session’s range.
DISCLAIMER
This tool Sessions - New York, London & Asia is for educational charting and visual analysis only. Markets involve risk. Past behavior on a chart does not guarantee future results. Always validate any idea on your own charts and risk parameters. อินดิเคเตอร์

Session Sentinel [JOAT]A round-the-clock session watchtower — Asia, London and New York, each tracked live with its own range, rails and color.
◆ WHAT IT IS
Where price sits relative to the session ranges is core context for intraday trading — Asia builds the range, London and New York tend to expand it. Session Sentinel tracks all three sessions simultaneously, each with a live box, high/low rails and midline, in its own signature color. It is a pure context tool and prints no buy/sell signals.
This is 100% original code, written from scratch. It does not copy any other session script.
◆ HOW IT WORKS
1. Three independent watches. Each session (Asia, London, New York) has its own fully adjustable window and a shared timezone selector. As a session runs, the tool records its running high and low into a live box and draws:
• Session high/low rails — the levels other traders watch
• A midline — the session's equilibrium
• A name tag on the box
2. Session lifecycle. When a session ends, its box is finalized and archived. Only a configurable number of recent sessions are kept per watch, so history stays readable across all timeframes.
3. Day-open reference. A neutral daily open line provides a permanent intraday reference — price above or below the day's open is a simple, powerful bias filter.
◆ WHAT YOU SEE
• Live, color-coded session boxes — Asia, London, New York — with high/low rails and midlines
• A daily open reference line
• A resizable dashboard showing which watch is on duty, each session's high/low and range size, live/closed status, and the day open with price's distance above or below it
◆ HOW TO USE IT
• Use the Asia range as the reference other sessions break out of; London and New York frequently sweep or expand it.
• Session high/low rails act as intraday support/resistance and as breakout levels.
• The day open is a clean bias line — trading above or below it frames your directional lean.
• Adjust each session window to your instrument and exchange. Designed for intraday timeframes .
◆ NOTES & LIMITATIONS
Sessions are evaluated in the timezone you select — set it to match your market. On daily and higher timeframes the intraday session concept does not apply. This is a context tool, not financial advice; session levels are references, not predictions. Combine with your own method and risk management.
— made with passion by officialjackofalltrade
อินดิเคเตอร์

Range MTF LinesRange MTF Lines shows the direction of the current price range across four timeframes at once, as a compact strip in its own pane at the bottom of the chart.
How the range is defined
The first candle sets the initial range — its high and its low. The range stays alive for as long as candles keep closing inside it. The first candle that closes outside the range ends it, and that same candle's high and low immediately become the new range. Then it repeats.
Because every range is created by a close outside the previous one, each range is born with a direction:
Up (green) — it was created by a close above the old range
Down (red) — it was created by a close below the old range
Neutral (grey) — the very first range on the chart, which has no parent to break
What you see
Four rows, one per timeframe slot, at fixed heights: slot 1 on top, slot 4 at the bottom (defaults 5 / 15 / 30 / 60 minutes). Each row is coloured bar by bar with that timeframe's current range direction and is labelled with its timeframe at the right-hand end.
Because the rows live in their own pane at a fixed height, they never drift with price — you can zoom or scroll anywhere and the strip stays put and readable. Drag the pane divider to set how tall it is.
Reading it top to bottom tells you at a glance whether the short and long timeframes agree: all four green is broad one-way pressure, alternating colours means the lower timeframes are chopping inside a higher-timeframe range.
Settings
Row thickness — how chunky the rows are drawn
Tag rows with their timeframe — the label at the right end of each row
Per slot — show/hide, the timeframe, and separate colours for up, down and first range
Alert on break — per slot, fires on bar close when that timeframe forms a new range, and reports the new high and low
Each slot runs on its own timeframe independently of the chart's. A slot set to the chart timeframe is evaluated natively with no lag; higher timeframes are pulled in and track the live higher-timeframe bar.
Notes
This is a structure-reading tool, not a signal generator — it describes where price is relative to the ranges it keeps building, and nothing about the strip is predictive on its own. Ranges are decided on closes, so a wick outside the range does not end it. Companion script: Range Break Levels (MTF), which draws these same ranges on the candles themselves. อินดิเคเตอร์

TEWMA Trend Strength - [JTCAPITAL]TEWMA Trend Strength - is a modified way to use Triple Exponentially Weighted Moving Averages (TEMA), Weighted Moving Averages (WMA), Average True Range (ATR), and EMA smoothing to measure the strength and direction of a trend.
Instead of simply determining whether price is above or below a single moving average, the indicator measures how far the current closing price is positioned from a composite trend baseline and normalizes that distance by market volatility using ATR. This produces a dimensionless trend-strength value that can be compared across different volatility environments.
The indicator combines two independently calculated TEWMA structures using different lengths. The first TEWMA is built from the selected source using the primary length, while the second uses a longer dynamically calculated length. These two TEWMA values are then averaged into one composite baseline.
The resulting distance between price and this composite baseline is divided by ATR. This normalization is important because a fixed price distance does not have the same meaning in every market or volatility regime. A move of 500 points can be extremely significant during a quiet market while being relatively insignificant during a highly volatile market. By measuring the distance relative to ATR, the indicator expresses the displacement in terms of the market's recent typical movement range.
A second, EMA-smoothed version of this strength measurement is also calculated. This provides a slower representation of the underlying trend-strength state while the raw strength value remains more responsive to current price movement.
The result is an oscillator designed to show both trend direction and relative trend strength in a single framework.
The indicator works by calculating in the following steps:
Selecting the Price Source
The script begins with a user-selectable source, which defaults to the closing price.
This source is used as the foundation for the entire trend calculation. Because the source is configurable, the underlying calculation does not have to be restricted to the close. The selected source can be changed to other available price series depending on how the user wants the trend baseline to respond to market data.
Using a configurable source makes the underlying TEWMA calculation adaptable without changing the mathematical structure of the indicator.
Defining the Primary TEWMA Length
The user specifies the primary moving-average length through the Length parameter.
This length controls the first trend component of the indicator. A shorter length makes the underlying moving averages react more quickly to price changes, while a longer length produces a slower and more stable representation of the underlying trend.
The default value is 50.
Creating the Second TEWMA Length
The script then creates a second length by multiplying the primary length by the Multiplier parameter.
The calculation is:
Second Length = Primary Length × Multiplier
The resulting value is rounded to the nearest whole number because the moving-average functions require an integer length.
With the default settings:
50 × 2 = 100
Therefore, the first TEWMA uses a length of 50 while the second TEWMA uses a length of 100.
This creates two different trend perspectives: one more responsive and one slower.
Calculating the First Weighted Moving Average
The selected source is first processed through a Weighted Moving Average using the primary length.
A WMA assigns progressively different weights to the observations within its calculation window, giving more importance to more recent observations than older ones.
This means the WMA can react to recent price changes more quickly than a traditional SMA while still providing a smoother representation of price than using raw closing prices.
The first WMA therefore acts as the input into the first TEMA calculation.
Calculating the Second Weighted Moving Average
The same process is repeated using the dynamically calculated second length.
Because this length is normally larger than the primary length, the second WMA represents a slower-moving version of the underlying price structure.
With the default settings, the first WMA uses 50 periods while the second uses 100 periods.
This creates two different smoothing horizons before the data reaches the TEMA calculations.
Applying Triple Exponential Moving Average to the First WMA
The first WMA is passed through a Triple Exponential Moving Average (TEMA).
TEMA uses multiple stages of exponential smoothing to reduce the lag associated with conventional moving averages.
Conceptually, TEMA can be represented as:
TEMA = 3 × EMA1 - 3 × EMA2 + EMA3
Where:
EMA1 is the first EMA of the input.
EMA2 is an EMA of EMA1.
EMA3 is an EMA of EMA2.
The combination of these three stages is designed to reduce lag while retaining smoothing characteristics.
In this indicator, however, TEMA is not applied directly to raw price. It is applied to the already weighted price series produced by the WMA.
This creates a two-stage structure:
Price Source → WMA → TEMA
The resulting value is the first TEWMA component.
Applying Triple Exponential Moving Average to the Second WMA
The second WMA is independently passed through another TEMA calculation using the longer second length.
This produces the second TEWMA component.
The second component reacts more slowly because its underlying WMA uses a longer period. Consequently, it provides a broader representation of the market's trend structure.
The two components therefore serve different purposes within the same baseline:
* The shorter TEWMA provides a more responsive representation of the current trend.
* The longer TEWMA provides a slower representation of the broader trend structure.
Combining the Two TEWMA Components
The two TEWMA values are then averaged together.
The calculation is:
TEWMA = (TEWMA1 + TEWMA2) / 2
This creates a composite trend baseline rather than relying on only one moving-average length.
The benefit of averaging two different smoothing horizons is that the resulting baseline incorporates both a faster and a slower view of price structure.
The shorter component helps keep the baseline responsive, while the longer component provides additional stability.
This combination can reduce the dependence on a single arbitrary moving-average period and creates a more balanced representation of the underlying trend.
Calculating Average True Range
The script independently calculates Average True Range (ATR) using the user-defined ATR Length .
The default ATR length is 40.
ATR measures the recent trading range of the market while accounting for gaps between consecutive bars through the concept of True Range.
True Range is based on the greatest of:
* Current High minus Current Low
* Absolute value of Current High minus Previous Close
* Absolute value of Current Low minus Previous Close
ATR then smooths these True Range values over the selected period.
In this indicator, ATR is not being used as a traditional stop-loss or entry mechanism. Instead, it is used as a volatility normalization factor.
Calculating the Raw Trend Strength
The script measures the distance between the current closing price and the composite TEWMA.
The calculation is:
Strength = (Close - TEWMA) / ATR
This is one of the most important calculations in the indicator.
First, the script calculates:
Close - TEWMA
This determines whether price is above or below the composite trend baseline and by how much.
If the result is positive, the closing price is above the TEWMA.
If the result is negative, the closing price is below the TEWMA.
The difference is then divided by ATR.
This converts the raw price distance into a volatility-adjusted measurement.
For example, a distance of 100 price units does not have the same significance in a market with an ATR of 20 as it does in a market with an ATR of 200.
When ATR is 20:
100 / 20 = 5
When ATR is 200:
100 / 200 = 0.5
The same absolute price distance therefore produces very different strength readings depending on the market's volatility.
This is the primary reason for incorporating ATR into the strength calculation.
Interpreting the Zero Line
Because the strength calculation is based on Close - TEWMA , the zero line has a direct mathematical meaning.
When:
Strength > 0
the closing price is above the composite TEWMA.
When:
Strength < 0
the closing price is below the composite TEWMA.
Therefore, the zero line represents the point where price and the composite TEWMA are equal.
This makes the zero line the central directional reference of the oscillator.
Smoothing the Strength Measurement
The raw strength value is then passed through an Exponential Moving Average.
The smoothing period is controlled by Smoothing Length , which defaults to 50.
The calculation can therefore be represented as:
Smoothed Strength = EMA(Strength, Smoothing Length)
Unlike the raw strength measurement, which reacts directly to changes in the current price-to-TEWMA relationship, the smoothed line incorporates previous strength values.
Because EMA gives greater weight to more recent observations, it remains responsive while filtering out some of the shorter-term fluctuations in the raw oscillator.
This creates two complementary views:
* Raw Strength shows the more immediate price displacement from the TEWMA.
* Smoothed Strength shows a slower representation of the underlying strength condition.
Assigning the Raw Strength Trend Color
The raw strength line changes color according to whether its value is above or below zero.
When strength is positive, the line uses the bullish color.
When strength is negative, the line uses the bearish color.
The color therefore directly corresponds to the mathematical relationship between price and the composite TEWMA.
It does not represent a separate calculation or additional signal filter.
Assigning the Smoothed Strength Trend Color
The same directional concept is applied to the smoothed strength line.
When the smoothed strength is above zero, it receives the bullish color.
When the smoothed strength is below zero, it receives the bearish color.
This makes it possible to visually distinguish the current normalized strength state from the slower smoothed state.
Plotting the Raw Strength
The raw strength value is plotted as the primary oscillator.
Because the indicator is declared with overlay = false , the oscillator is displayed in its own pane rather than directly over the price chart.
The raw strength plot uses a thicker line to emphasize the more responsive component of the calculation.
Filling Between Raw Strength and Zero
The script also creates an invisible zero reference plot and fills the area between the raw strength line and zero.
The fill follows the same bullish or bearish color assignment as the raw strength line.
This makes positive and negative deviations visually easier to identify.
When the oscillator is above zero, the area between the strength line and zero represents positive displacement from the TEWMA.
When it is below zero, the corresponding area represents negative displacement.
Plotting the Smoothed Strength
The smoothed strength is plotted separately using a thinner line.
Because this line is an EMA of the raw strength, it reacts more gradually to changes.
This makes it useful for visually separating short-term fluctuations in normalized trend strength from the broader strength condition represented by the smoothed value.
Filling Between Smoothed Strength and Zero
The indicator also fills the area between the smoothed strength line and zero.
The fill color follows whether the smoothed strength is positive or negative.
Consequently, the oscillator visually contains two layers of information:
* The raw strength component.
* The smoothed strength component.
Defining the Upper Strength Threshold
The Upper parameter defines a positive threshold for the background strength condition.
Its default value is 1.
The script checks whether the raw strength exceeds this threshold:
Strength > Upper
When that condition is true, the chart background receives a bullish background highlight.
The same upper threshold is also applied to the smoothed strength:
Smoothed Strength > Upper
This means the background can identify situations where normalized strength has moved beyond the selected positive threshold.
Defining the Lower Strength Threshold
The Lower parameter defines the negative threshold.
Its default value is -1.
The raw strength is checked against:
Strength < Lower
and the smoothed strength is checked against:
Smoothed Strength < Lower
When either respective condition is met, the corresponding bearish background condition is applied.
The default range therefore places the main strength thresholds at approximately +1 and -1 ATR of normalized displacement from the composite TEWMA.
Background Regime Visualization
The script uses the threshold calculations to create background highlights on the chart.
The raw strength produces a bullish background condition when it exceeds the upper threshold and a bearish background condition when it falls below the lower threshold.
The smoothed strength uses the same threshold framework.
Values between the upper and lower thresholds do not receive the bullish or bearish threshold highlight.
This creates a visual distinction between ordinary positive/negative displacement and stronger normalized displacement.
Buy and Sell Conditions:
This indicator does not contain explicit buy or sell conditions, entries, exits, alerts, or trade execution logic.
Instead, it is designed as a trend-strength oscillator .
The primary directional interpretation comes from the zero line:
* When the raw strength is above 0, price is above the composite TEWMA.
* When the raw strength is below 0, price is below the composite TEWMA.
* When the smoothed strength is above 0, the smoothed trend-strength state is positive.
* When the smoothed strength is below 0, the smoothed trend-strength state is negative.
The upper and lower thresholds provide an additional measurement of the magnitude of the normalized displacement:
* Strength above the upper threshold indicates that price is positioned more than the selected positive ATR multiple above the composite TEWMA.
* Strength below the lower threshold indicates that price is positioned more than the selected negative ATR multiple below the composite TEWMA.
The smoothed line can be used to observe whether the broader strength condition agrees with the raw strength measurement.
For example, a user may choose to interpret a positive raw strength together with positive smoothed strength as stronger directional alignment than a positive raw strength value occurring while the smoothed measurement remains negative.
However, these are interpretations of the indicator's measurements rather than coded buy or sell rules. The script itself does not automatically define a trade entry simply because one of these conditions occurs.
This distinction is important because the indicator measures market structure and normalized trend strength rather than providing a complete trading strategy.
Features and Parameters:
* Source - Selects the price series used as the input for the WMA calculations. The default source is Close.
* Length - Defines the primary length used for the first WMA and TEMA calculation. The default value is 50.
* Multiplier - Multiplies the primary length to determine the second TEWMA length. The default value is 2. With a Length of 50, this produces a second length of 100.
* ATR Length - Determines the period used to calculate ATR for volatility normalization. The default value is 40.
* Smoothing Length - Determines the EMA period used to smooth the raw strength measurement. The default value is 50.
* Upper - Defines the positive normalized-strength threshold used for the bullish background condition. The default value is 1.
* Lower - Defines the negative normalized-strength threshold used for the bearish background condition. The default value is -1.
* Raw Strength - Displays the current ATR-normalized distance between closing price and the composite TEWMA.
* Smoothed Strength - Displays an EMA-smoothed version of the raw strength measurement.
* Zero Line - Represents the point where closing price is equal to the composite TEWMA.
* Threshold Backgrounds - Visually highlights situations where raw or smoothed strength exceeds the configured upper or lower thresholds.
Specifications:
Weighted Moving Average (WMA)
The Weighted Moving Average is a moving average that assigns different weights to the observations within its calculation period.
More recent values receive greater influence than older values.
Compared with a Simple Moving Average, which gives every observation the same weight, WMA emphasizes the more recent portion of the selected price history.
In this indicator, WMA is used as the first smoothing stage before the data enters the TEMA calculation.
This creates a smoother input for TEMA while retaining greater responsiveness to recent price changes than an equally weighted average.
Triple Exponential Moving Average (TEMA)
Triple Exponential Moving Average is a multi-stage exponential smoothing method designed to reduce the lag that can occur with conventional moving averages.
The underlying calculation uses three consecutive EMA stages:
EMA1 = EMA(Input)
EMA2 = EMA(EMA1)
EMA3 = EMA(EMA2)
These are combined approximately as:
TEMA = 3 × EMA1 - 3 × EMA2 + EMA3
The mathematical combination attempts to compensate for some of the lag introduced by repeated exponential smoothing.
In this indicator, TEMA is applied after WMA rather than directly to price.
This creates the specific structure:
Selected Source → WMA → TEMA
That combination is the basis of the indicator's TEWMA concept.
TEWMA
TEWMA in this script refers to the combination of a Weighted Moving Average and a Triple Exponential Moving Average.
Each TEWMA component is therefore produced through a WMA followed by TEMA.
The script creates two separate TEWMA values using different lengths.
The first uses the primary length.
The second uses the primary length multiplied by the user-defined multiplier.
The two resulting values are then averaged.
This gives the final baseline a combination of a faster and slower trend perspective.
Dual-Length TEWMA Structure
The indicator does not rely on a single TEWMA.
Instead, it calculates:
TEWMA1 = TEMA(WMA(Source, Length), Length)
and:
TEWMA2 = TEMA(WMA(Source, Length2), Length2)
where:
Length2 = round(Length × Multiplier)
The two values are then averaged.
This is important because a single moving-average length represents only one smoothing horizon.
The dual-length structure allows the composite baseline to incorporate both a more responsive trend component and a slower trend component.
The averaging process creates a single reference value from those two perspectives.
Composite TEWMA
The final TEWMA is calculated as:
TEWMA = average(TEWMA1, TEWMA2)
or mathematically:
TEWMA = (TEWMA1 + TEWMA2) / 2
This composite value acts as the central trend baseline of the entire indicator.
Every raw strength value is calculated relative to this baseline.
Therefore, the TEWMA is not simply plotted as a moving average for visual reference; it directly determines the numerator of the strength calculation.
Average True Range (ATR)
Average True Range is a volatility measurement that estimates the typical trading range of the market over a selected period.
It is based on True Range, which accounts for both the current candle's high-low range and gaps relative to the previous closing price.
The ATR is used here as a normalization factor .
This is a critical part of the indicator because the raw distance between price and TEWMA is not directly comparable across different volatility conditions.
Dividing the price displacement by ATR expresses the distance in volatility-adjusted terms.
The resulting value can therefore be interpreted as the approximate number of ATR units that price is positioned above or below the composite TEWMA.
ATR Normalization
The core normalization is:
(Close - TEWMA) / ATR
The numerator determines direction and absolute displacement.
The denominator determines the scale of the market's recent volatility.
This combination allows the indicator to transform a raw price difference into a normalized strength measurement.
A positive result means price is above the TEWMA.
A negative result means price is below the TEWMA.
The magnitude indicates how large that displacement is relative to ATR.
Strength
Strength is the primary oscillator produced by the script.
Its exact calculation is:
Strength = (Close - TEWMA) / ATR
This value combines three important concepts:
* Price direction relative to the trend baseline.
* Distance from the trend baseline.
* Current market volatility.
The result is a normalized oscillator rather than a value expressed directly in price units.
Zero Line
The zero line is mathematically significant because it represents the point where:
Close = TEWMA
If the closing price moves above the TEWMA, strength becomes positive.
If the closing price moves below the TEWMA, strength becomes negative.
The zero line therefore separates positive and negative trend displacement.
EMA
The Exponential Moving Average assigns more weight to recent observations while retaining information from previous values.
In this script, EMA is used to smooth the calculated strength rather than the original price.
This distinction is important.
The indicator first calculates the complete ATR-normalized strength measurement and only then applies EMA smoothing.
The structure is therefore:
Price → TEWMA → ATR Normalized Strength → EMA
This allows the smoothing process to operate directly on the final trend-strength measurement.
Smoothed Strength
Smoothed strength is calculated as:
EMA(Strength, Smooth Length)
Because the input to the EMA is already normalized by ATR, the smoothed line represents the smoothed evolution of volatility-adjusted distance from the composite TEWMA.
This can help distinguish persistent strength from shorter-lived fluctuations in the raw oscillator.
The smoothing length determines how quickly the line responds.
A shorter smoothing length causes the smoothed measurement to react more quickly, while a longer smoothing length makes it more gradual.
Upper Threshold
The upper threshold determines when the strength measurement is considered sufficiently positive to trigger the bullish background condition.
With the default value of 1, the condition is:
Strength > 1
Because strength is normalized by ATR, this means the closing price is more than approximately one ATR above the composite TEWMA according to the current ATR calculation.
The same threshold is applied independently to the smoothed strength.
The threshold itself does not create a buy signal.
Lower Threshold
The lower threshold determines when the strength measurement enters the corresponding negative threshold region.
With the default value of -1, the condition is:
Strength < -1
This means the closing price is positioned more than approximately one ATR below the composite TEWMA.
The same concept is applied to the smoothed strength.
The lower threshold therefore acts as a normalized downside-strength boundary rather than a coded sell signal.
Volatility Normalization
Volatility normalization is one of the key concepts behind the indicator.
Without ATR normalization, the calculation would simply measure:
Close - TEWMA
That value is expressed in absolute price units.
By dividing it by ATR, the script asks a different question:
"How large is the price displacement relative to the market's recent typical range?"
This makes the strength value dependent on both price displacement and volatility.
That combination is particularly relevant when comparing periods in which the market's volatility changes substantially.
Trend Direction
The directional component of the indicator comes directly from the sign of the normalized strength.
Positive values indicate that price is above the composite TEWMA.
Negative values indicate that price is below the composite TEWMA.
The indicator therefore does not require a separate bullish/bearish calculation. Direction is inherently contained within the numerator of the strength formula.
Trend Strength
Trend strength is represented by the magnitude of the normalized value.
A value close to zero indicates that price is relatively close to the composite TEWMA when measured against ATR.
A larger positive value indicates greater positive displacement relative to ATR.
A larger negative value indicates greater negative displacement relative to ATR.
It is therefore important to distinguish direction from magnitude :
* The sign indicates which side of the TEWMA price is on.
* The magnitude indicates how far price is displaced relative to ATR.
Raw Strength vs. Smoothed Strength
The two oscillator components provide different information.
The raw strength responds directly to the latest relationship between closing price, TEWMA, and ATR.
The smoothed strength incorporates previous strength values through EMA smoothing.
This creates a useful distinction between immediate and persistent conditions.
A rapidly changing raw strength can reveal a developing change in the price-to-trend relationship, while the smoothed value can provide a slower representation of whether that change is becoming established.
The script therefore combines responsiveness and stability without requiring a second independent indicator.
Why Combine WMA and TEMA?
WMA and TEMA perform different roles in the calculation.
WMA provides weighted smoothing that places greater emphasis on recent observations.
TEMA then applies a multi-stage exponential smoothing structure intended to reduce lag compared with conventional moving averages.
Using them sequentially creates a trend baseline that is smoothed while still designed to remain responsive to changes in price.
The purpose is not simply to combine two moving-average names, but to create a specific transformation of the selected source before it is used in the strength calculation.
Why Use Two TEWMA Lengths?
A single moving-average length forces the indicator to represent trend using one specific time horizon.
The dual-length structure provides two different perspectives.
The shorter TEWMA can respond more quickly to changes in price structure.
The longer TEWMA changes more gradually and represents a broader trend component.
Averaging them produces the composite TEWMA used by the strength calculation.
This makes the baseline less dependent on a single smoothing horizon and combines faster and slower trend information into one reference value.
Why Combine TEWMA With ATR?
The TEWMA establishes the trend reference.
ATR establishes the volatility scale.
These measurements answer different questions.
The TEWMA asks:
"Where is the smoothed trend baseline?"
ATR asks:
"How large are the market's typical recent price movements?"
The strength calculation combines those two concepts by measuring the distance between price and trend baseline in ATR units.
This is what transforms the indicator from a simple moving-average distance oscillator into a volatility-adjusted trend-strength measurement.
Why Add EMA Smoothing to the Strength Measurement?
The raw strength calculation can fluctuate as price moves around the composite TEWMA.
Applying an EMA after normalization provides a second representation of that strength.
Importantly, the EMA is not smoothing the original price before the TEWMA calculation. It is smoothing the completed strength measurement.
This means the smoothed line represents the recent history of the normalized trend-strength state itself.
The combination therefore creates two layers:
Raw Strength = current normalized displacement
Smoothed Strength = smoothed normalized displacement
How the Components Work Together
The complete calculation can be simplified into the following chain:
Selected Source
↓
WMA using Primary Length
↓
TEMA using Primary Length
↓
TEWMA 1
And simultaneously:
Selected Source
↓
WMA using Primary Length × Multiplier
↓
TEMA using the Longer Length
↓
TEWMA 2
The two are then combined:
TEWMA 1 + TEWMA 2
↓
Average
↓
Composite TEWMA
At the same time:
High, Low and Close
↓
True Range
↓
ATR
The final strength calculation then becomes:
(Close - Composite TEWMA) / ATR
The resulting strength value is finally passed through:
EMA(Strength, Smoothing Length)
to create the smoothed strength measurement.
The entire indicator can therefore be summarized as:
Weighted price smoothing → TEMA lag reduction → dual-length trend baseline → ATR volatility normalization → strength oscillator → EMA strength smoothing
Visual Interpretation
The indicator uses several visual elements to make the calculations easier to interpret.
The raw strength line changes color according to whether it is above or below zero.
The smoothed strength line independently changes color according to its own relationship with zero.
The areas between each oscillator and the zero line are filled using the corresponding directional color.
The background highlights are reserved for conditions where the selected upper or lower threshold is exceeded.
This creates a visual hierarchy:
* Zero line = directional reference.
* Raw strength = immediate normalized displacement.
* Smoothed strength = slower strength state.
* Upper/lower thresholds = stronger normalized displacement regions.
* Background highlights = visual identification of threshold conditions.
Using the Indicator
The indicator can be used as a contextual trend-strength tool rather than as a standalone automated trading system.
The zero line can be used to identify whether price is currently above or below the composite TEWMA.
The raw strength can be observed when a trader wants a more responsive measurement of changes in the price-to-trend relationship.
The smoothed strength can be observed when a trader wants a slower representation of that same relationship.
The upper and lower thresholds can be adjusted to change how extreme a normalized displacement must become before the background highlights the condition.
Increasing the absolute threshold values makes the highlighted conditions more selective because a larger normalized displacement is required.
Reducing the absolute threshold values makes the threshold conditions easier to reach.
Similarly, changing the TEWMA lengths changes the responsiveness of the underlying trend baseline, while changing the ATR length changes the volatility reference used for normalization.
The smoothing length controls how quickly the smoothed strength responds to changes in the raw strength.
These parameters therefore influence different parts of the calculation rather than simply changing the same signal in different ways.
Important Considerations
This indicator measures the relationship between price, a composite TEWMA trend baseline, and ATR-based volatility.
It does not predict future prices and does not guarantee that a trend will continue after a strength condition appears.
A strong positive strength value means that price is currently positioned substantially above the composite TEWMA relative to the calculated ATR. It does not mathematically guarantee that price will continue higher.
Likewise, a strong negative value means that price is substantially below the composite TEWMA relative to ATR, but it does not guarantee continued downside movement.
The indicator also does not contain position sizing, stop-loss, take-profit, trade execution, or backtesting logic.
It should therefore be understood as a trend-strength and market-context tool , rather than a complete trading strategy.
Default Calculation Structure
With the default parameters, the indicator uses:
* Source: Close
* Primary Length: 50
* Multiplier: 2
* Secondary Length: 100
* ATR Length: 40
* Smoothing Length: 50
* Upper Threshold: 1
* Lower Threshold: -1
This results in a composite trend baseline constructed from 50-period and 100-period WMA-to-TEMA structures, followed by ATR normalization using a 40-period ATR and EMA smoothing of the resulting strength value using a 50-period EMA.
The default +1 and -1 thresholds represent positive and negative normalized displacement levels around the composite TEWMA.
Summary
TEWMA Trend Strength combines multiple calculations into one normalized trend-strength framework.
Rather than using a single moving average and simply checking whether price is above or below it, the script first constructs two TEWMA components using different lengths, averages them into a composite trend baseline, measures the distance between closing price and that baseline, and then normalizes that distance by ATR.
The result is a strength value where both direction and magnitude are meaningful.
The zero line identifies the side of the composite TEWMA on which price is currently positioned.
The magnitude of the value expresses that displacement relative to recent volatility.
The additional EMA smoothing provides a slower view of the strength condition, while the configurable upper and lower thresholds provide a visual way to identify larger normalized deviations.
The combination of WMA + TEMA creates the underlying trend representation, the dual-length structure combines faster and slower trend information, ATR converts the price displacement into a volatility-adjusted measurement, and EMA smoothing provides a second, slower representation of the resulting strength.
Together, these components form a single oscillator designed to help visualize trend direction, normalized trend strength, and the persistence of that strength within one calculation framework.
Enjoy!
อินดิเคเตอร์

Hybrid Breakout | VCP-Inspired TrendTrend Squeeze Breakout
Trend Squeeze Breakout is a trend-following momentum strategy designed to identify stocks in strong established uptrends that are consolidating into relatively tight trading ranges before attempting a breakout.
The strategy combines a simplified Minervini-style trend template, volatility contraction, volume confirmation, and stop-entry breakout execution. It is designed primarily for swing trading and is intended to participate in strong upward price expansions while filtering out many breakouts occurring in weak or declining trends.
Strategy Explanation
The strategy follows a simple sequence:
Identify a strong uptrend
A long setup requires:
Price above the 50-period SMA
50 SMA above the 150 SMA
150 SMA above the 200 SMA
200 SMA rising
200 SMA continuing to rise over the selected lookback period
50 SMA not declining
This establishes that the stock is already in a structurally bullish environment before considering an entry.
Identify a volatility contraction
The strategy looks for periods where recent price movement has become unusually tight.
It evaluates both:
Recent high-low range
Recent closing-price range
The high-low range is also compared with its historical percentile over the selected lookback period. This allows the strategy to identify relatively quiet consolidation periods rather than relying on a fixed volatility threshold alone.
Confirm volume
When the volume filter is enabled, breakout volume must exceed the moving-average volume baseline by the selected multiplier.
The default requirement is:
Volume > 20-period average volume × 1.2
This is intended to provide additional confirmation that the breakout is supported by meaningful participation.
Enter on a breakout
When the trend, contraction, and volume conditions are satisfied, the strategy places a stop-entry order above the recent high.
The default breakout lookback is 3 bars, allowing the strategy to attempt to enter as price moves through the recent consolidation high rather than simply buying while the stock remains inside the range.
Manage the position
Positions use tiered profit-taking:
25% closed at +10%
50% closed at +20%
Remaining position closed at +30%
Default stop loss at -8%
This allows the strategy to realize some profits during the initial move while maintaining exposure to larger momentum extensions.
Features
Trend Filter — 50/150/200 SMA bullish alignment
Long-Term Trend Confirmation — Requires the 200 SMA to be rising
Volatility Squeeze Detection — Identifies unusually tight recent ranges
Range Percentile Filter — Compares current volatility with historical volatility
Close-Range Filter — Detects tight price consolidation
Volume Confirmation — Optional volume expansion requirement
Stop-Entry Breakout — Enters only when price breaks the recent high
Tiered Profit Taking — Three configurable profit targets
Percentage-Based Stop Loss — Adjustable downside protection
Date Filter — Allows users to restrict backtests to a specific period
Configurable Parameters — Trend, volatility, volume, breakout, and risk settings can all be adjusted
Tips for Use
Use on liquid stocks
The strategy is generally better suited to liquid stocks and ETFs with sufficient trading volume. Extremely illiquid securities can produce unrealistic backtest results because of spreads and execution differences.
Start with daily charts
The strategy is particularly suited to identifying multi-day or multi-week momentum breakouts. Daily charts are a good starting point when evaluating the strategy.
Avoid optimizing every parameter
The many adjustable parameters make it possible to overfit the strategy to a particular stock or historical period. Test parameter changes across multiple securities and different market environments rather than optimizing exclusively for one chart.
Treat the volume filter as confirmation, not a guarantee
High volume can strengthen a breakout signal, but it does not guarantee that the breakout will succeed.
Test across different market conditions
Trend-following breakout systems typically perform differently during strong bull markets, corrections, sideways markets, and high-volatility periods. Evaluate results across multiple market regimes before relying on the strategy.
Pay attention to execution
The strategy uses stop-entry orders above recent highs. In live trading, gaps, slippage, spreads, and intrabar price movement can cause actual execution prices to differ from backtested results.
Important Note
This strategy is inspired by trend-template and volatility-contraction concepts, but it is not a complete implementation of a textbook VCP. It uses a simplified statistical contraction model rather than explicitly identifying multiple successive contractions, contraction depths, and their associated volume characteristics.
Backtest results are hypothetical and do not guarantee future performance. Always consider commissions, slippage, liquidity, position sizing, and market conditions when evaluating a strategy.
Recommended starting configuration: Daily timeframe, liquid stocks, default trend filter, volume confirmation enabled, and the default tiered risk-management settings.
กลยุทธ์

Positioning Flow Index by DGTPositioning Flow Index (PFI) - Price & Open Interest Positioning Analysis
Positioning Flow Index (PFI) is a positioning-analysis framework designed to evaluate how price movement and Open Interest interact to reveal changes in market participation and positioning.
Rather than interpreting price direction alone, PFI combines normalized Price and Open Interest changes to identify four distinct positioning regimes:
Long Buildup - Short Buildup - Short Covering - Long Unwinding
The indicator evaluates the magnitude and direction of both Price and Open Interest through Z-score normalization , allowing unusually strong changes to be distinguished from ordinary market fluctuations.
In addition to the Positioning Flow Index itself, PFI provides a Flow State , Signal Strength , Price Sentiment , and an optional State Ribbon to help traders interpret the underlying positioning environment.
The objective is not to produce a simple Buy or Sell signal, but to provide a structured view of whether price movement is being accompanied by increasing or decreasing market participation and how strongly those two dimensions are aligned.
The Positioning Flow Model
Price + Open Interest
Price and Open Interest provide two different perspectives on market behavior.
Price describes the direction and relative strength of the current price movement.
Open Interest describes the change in outstanding derivative positions and provides an additional dimension for evaluating whether market participation is expanding or contracting.
PFI normalizes both dimensions using Z-scores , measuring how unusual the current Price and Open Interest changes are relative to their recent history.
A positive Z-score indicates a move above its recent average, while a negative Z-score indicates a move below its recent average.
This allows the indicator to distinguish between ordinary price/OI fluctuations and more statistically unusual changes in positioning.
Flow State
The Flow State classifies the relationship between Price and Open Interest into four positioning regimes.
LONG BUILDUP (LB)
Price is rising while Open Interest is increasing.
This combination indicates upward price pressure accompanied by expanding participation, a condition commonly associated with new long positioning.
SHORT BUILDUP (SB)
Price is falling while Open Interest is increasing.
This indicates downward price pressure accompanied by expanding participation, commonly associated with new short positioning.
SHORT COVERING (SC)
Price is rising while Open Interest is decreasing.
Price is moving upward while outstanding positions contract, a condition commonly associated with short positions being closed.
LONG UNWINDING (LU)
Price is falling while Open Interest is decreasing.
Price is moving downward while outstanding positions contract, a condition commonly associated with long positions being closed.
When Price and Open Interest do not both exceed the required activity threshold, the market is classified as NEUTRAL .
Neutral does not mean that the market is inactive. It means there is insufficient synchronized Price + Open Interest evidence to assign one of the four directional positioning states.
Positioning Flow Index
The Positioning Flow Index provides a bounded -100 to +100 representation of positioning flow.
Its calculation combines the normalized Open Interest and Price changes through a selectable Flow Model.
Model A — OI × sign(Price)
Open Interest determines the magnitude of the flow while Price determines its direction.
This model emphasizes participation strength and can produce a strong reading even when the price movement itself is relatively small.
Model B — OI × Price
The Open Interest and Price Z-scores are multiplied directly.
This captures the interaction between both dimensions, but unusually large Price Z-scores can have a greater influence on the resulting flow.
Model C — Price Direction × OI Magnitude × Price Confirmation
Price determines directional pressure, Open Interest determines participation magnitude, and the absolute Price Z-score contribution is capped to reduce the influence of extreme price moves.
This model separates the directional role of Price from the participation role of Open Interest and is the default model.
The three models are intentionally provided as different ways of interpreting the same underlying Price/OI relationship rather than as competing signals.
Signal Strength
Not every Flow State carries the same level of evidence.
PFI therefore calculates a Signal Strength based on two independent components:
Participation — derived from the magnitude of the Open Interest Z-score.
Confirmation — derived from the magnitude of the Price Z-score.
Both components are capped at 2σ and combined using their geometric mean:
Signal Strength = √(Participation × Confirmation)
The result is expressed as a percentage and provides a measure of how strongly Price and Open Interest are moving together.
Higher values indicate stronger synchronized evidence.
Importantly, Signal Strength is not a probability that the current move will continue. It measures the strength of the evidence supporting the current Flow State.
Early Flow Warning & Confirmed Signals
PFI separates early developing conditions from confirmed state transitions .
Early Flow Warning uses the live, still-forming candle to identify a potential transition before the candle closes. These warnings are intentionally provisional and may change or disappear as Price or Open Interest changes during the candle.
Confirmed Flow Signals are evaluated only when the candle closes.
Once confirmed, the LB / SB / SC / LU marker is based on the completed candle and does not change afterward.
This distinction allows traders to see developing positioning changes early while maintaining a clearly defined, non-repainting confirmation layer.
The indicator therefore does not attempt to hide the natural evolution of live Price and Open Interest data. Instead, it explicitly separates early information from confirmed information .
Price Sentiment
The optional Price Sentiment component provides an independent view of price behavior.
Price movement is smoothed and normalized over its recent range, then expressed on the same -100 to +100 scale as the Positioning Flow Index.
This allows Price Sentiment and PFI to be compared directly:
Price Sentiment describes the current character of price movement.
PFI incorporates both Price direction and Open Interest positioning.
The two therefore answer different questions and can provide additional context when interpreted together.
Flow State Ribbon
The optional State Ribbon provides a continuous visual representation of the current Flow State directly on the main price chart.
Teal represents Long Buildup.
Red represents Short Buildup.
Yellow represents Short Covering.
Orange represents Long Unwinding.
Gray represents Neutral conditions.
The intensity of the ribbon is influenced by Signal Strength, allowing stronger positioning conditions to stand out visually without requiring additional labels on every bar.
Flow Dashboard
The optional Flow Dashboard summarizes the current positioning environment through five key readings:
• Flow State — the current Price/OI positioning regime.
• Signal Strength — the strength of synchronized Price + OI evidence.
• PFI — the bounded Positioning Flow Index.
• Price Z-Score — how unusual the current price movement is relative to its recent history.
• OI Z-Score — how unusual the current Open Interest change is relative to its recent history.
Together, these readings provide both the classification and the underlying measurements used to interpret it.
How to Read PFI
PFI is best used as a contextual positioning tool rather than a standalone entry system.
A strong Long Buildup suggests rising price accompanied by expanding Open Interest.
A strong Short Buildup suggests falling price accompanied by expanding Open Interest.
A strong Short Covering condition suggests rising price while Open Interest contracts.
A strong Long Unwinding condition suggests falling price while Open Interest contracts.
The Signal Strength helps distinguish stronger synchronized conditions from weaker ones, while the PFI provides a continuous measure of directional positioning flow.
As with all market-structure and positioning analysis, these states describe the current relationship between Price and Open Interest—they do not guarantee future price direction.
Important Notes
PFI is designed for markets where Open Interest data is available.
The Flow State is based on the relationship between Price and Open Interest and should not be interpreted as a direct measure of individual trader intent.
Early Flow Warnings are intentionally repaintable during the active candle because they use live, developing Price and Open Interest data.
Confirmed Flow markers are non-repainting because they are generated only after the candle has closed.
The selected Flow Model affects the PFI calculation, while the Flow State and Signal Strength provide separate measurements of the underlying Price/OI relationship.
Summary
Positioning Flow Index brings Price and Open Interest together into a structured framework for analyzing market positioning.
Rather than asking only "Is price going up or down?" , PFI asks a broader question:
"What is happening to market positioning as price moves?"
By combining Flow State , Signal Strength , Positioning Flow Index , Price Sentiment , and confirmed versus early signals , PFI provides a multi-dimensional view of positioning that can be incorporated into discretionary market analysis and existing trading frameworks.
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.
อินดิเคเตอร์

PDH/PDL + Absorption ("Iceberg" Proxy)Plots prior-day high/low and flags potential absorption (iceberg-style) activity at those levels: bars with abnormally high volume but abnormally tight range, occurring near a key level. High volume with little price movement suggests large resting orders are absorbing aggression without letting the level break — a classic footprint ahead of either a rejection or an eventual breakout once the absorbed side gives up.
What it plots
- Prior Day High (red line) / Prior Day Low (green line)
- Optional Premarket High/Low (orange/blue circles, 4:00–9:30 ET, off by default)
- Fuchsia triangle + "ABS" label with volume printed, on any bar flagged as absorption
Signal logic
A bar is flagged when all conditions are met:
1. Volume > user-defined multiple of its N-bar average (default 1.8x over 20 bars)
2. Range (high−low) < user-defined multiple of its N-bar average (default 0.6x over 20 bars)
3. (Optional, on by default) Close is within a user-defined tolerance of PDH or PDL
Inputs
- Show Prior Day High/Low — toggle
- Show Premarket High/Low — toggle
- Level Proximity Tolerance (points) — how close price must be to PDH/PDL to qualify; scale this to your instrument's typical range (tighter for MES/M2K, wider for ES/RTY)
- Volume Lookback / Range Lookback (bars) — averaging windows
- Volume Threshold (x average) — higher = rarer, stronger signals
- Range Threshold (x average) — lower = requires tighter compression
- Only Flag Near PDH/PDL — restrict signal to key levels vs. anywhere on chart
How to use it
This is a confirmation tool, not an entry trigger. An ABS flag at PDH/PDL means volume is being absorbed at that level without a clean break — treat it as "this level is being defended right now." Wait for the next bar(s) to resolve:
- Close pushes through the level on continued volume → likely real break, absorption failed
- Price rejects back away from the level → absorption held, fade back into range
An alert condition ("Absorption/Iceberg Detected") is included — right-click the indicator on the chart → Add Alert to get notified instead of watching manually.
Notes
- PDH/PDL are computed via request.security on the daily timeframe with lookahead_off, so they won't repaint.
- Defaults are a reasonable starting point, not calibrated to any specific instrument — backtest/observe before trusting the thresholds on a new symbol.
- Not a "true" iceberg indicator because it infers absorption from OHLCV (high volume + tight range) rather than reading the actual order book, so it can't confirm a hidden order exists — but it's a useful free proxy for spotting "high effort, low result" zones worth watching, especially layered with PDH/PDL, VWAP, or GEX levels. อินดิเคเตอร์
