Indicator

Oracle
# Oracle
**Oracle** fits an adaptive, weighted polynomial regression to recent price action and projects the most likely path forward as **Japanese candlesticks** — so the forecast reads exactly like the chart you're already looking at, not an abstract line. On top of the forecast, Oracle draws a **Prediction Trail** of its own past forecasts, giving you an honest, visual track record of how accurate the model has actually been on the current symbol and timeframe.
It's designed around one principle: a projection is only as useful as your ability to trust it — so Oracle constantly shows you its confidence and adapts itself to fit the market better.
## 🔮 What it does
- Studies the last *N* candles and models their underlying curve (trend + curvature).
- Projects the next candles into the future and renders them as **up/down candlesticks with wicks**.
- Continuously scores the fit quality with **R²** and adjusts (or hides) the projection accordingly.
- Plots a **trail of past predictions** so you can compare "what the model expected" against "what actually happened."
## 🧠 How it works
- A **weighted quadratic regression** is fitted to recent closes, with more weight on the newest candles so the model stays responsive.
- The fitted curve is extrapolated forward to build the projected candles.
- An **R² confidence score** (0–100%) measures how cleanly price fits the model — high R² means a clean, trend-like structure; low R² means choppy, unpredictable conditions.
- Optional market filters refine the raw projection so it respects real market behavior.
## ✨ Key features
**Projection**
- Future path drawn as **projected candlesticks** (body + wick), color-coded up/down.
- Adjustable projection length, candle body width, and wick size.
**Prediction Trail (track record)**
- Plots the model's earlier forecasts, shifted forward, so each point lines up with the candle it was predicting.
- Instantly shows whether the model has been leading price accurately or diverging.
- Adjustable horizon, color, and width.
**Accuracy Enhancements (all optional)**
- **Auto-Optimize Lookback** — automatically selects the lookback window with the best fit (highest R²), so you don't have to guess.
- **Damp Far Extrapolation** — blends distant candles toward a straight line so the curve stays realistic and never "explodes."
- **Scale by Confidence** — flattens the projection toward price when fit quality is low, keeping forecasts conservative when the market is unclear.
**Context & filters**
- **ATR confidence bands** around the projection (static or volatility-adjusted).
- **Volume Delta** bias, **EMA trend** filter, **RSI** softening, and **Support/Resistance** capping — each toggled independently.
**Usability**
- R² confidence label + info readout (ATR, volume ratio, volatility factor).
- Fully customizable colors, widths, label sizes, and an analysis start-date filter.
- **Every input has a built-in tooltip** explaining what it does.
## ⚙️ Suggested workflow
1. Add Oracle to a clean chart and keep the default enhancements on.
2. Read the **R² label** first — the higher it is, the more weight the projection deserves.
3. Check the **Prediction Trail**: if it has been hugging price recently, the model is in tune with this market; if it's diverging, treat the forecast with caution.
4. Use the projected candles as a **scenario / bias**, then confirm with your own strategy and risk plan.
**Tips:** Raise the *Min Confidence Threshold* and keep *Damping* on for calmer, more realistic forecasts. Use a longer lookback for swing context and a shorter one for intraday.
## 📈 Best on
Works on **any market and timeframe** — crypto, forex, indices, metals, and stocks. Trending and structured conditions produce the highest R² and the most reliable projections; in pure chop, low confidence will (correctly) flag the projection as unreliable.
## ⚠️ Disclaimer
Oracle is a **statistical projection and study tool**. It does not predict the future, guarantee any outcome, or constitute financial advice. Markets are uncertain — always do your own analysis and manage your risk. Past model behavior (including the Prediction Trail) does not guarantee future accuracy. Indicator

Indicator

Indicator

Edward Smart Channel ReversalEdward Smart Channel Reversal is a trend-following and reversal-detection indicator designed to identify high-probability market turning points while keeping traders aligned with the dominant trend.
Based on the chart example, the indicator combines three key elements:
* **Dynamic Smart Channel** (upper and lower adaptive bands)
* **Trend Filter** (smoothed central trend line)
* **Reversal Signals** (bullish and bearish trigger zones)
### How It Works
The indicator builds an adaptive price channel that expands and contracts with market volatility.
#### Bullish Reversal Setup
A buy signal is generated when:
✅ Price interacts with or rejects the lower channel boundary
✅ Price reclaims the trend filter
✅ Momentum shifts from bearish to bullish
On the chart, the highlighted green zones show where buyers regained control after a pullback, leading to a sustained upward move.
#### Bearish Reversal Setup
A sell signal is generated when:
✅ Price tests the upper channel boundary
✅ Price loses strength around the trend filter
✅ Momentum shifts from bullish to bearish
The marked red zone demonstrates a classic bearish reversal where price failed to hold above the trend filter and initiated a strong downside move.
### Key Features
✔ Adaptive volatility-based channel
✔ Early trend reversal detection
✔ Dynamic support and resistance zones
✔ Reduced market noise through trend filtering
✔ Suitable for crypto, forex, indices, and stocks
✔ Works across multiple timeframes
### Trading Guidelines
**Long Entries**
* Look for bullish reversal signals near the lower channel.
* Confirm price acceptance above the trend filter.
* Use the lower channel as a risk-management reference.
**Short Entries**
* Look for bearish reversal signals near the upper channel.
* Confirm rejection below the trend filter.
* Use the upper channel as a risk-management reference.
### Market Insight from the Example
In the BTC/USD chart:
* The indicator successfully identified a bullish continuation near the lower channel support.
* A bearish reversal signal appeared near the upper channel and trend filter confluence before a significant decline.
* Later, another bullish signal emerged as price reclaimed the trend filter, helping traders participate in the recovery phase.
### Best Use Cases
* Trend reversals
* Pullback entries
* Breakout confirmation
* Swing trading
* Intraday trend following
**Edward Smart Channel Reversal** helps traders visualize trend structure, identify reversal zones, and improve entry timing by combining adaptive channels with smart trend filtering. As with any technical tool, it is best used alongside proper risk management and additional market confirmation.
Indicator

