策略

Footprint Lookback [Order Flow]A footprint shows the real buy and sell volume at every price inside a bar. Read candle by candle it is a wall of numbers you have to zoom into one bar at a time. Footprint Lookback takes a different angle: you pick a period — say one hour — and it aggregates the real footprint of the last hour of bars into a single, readable profile pinned to the right of your chart, between the window's high and low. The window rolls forward with each new bar. It is a factual aggregation of bid and ask volume, not a signal service — it shows you where, in price, real buying and selling happened over the period you chose, and leaves the read to you. It uses TradingView's native footprint data, which is available on the Premium and Ultimate plans.
HOW IT WORKS
A footprint records, for each bar, how much volume traded as buying (at the ask) and selling (at the bid) at each price level. Footprint Lookback reads that real data with a single request and aggregates it across a rolling window instead of showing it one candle at a time.
Rolling lookback window — you choose a period (for example, 1 hour). The tool converts it into a number of chart bars — the last N bars — and aggregates the footprint of those bars. The window slides forward as new bars close, so the profile always describes the most recent period. For performance the window is capped at 300 bars, and the tool marks on the chart when that cap is reached rather than silently shortening it.
The profile — a panel to the right of the last bar, bounded by the window's high and low. Each row is a price band: the real sell (bid) volume is drawn on the left, the buy (ask) volume on the right, shown by color intensity with the number on the outer edge. The row height is fixed and the number of rows follows the price range, so rows stay consistent and non-overlapping on any instrument and timeframe. Auto sizes the row height from ATR (volatility-adaptive); Manual lets you set ticks per row.
Point of Control and Value Area — the Point of Control (POC) is the price band that traded the most total volume. The Value Area expands outward from the POC until it covers your chosen share of the window's volume (default 70%). POC, VAH and VAL are drawn as levels extending to the right.
Diagonal imbalance — footprint imbalance compares the buy volume at one price against the sell volume at the level below it — the diagonal. When one side exceeds the other by your threshold, that cell is highlighted. Runs of consecutive same-side imbalances are boxed as stacked-imbalance zones (B-IMB for buy, S-IMB for sell).
Stats — a fixed corner box reads out the window's total volume, its delta (buy minus sell), and the buy/sell split.
If no footprint data is available — an unsupported symbol, a plan without footprint access, or a market with no real volume — the tool does not invent anything. It shows "No footprint data" and draws no profile.
A single footprint request pulls the real bid/ask volume rows for each bar; the last N bars of your chosen window are aggregated into price bands between the window's high and low
Each band shows real sell and buy volume by color and number; the Point of Control, Value Area, diagonal imbalances and stacked-imbalance zones are derived from the aggregated data
Confirmed bars stay fixed; the window rolls forward and the panel redraws at the latest bar — and where there is no footprint data, the tool says so instead of drawing
HOW TO READ
The profile answers one question: over the period you chose, at which prices did real buying and selling actually happen? Tall rows are prices that traded heavily; the Point of Control is the single price band that traded the most.
The Value Area (POC, VAH, VAL) marks the price range where the bulk of the volume changed hands — a common reference for where the market accepted value versus where it rejected it.
A row leaning strongly to the buy or sell side, or a highlighted diagonal imbalance, shows one side dominating at that price. It is a fact about what already happened inside the window, not a prediction.
Stacked-imbalance zones (B-IMB, S-IMB) mark a run of one-sided pressure across several prices. They describe an order-flow condition — not a buy or sell instruction.
The stats box gives the window totals: a positive delta means more volume traded into buys than sells over the period, negative the reverse. The tool maps the order flow; the read is yours.
INPUTS
Lookback period — the window the footprint is aggregated over (e.g. 60 = the last hour of chart bars).
Source granularity (ticks per row) — the resolution of the underlying footprint request; keep it fine for accurate aggregation.
Value Area % — the share of window volume the Value Area covers (default 70).
Imbalance threshold % — how far one side must exceed its diagonal opposite to count as an imbalance.
Row size mode / Manual ticks per row / ATR length — Auto sizes each row from ATR (volatility-adaptive); Manual fixes ticks per row. Either way the row count follows the range.
Max rows — a safety cap on the number of rows.
Panel — Gap from last bar, Panel width, Show numbers, Show stats box, Stats box position, Text size, Mark current price line: the placement and contents of the right-side panel.
Colors — buy, sell, lookback high/low, POC, current price line.
Value Area / Imbalance — Show POC/VAH/VAL, VAH-VAL color, Mark imbalance, Mark stacked-imbalance zones, Stacked count (how many consecutive imbalanced rows form a zone).
NOTES & LIMITS
This is an observation tool, not a forecast. It uses TradingView's native footprint data, which requires a Premium or Ultimate plan; on a symbol or plan where that data is not available, or a market with no real volume, it shows "No footprint data" rather than drawing something invented. It is a rolling-window footprint profile — it aggregates the available footprint of the last N bars into one profile — not a per-candle footprint. The volume it reads is only as good as the feed underneath it: on instruments with genuine traded volume (futures, crypto) it is at its most reliable, while on forex and CFDs the volume is tick volume (the number of price updates, not contracts traded), so the readings there are looser and should be treated with more caution. The lookback is capped at 300 bars for performance, and the tool marks on the chart when that cap is reached. The Point of Control, Value Area, imbalances and stacked-imbalance zones are a factual aggregation of what traded — not buy or sell instructions, and marking one says nothing about whether price will turn or continue. The profile is built from confirmed (closed) bars, which stay fixed; the live window updates to show the current state and the panel redraws at the latest bar, but past levels are not moved, and the footprint request reads completed data and does not leak the future. No profit, win-rate, or guarantee claim. Open-source under CC BY-NC-SA 4.0 — non-commercial use, attribution to ElisTools required for reuse or derivatives. TradingView (Pine v6) only. 指标

Market-Aware Moving AveragesMarket-Aware Moving Averages automatically switches its moving-average lengths based on the market the chart symbol belongs to, so you don't have to reconfigure it each time you move between Taiwan, the US, Japan, Korea, Europe, India, crypto, forex, and more.
Why this exists. Different markets follow different moving-average conventions. The US, Europe and India favor the round 50/200 set; Taiwan and Korea use the trading-day set (60 for a quarter, 240 for a year); Japan has its own 25/75 tradition. Changing lengths by hand on every switch is tedious and easy to forget. This script reads the symbol's country and type and applies the right set on its own.
What it plots. Five main lines covering week / month / quarter / half-year / year, plus optional secondary lines that are common but less central. Main and secondary use two distinct colors, and line width grows with period, so the longest (yearly) line is the thickest and least noisy.
Length sets by market:
US / Europe / India, and all non-stock instruments (default): 5 / 20 / 50 / 100 / 200; secondary 10 / 13 / 15 / 30
Taiwan / Korea: 5 / 20 / 60 / 120 / 240; secondary 10 (Korea also 90 / 180)
Japan: 5 / 25 / 75 / 100 / 200; secondary 10 / 15
How detection works. It uses Pine's syminfo.country and syminfo.type. Any stock without a mapped country, and every non-stock instrument (index, forex, crypto, futures, commodity), falls back to the default 5/20/50/200 set.
Settings. Override the auto-detection to force a specific system or fully custom lengths; switch between SMA and EMA; toggle each line; and change both colors. Secondary lines are hidden by default.
Note. Moving averages are lagging indicators and can give false signals in ranging markets. The length conventions used here are common market practices, not guarantees. This is a visualization tool, not financial advice. 指标

