CPI Strat - Points, Levels & SentimentCPI Strat — Points, Levels & Sentiment
CPI Strat is a clean, visual level-based trading tool designed to help traders quickly identify potential long and short entry zones and predefined profit targets.
The indicator automatically calculates Long and Short Entry levels from the current market price using a customizable point offset, along with corresponding Take Profit levels.
Key Features
🟢 Long Levels
Automatically calculates a long entry and upside target.
🔴 Short Levels
Automatically calculates a short entry and downside target.
📏 Customizable Point Levels
Adjust the Entry Offset and Target Distance to fit your trading style and instrument.
📊 Market Sentiment Dashboard
A compact dashboard displays the current market sentiment as BULLISH, BEARISH, or NEUTRAL, based on the current candle.
💡 Clear Price Levels
Each level displays the actual price as well as the corresponding point distance, making the setup easy to read directly from the chart.
✨ Clean Visual Design
Bright, solid green long levels and red short levels provide an easy-to-read visual framework without cluttering the chart.
Example
With an Entry Offset of 25 points and a Target Distance of 15 points:
LONG
Entry: +25 points
Target: +40 points
SHORT
Entry: −25 points
Target: −40 points
The goal of CPI Strat is to provide a simple, structured visual framework for planning potential trade levels and quickly assessing current market direction.
Disclaimer: This indicator is an analytical tool and does not provide financial advice or guarantee trading results. Always use proper risk management and conduct your own analysis before entering a trade. Indicador

Silvara-Mcx-ComexSilvara MCX-COMEX Arbitrage Monitor
This indicator tracks the price gap between India's MCX and the international COMEX market for Silver and Gold. It converts the COMEX price to Indian rupees (INR), adds import duty, and compares it with the live MCX price. It shows how much MCX is trading at a premium or discount to the international price, which is the gap arbitrage traders watch.
WHAT IT SHOWS
A dashboard in the centre of the chart with three sections:
- Silver Deviation and Gold Deviation: COMEX day-change %, MCX day-change %, the difference between them, the converted landed price and MCX price in INR, and the live percentage gap.
- Ratio Dashboard: daily open, high, low and close of Gold/Silver, Gold/Platinum and Platinum/Silver.
HOW IT IS CALCULATED
1. Daily divergence % = COMEX % change since the previous day's close minus MCX % change since the previous day's close, calculated separately for Silver and Gold.
2. Landed price (INR):
- Silver (per kg) = COMEX USD/oz x USDINR x (1000 / 31.1034768) x (1 + duty%)
- Gold (per 10 g) = COMEX USD/oz x USDINR x (100 / 311) x (1 + duty%)
3. Difference (INR) = landed price minus MCX price.
4. Difference % = difference / MCX price x 100.
Import duty is an input (default 15%).
Symbols used: MCX:SILVER1!, MCX:GOLD1!, COMEX:SI1!, COMEX:GC1!, VANTAGE:USDINR, TVC:GOLD/TVC:SILVER, TVC:GOLD/TVC:PLATINUM, TVC:PLATINUM/TVC:SILVER.
ALERTS
1. Timer-lock alerts (the main feature). The daily divergence % is split into bands at every 0.5 level from +5.0 to -5.0, each band 0.2 wide (level +/- 0.1). The landed-price difference % is split into bands at every 0.5 level from -1.5 to -15.0, also 0.2 wide. Instead of alerting every time a value touches a band, the script alerts once, only after the value has stayed continuously inside the same band for a set number of seconds (3 to 300, default 30). Leaving the band resets the timer. This gives one alert per sustained stay instead of repeated alerts when the value flickers around a band edge. It runs separately for Silver and Gold, and for both measures. The alert conditions are "Silver / Gold Deviation Timer Locked" and "COMEX-MCX Deviation Timer Locked".
2. Touch alerts on the INR difference. Set your own Entry Upside, Exit and Entry Downside levels for Silver and Gold. These trigger immediately on a cross.
3. Ratio alerts. Set your own Buy, Sell and Free levels for Gold/Silver, Gold/Platinum and Platinum/Silver. Buy triggers when the ratio crosses down through the level, Sell when it crosses up, and Free on a cross in either direction.
HOW TO USE
1. Add the indicator to any chart. The dashboard is drawn in the centre of the chart.
2. Set Import Duty % to match your own landed-cost assumption.
3. Set "Target seconds to lock" for each timer-lock alert in the Timer Settings groups.
4. Set your touch and ratio levels in the alert input groups (default 0 means unused).
5. Create an alert on this indicator and pick the condition you want.
LIMITATIONS
- Continuous front-month contracts (1!) can be in different contract months on MCX and COMEX, and can show gaps at roll time.
- Import duty is a manual input. GST, freight, premiums and dealer margins are not included, so real landed cost will differ.
- COMEX symbols need the appropriate CME market data on your TradingView plan.
- Timer-lock logic runs only on realtime updates, not on historical bars. Its timers reset when the script reloads.
- Timer-lock bands cover -5 to +5 for the daily divergence and only -1.5 to -15 for the landed-price difference. Positive landed-price premiums are not covered by timer-lock alerts.
- Alert messages are fixed text and do not include the live value.
- For monitoring only. Not financial advice.
SOURCE CODE
This script is open-source, so you can check the calculations and reuse them with credit. Indicador

Market Seasonality CalendarMarket Seasonality Calendar adds a recurring calendar framework to the price chart. It highlights nine predefined seasonal periods, explains their assigned market context, displays the next three upcoming periods, and summarizes how the selected instrument moved during previous occurrences.
The indicator is designed for traders who want to include seasonal context in market preparation and chart analysis. It combines calendar shading, a timeline, explanatory text, instrument-specific historical statistics, and advance alerts in one overlay.
It provides context for an existing trading process. It does not generate trade entries, exits, stop-loss levels, or price targets.
**How the calendar works**
The model uses fixed date ranges that repeat every year. Each range has an assigned interpretation: a positive seasonal bias, a downside-risk context, or potential support from share buybacks.
These are predefined seasonal hypotheses. The script does not discover the dates by searching for the most profitable historical periods. The assigned color remains the same even when historical results disagree with the expected direction.
Event names describe the themes associated with the calendar model. The indicator does not retrieve actual earnings dates, GDP release schedules, contract expiration calendars, or executed buyback activity. An event label does not mean that the named event occurs within that exact date range every year or for every company.
**Included seasonal periods**
- January 3–12 — Green: positive seasonal context; Q4 earnings/GDP theme and beginning-of-year expectations.
- March 15–22 — Red: downside-risk context; futures and options expiration theme and profit-taking.
- April 5–10 — Green: positive seasonal context; Q1 earnings/GDP theme and the beginning of the second quarter.
- June 17–21 — Red: downside-risk context; contract expiration and portfolio rebalancing themes.
- July 4–11 — Green: positive seasonal context; Q2 earnings/GDP theme.
- September 16–20 — Red: downside-risk context; contract expiration and end-of-summer profit-taking themes.
- October 5–10 — Green: positive seasonal context; Q3 earnings/GDP theme and buyback expectations.
- November 1–7 — Gold: potential demand support associated with the share buyback theme.
- December 16–23 — Red: downside-risk context; contract expiration and year-end position unwinding themes.
Dates are inclusive and refer to calendar days. The schedule is not shifted to match holidays or actual event dates. Price zones and statistics use the available chart bars within those ranges.
**Reading the colors**
Green identifies periods assigned a positive or upward seasonal bias. Price can still fall during a green period.
Red identifies periods assigned a downside-risk and volatility theme. Price can still rise during a red period. The indicator does not test whether volatility actually increased; its historical match calculation measures price direction.
Gold identifies the model’s buyback-support period. It does not confirm that a company is buying shares, and it does not mark a technical support level.
Outside the listed periods, the panel reports no active window. This means that the calendar has no active classification; it does not mean that market risk is low.
**Suitable instruments**
The intended starting point is U.S. equity-market analysis. Broad U.S. equity benchmarks and related ETFs, such as the S&P 500/SPY and Nasdaq-100/QQQ, are sensible instruments for exploring the model because its themes concern corporate earnings, equity derivatives, and share buybacks.
This is a recommendation based on the model’s intended context, not evidence of superior predictive performance on those instruments.
Individual U.S. stocks can also be examined. However, company-specific news and earnings announcements may outweigh broad calendar effects. Verify those events separately.
For other equity markets, index futures, or CFDs, assess the relevance of the calendar model and the selected data feed, trading sessions, and timezone. Continuous futures can also be affected by contract rolls and historical adjustments. The script does not adapt its calendar to each local market.
The model was not specifically calibrated for cryptocurrency, foreign exchange, or commodities. Being able to display the overlay on an instrument does not establish that its seasonal assumptions apply there.
**Recommended timeframes**
Start with the daily chart, 1D, to review the multi-day periods and historical statistics.
Intraday charts, such as 4H, 1H, or 15 minutes, can provide a more detailed view of price behavior within a seasonal period. The calendar dates remain the same on every supported timeframe.
The supported calculation timeframes are 1D and intraday. Multi-day, weekly, and monthly charts are not supported for active-window tracking and statistics. Switch to 1D or lower when the panel requests it.
Standard time-based candlesticks or bars are recommended so that the statistics use ordinary market prices.
**What appears on the chart**
The information panel focuses on the active period, or the next period when none is active. It displays:
- The period’s dates and assigned market context.
- Its associated event theme.
- An explanation of the expected effect and underlying theme.
- Guidance on interpreting the seasonal context.
- A color guide.
- The next three upcoming periods with calendar-day countdowns.
- Historical statistics for the period currently in focus.
For example, when November 1–7 is in focus, the statistics summarize eligible past November 1–7 occurrences. They do not combine all green or gold periods.
The panel follows the latest chart bar rather than the bar under the cursor.
Colored boxes surround the observed price range during tracked periods. Their vertical padding uses ATR(14), and an active box can expand as new bars arrive. These boundaries are visual aids, not forecast ranges, stops, or targets.
The timeline places calendar segments above price. Future segments represent scheduled date ranges only. Its vertical position adjusts to the visible chart area.
In this version, the timeline depends on recorded colored windows. Keep “Show colored windows” enabled when using the timeline and allow enough chart history for at least one window to be tracked.
**Understanding the historical statistics**
SAMPLES is the number of completed, tracked occurrences available in the chart history for the selected period. An unfinished occurrence is not included. A period already in progress at the first loaded bar may also be excluded.
AVG MOVE is the arithmetic mean of each occurrence’s percentage price change:
100 × (last in-window bar close / first tracked in-window bar close − 1).
On a daily chart, this measures from the first included daily close to the last included daily close. It does not include the move from the previous day’s close into the first day.
On an intraday chart, the first and last included bar closes differ from those on the daily chart. Results can therefore change with timeframe and session settings. A completed observation is recorded when the first subsequent out-of-window bar arrives.
MATCH RATE is the percentage of completed occurrences whose price direction agrees with the assigned bias:
- Positive moves count as matches for green and gold periods.
- Negative moves count as matches for red periods.
- An unchanged close-to-close result is not a match.
A small move and a large move each count as one occurrence.
The accompanying labels use simple thresholds:
- LOW DATA: fewer than three observations.
- STRONG: at least three observations and a match rate of 70% or higher.
- MODERATE: at least three observations and a match rate from 55% to below 70%.
- WEAK: at least three observations and a match rate below 55%.
These labels summarize historical directional agreement. They are not confidence levels, statistical significance tests, or probability forecasts.
Match rate is not a trade win rate. Average move is not a strategy return. The calculations do not simulate orders, transaction costs, slippage, stops, or position sizing.
Available history, symbol, timeframe, session, timezone, and chart price adjustments can affect the results. The “Historical windows” setting limits the number of displayed boxes, not the number of observations used in the statistics.
**A practical workflow**
1. Open a standard daily chart, for example SPY, and add the indicator.
2. Keep “Use exchange timezone” enabled initially and load sufficient historical data.
3. Read the active or next period, its explanation, and the sample count before interpreting the percentages.
4. Compare the calendar context with your own trend, price-level, volume, and risk analysis. Check actual company and economic event dates separately.
5. If useful, switch to an intraday chart to inspect price behavior inside the period. Remember that statistics will be recalculated using that chart’s bars.
6. Use upcoming-period alerts as preparation reminders, then review completed outcomes without assuming that the seasonal bias must repeat.
For example, a red period approaching during an uptrend is a reason to review the risk context within your own process. The calendar alone does not confirm a reversal or specify a short entry.
**Settings and languages**
The panel supports English, Russian, German, Spanish, Arabic, and Simplified Chinese. Input titles remain in English.
Panel position offers four chart corners. Panel size offers Compact, Standard, and Large.
The display settings include:
- Show information panel — displays the dashboard.
- Show colored windows — displays the tracked seasonal price zones.
- Show timeline above chart — displays calendar segments above price.
- Window transparency — adjusts zone shading.
- Window padding (ATR) — adjusts spacing around the observed price range.
- Historical windows — controls the number of retained boxes.
- Timeline distance (ATR) — adjusts the timeline’s vertical distance from price.
The calendar uses the symbol’s exchange timezone by default. Disable “Use exchange timezone” to apply the “Custom timezone (IANA)” setting.
Date classification uses each bar’s opening timestamp in the selected timezone. Changing only the chart’s displayed timezone does not change the indicator’s timezone setting.
**Alerts**
The indicator supports a window-start alert and an advance warning.
“Warn N calendar days before” sets the warning range, with a default of three calendar days. The warning occurs when the chart first enters that range; it is not intended as a daily reminder.
Enable the desired alert types in the indicator settings, then create a TradingView alert for this indicator.
Choose “Any alert() function call” for detailed messages localized to the selected language. Alternatively, select an individual “Calendar window started” or “Calendar window approaching” condition for its fixed English message.
Alerts run on live chart updates. They are not independent weekend or holiday calendar notifications. Adding the indicator does not automatically create a running alert.
If a boundary passes while no bars arrive, delivery can be delayed or the warning can be missed. Recreate alerts after changing the settings or language that they should use.
**Scope and limitations**
This indicator provides a fixed-calendar overlay with descriptive historical statistics. Future dates are known because the calendar is predefined, not because future price information is available.
Active price boxes evolve with incoming bars. Completed-window statistics become available after the window ends and a subsequent bar arrives.
The script does not validate the economic explanation behind each period, establish causation, or guarantee that historical effects will persist.
Use it as an educational and analytical aid alongside independent analysis and risk management.
**English**
Highlights nine fixed seasonal periods, shows upcoming windows, and summarizes historical price changes and directional agreement for the selected instrument. Start with U.S. equity indices or ETFs on 1D; intraday charts are also supported. Provides calendar context, not trade signals or a live economic calendar.
**Русский**
Отмечает девять фиксированных сезонных периодов, показывает ближайшие окна и историческую статистику изменения цены и совпадения направления. Начните с фондовых индексов США или ETF на 1D; внутридневные графики также поддерживаются. Это календарный контекст, а не торговые сигналы или актуальное расписание экономических событий.
**Deutsch**
Markiert neun feste saisonale Zeitfenster und zeigt kommende Zeiträume sowie historische Kursveränderungen und die Übereinstimmung mit der erwarteten Richtung. Als Einstieg eignen sich US-Aktienindizes oder ETFs im Tageschart; Intraday-Charts werden ebenfalls unterstützt. Liefert saisonalen Kontext, keine Handelssignale und keinen aktuellen Wirtschaftskalender.
**Español**
Señala nueve períodos estacionales fijos y muestra los próximos períodos, la variación histórica del precio y la coincidencia con el sesgo previsto. Para empezar, utilice índices bursátiles estadounidenses o ETF en 1D; también admite gráficos intradía. Aporta contexto estacional, no señales de operativa ni un calendario económico actualizado.
**العربية**
يحدد تسع فترات موسمية ثابتة، ويعرض الفترات القادمة والتغيرات التاريخية للأسعار ومدى توافق اتجاهها مع الميل الموسمي المفترض. يُنصح بالبدء بمؤشرات الأسهم الأمريكية أو صناديق المؤشرات المتداولة على الإطار اليومي؛ كما يدعم الأطر الزمنية خلال اليوم. يقدم سياقًا موسميًا، وليس إشارات تداول أو تقويمًا اقتصاديًا محدثًا.
**中文(简体)**
标示九个固定的季节性时段,展示即将到来的时段、历史价格变动及其与预设方向的一致率。建议从美国股票指数或相关ETF的日线图开始,也支持日内周期。提供季节性背景参考,不提供交易信号,也不是实时经济日历。 Indicador