Indicator

Relative Strength MatrixOverview
This script is based on work of @jfsrev 's indicator "Swing Data - ADR% / RVol / PVol / Float % / Avg $ Vol", which I modified heavily and left only the Relative Strength related calculations and added to these.
The Relative Strength Matrix is a contextual dashboard designed to help traders instantly identify whether a stock—and its corresponding industry or sector—is displaying true leadership or relative weakness. By tracking rolling price performance across multiple timeframes relative to the S&P 500 (SPX), the script visualizes market alpha directly on your chart via a clean, dynamic, and non-intrusive matrix panel.
Features and customization
Script has following main features and customization options:
Modifiable RS score calculation: you can dynamically adjust the mathematical percentage weights for the 2-Week (10d), 1-Month (21d), 3-Month (63d), and 6-Month (126d) momentum lookback periods straight from the UI settings.
Multi-Period Trend Tracking: Calculates and presents the real-time absolute percentage performance of the tracked industry ETF over different time periods. Results can be shown or hidden for each calculation separately.
Individual tickers can be mapped to target ETFs: You can form your own groups with individual tickers and specify benchmark ETF for them (e.g. Tickers: CRWD, S, PANW => Target industry: CIBR)
Industry specific mapping to target ETF: You can use PulseWires provided Industry-information and map the industry to specific ETF (e.g., TW Industry: Semiconductors => Target ETF: SMH)
Complete UI visuals customization: You can customize table position, sizes, background transparencies, border widths, and text colors.
Order for RS calculation
Relative Strength is checked and mapped in the following order:
Tier 1: Custom Groups (Fully User-Defined) - The script checks if the current ticker belongs to any of your 20 fully customizable thematic watchlists (e.g., Cybersecurity, Semis, Crypto Infrastructure). If found, it instantly binds the stock to your manually assigned thematic ETF.
Tier 2: Core Industries (User-Defined Mappings) – If not found in a custom group, the script screens the stock's native PulseWire Industry against 30 available custom mapping slots to find your preferred benchmark tracking ETF.
Tier 3: Sector Fallback (Hardcoded) – If no custom group or industry mapping exists, the engine relies on a robust, hardcoded fallback architecture that maps the stock’s native PulseWire Sector to its corresponding Select Sector SPDR ETF (e.g., Electronic Technology is mapped to XLK, Finance is mapped to XLF, Energy is mapped to XLE etc).
Tier 4: Global Catch-All – If a stock does not belong to any defined industry or sector, it defaults to SPY to guarantee a clean baseline calculation without script errors.
Indicator