Level Range Scanner-WatchlistLevel Range Scanner — Watchlist
See how price is progressing toward your key levels across an entire watchlist at a glance. No more flipping between 18 charts wondering how much further a stock has to go before it tags premarket or prior-day levels — this scanner draws a live progress bar for every level on every symbol, so you can instantly see what's coiled and about to break.
WHAT IT DOES
Track up to 20 symbols in a single on-chart table. For each ticker it monitors four critical intraday levels and shows you, with a filling progress bar, exactly how close price is to breaking each one:
- PDH — Previous Day High
- PDL — Previous Day Low
- PMH — Premarket High
- PML — Premarket Low
When price has room to run, you see a partially filled bar (more fill = closer to the level). The moment a level breaks, the bar flips to a green dot (high broken) or red dot (low broken) so confirmed breaks jump out instantly.
HOW TO USE IT
1. Add the indicator to any intraday chart (1m–15m works best — it needs intraday data for premarket levels).
2. Open settings and type your tickers into Symbol 01–20. Leave slots blank to hide them.
3. Watch the table. Bars filling toward the top of a range = building pressure toward a breakout; bars filling toward the bottom = pressure toward a breakdown.
4. Set an alert (see below) and let it watch the list for you.
READING THE COLUMNS
- Ticker / Price / Volume — Symbol, last price, and accumulated session volume (auto-formatted K/M/B).
- % Change — Move vs. the prior close — green up, red down.
- PDH / PDL Break — Progress bar from the opposite level toward the prior-day high/low. Green/red dot on break.
- PMH / PML Break — Same idea, for the premarket high/low.
- Trend — Up arrow = price broke BOTH PDH and PMH (bullish trend established). Down arrow = broke BOTH PDL and PML (bearish). Warning icon = mixed / not yet confirmed.
The Trend column is the headline signal: an up or down arrow means a symbol has cleared both its daily AND premarket level in the same direction — a higher-conviction continuation setup than a single-level poke.
ALERTS
Use "LE Scanner Triggered." It fires whenever any watched symbol breaks both its premarket and prior-day level in the same direction (i.e. flips to an up or down arrow). Add it once and the scanner watches all 20 names for you in the background.
SETTINGS
- Table Size / Position — fit it anywhere on your layout.
- Show Empty Rows — keep or hide blank symbol slots.
NOTES
- Levels are calculated using extended-hours data (premarket/after-hours included), so PDH/PDL reflect the full trading day, not regular session only.
- Requires an intraday timeframe for the premarket columns to populate.
- Best on liquid stocks/ETFs where premarket and prior-day levels carry weight.
指标

AlgoSentry Smart Money Engine [Non-Repaint]AlgoSentry Smart Money Engine
A complete Smart Money Concepts toolkit built on a single rule: nothing is drawn until the candle closes. No repainting, no future leaks, no lookahead. What you see on historical bars is exactly what you would have seen live.
This is one coherent engine, not a bundle of disconnected tools — each layer feeds the next:
Market Structure -> Liquidity Sweep -> Fair Value Gap -> Break of Structure / Change of Character -> Order Block -> Premium / Discount -> Smart Money Score.
────────── What it reads ──────────
Market Structure
Swing highs and lows are detected with confirmed pivots. A swing only prints after a set number of closed bars on each side, so the structure labels (HH, HL, LH, LL) never move once drawn. Labels are off by default for a clean chart — the live bias is always in the dashboard.
Break of Structure & Change of Character
A break registers only when price closes beyond a confirmed swing level. Continuing the trend, it is a Break of Structure (BOS); reversing it after breaking the opposite level, it is a Change of Character (CHoCH). A line is drawn from the broken swing to the break candle.
Displacement Quality
Each break is graded Weak, Valid, or Institutional from candle body strength, ATR expansion, and — where available — volume expansion. It separates a real institutional move from a marginal one.
Liquidity Sweeps
Marked when price wicks beyond a prior swing but closes back inside it: a sell-side sweep below a swing low, a buy-side sweep above a swing high. Each swing is swept once, so the chart stays clean.
Fair Value Gaps
Three-candle imbalances are drawn as zones and tracked through their life — Fresh, Partially mitigated, Filled. Show active gaps only, or keep historical ones faded.
Order Blocks
After a confirmed break, the last opposite candle before that break becomes an order-block zone, tracked as Fresh, Touched, or Invalidated.
Premium / Discount
The last confirmed swing range is split into premium (upper), equilibrium (50%), and discount (lower) — context for where price sits inside its range.
Smart Money Score
A 0-100 context score from the confluence of structure, breaks, sweeps, imbalance, order-block proximity, and trend agreement, reading from Strong Bearish to Strong Bullish. It is a market-context score, not a buy or sell signal.
────────── Why it does not repaint ──────────
Every layer runs on confirmed, closed bars. Pivots require bars on both sides before they confirm. Breaks, sweeps, gaps, and blocks are all evaluated on candle close. There is no security() call, no higher-timeframe lookahead, and no recalculation that moves a past signal. Backtest behaviour matches live behaviour.
────────── How to use it ──────────
Read the dashboard top-down — bias, then the Smart Money Score for context, then the live phase (Accumulation, Expansion, Pullback, Distribution). Use BOS and CHoCH to read structural shifts, sweeps to spot liquidity grabs, and the Fair Value Gap and order-block zones as areas of interest. The optional EMA filter aligns events to the higher-timeframe trend. Alerts are available for every event, all candle-close confirmed.
────────── What it does NOT do ──────────
It does not predict price. It does not give buy or sell signals. It does not place trades or guarantee any outcome. It is a structural and contextual reading tool — the decisions and the risk are yours.
────────── Disclaimer ──────────
For educational and informational purposes only. This is not financial advice. Trading carries substantial risk of loss, and past behaviour does not guarantee future results.
Every signal is confirmed on candle close. No future leaks. No lookahead. 指标