ICone buy and sell with smc# ICone v2.6 — Complete Trading System (Investment Circle)
ICone turns your chart into a full decision-making system: quality-filtered signals, automatic risk/reward visualization, smart money concepts, volume analysis and macro context — all in one tool, designed so that even beginners instantly understand what to do.
**🎯 One clear instruction — never guess again**
The engine trades three setup types: trend continuations (pullback-to-MA20 with momentum, volume and multi-timeframe confirmation), breakout-retest patterns from compression, and liquidity sweeps (confirmed false breakouts traded as reversals). Every setup is scored 0–100 and gated by the daily trend. The chart stays clean — you only see **ENTRY LONG / ENTRY SHORT** where a position is actually taken. When flat, a **WATCHING label** tells you exactly what the engine is waiting for.
**🟥🟩 Risk/Reward painted on the chart**
The moment a trade opens, the entire plan is drawn automatically: a **red zone** from entry to stop-loss (your risk) and **green stepped zones** up through TP1–TP4 (your reward) — like TradingView's position tool, but automatic on every signal. Lines carry R-multiples (−1R, +1R… +4.5R) and sell percentages ("TP1 – SELL 25%"). The stop moves to break-even after TP1 and trails after TP2. An optional **ADD-ON level** at −0.5R marks where to scale in. All graphics are cleaned up when the trade closes. Colors and opacity are fully customizable.
**💳 Trade Card in real money**
A compact card shows the trade in currency, not just percent: stake, risk to SL, potential at TP4, risk/reward ratio and live P/L — updating in real time. A gold **NEXT TARGET flag** points at the current objective and counts down the distance.
**🧭 Live Position Guide**
While in a trade, the guide reads the chart and escalates plain-language advice — *"Sell 25% now" → "Sell 75%" → "Close everything"* — with the reason (momentum fading, false breakout against you, macro turning). It patiently waits until TP1 is reached before advising exits, letting winners breathe.
**🌍 Gold Macro Score (−100 to +100)**
Fourteen weighted drivers — real yields, DXY, Fed liquidity, ETF flows, miners, silver, credit, VIX — compressed into one verdict from STRONG BULL to STRONG BEAR, vetoing trades that fight the macro tide.
**📊 Full smart-money context**
Market structure (HH/HL, BOS/CHoCH), buy/sell zones (order blocks), iFVG, PDH/PDL/PWH/PWL, session highs/lows, liquidity pools, yesterday's POC and a side volume profile with the highest-volume node highlighted.
**🖥️ Beginner-friendly dashboard**
A wide panel that opens with the answer everyone wants: **"WHAT TO DO RIGHT NOW"** — followed by market regime, signal strength, all timeframes in %, the macro score and a multi-asset overview. Every row explains itself on hover.
**⚙️ One-click profiles & alerts:** "Gold optimized" and "Index optimized" apply the full tested configuration instantly. A single alert covers entries, take-profits, warnings and advisor actions.
*Past performance never guarantees future results. Always forward-test on your own instrument and timeframe before trading live. Not financial advice.*
Estratégia

Forward P/E Rolling Z-ScoreThe Forward P/E Rolling Z-Score is an advanced fundamental-technical hybrid indicator designed to evaluate equity valuation extremes. By standardizing forward price-to-earnings (P/E) ratios into a rolling statistical Z-score, this tool helps investors identify when a stock or index is statistically overvalued or undervalued relative to its own historical baseline. Unlike traditional static P/E multiples that fail to account for shifting market regimes, this indicator dynamically measures standard deviation shifts over a rolling lookback period. Furthermore, it features a built-in historical performance tracker that automatically measures forward returns, win rates, and trigger counts across multiple time horizons (1-Month, 3-Month, 6-Month, and 1-Year) based on user-defined threshold crossings.
Key Features
Dynamic Valuation Z-Score : Calculates a rolling mean and standard deviation of forward P/E ratios to measure statistical deviation from the norm.
Optional Smoothing: Apply a moving average (SMA or EMA) to the raw Z-score to filter out high-frequency noise and reduce false signal whipsaws.
Automated Performance Table: Displays a real-time analytics matrix on the chart tracking historical forward returns, win percentages, and total sample triggers since a customizable start date.
Multi-Horizon Tracking: Evaluates signal efficacy across 4 distinct forward windows: 1 Month (21 bars), 3 Months (63 bars), 6 Months (126 bars), and 1 Year (252 bars).
[* ]Visual Extremes Shading : Automatically highlights expensive and cheap valuation zones on the chart background for quick visual identification.
Flexible Signal Triggers: Customize your directional bias with selectable cross modes (Cross Over or Cross Under) and adjustable standard deviation thresholds.
Inputs & Customization
Performance Tracking Start Date: Set the historical anchor date to begin tracking backtested signal performance.
Z-Score Settings : Lookback Period (Bars) defines the historical window for mean and standard deviation calculations (default: 60); Signal Threshold & Direction defines the standard deviation trigger levels and whether to track crosses above or below the threshold; Annualize EPS automatically projects quarterly estimates into annualized figures.
Moving Average Smoothing: Allows you to select between EMA or SMA, and adjust the length.
Visuals: Toggle extreme zone background shading and select whether shading/signals rely on raw or smoothed Z-scores.
Performance Table: Customize table placement (Top Right, Top Left, Bottom Right, Bottom Left) or toggle it entirely.
How to Use
Valuation Assessment: Monitor the lower pane oscillator. Values above +/- 2 indicate statistically expensive conditions, while values below your set threshold indicate attractive, cheap valuations.
Strategy Optimization: Use the on-chart performance table to inspect how historical signals have performed over various forward horizons to gauge the predictive edge of your chosen threshold.Disclaimer: This indicator is for educational and informational purposes only and does not constitute financial advice. Indicador

CVD Footprint ExporterProposed public title: Footprint CSV Exporter for CVD Research
Saved Pine script: CVD Footprint Exporter
Suggested publication settings: Public, Open-source
Status: Draft only. Not published.
DESCRIPTION
This utility exposes TradingView footprint data as Data Window plots that can be included in the native Download chart data CSV export. It is intended for people building candle-by-candle datasets for volume delta and cumulative volume delta research.
The script follows the current chart symbol and timeframe. It exports candle buy volume, sell volume, delta, total footprint volume, Point of Control price bounds and buy/sell volume, value-area boundaries, footprint row count, row size, trading-day timestamp, and chart volume. It also exports detailed price rows in batches of 12.
HOW TO EXPORT
1. Add the indicator to your chart and choose the symbol and timeframe you want to study.
2. Set Ticks per row. Price-row size equals this setting multiplied by the symbol's minimum tick. The default is 30 ticks; on GC with a 0.1 tick, that is 3.0 price points. This is a fixed setting, not automatic ATR sizing.
3. Load the historical candles you need by navigating backward on the chart.
4. Leave First row index at 0 and use the chart layout menu's Download chart data option. UNIX timestamps make it straightforward to join multiple exports.
5. Check FP_row_count. If any candle has more than 12 rows, set First row index to 12 and export again, then 24, 36, and so on until all rows are covered. Keep the symbol, timeframe, history, and row-size settings unchanged between batches.
6. Join batches by candle timestamp. A batch's FP_r0 fields refer to the row at FP_row_offset, and FP_r11 refers to offset plus 11. Rows run from lowest to highest price. Each row's upper boundary is its exported lower boundary plus FP_row_size.
READING THE FIELDS
FP_available is 1 when TradingView returns a footprint, otherwise 0. Unavailable volumes are blank, not zero.
FP_delta is buy volume minus sell volume.
FP_POC_low and FP_POC_high describe a price range rather than a single exact price.
FP_VAH and FP_VAL describe the value-area boundaries. The script uses 70% value area and a 300% imbalance threshold.
The row imbalance code is 0 for neither, 1 for buy imbalance, 2 for sell imbalance, and 3 for both.
FP_chart_volume is included separately so source differences can be detected rather than concealed.
CUMULATIVE DELTA AND RESEARCH EXAMPLES
This version exports raw per-candle delta. It does not plot CVD or calculate a cumulative series inside Pine. To calculate CVD after export, sort by timestamp and take a running sum of FP_delta. Record the starting timestamp and reset rule, such as the first available footprint or each trading day. Missing footprint history must not be treated as zero delta.
Other calculations include red candles with positive delta, green candles with negative delta, imbalance counts, and the POC's position relative to the candle body.
LIMITATIONS
The script prepares exportable fields; it does not automatically download files or load unlimited history. TradingView account features and data availability determine access to footprint requests and CSV export. Footprint data may cover less history than ordinary OHLCV.
The price footprints visible on the chart are TradingView's native chart type, not graphics drawn by this indicator. The indicator's outputs appear in the Data Window and CSV.
Buy/sell values use TradingView's footprint classifications and are not an independent verification of exchange bid/ask trades. Live candles can change before closing.
A price row may overlap a candle's body and wick. The script does not split that row's volume into exact wick-only quantities.
This is a data collection utility with no entries, exits, alerts, or backtest results.
AUTHOR PREPARATION NOTE (not part of the public description)
Use a clean publication chart containing the exporter and only the visuals needed to demonstrate it. Exclude unrelated strategies, private indicators, trading/account information, and drawings. Explain that the native footprint chart provides the displayed footprint graphics. Verify the final screenshot and available public/open-source settings before submission.
Indicador

Economic News Release - USD Forex Factory Weekly 2026Economic News Release – USD Forex Factory Weekly
A compact, chart-integrated economic calendar designed for traders who need immediate visibility of scheduled U.S. economic events without leaving TradingView.
The indicator displays a weekly USD news table based on Forex Factory calendar classifications and is specifically engineered to remain functional during TradingView Bar Replay. Unlike calendar tools that reference the current real-world date, the displayed week is derived from the chart’s active/replay timestamp, allowing historical sessions to be reviewed with the corresponding embedded economic-event schedule.
Key functionality includes:
This Week / Next Week selector for quickly switching between the active calendar week and the following week.
Bar Replay compatibility — the calendar follows the historical replay cursor rather than the current date.
USD events classified by Forex Factory impact:
Red — High Impact
Orange — Medium Impact
Gray — Lower Impact
Silver — U.S. market/bank holidays
Independent filters for each impact category.
One row per economic event, preserving the individual time, event name, and impact classification.
Dynamic table sizing — only the rows required for the selected week are displayed, eliminating unnecessary empty space.
Adjustable table text size from Tiny through Huge.
Customizable table position and background transparency.
Event timestamps standardized to America/New_York / Eastern Time, appropriate for U.S. index and futures-market analysis.
Includes major macroeconomic releases, central-bank events, employment data, inflation data, sentiment releases, scheduled speeches, holidays, and other relevant USD calendar events contained in the embedded database.
The indicator is intended primarily as a contextual risk-management and historical-review tool. It can be used to identify when price action occurred around scheduled economic catalysts, distinguish ordinary trading periods from event-driven conditions, and perform more accurate historical session analysis in Bar Replay.
Important: Pine Script cannot directly retrieve live Forex Factory calendar data through arbitrary HTTP requests. Consequently, the calendar is embedded within the script and represents a maintained calendar snapshot. Future event dates, times, or classifications may be revised by the original calendar source and therefore require periodic script updates.
This indicator does not generate trade signals or predict market direction. It provides structured economic-calendar context directly on the chart. Indicador