Cluster Breakout Strategy v6 (Robust)The core idea: find moments when a stock/commodity/index is "coiling up" — trading in a tight, quiet range — and jump in the moment it breaks out of that range, then ride the move as far as it'll go.
Step by step:
Spot the squeeze. The script watches recent price action and asks: "is the high-low range right now unusually tight compared to this instrument's normal volatility (ATR)?" If yes, and that tightness has been getting progressively tighter (not just randomly quiet), it draws two red lines — one above, one below — marking that squeeze zone.
Wait for a real breakout, not a fake one. Price has to close clearly above the top red line (for a buy) or below the bottom one (for a sell) — not just barely poke through. It also needs the breakout candle to close strong (near its high for a buy, near its low for a sell), and, where volume data exists, a burst of above-average volume. These checks exist to filter out weak breakouts that immediately reverse.
Enter with a clear risk. The moment a real breakout happens, it buys or sells and puts a label on the chart. The initial stop-loss is set at the other side of the squeeze zone — so your risk is defined by the structure itself, not an arbitrary number.
Protect profit as the trade moves. Once the trade is up by 1x its risk, the stop automatically moves to breakeven (you can't lose money on the trade anymore). Once it's up 2x its risk, the stop starts trailing behind price — so if the move keeps going, you keep more of the gain; if it reverses, you still walk away with a solid win instead of giving it all back.
Cut the dead ones. If a trade just sits there going nowhere for too long without reaching even 1x risk, it closes automatically — no point tying up capital in something that isn't working.
Stay disciplined during the day. It only trades during your chosen market hours, caps how many trades it'll take in a single day, and pauses for a few bars after any exit so it doesn't immediately re-enter into the same chop that just stopped it out. Any open trade is closed automatically before the session ends.
In one sentence: it buys or sells when price breaks cleanly out of a quiet consolidation, risks a defined amount based on that consolidation's size, locks in breakeven early, then trails the stop to let genuine trends run further — while avoiding overtrading and fake breakouts as much as the rules allow Strategy

Imtiyaz Signature Liquidity Compass SMCImtiyaz Signature Liquidity Compass SMC
Imtiyaz Signature Liquidity Compass SMC is an original Smart Money Concepts decision-support indicator that maps nearby buy-side and sell-side liquidity, tracks sweeps, highlights structure breaks, displays fair value gaps, and ranks the strongest active liquidity target on each side of price.
The purpose of the tool is not to predict the future or issue guaranteed buy/sell calls. It is designed to help traders see where meaningful liquidity may be resting, whether one side of the market has stronger current pull, and how that context lines up with structure and higher-timeframe trend.
What It Shows
Buy-side liquidity pools above price, based on confirmed swing highs.
Sell-side liquidity pools below price, based on confirmed swing lows.
Buy-side and sell-side liquidity sweeps.
Bullish and bearish BOS events.
Bullish and bearish CHOCH events when structure changes direction.
Bullish and bearish Fair Value Gaps.
A compact dashboard showing upside pull, downside pull, net pull, active pool counts, HTF trend, and current structure.
Scoring Model
Every active liquidity pool receives a 0-100 score. The score is a weighted context reading, not a probability.
The score combines:
Distance from current price, normalized by ATR.
Volume at the swing that created the pool.
Freshness of the pool.
Number of touches or reactions.
Whether the pool is still on the correct side of price.
Higher-timeframe EMA trend alignment.
The dashboard compares the strongest upside pool against the strongest downside pool. If the difference is small, the field is marked Balanced. If one side is stronger by the selected threshold, the dashboard marks Upside Pull or Downside Pull.
Main Settings
Swing Confirmation Length controls how important a swing must be before it becomes a liquidity pool. A higher value creates fewer but more significant levels.
Maximum Pools Per Side limits how many active buy-side and sell-side pools are kept on the chart.
Pool Freshness Window controls how quickly old pools lose score.
Touch Buffer ATR controls how close price must get before a pool is considered touched.
Sweep Confirmation lets you choose between wick-only sweep detection and stricter close-back-inside sweep detection.
Minimum Visible Pool Score hides weaker pools so the chart remains clean.
Dominance Threshold controls how much stronger one side must be before the dashboard changes from Balanced to a directional pull.
HTF Trend Timeframe and HTF EMA Length define the higher-timeframe trend component used in the scoring engine.
Alerts
The indicator includes alerts for:
Buy-side liquidity sweep.
Sell-side liquidity sweep.
Bullish BOS or CHOCH.
Bearish BOS or CHOCH.
Upside liquidity pull becoming dominant.
Downside liquidity pull becoming dominant.
Bullish FVG formation.
Bearish FVG formation.
How To Use
Start with the dashboard. If the field is Balanced, liquidity pressure is mixed and traders may prefer to wait for a sweep, structure break, or FVG reaction. If Upside Pull or Downside Pull is dominant, look at the strongest marked pool and judge whether price action supports a move toward or away from that area.
Liquidity sweeps can be used as context for potential reversals or displacement. BOS and CHOCH markers help separate continuation from possible directional change. FVGs highlight imbalance areas that may later be revisited or mitigated.
This indicator is best used alongside a complete trading plan, risk management, and independent confirmation. It does not guarantee future price movement, win rate, profitability, or signal accuracy.
Originality
Imtiyaz Signature Liquidity Compass SMC uses an original scoring model that combines liquidity-pool distance, swing volume, freshness, reaction count, side validity, and higher-timeframe trend alignment. The goal is to reduce chart clutter by showing the pools that currently matter most, while keeping the logic transparent and avoiding unsupported probability claims.
Disclaimer
This script is for educational and informational purposes only. Trading involves risk. Always do your own analysis before taking any trade.
Indicator

Indicator

Key Level Matrix | AlphaScriptKey Level Matrix brings the high-timeframe and session levels traders watch most onto a single chart , then groups any that share the same price into one clean line through its confluence merge engine.
You get a complete map of where significant prices sit across every timeframe and session at once — without the chart turning into a stack of overlapping lines.
🧠 Concept
Markets repeatedly react to a specific set of reference prices: the opens, highs, lows, and midpoints of higher timeframes and sessions, where prior auctions concluded and resting orders concentrate.
What makes a given price matter is how many independent references land on it.
A level that is simultaneously the daily high, the weekly open, and the Asia session mid carries far more weight than any one of them alone — and finding those overlaps by eye, across a dozen sources, is exactly what this tool removes the work from.
🔍 What it does
Plots reference levels across the market's natural cycles, each labeled and color-coded by source and extended to the right of price:
Timeframes — 4H, Daily, Weekly, Monthly, Quarterly, Yearly: open, high, low, mid, and the prior period's high, low, and mid
Sessions — Asia, London, New York (windows configurable, in New York time): high, low, mid, and the prior session's levels
Monday Range — high, low, and mid of the week's opening day
⚙️ How it works
Every enabled level is sorted by price, and any group falling within your Merge Threshold — set in ticks, so it scales to each instrument — collapses into a single line carrying one combined label that names each contributing source, for example "Daily High / Weekly Open / Asia Mid." One line, with an instant read on how much agreement sits behind it.
All values are retrieved with non-repainting historical requests. Levels from closed periods and sessions are final; the active period and session develop in real time and lock once they close.
📈 How to use it
Treat merged, multi-source levels as your highest-conviction zones — primary areas for entries, targets, and invalidation — and single-source levels as secondary structure between them.
Enable only what matches your timeframe: an intraday trader might run New York, London, and Daily; a swing trader Weekly, Monthly, and Quarterly.
Widen the Merge Threshold on volatile, large-tick symbols; tighten it on indices and FX where prices sit closer together.
Every level, session, color, and style is independently configurable. It's a reference and confluence framework meant to complement your analysis, not a buy/sell signal generator, and it works on any market and timeframe.
📝 Notes
A decision-support tool, not a strategy. Levels are drawn from confirmed data and don't repaint. They mark where price has reacted before — not where it will. Always apply your own risk management. Indicator

Bucket 3 Momentum Bucket 3 Momentum
A backtestable daily-chart momentum strategy for ASX equities, built on a four-layer confirmation model: a trade fires only when the weekly trend grants permission, daily structure is intact, a price trigger confirms demand, and risk/extension checks pass.
The weekly layer is the gatekeeper — price above a rising 30-week SMA with healthy weekly RSI — so it won't buy dips in stocks that have quietly left a Stage-2 uptrend. The daily layer confirms the structure (price above the 50/150 DMAs, 50DMA flat-to-rising) with a damage veto for collapsing RSI, fresh 20-day lows, or bearish DMI. Entry triggers on a 5-day breakout with a strong close, but only once a tunable setup score is met (RSI curl + signal cross, fast-MACD turn, DMI recovery, improving RS vs XJO). An anti-chase filter blocks entries stretched too far above the 20EMA.
Positions are sized by defined risk (default 1.5% per trade), with the initial stop below the pullback swing low, floored at 1 ATR. Three exits execute: initial hard stop, a 1.5×ATR trailing stop that ratchets up only, and a structural trend-failure exit.
Built to be backtest-honest — weekly data uses the completed-bar pattern to avoid repaint/lookahead bias, structural decisions act on bar close, protective stops fill intrabar. An on-chart table shows each layer's status, live score, and current state. Tunable throughout; benchmarked against the XJO, so other universes need the benchmark and liquidity floor adjusted.
For education only — not financial advice. Past backtested performance does not guarantee future results. Strategy

Precision Levels Auto BetaPrecision Levels Auto Beta is an upgraded support and resistance system that automatically plots SPX, ES, NDX, and QQQ levels using a streamlined string‑input structure and built‑in conversion logic. Enter your SPX or NDX string once, and the indicator automatically converts and updates levels when switching between futures and ETF charts. Monthly, Weekly, Daily, Daily Range, and Green Levels are all supported.
A fully adjustable date tab is included for cleaner chart organization. Label placement, label size, price label size, and visibility controls remain fully customizable. Auto‑conversion tickers are preset and should not be modified.
Green Levels are now included and use a separate string. Daily Range levels have been added and the string hierarchy has been updated to reflect the new order of Daily → Daily Range → Weekly → Monthly.
Alerts have been upgraded to trigger when price enters a defined zone around each level (±1 point SPX, ±7 points NDX). Alerts include touch‑based signal strength (T1, T2, T3) and brief price‑action context. Due to PulseWire limitations, alerts must be deleted and recreated daily to avoid outdated signals.
During OPEX and holiday sessions, ETF conversions may temporarily become inaccurate due to fund flows and session timing. Futures levels may show slight variation between timeframes because of required look‑back periods, but these differences are minimal.
This is the beta version of the Precision Levels Auto system and will continue to be refined. Feedback is welcome as development continues. Indicator

Indicator

Indicator

HeritEmpire PO3HeritEmpire PO3 — Higher-Timeframe Candle Projection
PO3 draws a compact mini-chart of higher-timeframe candles to the right of live price, so you can read HTF structure without leaving your current chart. Each higher timeframe is rendered as real candle shapes (body + wick), colored by direction, with the rightmost candle in every block being the current, still-developing HTF candle that updates as price moves.
What it does
For each enabled timeframe, the script requests OHLC data and keeps a rolling buffer of the most recently completed candles. On every new HTF period it captures the just-closed candle's final OHLC and appends it to the buffer, trimming to your chosen count. The block is then redrawn on the last bar: closed candles to the left, the live candle on the right. Because completed candles are only stored after they close, the closed portion of each block does not repaint; only the rightmost (live) candle changes intrabar, exactly as it would on the native chart.
How it works
Candle bodies are drawn as boxes between open and close; wicks are lines from low to high.
Data is pulled with request.security using lookahead_off, so no future information is used.
Up to three independent timeframes can be projected side by side, each as its own block.
How to use
Add it to any intraday chart. Read each block like a normal candlestick chart to judge higher-timeframe trend, momentum, and where current price sits relative to recent HTF opens and closes. Useful for keeping multi-timeframe context (for example 1H, 4H and Daily) visible while you work on a lower timeframe.
Settings
Timeframes — Three independent slots (TF 1 / TF 2 / TF 3), each with its own on/off toggle and timeframe. Defaults: 1H (off), 4H (on), Daily (off).
Candles to Show — Number of candles per block, from 1 to 10 (default 3 = 2 closed + 1 live).
Offset (bars right) — Distance between live price and the first block.
Gap Between Candles — Spacing between candles inside a block.
Gap Between TF Blocks — Spacing between each timeframe block.
Show TF Label — Displays the timeframe name above each block.
Show Open Line — Extends each live candle's open across the chart as a reference level.
Colors — Separate bullish/bearish colors for body, borders, and wicks.
Notes
This is a visualization tool, not a signal or strategy. It does not generate buy/sell alerts and makes no performance claims — it simply mirrors higher-timeframe candles next to your chart for context. Indicator

MTF SMC Signal v2 - Ready/Fire & Confluence ScoreOverview
This indicator generates long/short signals by combining higher-timeframe directional bias with a two-stage confirmation process on the execution timeframe: a Fair Value Gap (FVG) retest ("Ready") followed by a reversal-pattern confirmation ("Fire"). It also computes a 0-100 confluence score from market structure, FVG quality, and premium/discount positioning, and displays everything in an on-chart dashboard with entry/stop/target levels.
How it works
・Bias (HTF/MTF only): Directional bias is derived exclusively from EMA slope/position on two higher timeframes (auto-selected as 1H/4H or 15M/1H depending on the execution mode, or manually overridden). The execution timeframe is intentionally excluded from bias calculation, since EMA-based readings on a fast timeframe tend to lag and produce false flips. Instead, the execution timeframe is reserved entirely for pattern confirmation.
・Structure events: Pivot-based swing highs/lows are tracked to detect Change of Character (CHoCH) and Break of Structure (BOS) events, which set/confirm the working bias and anchor a countdown window ("setup window") during which a trade idea remains valid.
・FVG detection and Ready state: Three-bar imbalances (Fair Value Gaps) are detected using the same bullish/bearish three-bar gap rule popularized by LuxAlgo's open-source "Fair Value Gap " script (gaps above a minimum ATR-based size are plotted as boxes here, instead of that script's percentage-based threshold). When price returns to retest an untouched FVG in the direction of the current bias, the signal enters a "Ready" state.
・Fire confirmation: A "Ready" signal only fires once a reversal confirmation occurs - a bullish/bearish engulfing candle, a pin bar, a fresh micro CHoCH/BOS, or a breakout of the recent range on a lower confirmation timeframe (configurable). This two-step Ready→Fire sequence is designed to reduce premature entries on a bare FVG touch, which the original FVG script does not implement.
・FVG grading: Each FVG used as entry basis is graded S/A/B: Grade S if it overlaps a still-open daily-timeframe FVG, Grade A if price is on the correct side of the recent range's equilibrium (premium/discount), Grade B otherwise. This grade feeds into the confluence score.
・Confluence score (fs): A 0-100 score is calculated from a weighted combination of a "setup" sub-score (structure freshness, FVG proximity, premium/discount alignment) and an "exec" sub-score (recency of the triggering event, retest precision). A signal only reaches "entry candidate" status once the score clears a configurable (or auto-selected) threshold.
・Risk levels: On a confirmed fire, the script plots an entry line and two stop-loss references (most recent swing point, and the FVG boundary when available) along with two take-profit levels based on a user-defined risk-multiple, plus an approximate dollar-risk conversion using lot size and pip value inputs.
・Dashboard: An on-chart table shows current bias, the recommended action in plain language, the higher-timeframe directions, Ready/Fire state, the confluence score versus its threshold, FVG grade, and stop levels, in either a full or mobile-condensed layout with several color presets.
Originality
The three-bar FVG detection rule used here (gap test plus close confirmation on the middle bar) follows the same bullish/bearish definition used in LuxAlgo's open-source script "Fair Value Gap ". Credit to LuxAlgo for that detection logic. Beyond that shared detection rule, everything else in this script is an original addition not present in the LuxAlgo script:
・An ATR-based size filter in place of the original's percentage-based threshold.
・A two-stage Ready→Fire workflow that separates "FVG retest" from "reversal confirmed" using candlestick patterns, micro structure breaks, or a lower-timeframe range break - the LuxAlgo script only tracks mitigation/fill, with no retest-and-confirm signal logic.
・An S/A/B grading system for FVGs based on daily-timeframe FVG overlap and premium/discount alignment, feeding into a weighted 0-100 confluence score - not present in the original.
・A bias model that deliberately restricts directional judgment to higher timeframes only, while delegating all execution-timeframe analysis to pattern/structure confirmation.
・A dual stop-loss reference (swing-based and FVG-based) with an approximate monetary-risk readout, automated entry/SL/TP line and label drawing, and a full on-chart decision dashboard - none of which exist in the original FVG script, which is a standalone FVG-plotting tool without a signal or risk-management layer.
This script is published open-source, in line with the reuse terms for the underlying open-source FVG concept.
How to use
1.Choose the execution mode (5 or 15 minutes); higher timeframes for bias are auto-selected accordingly, or can be manually overridden.
2.Watch the dashboard's "Action" cell: it summarizes the current state in plain language (e.g., "waiting for setup," "Ready - waiting for reversal confirm," "check arrow - consider entry").
3.A triangle marker appears on the chart only when a signal reaches "entry candidate" status (bias aligned across higher timeframes, Ready→Fire confirmed or a sufficiently strong setup score, confluence score above threshold, no opposing FVG nearby, and outside the cooldown window).
4.When a marker appears, entry/stop/target lines and labels are drawn automatically; the dollar-risk figures depend on the lot size and pip value you configure for your broker/instrument.
5.The "FVG grade" and "fs" (confluence score) cells let you gauge signal quality even outside a firing bar, useful for anticipating upcoming setups.
6.Optional alerts can be configured to fire on "entry candidate" and "structure break" events via the alert() payload.
Backtest/forward-test before live use. This is a signal/analysis tool, not financial advice, and past structure or score behavior does not guarantee future results.
説明文(日本語版)
概要
本インジケーターは、上位タイムフレームで判定した方向性バイアスと、執行タイムフレーム上の2段階確認プロセス(FVG「リテスト=Ready」→ 反転パターン確認「Fire」)を組み合わせて売買シグナルを生成します。また、構造・FVG品質・プレミアム/ディスカウント位置から0〜100のコンフルエンス(複合)スコアを算出し、チャート上のダッシュボードにエントリー/ストップ/ターゲットのレベルとともに表示します。
ロジックの説明
○ バイアス判定(HTF/MTFのみ) : 方向性バイアスは2つの上位タイムフレーム(執行モードに応じて1H/4Hまたは15M/1Hを自動選択、手動上書きも可)でのEMAの傾き・位置のみから判定します。執行タイムフレームでのEMA判定は遅行しやすく偽の反転を生みやすいため、意図的にバイアス判定から除外し、執行タイムフレームはパターン確認専用としています。
○ 構造イベント : ピボットによるスイング高安からCHoCH(性質変化)とBOS(構造ブレイク)を検出し、これによりバイアスの確定/継続判定と、セットアップが有効とみなされる期間(setup window)の起点を設定します。
○ FVG検出とReady状態 : LuxAlgoのオープンソーススクリプト「Fair Value Gap 」で広く知られるようになった、3本足での強気/弱気ギャップ判定ルールと同じ定義でFVGを検出します(サイズフィルターは、元スクリプトのパーセンテージ閾値の代わりにATRベースの最小サイズを使用)。未接触のFVGに現在のバイアス方向で価格が戻ってきた際に「Ready」状態に入ります。
○ Fire確認 : Ready状態は、反転確認(包み足、ピンバー、新規ミニCHoCH/BOS、または設定可能な下位確認タイムフレームでの直近レンジブレイク)が成立した時点でのみ「Fire」します。この2段階フローにより、FVGへの単純な接触だけでの早すぎるエントリーを抑制する設計です(元のLuxAlgoスクリプトにはこのリテスト確認の仕組みはありません)。
○ FVGグレーディング : エントリーの根拠としたFVGをS/A/Bでグレード付けします。未決済の日足FVGと重なる場合はグレードS、価格が直近レンジの均衡点に対して正しい側(プレミアム/ディスカウント)にある場合はグレードA、それ以外はグレードBとし、このグレードがコンフルエンススコアに反映されます。
○ コンフルエンススコア(fs) : 「setup」サブスコア(構造の新鮮さ、FVGとの近接度、プレミアム/ディスカウント整合)と「exec」サブスコア(トリガーイベントの直近性、リテスト精度)を加重統合し、0〜100のスコアを算出します。このスコアが設定(または自動選択)された閾値を超えた場合のみ「エントリー候補」となります。
○ リスクレベル : Fire確定時、直近スイング点とFVG境界(利用可能な場合)の2種類のストップロス基準、ユーザー設定のリスク倍率に基づく2つのテイクプロフィットレベルをライン表示し、ロットサイズとpip価値の入力からおおよそのドル損失額も併記します。
○ ダッシュボード : 現在のバイアス、平易な表現での推奨アクション、上位タイムフレームの方向、Ready/Fire状態、閾値に対するコンフルエンススコア、FVGグレード、ストップレベルなどをテーブルで表示します。フル/モバイル簡易表示と複数のカラープリセットを選択可能です。
オリジナリティ
本スクリプトのFVG検出ルール(3本足でのギャップ判定+中間バーの終値確認)は、LuxAlgoのオープンソーススクリプト「Fair Value Gap 」で使われている強気/弱気の定義をそのまま踏襲しています。この検出ロジックについてLuxAlgo氏にクレジットを表します。この共通の検出ルールを除き、本スクリプトの以下の要素はLuxAlgoのスクリプトには存在しない独自の追加部分です:
・元スクリプトのパーセンテージ閾値の代わりに、ATRベースのサイズフィルターを使用している点。
・「FVGリテスト」と「反転確認(ローソク足パターン、ミニ構造ブレイク、下位タイムフレームのレンジブレイク)」を分離した2段階のReady→Fireワークフロー。元のLuxAlgoスクリプトはミティゲーション(FVGの消化)の追跡のみで、リテスト確認やシグナルロジックは持っていません。
・日足FVGとの重なりおよびプレミアム/ディスカウント整合に基づくS/A/BのFVGグレーディングと、それを反映した加重0〜100のコンフルエンススコア(元スクリプトには存在しません)。
・方向判定を上位タイムフレームのみに意図的に限定し、執行タイムフレームの分析はすべてパターン/構造確認に委ねるバイアスモデル。
・スイング基準とFVG基準の2系統ストップロス参照、おおよその金額換算リスク表示、エントリー/SL/TPラインとラベルの自動描画、チャート上の総合判断ダッシュボード。これらは、シグナルやリスク管理機能を持たない単体のFVG描画ツールである元のLuxAlgoスクリプトには存在しません。
本スクリプトはオープンソースで公開しており、これは元となるオープンソースのFVG検出概念の再利用条件にも準拠するものです。
使い方
1.執行モード(5分または15分)を選択します。上位タイムフレームは自動的に対応するものが選ばれますが、手動上書きも可能です。
2.ダッシュボードの「Action」セルを確認してください。現在の状態が平易な表現で表示されます(例:「MTF整合済み・setup待ち」「反転確認待ち(Ready)」「矢印を確認・エントリー検討」など)。
3.チャート上の三角マーカーは、シグナルが「entry_candidate」状態に達したときのみ表示されます(上位タイムフレームでのバイアス整合、Ready→Fire確認または十分なセットアップスコア、コンフルエンススコアが閾値超え、反対側FVGが近接していない、クールダウン期間外であること、をすべて満たす場合)。
4.マーカー表示時、エントリー/ストップ/ターゲットのラインとラベルが自動描画されます。ドル損失額の表示は、ご自身のブローカー・銘柄に応じて設定するロットサイズとpip価値の入力値に依存します。
5.「FVG grade」「fs」セルは、シグナル発火前でも信号の質を把握する手がかりとなり、今後のセットアップを予測する際に活用できます。
6.alert()ペイロードにより、「entry_candidate」「structure_break」イベント発生時にアラートを設定できます。
実運用前にバックテスト・フォワードテストを行ってください。本スクリプトはシグナル・分析ツールであり、投資助言ではありません。過去の構造やスコアの挙動が将来の結果を保証するものではありません。
Indicator