Trend Structure & Untested LevelsTrend Structure & Tested Levels
Draws the swing trend as a zigzag, turns every swing into a support/resistance level, and tracks whether price has closed through it ("tested") or not ("untested").
Overview
A market-structure tool. It connects confirmed swing highs and lows into a clean zigzag trend line, then projects a horizontal level from each swing. Every level is classified by state — untested until a candle closes through it, after which the most recent break in each direction is flagged as Last Gained or Last Lost. The result is an at-a-glance map of the active structure and which levels are still in play.
What it does
Swing trend (zigzag). Connects confirmed pivot highs/lows into a trend line. A live, provisional leg always runs from the last confirmed pivot to the current price, so the structure reaches the current bar.
Automatic levels. Each swing high/low becomes a horizontal level — highs above price act as resistance, lows below price as support.
Tested vs untested. A level stays untested until a candle closes through it; a wick touch alone does not count.
Last Gained / Last Lost. The most recent resistance price closed above is tagged Last Gained (bullish break of structure); the most recent support price closed below is tagged Last Lost (bearish break).
Multi-timeframe
Levels — and the zigzag, in follow mode — can be drawn from the chart timeframe or any higher timeframe (e.g. D / W / M), labelled with a suffix such as (W). Higher-timeframe pivots are read without repainting forward-filled values and are anchored at the real pivot time, so an HTF level sits where it actually formed and runs horizontally across the whole chart.
Key settings
Pivot length — the master sensitivity control. Lower = a finer zigzag and more, smaller levels; higher = only the major structure.
Swing source — wicks (high/low) or candle bodies (open/close) to ignore wick spikes.
Zigzag follows levels timeframe — keep trend line and levels on one structure, or decouple the zigzag onto the chart timeframe.
Independent colours, line styles, widths, and a per-side cap on untested levels.
Notes
This is a visualisation of structure, not a signal or strategy — it says nothing about profitability; validate separately.
Repainting. Swings confirm pivot length bars after the fact, and the live leg moves with price until a new pivot confirms.
Not financial advice. 指标

Market Structure Pro+# Market Structure Pro+
**Market Structure Pro+** is a price-action-based market structure indicator designed to automatically identify trend shifts, Break of Structure (BOS), and Change of Character (CHoCH) events without relying on lagging oscillators or moving averages.
Built for traders who prefer reading market structure, this tool helps visualize the battle between buyers and sellers while highlighting key trend transitions in real time.
---
## Key Concepts
### Break of Structure (BOS)
A BOS occurs when price successfully breaks a previous swing high or swing low, confirming continuation of the current trend.
* **Bullish BOS (Green):** Indicates buyers remain in control.
* **Bearish BOS (Red):** Indicates sellers remain in control.
### Change of Character (CHoCH)
A CHoCH is the first warning sign that the current trend may be weakening.
It appears when price violates the most important structural level in the opposite direction, often preceding a trend reversal.
* Early reversal detection
* Trend exhaustion identification
* Confirmation before a new market phase begins
---
## What the Chart Demonstrates
Using the NIFTY 50 4H chart:
🚀 During the bullish expansion phase, Market Structure Pro+ continuously printed bullish BOS signals as price created higher highs and higher lows.
📈 The indicator remained aligned with the dominant trend, helping traders stay invested during the strongest part of the rally.
⚠️ Near the market peak, a CHoCH appeared before the larger decline developed, providing an early warning that bullish momentum was fading.
📉 As the downtrend matured, consecutive bearish BOS signals confirmed seller dominance and helped traders avoid fighting the trend.
🔄 Recent structural shifts indicate that traders should monitor upcoming BOS and CHoCH events for confirmation of the next directional move.
---
## Features
✔ Automatic Break of Structure detection
✔ Automatic Change of Character detection
✔ Bullish and Bearish trend identification
✔ Dynamic structure labeling
✔ Reduced chart noise
✔ Suitable for Smart Money Concepts (SMC) workflows
✔ Multi-timeframe compatibility
✔ Works on Forex, Crypto, Stocks, Indices, and Commodities
---
## Best Timeframes
* 15 Minutes
* 1 Hour
* 4 Hours
* Daily
* Weekly
Higher timeframes generally provide stronger structure signals and fewer false breaks.
---
## How to Use
### Bullish Setup
1. Wait for a bullish CHoCH or bullish BOS.
2. Confirm higher-high and higher-low formation.
3. Look for pullbacks into support or demand zones.
4. Manage risk below the latest structural low.
### Bearish Setup
1. Wait for a bearish CHoCH or bearish BOS.
2. Confirm lower-high and lower-low formation.
3. Look for pullbacks into resistance or supply zones.
4. Manage risk above the latest structural high.
---
## Who Is It For?
* Price Action Traders
* Smart Money Concept Traders
* Swing Traders
* Position Traders
* Trend Followers
* Market Structure Analysts
---
## Notes
Market Structure Pro+ focuses on objective price structure rather than predictive signals. It is designed to help traders understand what the market is currently doing rather than forecast what it might do next.
For best results, combine market structure signals with:
* Support and Resistance
* Volume Analysis
* Liquidity Zones
* Risk Management Rules
---
**Market Structure Pro+ provides a clean and systematic approach to identifying trend continuation and reversal events through BOS and CHoCH analysis, helping traders stay aligned with the dominant market structure.** 指标

指标

指标

指标

指标

指标

Active Pair Currency Strength¡Uff, sí! Se hizo un "licuado" total de texto al pegar. Eso pasa porque el editor de TradingView a veces ignora los saltos de línea simples si vienen muy juntos y no soporta ecuaciones complejas en LaTeX (así que los símbolos como \frac y \text se ven rarísimos en la pantalla).
Aquí tienes la versión completamente limpia, estructurada con títulos claros, viñetas y matemáticas en texto plano legible para que cuando lo pegues se vea impecable, ordenado y muy profesional.
Asegúrate de dejar un espacio en blanco (un doble Enter) entre cada párrafo al pegarlo si ves que el editor de TradingView intenta juntarlos de nuevo.
📝 Copia y pega el siguiente bloque de texto en inglés:
📊 What is "Active Pair Currency Strength"?
This indicator is a professional-grade relative strength oscillator designed to identify true market divergences and trend reversals in Forex pairs.
Unlike traditional currency strength meters that isolate only the two components of your current chart—causing massive USD volatility to distort the lines—this script calculates a global 8-currency matrix in the background.
To keep your workspace 100% clean and focused on your trading execution, it visually renders only the two lines corresponding to your active chart's pair. Inspired by advanced macro analysis dashboards like MarketMilk (Babypips), this indicator strips away the overwhelming USD background noise and dynamically auto-adjusts the Y-axis scale so micro-divergences become instantly scannable.
🧮 How the Math Works (Why it’s a game-changer)
To completely eliminate USD-dominance bias, the script runs a global basket normalization algorithm on every single bar:
Simultaneous Multi-Asset Fetching: No matter which pair you are actively viewing, the script requests backend data for the 7 major currencies against the USD (EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCAD, USDCHF, USDJPY).
Raw Return Calculation: It measures the percentage return of each currency based on your selected lookback window (22-bar rolling window by default, representing 30 calendar days of trading). The raw return of the USD itself is strictly benchmarked at 0.0.
Global Average Normalization: The script calculates the arithmetic mean of the entire currency market:
Global Average = (Sum of all 8 currency returns) / 8
Extracting True Strength: It subtracts this Global Average from each individual currency's raw return:
True Strength = Raw Return - Global Average
By removing the overall market's average drift, the USD stops being a flat line at zero and fluctuates dynamically. More importantly, the indicator's Y-axis contracts dramatically (auto-zooming in). This amplifies the micro-divergences between your chart's two currencies, forcing them into an elegant "mirror effect" around the zero line.
5. Exclusive Display Filtering: It detects the base and quote currencies of your active chart and instantly hides the other 6 currencies, leaving you with a laser-focused, distraction-free panel.
🛠️ Key Features & Inputs
Data Source Selector: Easily toggle between Spot Forex (utilizing dynamic broker feeds) and CME Futures (Pro) (utilizing institutional, high-liquidity continuous futures contracts like 6E1!, 6B1!, 6J1!, etc.).
Flexible Anchor Modes:
Rolling Period: A continuous lookback window of N bars (Set to 22 or 30 to track the classic "last 30 days" look).
Weekly Anchor: Every line resets strictly to 0.0 at Monday's market open, allowing you to track intra-week capital flows.
EMA Smoothing Filter: An optional moving average layer to shave off erratic price noise and algorithmic spikes, converting raw data into highly readable, organic curves without introducing critical execution lag.
📈 How to Trade with this Tool (Visual Strategy)
Trend Confirmation (The Mirror Effect): A healthy, strong trend is confirmed when the Base and Quote lines expand symmetrically in completely opposite directions away from the zero equilibrium line.
Line Crossover (Early Reversal Trigger): When the Base currency line crosses over the Quote currency line at overextended historical extremes, it serves as a high-probability warning of an impending structural shift on the main price chart.
Divergence Exhaustion: When the vertical distance between the two lines becomes unsustainably wide, the market "rubber band" is stretched to its limit. This is your cue to look for price action reversal triggers, as a retracement or consolidation is highly imminent. 指标