ICT Combined Venom Silver Bullet Displacement LiquidityICT Combined — Venom / Silver Bullet / Displacement / Liquidity
WHAT THIS IS
Fourteen independent ICT modules in one overlay, each with its own on/off switch. It exists to replace four or five separate scripts on a single chart, which is why the modules are switchable rather than fused together.
Nothing here predicts price. Every module is a mechanical description of something that has already happened on the chart, drawn so it can be seen at a glance.
MODULES 1, 2 AND 3 — THE SESSION MODEL
Three independent instances of the same engine: a Venom NY instance with its own sessions, and two Silver Bullet windows defaulting to 10:00-11:00 and 14:00-15:00 New York. The sequence each one runs is:
1. Build an opening range. During the opening-range session the highest high and lowest low are tracked. The range seals the instant that session ends — the first bar of the trading window does not extend it.
2. Wait for a directional raid. During the trading window, the first side of the range taken out arms the model in the opposite direction: a high taken arms the bearish case, a low taken arms the bullish case. If both sides get taken the model stands down for that session, because the range was not respected and there is no clean directional read.
3. Locate the CISD level. On the raid bar the script scans back up to "Bar Back Check" bars for the most recent candle whose body opposed the raid — a down-body candle for a high raid. That candle's open becomes the change-in-state-of-delivery level. Where two consecutive opposing candles exist the more conservative of the two opens is used. A dotted line runs from that candle forward, extending while price stays on the raid side.
4. Confirm. When a candle CLOSES BACK THROUGH the level, the model confirms and a triangle marks the bar. Body close, not wick — a wick through the level is not a change in state of delivery. A level left untouched longer than the staleness setting is abandoned.
5. Mark the zone. On confirmation the order block anchored at the session extreme is drawn and refined. In parallel the script tracks fair value gaps formed while the model was armed, discards any price has already mitigated, and draws the most recent survivor. Mitigation level is selectable for both zone types — proximal edge, 50%, or distal edge.
Why three instances: the engine holds per-session state, so one copy cannot track two overlapping windows. Three independent instances let a broad session model and two narrow windows coexist without interfering. All sessions are editable and a London Silver Bullet preset is included. Times are America/New_York and follow daylight saving automatically.
MODULE 4 — DISPLACEMENT
Flags candles whose range is unusually large relative to recent behaviour and that leave an unfilled gap behind them.
The measure is either the absolute open-to-close distance or the high-to-low range, compared against a rolling standard deviation of that same measure multiplied by a strength factor. A candle qualifying on size AND producing a three-bar fair value gap is coloured, and a short marker box is drawn over the gap.
Everything here evaluates on confirmed bars only. The gap test reads the third bar of the pattern, which is still forming in real time, so an unconfirmed signal could otherwise appear and then vanish. By default the module only marks candles inside an active trading window rather than painting all session.
MODULE 5 — LIQUIDITY LEVELS AND SWEEPS
Draws prior-day, prior-week, prior-month, Asia-session and London-session highs and lows, and marks when one is swept.
Higher-timeframe levels use the previously closed period, requested in a way that reveals nothing early. Asia and London use the most recently completed session range, so both are sealed before the New York open.
A sweep here means RAID AND REJECTION, not a break. Price must trade through the level and close back on the original side within the same candle. A candle closing beyond the level is treated as acceptance, not a sweep, and is not marked. Each level fires once and re-arms only when the level itself updates.
Marks name every level taken on that bar, so a candle raiding several pools at once is visible as exactly that.
MODULE 6 — FIRST PRESENTED FVG
The first fair value gap to form in the morning and afternoon windows, with Consequent Encroachment (the 50% midpoint) drawn as a dashed line and the gap labelled with its formation time.
Two details matter here.
First, the gap is always sourced from the ONE-MINUTE chart regardless of the timeframe being viewed. The first presented gap is a one-minute event; detecting it on a 15-minute chart would find a different gap at a different price. Zones are anchored by timestamp, so they land correctly even when the gap forms mid-bar on a higher timeframe.
Second, the session window is tested against the MIDDLE candle of the three — the candle that creates the gap. A 09:31 start therefore means the 09:30 opening candle is never the gap-forming candle. Testing the confirming candle instead would let the pattern reach back to 09:29, before the open.
Gaps are retained across days rather than cleared nightly, because they stay relevant long after the session that made them. Up to thirty days can be kept, ten by default, and there are two carry rules: carry every retained gap to the current bar, and always carry Monday's gap through its own week. With both off, a gap simply stops at the end of its own day. A Friday chart with carry-all enabled therefore still shows the whole week plus the tail of the week before.
Retest and CE alerts fire only for the current day's gap. Ten retained gaps each re-arming would produce a stream of alerts from stale levels.
MODULE 7 — OPENING RANGE GAP
The gap between the prior day's regular-session close and today's regular-session open, with the 50% midpoint marked as Consequent Encroachment and optional quadrant lines at 25% and 75%.
The default session ends at 16:15 to match CME index-futures settlement; use 09:30-16:00 for cash equities and indices. Gaps narrower than a configurable minimum are ignored. The gap is reported as filled when price trades back across it to the prior close — the direction of the fill test follows whether the day gapped up or down.
MODULE 8 — PREMARKET DEALING RANGE
The high and low of the 07:00-09:00 New York window, graded into eighths and carried forward across the session.
The range locks when the window closes and is then projected right. The 50% line is equilibrium: above it the market is in premium, below it in discount. The 25% and 75% lines are the quadrants, and the remaining 12.5% steps are the octants. Each line is drawn separately so the grid can be thinned to taste — extremes only, extremes plus equilibrium, or the full eight.
The point of the module is that premium and discount are measured against THIS range specifically, not against the regular-session range and not against the daily range. A rally that looks like strength on the day can be a rally into premium of the premarket range, which is a different reading.
The grid is fractal and the same treatment already appears elsewhere in the script: module 7 draws quadrants on the opening range gap by the same logic, and the same eighths can be applied to any range worth grading.
Window and colours are configurable, the window itself can be shaded, and a chosen number of prior days can be retained. Intraday timeframes only — on daily and above the window cannot resolve.
MODULE 9 — BODY / WICK LAW
A test of whether candle BODIES respect the 50% of a level or zone, ignoring what the wicks do.
The rule is directional. A demand zone holds while bodies stay in its upper half; a supply zone holds while bodies stay in its lower half. Wicks are free to trade through the midpoint — only a closed body crossing it counts as a violation. The module evaluates on confirmed bars only, because an intrabar body is not a body.
Three things are tested, each switchable:
- The module 8 grid. A wick that pierces a level while the body fails to reach it is a rejection at that level. Sustained across a configurable number of interactions it is marked, and a body closing through the level resets the count — as does price clearing the level outright. Which levels may signal is set separately from which levels are drawn, and by default each one signals once per session: nine levels all free to re-fire produces more markers on a rangebound day than a chart can carry, which is a lesson learned rather than a guess.
- The first presented FVG from module 6. Polarity comes from the direction of the gap itself.
- The opening range gap from module 7. Polarity is decided at first touch from the direction price approached from, since a gap can act as either side depending on where price is when it gets there.
A zone that has been violated is recoloured and stops being tested; a zone that has survived the configured number of interactions is recoloured and marked confirmed. Both states fire alerts.
This is a filter, not a signal. It says whether a zone already on the chart is still behaving, not whether to take a trade at it.
MODULE 10 — AM REGIME CLASSIFIER
Grades the premarket window and scores how likely the morning session is to consolidate rather than expand.
READ THIS PART BEFORE ENABLING IT. The module encodes a claim — that a trending premarket implies a consolidating morning — which is not established fact. It is shipped as a measurement instrument, not as a rule, and the defaults are starting guesses rather than findings. The gate that would let the score suppress other modules' alerts is off by default and should stay off until the score has been checked against real sessions.
"Trending" is judged by eye in the material this comes from, so it is scored here from three independent measures rather than asserted:
- Directional efficiency: net displacement divided by distance actually travelled, multiplied by the square root of the bar count. That normalisation matters — a random walk sits near 1.0 on any timeframe, so one threshold works whether the window is graded on one-minute or five-minute bars.
- Close location: where the 09:00 close sits inside the window range. This is the measure closest to what the eye calls a trend.
- Range against its own 20-day median, which stops a quiet directional drift being read as expansion.
A configurable number of those three must agree. Two further tests add to the score: whether the window traded to a level from module 5, and whether it only just got there — a shallow penetration implying unfinished business and a likely revisit.
A level merely lying inside the window range does not count. It has to be in the outer portion of the range, measured from whichever extreme is relevant, on the reasoning that a level price blew through on its way elsewhere was not the destination. The nearest level is reported either way so the distinction is visible. Weights and thresholds are all exposed.
The module then records what the morning session ACTUALLY did, graded with the same efficiency measure. That makes the comparison direct rather than impressionistic: does a high premarket reading predict a low morning one? Until enough sessions have accumulated to answer that, the score is a hypothesis with a number attached.
DASHBOARD
Three levels of detail, because a readout you consult mid-session and a record you study afterwards are different jobs.
COMPACT, the default, is two lines: the call and which side of premarket equilibrium price is on. STANDARD adds what drove the call — trending or not, the key level, the realised figure once the morning closes. FULL shows every factor with its pass or fail, which is more than anyone can read on the fly and is meant for review.
Underneath sits the calibration summary: every logged session split by its premarket classification, reporting the MEDIAN realised morning efficiency of each group with sample sizes, and flagged as a thin sample below twenty per group. Median rather than mean, so one violent morning cannot carry the verdict. If the underlying claim holds, the trending group sits well below the other and below 1.0. If it does not, that shows up here too — which is the point of building it this way.
An optional session log lists the individual rows behind that summary.
History accumulates only over bars the chart has actually loaded, so sample size is set by the timeframe: a one-minute chart loads days, a five-minute chart loads months. The efficiency measure is normalised to be timeframe-independent specifically so those samples stay comparable.
MODULE 12 — SUSPENSION BLOCKS
A fair value gap carrying a volume imbalance at BOTH ends: the middle candle's body is gapped away from its neighbour's body above and below.
An ordinary gap leaves one span of price with no body trade across it. A suspension block leaves three stacked spans. The test is the two body-gap conditions the geometry rules below already compute, required simultaneously rather than individually.
Detected on the chart timeframe rather than sourced from one minute. Module 6 goes to one minute regardless of what is being viewed because a "first presented" gap has one true formation time; a suspension block makes no such claim and is a property of the candles in front of you.
The classification is independent of the geometry switch below. Whether a gap carries an imbalance is a fact about the candles, so it does not change when the extension stops being drawn.
Scope, minimum size, retention and colours are configurable. Blocks are wider than ordinary gaps by construction, since they include both imbalances — the 50% is the more useful reference than the far edge. A first presented gap or displacement marker that also qualifies is drawn with a heavier border rather than duplicated as a separate zone.
MODULE 13 — NEW DAY AND NEW WEEK OPENING GAPS
The span from a session's settlement print to the next session's open, drawn as a solid block. NWOG is the weekend gap, Friday settlement to Sunday open; NDOG covers the other nights.
Monday's new-day gap IS the new-week gap — the same span — so by default the NWOG owns Monday and the NDOG skips it rather than drawing the identical block twice in two colours.
The close side is the final print of the settlement window, not the session close. That window ARMS a value which is CONSUMED when the gap is drawn, so a window that never prints — holiday, half day, a hole in the data — produces no gap for that day rather than one measured against a stale close carried over from some earlier session.
These are deliberately NOT retired when filled, and there is no mitigation state or fade. Price returns to them repeatedly, long after the first pass, which is the reason to carry them at all. A block stays as drawn until retention pushes it off the back. Separate retention counts for each type, five by default.
On daily and higher timeframes there is no settlement window to resolve, so the gap is taken from the previous bar's close to the current bar's open. That is close to the settlement definition but not identical, and the intraday reading is the one to trust.
MODULE 14 — SILVER BULLET ENTRIES
The one module that marks entries. Everything above it describes what the chart has done. This module takes those same pieces and puts a marker where they line up inside a Silver Bullet window, with a grade.
Three setups arm it:
- RAID, THEN FVG. Price trades beyond the extreme of a recent range, or sweeps a module 5 level, and an FVG then forms the other way. If the candle that made the gap is a module 4 displacement candle the setup is graded A+. A plain gap is graded A.
- RAID, THEN INVERSION. After the raid a candle body closes through an opposing FVG, inverting it. That inverted gap is the zone. A+.
- FIRST PRESENTED FVG FLIP. A body closes cleanly through today's module 6 gap, from one side to the other. That covers a straight inversion and a reclaim after an inversion. No raid is needed. A+.
The entry is the retest of the zone, at its near edge or its 50%. By default the retest candle must also close back out on the trade side of that level, and the entry is taken at its close. That is the body/wick reading applied to the entry itself, and it stops thin zones whipsawing a position in and out during chop. A plain resting limit on first touch is available instead. The retest must happen inside the window. By default the raid and the zone must also form inside the window. They can be allowed to form a few minutes earlier, to catch the raids and displacements that print at 09:57–10:00. In testing on NQ, though, setups formed entirely inside the window did better, so that allowance is off unless you turn it on. A zone expires if a body closes through its far edge, if it goes unretested for too long, or when the window ends.
Two filters grade what survives.
The opening range gap gate. While today's module 7 gap has not had its 50% tagged, and price is still within a set distance of it (150 points by default), a setup that fades the draw to that level is blocked. A gap up draws price down, so longs are blocked. A gap down draws price up, so shorts are blocked. Once the 50% trades, the objective is complete and the gate lifts. Blocked setups are still drawn, as a grey X, and still scored, so the gate can be judged rather than trusted.
An opposing first presented gap in the path. A short with a bullish first presented gap between entry and target, or a long with a bearish one, is downgraded to B. The gap ahead is resistance.
Every signal is followed to target, stop, break-even or a time exit and tallied by grade in a scorecard. The scoring is conservative: a bar that touches both stop and target counts as a loss, fills assume a resting limit at the entry level, and only loaded bars are covered. The stop sits beyond the raid wick by default, or beyond the zone's far edge. First presented flips have no raid, and their gaps are often narrow, so they have their own stop setting: beyond the swing extreme of the last few bars (the default), the gap's far edge, or a fixed distance from the entry. For accounts with tight risk limits, both setups can instead place the stop just beyond the wick of the retest candle itself, and the stop can be moved to break-even as soon as the candle after entry closes in profit. The scorecard also reports maximum drawdown, the worst single trade and the longest run of consecutive losses.
A Prop profile locks one configuration aimed at funded-account rules: the morning window only, limit entries at the near edge of the zone, a 35-point target, no setup whose stop would be wider than 40 points, the opening range gap gate on, and no new trades after two losses in a day. It switches on in one step instead of being rebuilt setting by setting, and the default Custom profile leaves every setting under your control. The target is a fixed number of points or a multiple of risk, with optional break-even.
This module is a test bed for a discretionary playbook, not a trading system. The scorecard exists so the grading rules can be checked against the chart before anyone relies on them.
FVG GEOMETRY — VOLUME IMBALANCE
An FVG boundary is a wick. Where the neighbouring candle's BODY does not reach that wick, the space left between them is a volume imbalance and belongs to the same inefficiency.
With this enabled, each edge moves from the wick to the neighbouring candle's body extreme whenever a body gap exists between the two candles. Body extreme means the greater or lesser of open and close, whichever way the candle closed — comparing against close alone silently assumes candle direction and produces the wrong edge on an opposite-coloured candle. Boundaries only ever widen, never narrow.
This governs the first presented FVG, the displacement marker and the suspension block test always. Whether it also reaches the zones inside modules 1, 2 and 3 is a separate switch, off by default.
Those zones come from an external library which draws them wick to wick. The consequence is that the same three-candle gap gets different boundaries depending on which module happens to draw it. The switch corrects that, and how it does so is worth stating: the library is left to perform its own detection and filtering, and only the coordinates are adjusted. Each edge is verified against the raw wick it ought to be before being widened, and an edge that does not verify is passed through exactly as the library drew it. A mismatch therefore degrades to the previous behaviour rather than to a wrong zone.
It is off by default because it changes zones users have already been reading. A diagnostic counter reports how many library gaps were offered to the widening logic, how many had an edge moved, and how many were declined — so the switch can be verified rather than assumed.
HOW TO USE IT
Start by switching modules OFF. Thirteen modules, three CISD engines, ten liquidity levels and twenty retained gaps is a great deal of chart furniture, and all of it on at once is unreadable. Most users want one or two windows and a subset of the levels.
It helps to know that the modules answer four different questions, and that only two of the four groups produce anything to act on directly. Modules 5, 7, 8 and 13 say where price is. Modules 4, 6 and 12 say what formed. Modules 1, 2, 3 and 9 say whether it is confirmed or has died. Module 10 says whether to trust the session at all.
A reasonable order to switch things on:
1. Module 5 for context — which pools are still resting, which have just been taken.
2. Module 8 for the premarket range. It is useful on its own: it tells you whether the morning is trading in premium or discount of the range that set up the day, which is a different reading from premium or discount of the session or the day.
3. Module 6 for the first presented gap. Modules 5, 6 and 8 together are a complete framework and a reasonable place to stop.
4. One session engine — Venom, or a single Silver Bullet window — for the mechanical trigger, with module 4 as a strength filter.
5. Module 9 once zones are on the chart, to see whether they are still behaving.
6. Modules 12 and 13 when the above is comfortable. Module 13 in particular adds long-lived blocks that persist for weeks.
7. Module 10 last, and read its note below before trusting it.
The modules are deliberately independent, so any subset works.
Zones are drawn where the model says a reaction is plausible. They are not entries. Nothing here manages risk, sizes a position, or knows anything about your account.
On module 10 specifically: leave it in measurement mode. Its gate is off by default. Run it for a couple of months, watch the calibration summary, and only then decide whether the score deserves to influence anything. If the two medians never separate on your instrument, that is a useful result and the honest response is to leave the module switched off.
Alerts are provided per window for CISD and for CISD with an unmitigated FVG present, per displacement direction, per liquidity level plus aggregate buy-side and sell-side sweep conditions, for the first presented FVG and opening range gap on formation, retest, CE tap and fill, for the premarket range locking and for price crossing into premium or discount, for every body/wick outcome — grid rejection either way, and each tested zone holding or being violated — for a suspension block forming in either direction or either, for a first presented gap that is itself a suspension block, for the new day and new week opening gaps being set, and for Silver Bullet entries — long or short at any grade, or A+ only, plus a dynamic alert carrying the entry, stop and target prices.
There is deliberately no alert for price tapping a new day or new week gap. Those levels are revisited repeatedly, so a one-shot flag would be wrong and a fire-every-touch alert would be noise.
CREDITS AND WHAT IS ORIGINAL HERE
This script reuses open-source work and it is worth being precise about which parts.
From TFlab, taken from "ICT Venom Trading Model" and "Silver Bullet ICT Strategy" under the Mozilla Public License 2.0: the CISD level-detection routine, the opening-range break state machine, and the order block and FVG zone handling. This script also calls TFlab's public libraries OrderBlockRefiner_TradingFinder, OrderBlockDrawing_TradingFinder and FVGDetectorLibrary, which perform the zone refinement, drawing and FVG detection. The engine behind modules 1, 2 and 3 is substantially TFlab's work.
From tradeforopp (TFO): the displacement measure in module 4 — comparing candle range against a rolling standard deviation of range — is TFO's approach.
From fadizeidan, taken from "ICT Open Range Gap & 1st FVG": the volume-imbalance-aware FVG geometry using body extremes, the practice of always sourcing the first presented FVG from the one-minute chart, the middle-candle session test that excludes the opening candle, and the Opening Range Gap definition together with its quadrant lines and minimum-size filter.
What this version adds:
- TFlab's two scripts are the same engine with different session wiring. That engine is parameterised once here and instantiated three times, so multiple overlapping windows run independently — something neither original could do.
- The entire liquidity module is new: the higher-timeframe and session levels, and the raid-and-rejection sweep test.
- The first presented FVG is extended with an afternoon session, and with multi-day retention and carry rules that keep prior days' gaps live on the chart.
- Session handling is preset-driven and preset-agnostic rather than hardcoded, and session framing is drawn from actual session boundaries instead of assumed one-hour offsets.
- Several defects in the source scripts are corrected. The opening range absorbed the first bar of the trading window, which made a break on that bar undetectable. A "Bar Back Check" input existed but was overridden by a hardcoded value. Four colour inputs were declared and never referenced. A dead conditional invoked a series function from inside a local scope. Box count was left at the default while a library drew boxes. An uninitialised level compared against zero could fire a spurious signal at the start of a chart.
- The displacement module's bar colouring and alert now evaluate on confirmed bars, removing an intrabar repaint present in the original.
- The premarket dealing range and its quadrant/octant grid are new, as is the body/wick test that runs against it and against the two gap modules.
- The suspension block module is new. The two body-gap conditions were already being computed to widen FVG edges; requiring both at once, exposing the result, and marking gaps that qualify is this script's addition.
- The new day and new week opening gap module is new, including the arm-and-consume handling of the settlement print that produces no gap rather than a wrong one when the settlement window fails to print.
- The unified FVG geometry is new, and so is the way it is applied: the external library keeps its own detection and filtering, each coordinate is verified against the wick it should be before being widened, and an edge that does not verify is left untouched. A diagnostic counter makes the switch checkable rather than a matter of trust.
- The regime classifier and its calibration record are new. So is the decision to ship a claim with the means of checking it attached, rather than as a setting that is simply on.
- All colour and size inputs are wired through and actually take effect.
The concepts themselves — fair value gaps, consequent encroachment, inversion, displacement, liquidity raids, the first presented gap, the opening range gap, premium and discount, the premarket dealing range and the body/wick reading of a PD array — are ICT's (Michael J. Huddleston) and are not claimed as original here. What is original is the mechanical definition of each one: the specific thresholds, the tie-breaks, and the choices about what counts and what does not. Those decisions are documented above and exposed as inputs precisely because reasonable people would make some of them differently.
Published under the Mozilla Public License 2.0, consistent with the sources.
LIMITATIONS
- Session logic is intraday. On daily and higher timeframes the session windows cannot resolve and the model produces no signals.
- Charts set to regular trading hours are supported. The opening range gap still finds the prior close, and the liquidity levels — prior day, week and month, Asia and London — are read from the extended session, so they match an extended-hours chart exactly. The premarket range and the regime classifier are the exception: they grade the 07:00-09:00 window, and an RTH chart has no bars there, so both stay empty. The new day and new week opening gaps measure to the 09:30 open on such a chart rather than the 18:00 open.
- The first presented FVG module requires a minute-based chart, because it requests one-minute data. On lower-tier TradingView plans the amount of lower-timeframe history available is limited, so the gap history will not extend as far back.
- Displacement uses a standard-deviation threshold, which adapts to recent volatility. After a quiet stretch it will flag smaller candles than it would after an active one.
- Zones, levels and retained gaps are all drawn subject to TradingView's 500-drawing limits. With every module enabled and a long retention window, older drawings will be purged from the chart.
- Signals confirm on bar close. This is deliberate, and it means confirmation arrives one bar after the move that caused it.
- The new day and new week opening gaps resolve their settlement print only on intraday timeframes. On daily and above the gap is approximated from the previous bar's close, which is close to the settlement definition but not the same number.
- The first presented FVG stops populating beyond the limit of available one-minute history, and does so silently. An older day showing no gap may mean the data was unavailable rather than that no gap formed.
- The regime classifier's thresholds and weights are untested defaults. It is a way to measure a claim, not evidence for one, and its dashboard log is there so the claim can be checked rather than believed. Its history accumulates only over loaded bars, so it starts empty on a fresh chart.
Indicador