Indicator

Strategy

Institutional Market Structure Engine [PRO]Institutional Market Structure Engine
The Institutional Market Structure Engine is an advanced, fully non-repainting quantitative trading script built for professional Smart Money Concepts (SMC) and price action traders. Rather than cluttering the chart with endless geometric shapes, this indicator employs a highly strict validation engine to ensure only the highest-probability, institutionally-backed levels are displayed on your chart.
Core Features
1. Dual-Layer Market Structure Engine The script simultaneously tracks two layers of market structure:
Macro (External) Structure: Tracks major high-timeframe swings (drawn with thick, solid lines). Prints M-BOS (Break of Structure) and M-CHOCH (Change of Character).
Micro (Internal) Structure: Tracks short-term pullbacks and minor structure (drawn with thin, dotted lines). Prints m-bos and m-choch.
2. Volume Delta Validation Not all structure breaks are equal. The engine uses a 20-period Volume SMA to validate structural displacement. If a break occurs on high volume, it is labeled as a "Strong BOS". If it occurs on low volume, the engine identifies it as a potential fake-out and labels it as a "Weak BOS" or "Sweep".
3. Strict Smart Money Concepts (OB + FVG + IFVG) This indicator features an incredibly strict SMC generation algorithm designed to keep your chart remarkably clean:
Coupled Order Blocks & FVGs: Fair Value Gaps are only drawn if they are formed immediately following a valid Order Block. Isolated displacement without an initiating block is ignored.
Liquidity Sweeps: Order blocks can be strictly filtered to only appear if they swept the liquidity (wick) of the preceding candle.
Inversion FVGs (IFVG): When price completely closes through an unmitigated FVG, it flips polarity. A broken Bullish FVG instantly converts into a Bearish IFVG (acting as resistance), changing its color and label until it is mitigated from the opposite side.
Chart Garbage Collection: To prevent visual clutter, the engine forces a maximum active limit. It actively sweeps the chart to ensure you never have more than 6 active Order Blocks and 6 active IFVGs/FVGs on your screen at any given time.
4. Institutional Liquidity Pools Institutional algorithms heavily target multi-day liquidity. The script automatically fetches and projects the exact horizontal price levels for:
Previous Day Highs and Lows (PDH / PDL) - Dashed Lines
Previous Week Highs and Lows (PWH / PWL) - Thick Solid Lines
5. Multi-Timeframe Dashboard A sleek, customizable Heads-Up Display (HUD) sits in the corner of your screen, feeding you real-time trend alignment metrics. It calculates exponential moving average trends across 4 custom timeframes so you never take a trade against the higher timeframe momentum. Indicator