Session LevelsPlots the High/Low of the three major sessions, the previous FULL trading day's High/Low, the all-time high, and fires sweep alerts when price takes out any of these levels.
ROLLING WINDOW:
// Each session shows only the CURRENT trading day's level plus the previous
// trading day's level -- never older -- so old session lines stop piling up
// and crossing each other.
//
// WEEKLY RESET:
// A trading day starts at 18:00 ET (CME open / Asia open). At the Sunday
// 18:00 ET weekly open every session line is wiped for a clean week.
//
// HOLIDAY AWARENESS:
// The previous-day references (PDH/PDL, the rolling session "previous day",
// and the Monday RTH/Post-market refs) skip US market holidays AND early-close
// half-days (Juneteenth, July 3, Black Friday, Christmas Eve...) and pull from
// the most recent FULL session instead. Holidays are computed algorithmically
// (incl. Good Friday via computus and the NYSE Sat->Fri / Sun->Mon observed
// rules), so there is no yearly list to maintain. Example: the Mon after a
// Juneteenth Friday references Thursday.
// PDH/PDL use a CALENDAR-day (midnight) boundary by default so the prior
// evening's overnight move is NOT lumped into the day -- switch to "RTH only"
// in the inputs if you prefer the cash-session high/low. They draw as a single
// line spanning only the live reference, not a step across all history.
//
// MONDAY REFERENCES:
// Monday's "previous day" is the weekend, so it shows the last full day's
// RTH High/Low and Post-market High/Low for context. These clear Mon evening.
//
// SWEEP ALERTS (new):
// Alert conditions fire when price sweeps a session High/Low (after that
// session closes), the PDH/PDL, or makes a new all-time high. 指标

Dealer Pin Release Map [ZOM]Dealer Pin Release Map is an intraday dealer-magnet model for traders who want a cleaner read on pinning, fade pressure, and volatility release around synthetic strike levels.
The script estimates the nearest live magnet from a configurable strike step, then scores pin pressure using price proximity, ATR compression, relative participation, and synthetic delta pressure. When price compresses around the magnet, the tool highlights the active pin. When price rejects the pin edge or expands away from a prior pin state, it marks potential fade or release conditions.
What it shows:
- Live pin magnet: the current strike-style level price is clustering around.
- Release rails: upside/downside levels where a pinned auction can begin to unwind.
- Pin Fade signals: wick and delta-confirmed rejection from the pin edge.
- Gamma Release alerts: expansion signals after prior pin pressure, relative volume, and directional delta confirm.
- Dashboard: current state, magnet, pin score, release energy, relative volume, and delta pressure.
This is intentionally not a traditional moving-average or support/resistance indicator. It is built to frame the auction as a dealer-style pin/release map, especially on liquid futures and index products where round-number and strike-style magnets can matter.
Notes:
- The model uses proxy calculations from price, volume, ATR, and candle location. It does not read live options open interest or broker order flow.
- Best used with liquid symbols and sensible strike steps, such as 25 or 50 points on major equity index futures.
- Signals are contextual. Use the rails and dashboard as a map, not as standalone financial advice.
指标

Iceberg Detector [JOAT]ICEBERG DETECTOR
A hidden-liquidity detector that infers iceberg orders from their footprint on the tape — without needing direct L2 data. The detection pattern is well-known to professional tape readers: the same price level being repeatedly tested by long wicks, with above-average volume, and price each time getting rejected back in the opposite direction. That repeated-rejection pattern is the visible signature of an iceberg — a large resting order broken into smaller slices to hide its true size. This script catches the pattern, clusters the tests, paints the zone, and tells you when the iceberg gets broken or eaten.
Detection — five gates, all required
A bar is a candidate iceberg test only when every one of these is true:
Long wick — wick-to-body ratio above the configurable threshold (default 0.75). The wick is the visible rejection; the body is the failed push.
Local extremum — the wick reached a local high or low over the configurable pivot lookback (default 5 bars). A wick that did not actually probe new territory does not count.
Above-average volume — bar volume must exceed volume average × multiplier (default 1.0×). Real absorption needs real size hitting the tape.
Wick rejection bias — the candle must close in the rejection direction (opposite of the wick).
Cluster within tolerance — at least N (default 2) of these qualifying tests must occur within ATR × tolerance of the same level inside the detection window (default 40 bars).
Only when all five gates pass does the script paint a zone. The wick rejection bias % input controls how strict the rejection-direction filter is; raising it to 70%+ makes the zone confirmation slower but cleaner.
Cluster-aware level building
When two or more qualifying tests fall within ATR-multiplier tolerance of each other, they are clustered into a single zone whose vertical extent (configurable in ATR units) covers the cluster. This means an iceberg sitting at 4382.50–4383.25 is rendered as a single horizontal band, not two separate ticks — which is how a real iceberg would actually appear on the tape.
Visual system
Iceberg zone — a horizontal band rendered in the cool-blue palette (deep void → pale violet gradient) with configurable opacity.
Glow layers — N (configurable, default 4) stacked transparent boxes behind the zone produce a soft glow border.
Pulse animation — for a configurable number of bars after a fresh test, the zone's transparency oscillates to highlight that the iceberg has just been re-tested. Toggleable.
Test ticks — small markers at each individual test bar inside the zone.
Test count badge — small number tag showing how many tests have hit the level.
Right extension — configurable bar count for forward zone projection.
A locked Void palette (cool violet gradient on a deep void ground) gives the chart a distinctive hidden-liquidity identity.
Lifecycle — persist, archive, break
Every iceberg has three life stages:
Active — currently in front of price and being honoured. New tests add ticks and trigger pulse animations.
Broken — price closed through the level by Break Distance × ATR (default 0.5 ATR). The zone moves to the muted broken-archive palette and stays on the chart for brokenStaleBars (default 150) bars so you can see where structure failed.
Stale — older than the archive lifetime, automatically removed.
A maximum-concurrent-icebergs cap (default 12 active) and a max-broken cap (default 8) keep the chart legible.
Dashboard
Monospaced table, positionable to any of nine corners, surfaces:
Active iceberg count, broken count.
Nearest iceberg level with side (resistance / support), distance in ticks or %.
Test count and age of the nearest iceberg.
Last broken event with bars-ago tag.
Alerts
Three alert conditions, each independently controllable:
New Iceberg Detected — fires the bar an iceberg is first confirmed (all five gates pass).
Iceberg Re-Tested — fires when an existing iceberg gets another qualifying test.
Iceberg Broken — fires when price closes through by the break-distance threshold.
How to read it
Two reads, in order of conviction:
Active iceberg in front of price is your immediate liquidity wall. Faded iceberg the market keeps probing without breaking = strong demand-side or supply-side hidden order. Use as a context level — fade touches if your bias is reversal, expect continuation through if your bias is breakout.
Iceberg Broken alert is your highest-conviction directional event. A hidden order has been eaten through, meaning the side that was holding it has either pulled it or been exhausted — either way, the resistance / support is gone, and the move that follows is unencumbered by the absorbed liquidity.
Suggested settings
Defaults (2 minimum tests, 40-bar detection window, 0.5 ATR cluster tolerance, 0.75 wick/body ratio) are tuned for 5m–1H on liquid markets. For lower-timeframe scalping, lower the wick/body ratio to 0.5 and raise the volume multiplier to 1.5×. For higher-timeframe macro reads, raise minimum tests to 3 and widen the detection window to 100+ bars.
Originality
The implementation — the five-gate detection (wick + extremum + volume + rejection % + cluster tolerance), the ATR-cluster level-builder, the cool-palette glow layers, the post-test pulse animation, the break-distance lifecycle with archive, and the test-count badge rendering — is JOAT-original and tuned together. No third-party code reused. The hidden-liquidity / iceberg concept is well-known to tape readers; the detection pipeline here is built specifically for chart-based bar data without requiring L2 access.
Limitations
Pine indicators cannot read L2 order book data. Iceberg Detector infers iceberg presence from the visible tape footprint — long-wick rejection candles, clustered at a level, with above-average volume, all closing in the rejection direction. This is the accepted public-market inference pattern but it is by nature an inference, not a direct observation. The script can produce false positives on instruments with naturally wicky candles and false negatives on instruments where icebergs are filled too quickly to show as multi-bar tests. On low-volume instruments the volume gate may need to be raised to compensate.
—
Open source- The five-gate detection pipeline, the ATR-cluster level-builder, the post-test pulse compositor, and the lifecycle-with-archive state machine are proprietary. Free to use; behaviour is fully described above.
—
-made with passion by jackofalltrades
指标