Minawesome's Best v2Minawesome's Best V2
A lightweight, timeframe-adaptive overlay combining four structural concepts into one indicator. Ships in a signal-first configuration: the underlying reference levels are calculated continuously but hidden from the chart by default, so what you actually see is the zones and markers those levels produce — not a chart full of extra lines. Every layer can be switched on or shown independently in the indicator's settings.
WHAT IT PLOTS
- CRT / PO3 Range — tracks the previous higher-timeframe candle's high and low (default 4H, adjustable to any timeframe) and flags when price sweeps outside that range and closes back inside it — the manipulation-then-reversal pattern the CRT/PO3 model is built around. The range itself is hidden by default; only the resulting signal marker is shown.
- Fair Value Gaps (FVG) & Inverse FVGs (IFVG) — detects standard 3-candle imbalances and tracks their full lifecycle. An FVG that gets closed through flips into an IFVG (its role inverts from support to resistance or vice versa), and an IFVG that itself gets reclaimed is removed from the chart entirely — so only zones whose thesis hasn't been disproven stay visible. Zones age out automatically after a configurable number of trading sessions (not bars), so the lifetime means the same thing on a 1-minute chart as it does on a 1-hour chart.
- SMT Divergence — compares swing highs/lows on your chart against a correlated symbol (default ES for NQ/MNQ charts, configurable to anything) and flags when the two disagree — e.g. your symbol makes a new high while the correlated symbol fails to confirm it.
- Prior Day High/Low & Session VWAP — standard reference levels, calculated only on intraday timeframes since they don't apply on daily+ charts, and hidden by default alongside the CRT range.
Every marker carries a hover tooltip with the specific detail behind that signal, and the color scheme is deliberately restrained to just three hues — one neutral tone for structural levels, one for bullish signals, one for bearish — so confluence between layers (e.g. an SMT divergence lining up with a fresh IFVG) is easy to spot at a glance.
DESIGNED FOR
Built and tested against NQ/MNQ futures, but the underlying logic (FVG/IFVG, SMT, CRT) is instrument-agnostic and works on any liquid symbol with a reasonable correlated pair for the SMT layer.
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, and nothing it plots — including FVG/IFVG zones, SMT divergence, or CRT signals — is a guarantee of future price direction or trading profitability. These are discretionary technical-analysis concepts (Fair Value Gaps, Inverse FVGs, SMT divergence, and the CRT/PO3 model originate from the ICT/Smart Money Concepts framework) and should be combined with your own risk management, not traded mechanically or in isolation. Past patterns are not indicative of future results. Trade at your own risk. Indicador