Turtle Soup Strategy with 1-Bar ConfirmationCatching Institutional Traps:
The Turtle Soup 1-Bar Confirmation MechanicsIn high-frequency and algorithmic trading environments, traditional breakout strategies frequently fall victim to institutional stop-hunts. When price breaks past an established 20-bar extreme, retail momentum systems are triggered to buy or sell the expansion. Concurrently, institutional market makers utilize these concentrated liquidity pockets to fill large counter-positions, resulting in sharp rejections known as "fakeouts".This publication presents the core structural mechanics of a refined Turtle Soup Reversal Model with Strict 1-Bar Confirmation. Rather than attempting to trend-follow highly volatile breakout expansions, this system introduces an automated state-machine architecture engineered to locate, track, and execute trades alongside institutional order absorption.
💎 Key Architectural & Analytical PillarsTo maintain strict execution data discipline on lower timeframes, the script is structured around three proprietary processing frameworks:
1. Zero-Lag Pure Price Action CoreUnlike classic reversal oscillators (RSI, Stochastic, or MACD) that require compounding mathematical averages—which naturally introduces execution lag—this logic operates exclusively on raw spatial thresholds. By plotting step-line boundaries from static historical peaks and troughs, the exact tick distance of structural sweeps can be monitored without lagging indicators distorting the entries. =================================== (20-Bar Historical High)
▲ (The Sweep Wick: Price pierces high)
│
▼ (The Trap Snap: Next candle closes below low)
----------------------------------- (Setup Invalidation Floor)
2. The Multi-Phase State Isolation Engine To completely eliminate signal stacking and duplicate arrow cluster errors during highly volatile flushes, the logic utilizes a sequential State Machine Processor. State 0 (Ready / Flat): The script searches the chart data for a valid historical boundary breach. State 1 / -1 (Trap Active Zone): The moment a candle's wick runs outside the channel lines, the engine halts further search processing. It locks onto that specific bar index, saves its high/low coordinates as unique reference vectors, and opens a strict conditional confirmation window.
3. Strict 1-Bar Confirmation ValidationThe definitive edge of this strategy lies in its restricted window constraint: bar_index == setupBarIndex + 1.If a market-maker stop-hunt is legitimate, the price must immediately fail and reverse back inside the range on the very next candle. If the market continues to expand aggressively against the level for 2 or more bars, the state machine automatically self-resets to 0, clearing all variables. This mathematical restriction prevents the script from attempting to "catch a falling knife" during real macro trend expansions. Indicator