指标

指标

AlgoAI SuperTrend Volatility Tracker╔═══════════════════════════════════════════════════════════╗
║ 🚀 ALGOAI SUPERTROND VOLATILITY TRACKER ║
║ Adaptive ATR-Based Trend Following System (SuperTrend) ║
╚═══════════════════════════════════════════════════════════╝
🔥 FREE INDICATOR - UPGRADE TO ALGOAI PRO: algoai.store
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS SUPERTROND?
SuperTrend is ONE OF THE MOST POPULAR trend-following indicators used by professional traders worldwide!
It uses ATR (Average True Range) to create ADAPTIVE bands that:
✅ Follow price during trends
✅ Stay away during choppy markets
✅ Automatically flip when trend reverses
This is DIFFERENT from EMA/MACD indicators - SuperTrend is PURE price + volatility!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 HOW SUPERTROND WORKS:
1. Calculates ATR (volatility measure)
2. Multiplies ATR by your multiplier (default 3.0)
3. Places band ABOVE price (bearish) or BELOW price (bullish)
4. Band stays until price BREAKS through it
5. When price breaks band → TREND FLIPS
KEY ADVANTAGE: SuperTrend ADJUSTS to market volatility!
• High volatility = Wider bands (less fake signals)
• Low volatility = Tighter bands (catch trends faster)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 CHART VISUALS:
📊 SUPERTROND LINE (Main Signal):
• TEAL line = Bullish trend (below price)
• VIOLET line = Bearish trend (above price)
• Thick line (3px) - easy to see
🟢 LIME BACKGROUND = Bullish trend
• Price ABOVE SuperTrend line
• Trade LONG only
🔴 CRIMSON BACKGROUND = Bearish trend
• Price BELOW SuperTrend line
• Trade SHORT only
🟢 "AlgoAI 🟢 BUY" = Trend flipped BULLISH
🔴 "AlgoAI 🔴 SELL" = Trend flipped BEARISH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ TRADING STRATEGY:
LONG SETUP (BUY):
1. Wait for LIME background (bullish SuperTrend)
2. Look for "AlgoAI 🟢 BUY" label (trend flip)
3. ENTER when price closes above SuperTrend line
4. STOP loss = Below SuperTrend line (auto-trailing!)
5. EXIT = When background turns CRIMSON
SHORT SETUP (SELL):
1. Wait for CRIMSON background (bearish SuperTrend)
2. Look for "AlgoAI 🔴 SELL" label (trend flip)
3. ENTER when price closes below SuperTrend line
4. STOP loss = Above SuperTrend line (auto-trailing!)
5. EXIT = When background turns LIME
的神奇 feature: SuperTrend line = YOUR trailing stop!
• In longs: Stop always below SuperTrend
• In shorts: Stop always above SuperTrend
• Automatically trails as trend progresses!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 SETTINGS EXPLAINED:
ATR Period (default 10):
• Lower (5-7) = Faster signals, more fakeouts
• Higher (14-20) = Slower signals, fewer fakeouts
• Recommendation: 10 for day trading, 14 for swing
Multiplier (default 3.0):
• Lower (2.0-2.5) = Tighter bands, more signals
• Higher (3.5-5.0) = Wider bands, fewer signals
• Recommendation: 3.0 for most markets
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏱️ BEST TIMEFRAMES:
• SCALPING: 1-min, 3-min (crypto, forex)
• DAY TRADING: 5-min, 15-min, 30-min (all markets)
• SWING TRADING: 1-hour, 4-hour (stocks, crypto)
• POSITION TRADING: Daily (long-term trends)
SuperTrend works on ANY timeframe!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌍 BEST MARKETS FOR SUPERTROND:
✓ Crypto (BTC, ETH - very trend-friendly)
✓ Forex (EUR/USD, GBP/USD during trends)
✓ Stocks (trending stocks, ETFs)
✓ Futures (S&P 500, Nasdaq, Oil)
SuperTrend is ESPECIALLY good for:
• Crypto (strong trends, high volatility)
• Forex majors (clean trends)
• Trending stocks (momentum plays)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 SUPERTROND PERFORMANCE STATS:
Professional traders report:
• Win Rate: 65-75% (in trending markets)
• Average R:R: 2.5:1 (trailing stop helps!)
• Best Markets: Crypto, Forex majors
• Worst Conditions: Choppy/neutral markets
KEY: SuperTrendEXCELLS in trends, fails in chop!
→ Use with trend filter (like our other AlgoAI indicators)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔓 FREE vs PRO COMPARISON:
FREE (This Indicator) PRO VERSION at algoai.store
──────────────────────────────────────────────────────────
✓ SuperTrend basic ✓ + AI SuperTrend Optimization
✓ ATR-based bands ✓ + Multi-Timeframe SuperTrend
✓ Buy/Sell signals ✓ + Auto-Trailing Stop Calculator
✓ Trend flip alerts ✓ + Tradovate/NT8 Auto-Trading
✓ Lime/Crimson colors ✓ + Custom ATR Settings
✓ + SuperTrend + RSI Combo
✓ + Priority Support
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 WHY PROFESSIONALS USE SUPERTROND:
1. SIMPLICITY: One line tells you everything
2. ADAPTIVE: Adjusts to volatility automatically
3. TRAILING STOP: Line = your stop loss
4. TREND FLIPS: Clear entry/exit signals
5. NO LAG: Based on price, not delayed averages
SuperTrend is used by:
• Retail traders (easy to use)
• Prop desks (reliable trends)
• Hedge funds (volatility-based)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 GET ALGOAI PRO NOW:
→ algoai.store
Complete SuperTrend system:
• AI-optimized ATR settings
• Multi-timeframe confirmation
• Auto-trailing stop calculator
• Direct Tradovate/NT8 integration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 TAGS:
#AlgoAI #SuperTrend #ATR #TrendFollowing #DayTrading #CryptoTrading #ForexTrading #StockTrading #TradingView #PineScript #AutoTrading #AITrading #Volatility #TrailingStop
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER:
Trading involves significant risk. SuperTrend works best in trending markets and fails in choppy conditions. Always use proper risk management and combine with other indicators for confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔥 START TRADING WITH SUPERTROND:
FREE: Test this SuperTrend → Learn trend following
PRO: Get AI-optimized system → Automate → Scale
→ algoai.store
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AlgoAI © 2026 | Advanced Algorithmic Trading Intelligence
Powering 10,000+ Traders Worldwide 指标