Three-Session Volume ProfileOverview
Three-Session Volume Profile divides intraday trading into three independently configurable sessions: Asia, London, and New York. Instead of combining the entire trading day into one profile, the indicator resets its calculations at the beginning of each session and displays a separate Volume Profile, Point of Control, Value Area, VWAP, and optional deviation bands for each period.
This structure is intended for traders who analyze how price and volume distribution change as market participation moves between global trading sessions. Each session is treated as its own auction, making it possible to compare where volume was accepted during one session with how price behaves during the next.
The default schedules use the America/New_York time zone:
Asia: 18:00–03:00
London: 03:00–09:30
New York: 09:30–16:00
All schedules and the time zone are configurable. The America/New_York setting automatically accounts for daylight-saving changes.
Why the components are combined
The Volume Profile, session VWAP, and deviation bands are not calculated as unrelated indicators. They all use the same independently resetting session windows.
The Volume Profile describes how the session’s volume was distributed across price. VWAP provides the session’s volume-weighted mean price, while the deviation bands describe dispersion around that mean. Together, they provide two complementary views of the same session:
Volume Profile identifies price areas with relatively high or low participation.
POC identifies the profile row containing the most allocated volume.
VAH and VAL define the boundaries of the selected value area.
VWAP represents the session’s volume-weighted average price.
Deviation bands provide context for how far price is trading from the session’s weighted mean.
The purpose of this combination is to provide a consistent session-based framework rather than merge unrelated studies.
Volume Profile calculation
For each active session, the indicator tracks the session high, low, and volume. The complete session range is divided into a configurable number of equally sized price rows.
Because standard chart data does not provide the exact price of every transaction, each chart bar’s volume is allocated across the profile rows intersected by that bar’s high-low range. The allocation is proportional to the amount of the bar’s range overlapping each row. A bar with no measurable range has its volume assigned to the row containing its representative price.
The profile is recalculated when the session’s price range expands. This keeps the rows distributed across the complete developing session range.
The Rows setting controls profile resolution and supports values from 12 to 200. More rows provide finer price segmentation but also increase calculation requirements. The profile is based on chart bars rather than tick-by-tick or lower-timeframe transaction data, so changing the chart timeframe can change the resulting distribution.
POC and Value Area calculation
The Point of Control , or POC, is the midpoint of the profile row containing the greatest allocated volume.
The Value Area begins at the POC row. The calculation then compares the next available row above and below the current Value Area and adds the side containing more volume. This process continues until the selected percentage of total session volume has been included.
The resulting levels are:
VAH: Upper boundary of the Value Area
VAL: Lower boundary of the Value Area
POC: Midpoint of the highest-volume profile row
The default Value Area contains 70% of session volume, but this percentage can be adjusted.
Developing and completed levels
While a session is active, the developing VAH , VAL , and POC can be displayed. These levels update as new price and volume information enters the session.
When the session ends, the final profile and levels are stored as completed session values. The number of completed profiles retained for each session can be controlled from the settings.
Developing values are expected to move. A new session high or low changes the profile range and can cause all rows to be redistributed. Completed levels remain fixed unless the chart data, timeframe, symbol, session schedule, or indicator settings are changed.
Session VWAP and deviation bands
The optional VWAP calculation resets independently at the beginning of each session. It uses HLC3 as the representative bar price and weights it by volume.
The session VWAP is calculated as:
Volume-weighted price sum ÷ Session volume sum
The standard deviation calculation is also volume-weighted. The selected multiplier is applied above and below VWAP to produce the upper and lower bands.
These bands are descriptive measurements of session dispersion. They are not automatic overbought or oversold signals.
Profile placement
Each profile can be positioned on either side of its own session:
Left: Anchors the profile to the session opening edge and extends it to the right.
Right: Anchors the profile to the session closing or current edge and extends it to the left.
This setting refers to the boundaries of each session, not the far-left or far-right edge of the visible chart.
The Maximum width setting controls the profile’s horizontal display width in chart bars. It changes only the visual width and does not affect the underlying volume calculations.
How to use the indicator
1. Configure the time zone
Select the time zone used to interpret all three schedules. America/New_York is suitable when session times should follow Eastern Time and adjust automatically for daylight saving.
Use a fixed UTC offset only when daylight-saving adjustment is not desired.
2. Configure the sessions
Set the opening and closing time for Asia, London, and New York. Overnight schedules, such as 18:00–03:00, are supported.
The sessions may overlap if desired. When they overlap, each session continues to calculate independently.
3. Select profile resolution
Increase the number of rows for more detailed price segmentation. Lower values produce broader profile levels and require fewer calculations.
Profile precision also depends on the chart timeframe. Lower chart timeframes generally provide more granular source bars, while higher timeframes provide a broader approximation.
4. Select the Value Area percentage
The standard default is 70%. Increasing the percentage produces a wider Value Area, while reducing it produces a narrower area around the POC.
5. Choose completed or developing levels
Developing levels can be used to observe how the current session’s distribution changes. Completed levels provide fixed references from prior sessions.
Traders may examine whether price:
Accepts or rejects a previous session’s Value Area
Rotates around a prior POC
Moves from one session’s value region toward another
Holds above or below a prior VAH or VAL
Trades near or away from the active session VWAP
These are contextual observations rather than predefined entry or exit signals.
6. Enable VWAP and deviation bands if needed
VWAP can provide a session-weighted reference price alongside the distribution-based profile. Deviation bands can be enabled to visualize dispersion around that reference.
Interpretation
A wide section of the profile represents a row receiving relatively more allocated volume. A narrow section represents relatively less allocated volume.
POC and Value Area levels identify areas of historical participation, but they do not guarantee future support or resistance. Their interpretation depends on market structure, volatility, liquidity, instrument type, and the trader’s broader methodology.
On centralized futures markets, the script uses the exchange-reported volume available on the chart. On markets where only tick volume is available, the profile reflects that data instead of centralized transaction volume.
Recalculation and limitations
The indicator does not request future data or use lookahead calculations. Completed sessions are based only on bars belonging to those sessions.
Developing profiles and levels update during the active bar as its high, low, and volume change. This is normal real-time recalculation and should not be interpreted as a fixed signal.
The profile is an approximation created from chart-bar ranges and volume. It is not a tick-level bid/ask profile, footprint chart, or reconstruction of individual transactions. Results can differ from volume-profile tools that use lower-timeframe or transaction-level data.
This indicator is an analytical tool and does not provide trade entries, exits, profit projections, or guarantees of future performance. Indicador