Indicator

ORB ORB V2 plots the Opening Range Breakout for the Asia, London, or New York session, using the high and low of a selectable timeframe candle (1 to 240 min) captured at the exact session open in New York time.
What it draws:
High, midpoint (50%), and low lines of the opening range, extended live for the duration of the session
Color-coded labels showing the exact price of each level
A vertical opening marker at session start
Built-in bias filter:
A configurable EMA (default 20-period on the 1H timeframe, both adjustable) is calculated independently of the chart timeframe via request.security, and compared to price to display a simple Bullish/Bearish bias — useful for filtering ORB breakout trades in the direction of the higher-timeframe trend rather than trading every breakout blindly.
Dashboard:
A bottom-right table shows the total range size and the distance to the 50% level, converted into your choice of units (ticks, pips, or % for crypto), plus the previous day's high and low for additional context, and the current bias reading.
How to use it:
Select your session (Asia / London / NY) and the opening candle timeframe.
Watch for price to break above/below the ORB high/low.
Use the EMA bias reading to favor breakouts aligned with the higher-timeframe trend, and the 50% level as a mid-range reference for partial targets or re-entries.
Use the dashboard to gauge range size in your preferred unit before sizing a trade.
All colors, label sizes, and the dashboard display can be customized from the indicator settings. Indicator