AlgoAI Adaptive Trend Momentum Scanner╔═══════════════════════════════════════════════════════════╗
║ 🚀 ALGOAI ADAPTIVE TREND MOMENTUM SCANNER ║
║ AI-Powered Multi-Indicator Confluence System ║
╚═══════════════════════════════════════════════════════════╝
🔥 FREE INDICATOR - UPGRADE TO ALGOAI PRO: algoai.store
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT MAKES ALGOAI UNIQUE?
This is NOT just another RSI or MACD indicator. AlgoAI combines 3 powerful technical analysis tools into ONE adaptive momentum scanner:
✅ RSI MOMENTUM - Detects overbought/oversold conditions
✅ MACD TREND - Identifies trend direction and crossovers
✅ ADAPTIVE FILTER - Auto-adjusts thresholds based on volatility
The result? A SMART momentum score that adapts to market conditions and catches HIGH-PROBABILITY entries!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 HOW ALGOAI WORKS:
1. Calculates RSI for momentum direction
2. Analyzes MACD for trend confirmation
3. Measures trend strength with adaptive EMA
4. Combines all 3 into ONE "Momentum Score"
5. Adjusts overbought/oversold levels based on volatility
6. Signals BUY when ALL 3 factors align bullish
7. Signals SELL when ALL 3 factors align bearish
This CONFLUENCE approach filters out false signals!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 CHART VISUALS:
📊 MOMENTUM SCORE (Main Line)
• Cyan line = Your adaptive momentum score
• Above 50 = Bullish momentum
• Below 50 = Bearish momentum
🔴 OVERBOUGHT ZONE (Magenta)
• Top zone = Potential reversal area
• Adaptive threshold (changes with volatility)
🟢 OVERSOLD ZONE (Cyan)
• Bottom zone = Potential bounce area
• Adaptive threshold (changes with volatility)
🚀 BUY SIGNAL (Green Label)
• RSI oversold + MACD bullish cross + Strong uptrend
• HIGH PROBABILITY entry
🔻 SELL SIGNAL (Red Label)
• RSI overbought + MACD bearish cross + Strong downtrend
• HIGH PROBABILITY entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ TRADING STRATEGY:
BUY SETUP:
1. Momentum Score drops into oversold zone (cyan)
2. WAIT for "AlgoAI 🚀 BUY" label to appear
3. Confirm volume is increasing
4. ENTER long position
5. STOP loss below recent swing low
6. TARGET: Momentum Score crosses back above 50
SELL SETUP:
1. Momentum Score rises into overbought zone (magenta)
2. WAIT for "AlgoAI 🔻 SELL" label to appear
3. Confirm volume is increasing
4. ENTER short position
5. STOP loss above recent swing high
6. TARGET: Momentum Score drops back below 50
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏱️ BEST TIMEFRAMES:
• SCALPING: 1-min, 3-min (crypto, forex)
• DAY TRADING: 5-min, 15-min, 30-min (all markets)
• SWING TRADING: 1-hour, 4-hour (stocks, crypto)
• POSITION TRADING: Daily, Weekly (long-term)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌍 WORKS ON ALL MARKETS:
✓ Stocks (NYSE, NASDAQ)
✓ Forex (EUR/USD, GBP/USD, JPY pairs)
✓ Crypto (BTC, ETH, altcoins)
✓ Futures (S&P 500, Nasdaq, Oil, Gold)
✓ Commodities (Gold, Silver, Oil)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔓 FREE vs PRO COMPARISON:
FREE (This Indicator) PRO VERSION at algoai.store
──────────────────────────────────────────────────────────
✓ RSI + MACD confluence ✓ + 12+ Advanced AlgoAI Indicators
✓ Adaptive momentum score ✓ + AI-Powered Signal Ranking
✓ Buy/Sell signals ✓ + Automated Backtesting Suite
✓ Alert-ready ✓ + Tradovate/NT8 Auto-Trading
✓ + Multi-Timeframe Analysis
✓ + Risk Management Tools
✓ + Priority Support & Updates
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 WHY TRADERS UPGRADE TO PRO:
Most traders start with free indicators but realize they need:
❌ FREE: Just signals → NO backtesting → NO automation
✅ PRO: Full system → Backtested strategies → Auto-trading
AlgoAI PRO gives you:
• Complete trading system (not just signals)
• AI that ranks signal quality (91% accuracy on top signals)
• Automated backtesting (test strategies in minutes)
• Direct Tradovate/NinjaTrader integration (auto-trade)
• Multi-timeframe confirmation (avoid false breakouts)
• Mobile app alerts (trade from anywhere)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 GET ALGOAI PRO NOW:
→ algoai.store
Transform from "guessing" to "knowing" with:
• AI-validated entry signals
• Automated strategy testing
• Real-time webhook trading
• Professional risk management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 BACKTESTING RESULTS (AlgoAI PRO Users):
Average Win Rate: 73-81% (depending on market)
Average Risk/Reward: 2.3:1
Best Markets: crypto volatile hours, forex major pairs
Recommended Position Size: 1-2% per trade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ RISK DISCLAIMER:
Trading involves substantial risk of loss. This indicator is for educational purposes only. Past performance does not guarantee future results. Never trade with money you cannot afford to lose. Always use proper stop-losses and risk management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔥 START TRADING LIKE A PRO:
FREE: Test this indicator → Build confidence
PRO: Get full system → Automate → Scale
→ algoai.store
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 TAGS:
#AlgoAI #MomentumScanner #RSI #MACD #TrendTrading #DayTrading #AlgorithmicTrading #CryptoTrading #ForexTrading #StockTrading #TradingView #PineScript #AutoTrading #AITrading #Backtesting
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AlgoAI © 2026 | Advanced Algorithmic Trading Intelligence
Powering 10,000+ Traders Worldwide 指标