MOYA Sessions & Volume Profile [RealSebastianMoya]Hello traders!
Introducing: "MOYA Sessions and Volume Profile"
This script rebuilds a full Volume Profile for any session length you choose — from a single Tokyo/London/New York session up to a full Yearly cycle — and layers on POC, Value Area High/Low, a live in-progress profile, and (new) real futures volume normalization for Forex/CFD charts.
But before getting into the settings, it's worth explaining where this way of reading the market comes from, because the indicator has no real value if you don't know what questions it's actually answering.
The Underlying Theory: Auction Market Theory
The market isn't a line going up or down. It's a continuous auction. At every moment, buyers and sellers are negotiating a "fair" price, and price moves searching for the level where both sides are willing to transact in volume.
This theory — originally developed for Market Profile by J. Peter Steidlmayer at the CBOT — starts from a simple idea:
Price tells you where the market moved. Volume tells you how much conviction was behind that move.
A regular candlestick chart only shows you the time sequence of price. A Volume Profile rotates that information 90 degrees and asks a different question at every price level: "how much actually traded here?"
The level with the most activity is the Point of Control (POC) — the price the market has "voted" for most often as fair.
The Two Market Regimes
Under this theory, the market constantly alternates between two regimes:
Balance / Equilibrium
Technical name: Balance, Rotational Value Area
What it means: Buyers and sellers accept a range and price rotates inside it without clear direction
Profile shape: Bell curve (D-Shape) — POC centered
Imbalance / Trend
Technical name: Imbalance, Trend Day, Directional Auction
What it means: One side (buyers or sellers) dominates and price refuses to rotate, moving away from the range
Profile shape: Spike (P-Shape or b-Shape) — POC at one extreme
Knowing which regime the market is in completely changes what a touch of the POC or a Value Area edge should mean to you. This is what many newer traders miss: they apply the same rule ("buy at VAL, sell at VAH") regardless of regime, and end up fading strong trends as if they were reversions.
Correct Terminology — What Each Thing Is Actually Called
Here's the real vocabulary used when trading with Volume Profile, so you know exactly which term to use and what each one means:
Levels
POC (Point of Control): the price with the highest traded volume in the session. It's the center of gravity of price.
VAH (Value Area High): the upper boundary of the zone where 70% (adjustable) of volume occurred.
VAL (Value Area Low): the lower boundary of that same zone.
Value Area (VA): the full range between VAH and VAL — the fair price zone accepted by the market.
Naked POC: a POC from a previous session that price has not yet returned to touch. These act as strong magnets because they represent unresolved business.
Price Behaviors
Mean Reversion: when price moves away from the POC but returns to it because the market is in balance. This is the dominant behavior inside an equilibrium regime.
Continuation: when price breaks a Value Area extreme and keeps moving in that direction without returning, because the market is in imbalance.
Rejection: price touches a level (VAH, VAL, or POC) and snaps back quickly, leaving a wick — a sign that level was defended.
Acceptance: price enters a zone and stays there, building new volume — a sign the market considers that new range fair.
Excess: a long, thin wick with no volume behind it — a sign of violent rejection of a price, typical at range extremes.
Breakout: when price exits the Value Area with force and increasing volume. If acceptance follows the breakout, it confirms as a trend start; if there's no acceptance, it's a false breakout (fakeout) and price returns to the range (this is mean reversion after a failed breakout attempt).
Double Distribution (B-Shape): when the profile shows two high-volume zones separated by a low-volume zone — indicates the market was in two distinct price agreements during the session, typical of a trend that paused midway.
On Buyers and Sellers
Classic Volume Profile doesn't directly measure who bought or sold (that's what Delta/CVD does, not part of pure profile reading), but dominance can be inferred by observing:
If the POC shifts upward session after session, buyers are defending higher prices, buyer control.
If the POC shifts downward session after session, seller control.
If the POC stays relatively fixed while volume grows, both sides are actively negotiating without ceding ground, balance, indecisive market.
How the Indicator Works Within This Theory
The script tracks session boundaries using exact timeframe change detection and rebuilds the price/volume grid every time a new session starts.
Each candle's volume is distributed across the price levels its high-low range actually touched (body/wick weighted model), so the profile reflects where price genuinely spent time and volume — not just where it closed.
Once a session closes, the script locates the POC and expands outward, level by level, until the configured percentage of total volume (default 70%) is captured — that boundary becomes your Value Area.
Rather than just showing you where price moved, this helps you answer:
Where did volume concentrate during the session?
Was the session accepted (balance) or rejected (imbalance)?
Where is the fair price zone for this period?
How does that zone line up against higher or lower timeframe context?
While a session is still forming, the script keeps its profile, POC, and Value Area updating in real time (Live Zone) — not just the last closed session — so you can react to developing structure instead of only analyzing it afterward.
Trading Scenarios — How This Is Actually Traded
These are the real scenarios where this reading applies. You add the chart; here's the logic behind each one.
Scenario 1 — Mean Reversion Inside Balance
Regime context: The previous session's profile shows a bell-curve shape (D-Shape), POC centered, and a wide Value Area that has stayed stable across several sessions. This indicates a market in balance.
What you see on the Volume Profile: Current price is drifting away from the POC toward the VAH without growing volume behind it (little real push).
Reading: Since we're in a balance regime, the move toward VAH is likely testing the edge of the range, not the start of a trend.
How it's traded: Look for a short on rejection at the VAH, targeting the POC. Stop above the VAH with a small buffer. This is the classic fade trade — and it only makes sense because the regime is balance; the same signal in a trending regime would be a trap.
Scenario 2 — Continuation After a Breakout With Acceptance
Regime context: Price breaks above the previous session's VAH. Instead of falling back, price stays above that level for several candles, and the new forming profile (Live Zone) starts building its own POC above the old VAH.
What you see on the Volume Profile: Acceptance — the market is actively trading in the new price range, not just passing through it.
Reading: This is evidence of directional imbalance — control shifted hands (likely to buyers) and a new Value Area is forming higher up.
How it's traded: Look for a long entry on the first pullback into the old VAH (which now acts as support — the classic resistance-to-support flip), targeting the next significant volume level from a higher timeframe (e.g., the weekly POC if you're trading on Daily). Stop below the old POC.
Scenario 3 — False Breakout (Fakeout) — Reversion, Not Continuation
Regime context: Price breaks below the VAL with a strong candle, but in the following session (or in the indicator's Live Zone) price returns inside the original Value Area without building new volume below.What you see on the Volume Profile: No acceptance — the new profile forming outside the range has very little volume compared to the prior profile, a sign nobody is defending that price.
Reading: The breakout was a liquidity grab, not a real regime change. The market is still in balance.How it's traded: Look for a long entry on the return inside the Value Area, targeting the POC and potentially the opposite VAH. This is the scenario where confusing "breakout" with "continuation" costs the most money — which is why the indicator's Live Zone is key: it lets you see in real time whether the new profile is gaining volume (real continuation) or staying empty (fakeout).
Scenario 4 — Double Distribution (B-Shape) — A Pause Inside a TrendRegime context: The session's profile shows two separate high-volume zones with a thin low-volume "neck" between them.
What you see on the Volume Profile: The market traded heavily in one range, then migrated and traded heavily again in another range, without spending much time in the middle.Reading: This typically occurs inside a trend that paused — two distinct price agreements in the same session, usually connected by a fast directional move (the low-volume "neck" is where price moved without resistance).
How it's traded: The low-volume neck (the thin part of the profile) is a low-liquidity zone — if price returns there, it tends to cut through quickly in either direction, not stay. It's not a zone to trade reversion; it's a zone to wait for price to cross through and react at the POC of whichever side it's heading toward.
Scenario 5 — Multi-Timeframe Confluence (the Indicator's Most Powerful Use)Regime context: You run the indicator on Weekly and see current price touching the weekly VAL. You switch to Daily and see a daily POC also forming right at that same level.
What you see on the Volume Profile: Two different timeframes coinciding at the same price — the "why" (weekly context) and the "when" (daily execution) are aligned.Reading: This confluence across timeframes is the highest-probability signal in the whole system, because it doesn't depend on a single profile — it depends on the market respecting the same level from two different time perspectives.
How it's traded: Take the entry on Daily (precise execution), with directional bias given by the weekly regime (if weekly price is in balance, trade the reversion toward the weekly POC; if weekly is in imbalance, trade continuation toward the next relevant volume level). Stop goes outside the daily Value Area; target is the weekly POC or the opposite VAH/VAL, depending on the identified regime.
Scenario 6 — Using Real Futures Volume to Confirm Regime on Forex/CFDRegime context: You're trading XAUUSD on your CFD broker. Your broker's tick volume is synthetic (it counts price changes, not real contracts), so a profile built on that volume can show a different shape than actual market activity.
What you see on the Volume Profile: With External Futures Volume enabled and auto-detect pointing to COMEX:GC1! (Gold futures), the profile now reflects real futures market participation, while price levels still come from your XAUUSD chart.
Reading: This matters especially when your broker's tick volume gives you a POC in one place and real futures volume gives you a POC somewhere else — the difference tells you that real institutional market activity sits at a different level than what your broker is showing.
How it's traded: Prioritize the POC/VA calculated with real futures volume over native tick volume when the two diverge, because regulated futures volume (CME/COMEX/NYMEX) is auditable and reflects real participation, while tick count only reflects your specific broker's activity.Summary — Why Use This IndicatorThis script is designed for traders who read the market through:Volume Profile and Point of Control / Value Area (Auction Market Theory)Market regime identification (balance vs. imbalance)Multi-timeframe confluenceReal vs. synthetic volume on Forex/CFD instruments
Because you can run the same profile logic across completely different session lengths — from a single hourly cycle to a full year — you can compare how conviction built across timeframes: does the Daily POC sit inside last week's Value Area? Is price accepted or rejected at last month's VAH? That layered context is where this script earns its keep.Note: every scenario assumes you identify the market regime (balance vs. imbalance) first before deciding whether to trade reversion or continuation — trading the wrong signal for the wrong regime is the most common cause of losses when using Volume Profile.
Features
56 Session Lengths — 1 to 55 Minutes (1m, 2m, 3m, 4m, 5m, 6m, 7m, 8m, 9m, 10m, 12m, 15m, 20m, 25m, 30m, 35m, 40m, 45m, 50m, 55m), Tokyo, London, New York, 1 Hour through 12 Hours, Daily through 7 Days, Weekly through 5 Weeks, Monthly through 7 Months, Quarterly, Yearly.
POC, VAH, VAL with lines and text labels.
HVN/LVN — detects multiple volume peaks and valleys per session, not just the single POC.
External Futures Volume — auto-detects the real related futures contract for your symbol (metals, forex, indices, energy, crypto).
Live Panel — POC, VAH, VAL, distance, VA position, active volume source.
Configurable Styling — independent colors, widths, and sizes for every element.
Open Source Attribution and Credits
In strict compliance with TradingViews House Rules regarding open-source code reuse, I explicitly credit and thank the original developer @LeviathanCapital for their open-source script "Market sessions and Volume profile - By Leviathan", which served as the structural foundation for the session isolation and baseline volume array logic in this indicator.
Significant Algorithmic Enhancements and Added Value:
While the primary mathematical grid expansion retains architectural roots from open source, this script introduces massive procedural improvements, structural upgrades, and new calculations developed entirely by me to transform it into an institutional-grade utility:
Automated External Futures Volume Normalization (Forex/CFD Context): Implemented a dictionary algorithm (getAutoFuturesTicker) to auto-detect and scale native tick charts against centralized futures markets (e.g., CME:6E1!, COMEX:GC1!, CME_MINI:NQ1!). This replaces synthetic broker data with authentic trading volume while maintaining local price scales.
Volume Nodes Engine (Multi-Peak HVN / LVN Detection): Developed an array scanning filter that runs on closed sessions to automatically isolate contiguous high/low volume anomalies. This effectively flags multiple supply/demand zones (like the humps of a double-distribution profile) beyond the baseline single POC.
Real-Time Live Zone Tracking: Integrated a dynamic recalculation engine for ongoing unclosed trading sessions, updating developing POCs, VAHs, and VALs seamlessly on the active bar state.
Interactive Live Dashboard Panel: Programmed a comprehensive on-screen status table displaying absolute values for POC/VAH/VAL, current distance from point of control, value area boundary status, and status indicators of the active volume feed.
Expanded Graphical and Period Customization: Redesigned aesthetic configurations, text label sizing, box boundary styles, and added resolution adjustments alongside line right-extensions.
Open Source Attribution and Credits
In strict compliance with TradingViews House Rules regarding open-source code reuse, I explicitly credit and thank the original developer LeviathanCapital for their work.
The original script "Market sessions and Volume profile - By @LeviathanCapital served as the logical foundation for the session isolation and baseline volume array logic in this indicator. All rights and original logical baselines remain under their respective ownership.
Indicador

ESG-TH SET50 [Itto-Ryu]ESG-TH SET50
FOR ACADEMIC AND EDUCATIONAL PURPOSES ONLY. This script is a research tool that displays publicly announced sustainability data next to a price chart. It is not investment advice, not a recommendation to buy or sell any security, and not a substitute for a company's own disclosures or for the official publications of the data providers named below. Use it to study the relationship between ESG information and Thai equities, not to make trading decisions.
WHAT IT DOES
ESG-TH SET50 puts a Thai stock's sustainability profile in the corner of the chart so you can read it before you read the price. It covers the 50 SET50 constituents (H1 2026) and shows only data that the Stock Exchange of Thailand, the Thai Institute of Directors, S&P Global or the Science Based Targets initiative have published.
TABLE ROWS
- Header: ticker, rating year and the SET ESG Ratings 2025 grade (AAA / AA / A / BBB / NR).
- History 2023 -> 2024 -> 2025: grades of the last three SET rounds with an up / down / same marker versus last year.
- Peers: how many rated companies in the same SET industry group share this grade.
- Index: membership of SETESG, SET50, SET100 and the Thai ESG fund universe.
- CG score (IOD 2025): Thai IOD Corporate Governance Report level, 5 stars Excellent (90+), 4 stars Very Good (80-89), 3 stars Good (70-79). A warning mark means IOD flagged CG-related news that lowered the published range.
- S&P Yearbook 2026: S&P Global Sustainability Yearbook 2026 distinction (Top 1%, Top 5%, Top 10%, Member) or "not selected".
- SBTi climate target: net-zero year, near-term target class and year, "commitment removed", or none on the dashboard.
- Valid until: the last SET ESG Ratings round stays valid until December 2026, when FTSE Russell ESG Scores replace it.
- Index review: next SETESG semi-annual review month (June or December).
- Summary: one-line business description in English or Thai.
- Source: dataset and announcement date.
The chart background is tinted by grade (AAA green, AA teal, A blue, BBB amber, NR grey) so the rating stays visible with the table hidden.
HOW THE DATA IS BUILT
Pine Script cannot fetch external data, so everything is embedded. An open-source Python pipeline downloads the public sources, checks them against the officially announced counts, and generates the lookup as a Pine library. Nothing is estimated or modelled; every value traces to a dated public document:
- SET ESG Ratings 2025 (announced 12 Dec 2025) and the 2023-2024 history table (SET, 16 Dec 2024)
- SETESG, SET50 and SET100 constituents for H1 2026 (SET, 15 Dec 2025)
- Corporate Governance Report 2025 (Thai IOD, data as of 11 Feb 2026)
- S&P Global Sustainability Yearbook 2026 (18 Feb 2026)
- SBTi Target Dashboard export (weekly file; export date recorded in the repository)
INPUTS
- Show table (on): draw the table on the last bar.
- Background tint by grade (on): colour the chart background by grade.
- Language (EN): EN gives the English summary with years in CE; TH gives the Thai summary with years in Buddhist Era.
- Table position (top right): corner of the chart.
- Text size (small): table font size.
WHO IT IS FOR
Students, researchers and investors in Thai equities who want the ESG, governance and climate-target context on the chart, for example when studying Thai ESG fund eligibility, SETESG rebalances, or a company against its industry peers. It generates no signals and gives no buy or sell output.
HOW TO USE
1. Open any SET50 stock on a SET chart. Any timeframe works; the data is per company, not per bar.
2. Read the grade and its three-year trend first, then the peer count to see whether the grade is common in that industry.
3. Treat the CG warning mark, "commitment removed" on the SBTi row, or a grade downgrade as prompts to read the company's own disclosures.
4. Switch Language to TH for Thai text and Buddhist Era years.
COMMON MISTAKES
- Expecting live data: the values are a snapshot of the published rounds listed above and change only when the script is updated.
- Reading NR as "bad": NR means the company did not receive a 2025 rating, which can happen for eligibility reasons, not only for low scores.
- Using it outside SET50: other SET stocks show NR until the full-universe build is released; non-SET symbols show "No data".
DISCLOSURE
- Pine Script v6. Open source under the Mozilla Public License 2.0. The data pipeline and source files are in the repository linked from the author profile.
- Repaint: No. All values are static per company and the table is drawn on the last bar only. The "Index review" month is derived from the current date and simply advances with time.
- Chart type: works on any chart type and timeframe; no OHLC-based logic.
- Originality: embeds public sustainability datasets as a Pine lookup generated from a library template. No code is reused from other TradingView scripts.
- Data ownership: SET ESG Ratings and index lists are published by The Stock Exchange of Thailand; the Corporate Governance Report by the Thai Institute of Directors; the Sustainability Yearbook by S&P Global; climate targets by the Science Based Targets initiative. Only publicly announced results are reproduced. FTSE Russell ESG Scores are not included.
- Academic and educational use only. Not investment advice. Past ratings do not predict future ratings or returns.
Develop by Mr. Thiranat Ngamchitcharoen
Indicador

Smart Money Concepts [AxeAlgo]Overview
- Smart Money Concepts is a clean, non-repainting indicator designed for traders who want to identify institutional market structure without clutter.
The indicator visualizes where smart money is likely to defend, attack, and accumulate positions by displaying order blocks, fair value gaps, liquidity pools, and premium/discount dealing ranges on your chart.
What It Shows
Market Structure (CHoCH and BOS)Identifies when the market changes direction (Change of Character) and when new directional commitment breaks prior structure (Break of Structure). Each signal confirms only after a specified number of bars, ensuring no repainting.
Order BlocksHighlights the price zones where the last aggressive institutional movement originated. These are areas where smart money entered positions and often acts as support or resistance on subsequent pullbacks.
Fair Value GapsDetects imbalances between candlesticks (gaps not filled by wicks). The indicator marks these zones because institutions often return to fill them as price moves away.
Liquidity PoolsAutomatically identifies clusters of equal highs and equal lows where retail traders typically set stop losses. The indicator marks when price breaks through these pools (institutional sweeps).
Premium and DiscountDisplays whether price is trading above (premium) or below (discount) the 50% equilibrium level between the most recent swing high and low. Extreme premium or discount often precedes reversals.
How to Use It
Enable individual components using the dashboard toggles: Show Structure, Show Order Blocks, Show Fair Value Gaps, Show Liquidity Pools, Show Premium/Discount.
Turn on the dashboard to see your current swing bias, internal structure direction, and range position at a glance.
Auto-Tune automatically scales all sensitivity parameters based on your chart timeframe. Turn it off if you prefer manual tuning.
Use Simple Mode to display only swing structure without internal noise for a cleaner chart.
Key Settings
Confirmation Bars: How many bars confirm a pivot before a structure signal fires. Higher values filter out false signals but add lag. Default is 2.
Min Displacement: The minimum price movement (in ATR multiples) required for a structure signal to register. Default is 1.0 ATR.
Zone Sizing: Controls the minimum and maximum height of order blocks and FVGs. Adjust to filter noise or capture smaller opportunities.
P/D Lookback: How many bars back to scan for the swing high and low that define your premium/discount range.
Dashboard Position and Size: Choose where the info table appears and how large you want it.
Colors: Customize bullish, bearish, and gap colors to match your chart theme.
What This Indicator Is For
Smart Money Concepts is intended for traders who want to visually identify institutional order flow patterns and understand where smart money accumulates and distributes. It helps you:
Spot areas where institutions likely accumulated or distributed (order blocks and FVGs)
Recognize when price is overextended and vulnerable to reversal (premium/discount extremes)
Distinguish real structural breaks from noise during choppy consolidation
Plan entries and stops around levels where smart money defends
How It Works
The indicator uses pivot-point analysis to identify swing highs and lows, then marks the price zones where directional movement originated (order blocks). Fair value gaps are detected using standard three-candle imbalance logic. Liquidity pools are identified by clustering equal price levels within a configurable tolerance.
All signals confirm only on closed bars. Zones never repaint, but they shrink or change state as price action develops.
Limitations
The indicator shows 5 active zones at a time to keep your chart clean. If multiple institutional structures are forming simultaneously, older zones will age out. This is by design to prioritize the most recent price action.
This indicator identifies structural levels and patterns. It does not predict price direction or guaranteed support/resistance. Use it as one component of a complete trading plan, not as a standalone signal.
Fair value gaps and order blocks are useful but not infallible. Price may skip through them or reverse before reaching them.
Important Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice, and past performance does not guarantee future results. Trading involves risk of loss. Always use proper risk management, stop losses, and position sizing. Never risk more than you can afford to lose.
The accuracy and effectiveness of this indicator depends on your market conditions, timeframe, and trading methodology. Results vary by trader and asset class.
Indicador

Earnings Drift RadarEarnings Drift Radar
Does a stock keep its lead after earnings?
Earnings Drift Radar follows a stock's performance relative to a market benchmark and a selected sector benchmark from an earnings reaction day. It separates the initial relative reaction from the subsequent change in that lead.
READING THE RADAR
• Green line: stock return minus sector return, in percentage points.
• Blue line: stock return minus market return, in percentage points.
• Zero line: equal performance since the same starting point.
• Blue shading and a green dot: the selected reaction day.
• Orange downward marker: a previously positive sector lead crosses to zero or below.
The dashboard describes the sector lead as growing, holding, fading, lost, or underperforming. These states describe relative price behavior; they are not buy or sell instructions.
A SIMPLE EXAMPLE
Stock A rises 6% while its sector rises 5%: its sector lead is +1 percentage point.
Stock B rises 2% while its sector falls 4%: its sector lead is +6 percentage points.
The smaller absolute gain can represent stronger relative performance.
If the initial sector lead is +4 pp and later falls to +2 pp, the radar shows 50% of the initial lead retained. This ratio is available only for sufficiently positive initial reactions. It may exceed 100% or turn negative.
HISTORICAL CONTEXT
The table summarizes sector excess returns at D+5, D+10 and D+20, where D0 is the reaction day. Each horizon includes only completed valid observations from the selected recent event window. It displays sample count, mean, median and percentage of positive excess returns. The positive percentage is not a trading win rate.
SETUP
Use a standard 1D chart of a USD stock and matching US-session USD benchmarks. SPY is the default market benchmark. XLK is a technology-sector example: choose the appropriate sector ETF yourself.
Choose Feed event bar, Next trading bar, or Manual date. TradingView earnings data does not reliably resolve every release time. Verify D0 against the actual announcement; shifting to the next bar applies to all reports. Manual mode studies one chosen event.
METHOD AND LIMITS
The reference prices are the split-adjusted regular-session closes immediately before D0. Calculations use simple price-return differences, without beta modeling, dividend returns or currency conversion. Missing or misaligned benchmark data invalidates the remainder of that event. New earnings events replace unfinished observation windows.
Updates and alert conditions use confirmed daily closes. Historical feed corrections and setting changes can change results. Relative performance does not prove that earnings caused a move. Small samples should be interpreted cautiously. This is an analytical indicator, not a validated trading strategy or a profitability claim.
ALERTS
New earnings reaction; sector lead lost; sector lead recovered; sector lead starts fading. Configure alerts separately in TradingView.
Indicador

Frostman04 DOLThis is my indicator to Mark out Potential Draws on Liquidity.
When you add this indicator, it marks out several lines on the chart. Each one is a potential type of draw on liquidity.
Price likes to move towards unmitigated gaps.
Price like to take out session highs and lows.
Price likes to take out Equal Highs and Equal Lows.
Price likes to take out News Highs and News Lows.
Price likes to take out the current Daily High and Daily Low.
It is meant to be watched on the one-minute time frame.
First, it borrows the Equal Highs and Equal Lows by OutOfOptions.
Marking out any EXACT equal Highs and Lows.
If the line is swept by another candle, it is removed.
Next, it draws a horizontal line marking the Current Daily High and Current Daily Low with a label.
If a candle touches or goes beyond the line, it moves the line with the highest/lowest candle of the day.
Then, it marks out in yellow any unmitigated Fair Value Gaps on the 15m, 1hr, 4hr, and daily charts. But it has a max lookback period, so keep this in mind. If it's really far back, you may have to mark some yourself.
If an unmitigated gap line is touched, the line is removed.
Next, It marks the Session Highs and Lows for the current trading day: Asia High/Low, London High/Low, NY AM High/Low. I didn't include NY PM at this time.
If still in the session time the high and low are moved up or down.
If outside the session time, the candle that takes out the high/low is anochored to the line, otherwise, the session high/low lines are extended for the day until it is swept or a new trading day begins.
Finally, It marks out any News candles based on:
8:15, 8:30, 10am, 2pm and 2:30pm NY time. Also watching for ATR and volume spike on those times.
If a news candle line is swept, it is removed.
This has two variables of note: The first lookback is the number of days.
The second lookback is the number of candles back to check when averaging volume to check for volume spikes.
Thank you,
Frostman04 Indicador

Indicador

LINK Above $12.20: Is $15 Back on the Table?Hey traders! 👋
After that solid push higher, LINK is now pulling back into the breakout zone, so $12.00–$12.20 is back on my radar. This was the area that kept a lid on price through most of August and I still see it as the key zone for keeping the bullish structure alive.
I’m definitely not the guy who wants to jump on a moving train just because everyone else is buying. 😄 My plan is simple and emotionless: close above $12.20, then checks three things before entering: price above the long-term SMA 200, RSI 14 above 50, and a bullish MACD 12/26/9.
This filter keeps us away from fake breakouts that lack real momentum.
For the trade itself, my preferred entry zone is $12.20–$12.30 after confirmation. With the strategy’s default settings, the SL is 1.5% below entry, which puts it around $12.02–$12.12, while the mechanical TP is 3% above entry, around $12.57–$12.67. These levels are calculated automatically from the actual entry price rather than being fixed on the chart.
📈 Where could LINK go next?
If LINK gets back above $12.20 and keeps the momentum going, $13.67 is the next level I’m watching closely. Above that, we have $14, and if buyers can push through that area cleanly, the bigger $15–$15.50 zone starts looking pretty interesting.
What about support?
🟢 $12.00 - key psychological support
🟢 $11.50 - first lower support
🟢 $11.00 - next support zone
🟢 $10.70 - deeper technical support
The beauty of this setup? No guessing tops or bottoms. We just wait for buyers to show up, let RSI and MACD confirm and execute.
So, what would you do here? 👀 Take the breakout above $12.20, or wait for LINK to clear $13.67 before getting involved? Drop your setup in the comments.
Disclaimer: Trading crypto involves substantial risk, and this is only my personal read of LINK’s market structure, not financial advice. I always define invalidation before entering, size positions carefully, and accept that price can do something different from my base case.
Estratégia

Minawesome's Best lightweight, timeframe-adaptive overlay combining four structural concepts into one indicator, built with a deliberately restrained color palette (one hue for structure, one for bullish signals, one for bearish) so it stays readable instead of turning your chart into a wall of boxes.
WHAT IT PLOTS
- CRT / PO3 Range — plots the previous higher-timeframe candle's high and low (default 4H, adjustable to any timeframe) and flags when price sweeps outside that range and closes back inside it, the manipulation-then-reversal pattern the CRT/PO3 model is built around.
- Fair Value Gaps (FVG) & Inverse FVGs (IFVG) — detects standard 3-candle imbalances and tracks their full lifecycle: an FVG that gets closed through flips into an IFVG (its role inverts from support to resistance or vice versa), and an IFVG that itself gets reclaimed is removed from the chart entirely. Zones age out automatically after a configurable number of trading sessions (not bars), so the lifetime means the same thing whether you're on a 1-minute or 1-hour chart.
- SMT Divergence — compares swing highs/lows on your chart against a correlated symbol (default ES for NQ/MNQ charts, configurable to anything) and flags when the two disagree — e.g. your symbol makes a new high while the correlated symbol fails to confirm it.
- Prior Day High/Low & Session VWAP — standard reference levels, shown only on intraday timeframes since they don't mean anything on daily+ charts.
Every layer has its own on/off toggle, and hovering any marker shows a tooltip with the specific detail behind that signal, so the chart itself can stay clean.
DESIGNED FOR
Built and tested against NQ/MNQ futures, but the underlying logic (FVG/IFVG, SMT, CRT) is instrument-agnostic and works on any liquid symbol with a reasonable correlated pair for the SMT layer.
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, and nothing it plots — including FVG/IFVG zones, SMT divergence, or CRT signals — is a guarantee of future price direction or trading profitability. These are discretionary technical-analysis concepts (Fair Value Gaps, Inverse FVGs, SMT divergence, and the CRT/PO3 model originate from the ICT/Smart Money Concepts framework) and should be combined with your own risk management, not traded mechanically or in isolation. Past patterns are not indicative of future results. Trade at your own risk. Indicador

Mbedaiwi - Market Structure and Price Action mbedaiwi - Market Structure & Price Action
Overview
This Pine Script v6 overlay brings market structure, liquidity events, order blocks, volume estimates, price imbalances, and chart-pattern candidates into one configurable workspace. It helps users examine where price has broken structure, where earlier zones remain active, and how several observations align on the same chart.
The indicator is intended for discretionary analysis and chart study. It is not an automated execution system or a backtested TradingView strategy.
Purpose and benefits
Compare short-term internal structure with broader swing structure.
Organize potential reaction areas using order blocks, imbalances, liquidity levels, and range bands.
Compare the volume associated with visible order blocks through an overlay or a separate right-side display.
Select the modules and labels needed for a particular workflow, reducing chart clutter.
Use alerts to monitor defined events without continuously watching the chart.
The integration follows a practical sequence: establish structure, locate relevant areas, observe price interaction, and optionally evaluate a rule-based setup. The components provide context for one another; agreement between them does not establish a probability of success.
1. Market structure
Internal and swing structure can be configured separately. The script supports SMC leg-transition detection and symmetric pivot detection, with adjustable lengths.
BOS: a break classified as continuation of the current structural direction.
CHoCH: a break against the previous structural direction.
CHoCH+: a CHoCH supported by an intervening higher low for a bullish change, or lower high for a bearish change, under this script's pivot and sequence rules.
HH, HL, LH, and LL: higher highs, higher lows, lower highs, and lower lows.
Strong/Weak High-Low: structural classifications based on the current directional state, not forecasts of whether a level will hold.
Each structure selector offers All, BOS, CHoCH (All), CHoCH, CHoCH+, and None. CHoCH (All) includes both ordinary and supported changes; CHoCH and CHoCH+ select their respective classifications. The separate Show BOS and Show CHoCH switches also affect visibility.
Historical and Present display modes, candle coloring, label sizes, and colored or monochrome themes provide additional control.
2. Order blocks and volume display
The script includes independent swing-break, volume-pivot, and legacy structure-break order-block engines. Available controls include zone boundaries, mitigation rules, retained-zone counts, overlap suppression, midlines, and breaker display.
Volume information can appear on the price-chart overlay, in a right-side chart, or in both locations. Users can choose the volume accumulation interval, including the interval between a broken pivot and its break, an origin window, or an origin-based interval.
How to read the volume numbers
The displayed volume belongs to the selected calculation interval. The percentage is that block's share of the summed volume of currently displayed non-breaker blocks. Changing visible blocks, filters, or retention settings can therefore change the percentages. They are not win rates or percentages of the instrument's entire trading volume.
Internal buy/sell activity is an OHLCV-based estimate. Close-location mode allocates volume according to the close's position within each candle's range; candle-direction mode allocates it according to candle direction. These estimates do not measure actual bid/ask transactions, institutional orders, or order-book liquidity. Volume-dependent outputs rely on the data supplied for the symbol.
3. Liquidity tools
Equal Highs and Equal Lows use an adjustable ATR-based tolerance. Liquidity Grabs identify excursions beyond tracked levels followed by a return inside those levels, subject to the detection rules.
Grabs are displayed as hollow frames around the relevant candle wick: blue for bullish lower-wick grabs and red for bearish upper-wick grabs by default. Optional text can be enabled. Detection sensitivity and retained history are adjustable.
Live previews can change or disappear before the candle closes. Liquidity Grab alerts require a confirmed bar. Separate trendline tools and trendline-break alerts are also available.
4. Price imbalances
The imbalance selector displays one of five types:
FVG: a three-candle gap between the first and third candles' price ranges.
Inverse FVG: a tracked FVG that is breached and reclassified in the opposite direction.
Double FVG: an overlapping area between a new FVG and a tracked opposite-direction FVG.
Volume Imbalance: a gap between adjacent candle bodies while their wick ranges overlap. Despite the name, this detection is price-based.
Opening Gap: a gap between adjacent candle ranges.
Controls include source timeframe, volatility threshold, extension, mitigation method, and maximum retained zones. The imbalance timeframe must be the chart timeframe or higher. Higher-timeframe imbalance detection uses completed source candles, so it becomes available after source-bar confirmation.
To hide only the FVG/type text while retaining the shaded zones, disable Show Imbalance Type on Zones. Re-enable it at any time from Inputs.
5. Premium, equilibrium, and discount
Optional bands divide a selected Swing, Internal, or Impulse range into upper, middle, and lower reference areas. Band width and colors are adjustable. These areas describe relative position within the selected range; they do not measure fundamental fair value or guarantee a reversal.
6. Chart-pattern candidates
The pattern module classifies recent pivot geometry and can display pattern boundaries, shaded zones, and a Detected Pattern table. Candidate types include triangles, wedges, broadening wedges, double tops/bottoms, and head-and-shoulders formations.
Pattern drawings are separate from the trendline module. Detection depends on pivot length, available history, and tolerance settings. In this release, a displayed pattern can remain after price has moved outside its boundaries until the detection state updates. Treat the pattern name as a geometric candidate, not confirmation that a formation remains valid or that a breakout will succeed.
7. Additional context and optional setup planning
Optional Fibonacci retracements, an OTE region, extension levels, and previous daily/weekly/monthly/quarterly highs and lows provide additional reference points.
The optional setup layer combines structural events with configurable checks such as liquidity sweeps, order-block or imbalance interaction, displacement, higher-timeframe direction, EMA alignment, volume, and RSI. Score and Strict modes control how these conditions are evaluated.
When enabled, the trade layer can display a hypothetical entry, stop, and up to three targets using configurable zone, structure, ATR, or risk-multiple methods. These are rule-based planning levels, not executed orders or verified performance results. The default mbedaiwi profile suppresses the trade layer.
How to use
Add the indicator to a standard candlestick chart and choose an analysis profile. The default mbedaiwi profile uses internal length 5, swing length 50, and close-based structural breaks. Select Custom or enable Override profile lengths when you want the manual lengths to take effect.
Choose the internal and swing events you want to see. Start with structure and a small number of zones before enabling additional modules.
Enable order-block metrics if you want volume comparisons. Select the accumulation method and overlay/side-chart layout appropriate for your analysis.
Enable Liquidity Grabs and select detection sensitivity. Distinguish a live preview from a completed event.
Choose an imbalance type and its mitigation method. Add premium/discount bands or prior-period levels if they help define context.
Enable Patterns only when studying pivot-based formations, and check the actual candles against the displayed boundaries.
Use Clean chart mode, individual visibility switches, label sizes, and zone-count controls to manage clutter. The Show tables switch controls on-chart tables.
If using the optional setup layer, choose a compatible profile, review all filters and risk settings, and evaluate its behavior before relying on the planning levels.
Reading entries, stops, targets, and exits
Use the indicator as a sequence of observations: structural direction, an area to monitor, confirmation, and a predefined risk/target plan. A BOS, CHoCH, or Liquidity Grab on its own is not an automatic instruction to buy or sell.
Step 1 - Read the structural context
Start with Swing Structure for the broader context, then use Internal Structure to examine shorter movements. Higher highs and higher lows describe an upward structure; lower highs and lower lows describe a downward structure. A bullish BOS is classified as continuation, while a bullish CHoCH marks a potential change from the preceding bearish structure. CHoCH+ adds the script's supporting pivot-sequence condition; it does not guarantee a reversal.
An internal bullish change can occur while swing structure remains bearish. Always identify which structure level produced the label. Pivot confirmations can arrive after the turning point and be drawn back at the earlier pivot bar.
Step 2 - Identify an area to monitor
A bullish order block, bullish FVG, discount band, previous low, or Equal Lows can provide a reference area for studying a possible bullish reaction. Price entering an area only establishes an interaction; it does not confirm that a rebound has started. Order-block volume percentages are calculated volume shares, not probabilities that the area will hold.
Step 3 - Observe confirmation
The following is an illustrative manual reading sequence, not the mandatory algorithm behind every setup generated by the script:
Price reaches a previously identified reference area.
Price moves below a tracked low and closes back above it, producing a confirmed bullish Liquidity Grab if the detection conditions are met.
Price subsequently breaks an internal structural level upward, producing a bullish CHoCH or CHoCH+ under the script's rules.
The user evaluates the completed confirmation candle or a later retest of the broken level, together with the broader structure and the planned invalidation level.
A retest may never occur, and confirmation can still fail. Do not assume that a marker anchored to an earlier candle was available in real time on that candle.
Step 4 - Understand the optional planning layer
The planning layer displays hypothetical levels when its setup conditions are satisfied:
Entry method: Market, Fibonacci, or Zone determines the entry-reference calculation.
Stop method: Structure, ATR, or Zone determines the stop-reference calculation. The selected invalidation level defines where the planned idea no longer applies.
Target method: Risk multiple, Smart money, or Hybrid determines how target references are calculated.
TP1, TP2, and TP3: up to three target references, according to the selected method.
Move stop to breakeven after TP1: updates the hypothetical stop to the entry reference after the first-target condition is met.
These are chart calculations. They do not send orders to a broker, establish actual fills, or move a real stop order.
To make this layer available, choose a profile such as Custom, enable Show trade layer (entry / SL / TP), and disable Structure only. The default mbedaiwi profile suppresses the trade layer. Enabling the display does not guarantee that levels appear immediately: the selected signal conditions and filters must also be satisfied.
Step 5 - Read risk multiples: a numerical example
Consider a hypothetical entry at 100 and a stop at 98. The distance between them is 2 per share, so 1R equals 2. In Risk multiple target mode:
Entry reference: 100.
Stop reference: 98.
1R target: 102.
2R target: 104.
3R target: 106.
This example explains arithmetic only. It is not a trade recommendation, a prediction, or a result produced by a backtest. It excludes fees and slippage. A real fill can differ from the plotted reference, and an actual exit can differ from the stop price. If the hypothetical breakeven option is enabled, a qualifying TP1 event changes the plotted stop reference to 100; this does not guarantee a cost-free exit in actual trading.
Step 6 - Interpret exits and changes in structure
A TP reached alert means that the script's target condition has been met. A Stop-loss reached alert means that its stop condition has been met. Neither confirms that a broker executed an order.
A bearish CHoCH during an upward move provides information about a structural change. It does not automatically mean that the planning layer closed a position, nor that every internal change requires the same response. Target exits, invalidation exits, and any discretionary response to opposing structure should be defined before acting on a setup. The script does not automatically carry out partial sales or discretionary exits described by a user's plan.
Manual analysis versus calculated setups
The manual sequence above explains how the visual components can be read together. The optional planning layer instead evaluates its configured rules, filters, and calculation methods. It does not necessarily require that exact sequence. Neither workflow supplies verified profitability or guarantees that a displayed setup will succeed.
Alerts
Available conditions cover internal and swing BOS/CHoCH/CHoCH+, liquidity grabs and sweeps, equal highs/lows, imbalance formation, zone interactions, order-block breaks, trendline breaks, detected patterns, and optional setup/target/stop events.
Select this indicator in TradingView's Create Alert dialog, then choose the event. Use Once Per Bar Close when you want close-confirmed notifications. General CHoCH alerts also include supported changes; separate CHoCH+ conditions are available. Some touch conditions can remain true across consecutive bars, so they should not be interpreted as one notification per zone for its entire lifetime.
Timing, historical drawings, and limitations
Pivot-based features require later bars to confirm earlier turning points. Labels and zones may be anchored back to those earlier bars, although the information was not available at that time.
Live candles and enabled previews can change before close. This indicator is not presented as universally non-repainting.
Zone removal depends on mitigation, age, overlap, and retention settings. Older drawings can disappear as new observations replace them.
Results depend on the symbol, timeframe, session, available history, and settings. Different indicators can use different definitions and produce different results.
The confluence score is a rule-based score, not a calibrated probability. Volume percentages and Strong/Weak labels are not measures of signal accuracy.
The planning layer does not provide a broker execution model, Strategy Tester results, or verified profitability. No accuracy, return, or future-performance claim is made.
Source acknowledgment
The hierarchical pivot-detection logic used in the Liquidity Grabs module is adapted from LuxAlgo's open-source "Pure Price Action Liquidity Sweeps", licensed under CC BY-NC-SA 4.0. Modifications include wick-frame rendering, display controls, and alert handling. Credit for the adapted source logic belongs to LuxAlgo.
This acknowledgment concerns the identified open-source component and does not imply access to LuxAlgo's closed-source Price Action Concepts indicator. This publication is not affiliated with or endorsed by LuxAlgo.
Intended use
For educational chart analysis and discretionary decision support. Users remain responsible for validating the settings, interpreting signals, and managing risk. No displayed zone, pattern, or setup guarantees a particular market outcome.
Indicador

Clock_Live and Replay AwareClock — Live / Replay Aware
A simple on-chart clock that always tells you the truth about what time it's showing — whether you're trading live or running Bar Replay.
Why this exists
Most clock indicators only show your real-world time, which becomes misleading (or useless) the moment you activate TradingView's Bar Replay feature — you end up staring at a clock that has nothing to do with the price action on screen. This indicator detects which mode you're in and adapts automatically.
Features
LIVE mode (green): Displays your actual real-time clock, synced to live incoming ticks.
REPLAY mode (orange): Displays the timestamp of the bar currently being replayed, so the clock always matches what you're watching, not your wall clock.
CHART mode (gray): Shown when you're simply scrolled through history with no live feed active.
Countdown timer: Shows time remaining until the next bar closes — exact in live mode, and estimated in replay mode using a rolling average of how long recent replayed bars have taken to form (adapts automatically if you change replay speed).
Configurable timezone, 12h/24h format, date display, table position, and colors.
How replay detection works
Pine Script has no official flag for "is Bar Replay active." This script uses a reliable heuristic instead: on a genuine live (still-forming) bar, its scheduled close time is always in the future relative to the current time. During replay, the bar being replayed is historical, so its close time has already passed. Comparing the two lets the script tell live and replay bars apart with no false positives in normal use.
Notes
The replay countdown is an estimate, not exact — replay speed isn't exposed to Pine Script, so it's inferred from recent bar timing and may lag by a bar or two after you change speeds.
Clock updates are tick-driven (a Pine Script constraint), so on very quiet symbols the seconds display may not tick with perfect real-time smoothness. Indicador

FrenchFinance_Funding v0.1Shows the perpetual funding rate of the charted coin, averaged across Binance, Bybit and OKX USDT perpetuals, as coloured columns. It is a display tool: it tells you who is paying to hold a position and how unusual that is. It gives no buy or sell signal.
HOW IT WORKS
• The coin is detected from the chart's base currency (BTC, ETH…). The funding rate of its USDT perpetual is requested on each selected venue through TradingView's crypto derivatives data (the same "Funding Rate" metric as TradingView's built-in indicators) and averaged with equal weights; venues without that perpetual are skipped. On a stock, index or forex chart nothing is shown, unless you set a coin manually.
• Column height: z-score of the funding over the last 100 bars (default), or the raw funding in %.
• Colour: green when longs pay, red when shorts pay. The further the value is from its recent norm, the brighter the colour.
• Label on the last bar: current funding in %, or "Funding not available on this pair".
SETTINGS
• Extremes: z-score threshold (default 1.5 over 100 bars) or absolute thresholds in %.
• Venues can be switched on and off. Bar height, clipping, data scale and colours are adjustable.
ALERTS
Two alerts: funding extremely positive (longs pay) and funding extremely negative (shorts pay). They report a state, not a trade.
NOTES
• The last bar shows the predicted funding, which keeps updating until settlement; closed bars do not change.
• Built with the open-source TradingView "Request" library (cryptoDerivativeMetric). Funding is information about positioning, not a forecast. Indicador

Global Net Liquidity - (Giovanni Fork)Hello traders. This plots the combined balance sheets of the Fed, ECB, BoJ, PBoC and Bank of England, converted to dollars, with the US Treasury General Account and the Fed's reverse repo facility subtracted.
There are already a lot of global liquidity scripts on here, so I want to be clear about what this one does differently rather than just adding another overlay to the pile. Three things.
First, this is a net measure.
Gross central bank assets tell you how much money has been created. They do not tell you how much of it is actually available, because some of it gets created and then taken straight back out of circulation. Money sitting in the Treasury's account at the Fed is not in the system. Nor is cash parked overnight in the reverse repo facility. Subtracting those gives you what is genuinely out there, and that is what net means here. At the time of writing it is 0.97tn in the TGA coming off a gross of 22.37tn.
It is also worth saying that this is built from central bank balance sheets rather than M2. Those are related but they are not the same measure, so if you are comparing this against something else, check which one you are looking at.
Units are worth paying attention to when you combine feeds like this. The underlying sources do not agree with each other: FRED publishes the Fed balance sheet in millions and the reverse repo facility in billions, and the China balance sheet is reported in hundred millions of yuan. TradingView appears to normalise all of them to absolute units before serving them, which is why every scale factor in this script is 1.
I would still rather you checked than took my word for it. Every series has its own visible scale factor and the table prints each component in USD trillions, so you can compare the numbers against what you know the Fed and the ECB are actually running. If a row looks wrong by orders of magnitude, that series' scale input is wrong and you can correct it in the settings without touching the code.
Second, China is measured properly.
The PBoC balance sheet is a poor gauge of Chinese liquidity and most aggregates include it anyway. Its growth up to 2014 was foreign exchange accumulation rather than stimulus, so the series has meant different things in different decades. More importantly, the PBoC's main easing tool is the reserve requirement ratio, and that is balance sheet neutral. Cutting the RRR reclassifies required reserves as excess reserves, releasing roughly 1 trillion yuan per 50bp, while total assets do not move at all. The biggest thing the PBoC does is invisible to a balance sheet aggregate.
The default here subtracts required reserves, estimated as the reserve ratio applied to M2 as a deposit proxy, so an RRR cut registers as the easing it actually is. You can switch back to the plain balance sheet or to the commercial bank balance sheet in the settings. It is an approximation because China's RRR is tiered across large, small and rural banks and the headline rate only covers the large ones, but it responds to the right events.
Third, and this is the part I think adds most, the currency effect is separated out.
Every aggregate that converts foreign balance sheets at spot has dollar moves baked into it. A stronger dollar shrinks the line even when no central bank has done anything, and that gets reported as tightening.
The purple line is the same aggregate chain linked at constant currency. Each period's balance sheet change is converted at that period's own opening rate and accumulated, so it shows what the balance sheets did without the currency. The shaded gap between the two lines is the currency effect, and the table gives it as a number. Since January 2016 it is 1.56tn, meaning that much of the apparent decline in global liquidity was dollar strength rather than central bank action.
The BoJ is the clearest example. Its assets have grown in yen over recent years while its reported dollar contribution has fallen sharply. A gross liquidity chart reads that as the BoJ tightening. It didn't tighten, the yen moved.
A few things to be aware of before you use it.
The chain start date is January 2016 by default and it matters. The constant currency line is accumulated rather than measured, so it seeds at that date and the two lines are identical there by construction. The currency figure is always cumulative since the start date, so 1.56tn means since January 2016, not in absolute terms. Set the date later if you find a component with no data at the start.
The TGA and RRP are US specific drains applied to a global gross, which is slightly inconsistent. Everybody does it, few say so, so I am saying so.
The underlying data updates weekly at best and the PBoC monthly, so use this on daily or higher. Intraday just repeats the last print.
I built this because I wanted to know how much of the last three years of liquidity contraction was real and how much was the dollar. If it is useful to you, say so, and if you think I have got something wrong let me know. Indicador

Delta Trend Delta Trend is a momentum and directional-trend indicator designed to measure the relative movement of price between the open and close of each candle. It converts the percentage change within each candle into a smoothed Delta Line, allowing traders to identify whether short-term price momentum is strengthening or weakening.
The indicator uses the relationship between the candle's Open and Close to calculate its raw directional movement. This value is then smoothed using a Weighted Moving Average (WMA) and multiplied by an adjustable Delta Adjust factor. The resulting Delta value provides a normalized representation of short-term price momentum.
How the Delta is calculated
The raw calculation is:
(Close − Open) / (Close + Open)
This measures the directional movement of the current candle relative to its overall price level.
The raw value is then smoothed using the selected Delta Smooth period and multiplied by the Delta Adjust setting:
Delta = WMA(Raw, Smooth) × 100 × Adjust
A higher Delta indicates stronger positive price momentum, while a negative Delta indicates bearish price momentum.
Delta Trend
The indicator compares the current Delta value with the previous Delta value.
Rising Delta → momentum is increasing or strengthening.
Falling Delta → momentum is decreasing or weakening.
The Delta Line is displayed in:
White when Delta is rising.
Red when Delta is falling.
This allows the trader to see changes in momentum visually without relying solely on whether price itself is moving up or down.
Zero Line and Thresholds
The indicator includes several reference levels:
0 — the primary bullish/bearish dividing line.
0.3 — an early positive-momentum threshold.
3 — a stronger positive-momentum threshold.
The area behind the indicator is shaded blue whenever Delta is zero or above, providing a quick visual indication that momentum is on the positive side of the zero line.
Delta Table
A table in the upper-right corner displays the current Delta value.
The table changes its background according to the strength of Delta:
Delta ≥ 5 → strong positive momentum.
Delta > 0 → positive momentum.
Delta ≤ 0 → negative momentum.
This gives the trader an immediate numerical reading of current momentum.
Alerts
The indicator contains alerts for both the direction and strength of Delta.
Trend alerts
Buy — Delta Line Rise
Triggered when Delta is rising compared with the previous candle.
Sell — Delta Line Fall
Triggered when Delta is falling compared with the previous candle.
Delta-level alerts
The indicator also provides bullish/bearish conditions around:
10
5
3
0.3
0
These thresholds allow traders to monitor different levels of momentum strength.
For example, a Delta above 5 represents considerably stronger positive momentum than simply being above zero.
Overall Interpretation
The Delta Trend indicator can be viewed as a short-term momentum and momentum-direction tool.
Its readings can be interpreted broadly as:
Positive Delta + Rising Delta
→ Positive momentum is strengthening.
Positive Delta + Falling Delta
→ Momentum remains positive but is weakening.
Negative Delta + Falling Delta
→ Negative momentum is strengthening.
Negative Delta + Rising Delta
→ Bearish momentum is weakening and a potential momentum transition may be developing.
The combination of the Delta level and the direction of the Delta Line is therefore more informative than either one by itself.
Example
If the indicator shows:
Delta = +6.2x
Delta Line = Rising
this suggests that the current smoothed price momentum is strongly positive and is increasing.
If it subsequently changes to:
Delta = +4.1x
Delta Line = Falling
the momentum is still positive, but its strength is declining.
If Delta eventually moves below 0, the indicator has transitioned into negative momentum.
Important Limitation
Delta Trend should not be interpreted as true order-flow or buy/sell volume delta.
Unlike an exchange-provided bid/ask delta, this indicator does not measure actual buyer-initiated versus seller-initiated trades. It derives its value entirely from the relationship between open and close prices.
Therefore, it is more accurately described as a smoothed price-momentum/directional-pressure indicator, rather than a true volume-delta indicator.
In simple terms
Delta Trend answers two questions:
1. Is price momentum positive or negative?
and
2. Is that momentum getting stronger or weaker?
The Delta value tells you the approximate strength of the momentum, while the rising/falling state of the Delta Line tells you whether that momentum is increasing or decreasing.
Indicador