ORACLE MATRIX RED PILL# 🔴 ORACLE MATRIX RED PILL — by K@lTony
### *"Take the Red Pill. See the Pattern. The Oracle Never Lies."*
---
## 🇮🇹 DESCRIZIONE ITALIANA
**Oracle Matrix Red Pill** è un indicatore avanzato per TradingView scritto in Pine Script v6 che fonde tre motori algoritmici in un unico strumento: il filtro di liquidità AlgoAlpha, il sistema di trailing stop UT Bot e un motore di backtest visivo multi-trade in tempo reale.
Progettato e ottimizzato per **scalping su XAUUSD a 30 minuti**, ideale nelle sessioni di Londra e New York.
---
### ⚙️ COSA FA
**1 — Liquidity Sweep Engine (AlgoAlpha)**
Identifica i livelli di liquidità istituzionale tracciando i picchi e i minimi volumetrici significativi. Quando il prezzo "sweeppa" questi livelli — esattamente come fanno i market maker prima di invertire — l'indicatore lo segnala in tempo reale con label e intensità volumetrica. Distingue sweep minori da sweep maggiori tramite una soglia configurabile.
**2 — UT Bot Trailing Stop**
Il motore UT Bot calcola uno stop trail dinamico basato sull'ATR moltiplicato per un Key Value regolabile. Genera segnali BUY e SELL solo quando il prezzo attraversa questo livello in modo netto, colorando le barre in base alla posizione rispetto allo stop.
**3 — Filtro Trend Combinato**
Il segnale finale viene emesso SOLO quando entrambi i motori sono allineati: UT Bot bullish + trend AlgoAlpha positivo per i BUY, UT Bot bearish + trend negativo per i SELL. Questo elimina la maggior parte dei falsi segnali in mercati laterali.
**4 — Filtri Opzionali Avanzati**
- RSI Filter: entra solo se RSI è sopra/sotto una soglia configurabile
- Volume Filter: segnale solo con volume superiore alla sua media mobile
- Session Filter: limita i segnali alle sessioni di Londra (07:00–12:00 UTC) e New York (13:00–18:00 UTC)
- EMA Trend Filter: opera solo nella direzione della EMA (default 200)
- ATR Volatility Filter: blocca i segnali nei mercati piatti (ATR < ATR-MA)
- Sweep Confirmation Filter: richiede uno sweep di liquidità attivo per confermare il segnale
**5 — Volume Profile Dinamico**
Visualizza un profilo di volume aggiornato in tempo reale relativo al trend corrente, con Point of Control (POC) automatico. Aiuta a identificare le zone di maggiore interesse istituzionale.
**6 — Backtest Engine Visivo Multi-Trade**
Il cuore dell'indicatore. TP e SL si esprimono in **pips** con moltiplicatore configurabile (XAUUSD default: 0.1). Ogni segnale apre un trade indipendente sulla **candela successiva** (a open della barra dopo il segnale). I trade rimangono aperti contemporaneamente e sovrapposti finché non toccano TP o SL. Sul grafico appaiono:
- 🟢 Box verde = zona TP
- 🔴 Box rosso = zona SL
- ➖ Linea tratteggiata = prezzo di entry
- Label apertura con direzione e prezzo
- Label chiusura con ✔ TP o ✘ SL e pips
- Panel in tempo reale con W / L / Total / Win Rate / R:R / Breakeven
---
### 📋 IMPOSTAZIONI CONSIGLIATE PER XAUUSD 30M
| Parametro | Valore consigliato |
|---|---|
| Timeframe | 30 minuti |
| AlgoAlpha Length | 12 |
| AlgoAlpha Multiplier | 2.0 |
| UT Bot Key Value | 1.0 |
| UT Bot ATR Period | 10 |
| Session Filter | ON — London + New York |
| EMA Filter | ON — EMA 200 |
| ATR Volatility Filter | ON |
| TP (pips) | 150 |
| SL (pips) | 75 |
| Pip Multiplier | 0.1 |
---
### 💡 CONSIGLI DI UTILIZZO
- **Aspetta le kill zone**: i segnali più affidabili arrivano tra le 08:00–10:00 e le 14:00–16:00 ora italiana, nell'overlap tra sessione europea e americana.
- **Non tradare contro l'EMA 200**: attiva il filtro EMA e non aprire mai contro il trend macro.
- **Usa il backtest panel**: prima di fare live, testa diversi valori di TP/SL e osserva il win rate storico sul simbolo che vuoi tradare.
- **Sweep di liquidità come conferma**: se attivi il Sweep Filter, ricevi solo segnali preceduti da un'iniezione di liquidità — setup tipicamente più esplosivi.
- **Trade sovrapposti**: il motore di backtest permette trade multipli contemporanei, esattamente come accade nel trading reale con posizioni piramidali o multi-entry.
- **XAUUSD è volatile**: non usare SL troppo stretti sotto i 50 pips su 30M, il rumore di mercato li brucia facilmente.
---
### ⚠️ DISCLAIMER
Questo indicatore è uno strumento di analisi tecnica. Non costituisce consiglio finanziario. Effettua sempre la tua analisi e gestisci il rischio con responsabilità. Il backtest visuale è indicativo e non garantisce risultati futuri.
---
---
## 🇬🇧 ENGLISH DESCRIPTION
**Oracle Matrix Red Pill** is an advanced TradingView indicator written in Pine Script v6 that merges three algorithmic engines into a single tool: the AlgoAlpha Liquidity Sweep Filter, the UT Bot trailing stop system, and a real-time multi-trade visual backtest engine.
Designed and optimised for **scalping XAUUSD on the 30-minute timeframe**, with a focus on London and New York sessions.
---
### ⚙️ WHAT IT DOES
**1 — Liquidity Sweep Engine (AlgoAlpha)**
Identifies institutional liquidity levels by tracking significant volumetric peaks and valleys. When price sweeps through these levels — exactly as market makers do before reversing — the indicator flags it in real time with labels and volumetric intensity scores. Minor and major sweeps are distinguished via a configurable threshold.
**2 — UT Bot Trailing Stop**
The UT Bot engine calculates a dynamic trailing stop based on ATR multiplied by an adjustable Key Value. BUY and SELL signals are generated only when price cleanly crosses this level, with bar colouring based on position relative to the stop.
**3 — Combined Trend Filter**
The final signal fires ONLY when both engines align: UT Bot bullish + positive AlgoAlpha trend for BUYs, UT Bot bearish + negative trend for SELLs. This eliminates most false signals in ranging markets.
**4 — Advanced Optional Filters**
- RSI Filter: enter only if RSI is above/below a configurable threshold
- Volume Filter: signal only when volume exceeds its moving average
- Session Filter: restrict signals to London (07:00–12:00 UTC) and New York (13:00–18:00 UTC) sessions
- EMA Trend Filter: trade only in the direction of the EMA (default 200)
- ATR Volatility Filter: block signals in flat markets (ATR < ATR-MA)
- Sweep Confirmation Filter: require an active liquidity sweep to confirm the signal
**5 — Dynamic Volume Profile**
Displays a real-time volume profile relative to the current trend, with automatic Point of Control (POC). Helps identify zones of greatest institutional interest.
**6 — Multi-Trade Visual Backtest Engine**
The heart of the indicator. TP and SL are expressed in **pips** with a configurable multiplier (XAUUSD default: 0.1). Each signal opens an independent trade on the **next candle** (at the open of the bar following the signal). Trades remain open simultaneously and overlapping until they hit TP or SL. On the chart you will see:
- 🟢 Green box = TP zone
- 🔴 Red box = SL zone
- ➖ Dashed line = entry price
- Entry label with direction and price
- Exit label with ✔ TP or ✘ SL and pips
- Live panel showing W / L / Total / Win Rate / R:R / Breakeven
---
### 📋 RECOMMENDED SETTINGS FOR XAUUSD 30M
| Parameter | Recommended Value |
|---|---|
| Timeframe | 30 minutes |
| AlgoAlpha Length | 12 |
| AlgoAlpha Multiplier | 2.0 |
| UT Bot Key Value | 1.0 |
| UT Bot ATR Period | 10 |
| Session Filter | ON — London + New York |
| EMA Filter | ON — EMA 200 |
| ATR Volatility Filter | ON |
| TP (pips) | 150 |
| SL (pips) | 75 |
| Pip Multiplier | 0.1 |
---
### 💡 HOW TO USE IT
- **Wait for the kill zones**: the most reliable signals appear between 07:00–10:00 and 13:00–16:00 UTC, in the European/American session overlap.
- **Never trade against the EMA 200**: enable the EMA filter and avoid entries that go against the macro trend.
- **Use the backtest panel**: before going live, test different TP/SL values and observe the historical win rate on your target symbol.
- **Liquidity sweeps as confirmation**: enabling the Sweep Filter delivers only signals preceded by a liquidity injection — typically more explosive setups.
- **Overlapping trades**: the backtest engine supports multiple simultaneous trades, exactly as happens in real trading with pyramidal or multi-entry positions.
- **XAUUSD is volatile**: avoid SL tighter than 50 pips on the 30M chart — market noise will take them out regularly.
---
### ⚠️ DISCLAIMER
This indicator is a technical analysis tool. It does not constitute financial advice. Always conduct your own analysis and manage risk responsibly. The visual backtest is indicative and does not guarantee future results.
---
*Oracle Matrix Red Pill — by K@lTony*
*"Take the Red Pill. See the Pattern. The Oracle Never Lies."*
指标

Imbalance Repricing Engine [ZOM]Imbalance Repricing Engine
The Imbalance Repricing Engine is an overlay framework designed to map displacement imbalances, fair-value-gap style zones, repricing reactions, mitigation behavior, and failed imbalance structures using standard OHLCV data.
The idea behind the tool is that strong displacement often leaves inefficient price areas behind. When price later returns to those zones, the reaction can provide useful context: continuation, mitigation, rejection, or failure.
This script attempts to visualize that process directly on the chart.
Core features:
- Bullish and bearish imbalance zone detection
- Displacement filtering using ATR expansion, candle body share, and relative volume
- Active zone tracking with forward projection
- Midpoint traces for each imbalance
- Zone state changes for active, mitigated, and failed areas
- VWAP cloud for premium/discount context
- Estimated delta-pressure score derived from OHLCV structure and volume
- LONG REPRICE and SHORT REPRICE labels with setup scores
- Optional failure labeling
- Latest projection lines for entry, invalidation, target 1, and target 2
- Compact ZOM dashboard with active zone count, last event, delta pressure, relative volume, VWAP state, and score
- Multiple visual templates: Rogue, Emerald, Gold Rush, Arctic, and Mono
How to read it:
Bullish imbalance zones are areas where upside displacement left a gap-like inefficiency behind. If price later revisits the zone and responds with supportive structure, the tool can mark a LONG REPRICE signal.
Bearish imbalance zones work the opposite way. If price revisits a bearish imbalance and rejects with confirming structure, the tool can mark a SHORT REPRICE signal.
Mitigated zones show areas where price has traded back into the imbalance. Failed zones show areas where price closed through the structure strongly enough to weaken the original imbalance thesis.
This tool is most useful on liquid futures and index products where displacement and repricing behavior are easy to observe. The default view was staged for ES / NQ style 15m and 5m analysis with enough structure to be visually useful without flooding the chart.
Important note:
TradingView Pine scripts do not have access to true order book, time-and-sales, or full market depth. Delta pressure, imbalance behavior, and absorption-style context here are modeled from OHLCV-based proxies. Treat this as a contextual framework, not financial advice or a predictive system. 指标

Liquidity Trap Absorption Matrix [ZOM]Liquidity Trap Absorption Matrix
The Liquidity Trap Absorption Matrix is an overlay framework built to visualize liquidity sweeps, wick rejection, absorption zones, VWAP displacement, and estimated delta pressure using standard OHLCV data.
The core idea is simple: when price raids a prior swing high/low or opening-range level, then closes back inside with meaningful wick rejection and elevated relative volume, the move may represent a failed breakout, stop run, or liquidity trap rather than clean continuation.
This script attempts to map those moments visually so the trader can evaluate where liquidity was taken, where absorption appeared, and how price behaves after the reclaim/rejection.
Core features:
- Confirmed swing-high and swing-low liquidity levels
- Opening-range high/low context for futures-style intraday review
- Bullish and bearish trap detection using sweep + reclaim/rejection logic
- Wick absorption scoring
- Relative volume filter
- VWAP displacement cloud with adaptive deviation bands
- Estimated delta-pressure score from candle structure and volume
- 0-100 setup scoring model
- Absorption zone boxes extended forward from the sweep area
- Compact BUY TRAP / SELL TRAP labels with scores
- Optional TP1 / TP2 / SL projection map from the latest signal
- Small ZOM Trap Matrix dashboard
- Multiple visual templates, including Rogue, Emerald, Gold Rush, Arctic, and Mono
How to read it:
A BUY TRAP appears when price sweeps below a tracked liquidity level and reclaims back above it with enough rejection, volume, and contextual confirmation.
A SELL TRAP appears when price sweeps above a tracked liquidity level and rejects back below it under similar conditions.
The absorption zone shows the area where the sweep and reclaim/rejection occurred. The VWAP cloud gives broader mean/displacement context. The dashboard summarizes regime, trap bias, estimated delta pressure, relative volume, active zones, and the latest score.
This works best on liquid instruments where intraday liquidity sweeps are common, especially index futures such as NQ, MNQ, ES, and MES. The default settings were tuned to show meaningful structure on 5m and 15m futures charts without becoming overly noisy.
Important note:
TradingView Pine scripts do not have access to true order book, time-and-sales, dealer positioning, or full market depth. Delta pressure, absorption, and liquidity behavior here are modeled from OHLCV-based proxies. Treat the output as a contextual decision-support framework, not a predictive system or financial advice. 指标
