Brent Crude Oil Forward CurveBrent Crude Oil Forward Curve
The Brent Crude Oil Forward Curve is a market-structure visualization tool designed to display the relationship between consecutive Brent crude oil futures contracts across a 12-month horizon.
The indicator builds a forward curve from twelve consecutive Brent futures contracts and presents their prices both graphically and in a structured data table. This allows users to observe the shape, slope and evolution of the Brent term structure directly alongside the underlying market.
CURVE STRUCTURE
The indicator automatically identifies the prevailing structure of the displayed curve:
BACKWARDATION — when deferred futures contracts trade below the front contract.
CONTANGO — when deferred futures contracts trade above the front contract.
The curve is displayed dynamically, allowing changes in the term structure to be identified visually rather than by examining individual futures contracts separately.
12-CONTRACT FORWARD CURVE
Twelve consecutive Brent futures contracts are displayed. Each point on the curve includes the contract month, price and spread relative to the front contract.
The accompanying table provides:
• Contract symbol
• Contract month
• Futures price
• Spread versus the front contract
The summary row shows the current curve structure, the front-to-last contract range and the total spread across the displayed 12-month curve.
AUTO ROLL
The indicator includes a calendar-based auto-roll mechanism that automatically advances the displayed 12-contract sequence as the calendar progresses. By default, the sequence begins two calendar months ahead of the current month. The contract sequence is generated dynamically, eliminating the need to manually replace each futures symbol every month. A Manual Front Month Offset is also available for users who wish to inspect an adjacent contract sequence or manually shift the starting point of the curve.
PRICE TIMEFRAME
By default, contract prices follow the chart timeframe. Users may select a different Price Timeframe when they want the forward curve calculations to reference another timeframe independently of the underlying chart.
DISPLAY CONTROLS
The Inputs menu provides independent controls for displaying or hiding the data table, individual contract labels and branding panel. Point spacing, horizontal positioning and label distance can also be adjusted to accommodate different screen sizes and chart layouts.
DESIGN AND METHODOLOGY
This script combines automated Brent contract sequencing, calendar-based contract management, 12-contract term-structure construction, spread calculations relative to the front contract, dynamic curve visualization and synchronized tabular presentation within a single analytical framework.
Rather than analyzing individual futures contracts separately, the script transforms the prices of twelve consecutive Brent futures contracts into a synchronized representation of the term structure. The graphical curve, contract labels, spreads, market-structure classification and contract table are updated together as the futures sequence evolves. The implementation and presentation logic were developed specifically for this script.
INTERPRETATION
The indicator is intended to help users study the term structure of Brent crude oil futures. Changes in the shape and slope of the forward curve can provide useful information about how the futures market is pricing near-term versus deferred delivery.
Forward-curve structure should not be interpreted in isolation as a directional trading signal. It is one component of broader crude-oil market analysis and should be evaluated together with price action, fundamentals, positioning, inventories and other relevant market information. אינדיקטור

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

[dom] % change correlationa lightweight way to compare % change across stocks, futures, volatility, rates, spreads, and other markets from the same view.
add symbols into any of the 5 groups with commas. each group can show the individual lines, an equal-weight cumulative basket, or both. the included groups are just editable defaults — mag 7, vol, implied correlation, rates/curve, and futures.
by default, % change uses tradingview-style close-to-close based on the selected anchor timeframe. d compares current price to the previous daily close, w to the previous weekly close, etc. you can switch a group to open-to-current instead, with an optional hard-coded globex session open for futures.
expressions work directly in the symbol box, so things like tvc:us10y - tvc:us02y (2s10s) or ratios can be plotted alongside normal tickers. parentheses are just the display name for an expression. @tf can be added to an individual symbol when its data needs a minimum source timeframe.
each group has its own visual scaling. linear is untouched data, while soft cap / outlier compression are useful when one market blows out the scale. scaling is display-only — the % values and cumulative calculations stay uncompressed.
endpoint labels show the ticker/value/% and , which matches the corresponding line in the style tab. colors, line appearance, text size/color, cumulative names, anchors, and group contents are all editable.
slower macro/reference feeds are automatically handled on intraday charts when needed, while exchange-traded symbols can use their normal tradingview session context.
performance change detection uses optipine by alien_algorithms, licensed under cc by-nc-sa 4.0. אינדיקטור

TDVW Liquidity PulseTDVW Liquidity Pulse — Composite Momentum and Volatility Scanner
A single-score liquidity indicator that combines four established technical concepts into one 0-100 reading, built for spotting momentum shifts on any timeframe.
Relative Volume: current volume vs its recent average
VWAP Deviation: how far price has stretched from session VWAP
Volume Acceleration: short-term vs long-term volume trend, catching momentum before it peaks
Volatility Squeeze: Bollinger Bands compressing inside Keltner Channels, then releasing with volume confirmation
When all four align, the background highlights and a Setup Zone marker appears with ATR-based reference levels: stop-loss, Target 1, and Target 2, useful for structuring risk on a potential move.
How to read it:
Green background means a strong composite reading of 75 or above.
Yellow background means a moderate reading between 50 and 74.
A triangle marks a volatility squeeze breakout.
The SETUP label appears when all conditions align simultaneously.
Every component is fully adjustable in settings: RelVol window, VWAP threshold, squeeze length, and ATR multipliers, to fit different timeframes and instruments.
Disclaimer: This is an educational and informational tool, not a trading signal or financial advice. The Setup Zone and levels shown are calculated reference points based on historical volatility and do not predict future price movement or guarantee any outcome. Always do your own research and manage risk according to your own trading plan. אינדיקטור

XauLabs Swing PointsENGLISH
What it does
It marks confirmed swing highs and swing lows, labels each one relative to the previous one of the same type — HH, HL, LH, LL — and connects them with a zigzag. That labelled sequence is the raw material of every structure-based method: HH + HL is the skeleton of an uptrend, LH + LL the skeleton of a downtrend, anything mixed is no man's land.
How it works (full method)
Confirmation. A swing high is confirmed only when the highs of the N bars before AND the N bars after are all lower (mirrored for swing lows). N is user-defined, default 7, range 5–21.
Labelling. On confirmation, the new swing high is compared to the previous confirmed swing high: higher gives HH, lower gives LH. The first one, with no predecessor, is labelled H. Swing lows are compared to previous swing lows: HL or LL, first one labelled L. Highs are never compared to lows.
Zigzag. Each confirmed pivot is joined to the previous confirmed pivot by a straight line, regardless of type. The result is the chart's skeleton with the intermediate noise removed.
Two levels of structure. Major structure uses the main sensitivity and is the default view. An optional minor structure, with its own smaller sensitivity (default 3), plots the internal waves inside each major leg. It is off by default: the skeleton first, the ripples afterwards. Reading a minor swing as if it were a major one is the most common way to end up flipping bias several times a day.
No repainting
Labels appear N bars after the extreme they mark, are drawn at the true historical position of that extreme, and never move or disappear afterwards. What history shows is what would have been visible live. The confirmation delay is the cost, and it is stated rather than hidden.
On-chart output
HH / HL / LH / LL labels on every confirmed major pivot.
Zigzag connecting major pivots.
Optional minor pivot dots.
A badge in the top-right corner showing the two most recent readings, with selectable text size.
Two alert conditions: major swing high confirmed, major swing low confirmed.
Suggested use
Start on H4. Read the badge: HH · HL means the bullish skeleton is intact. Structure has to be read on one sensitivity, applied consistently — not on whichever swing supports the trade you already want to take.
This is an educational structure-reading tool. It gives no buy or sell signals and makes no performance claim. Trading involves substantial risk of loss.
FRANÇAIS
Ce que fait l'indicateur
Il marque les sommets et creux de swing confirmés, étiquette chacun par rapport au précédent du même type — HH, HL, LH, LL — et les relie par un zigzag. Cette séquence étiquetée est la matière première de toute méthode structurelle : HH + HL forme le squelette d'une tendance haussière, LH + LL celui d'une tendance baissière, tout ce qui est mixte est une zone grise.
Comment il fonctionne (méthode complète)
Confirmation. Un sommet n'est confirmé que si les N bougies avant ET les N bougies après ont toutes un plus haut inférieur (symétrique pour les creux). N est réglable, 7 par défaut, plage 5–21.
Étiquetage. À la confirmation, le nouveau sommet est comparé au sommet confirmé précédent : plus haut donne HH, plus bas donne LH. Le premier, sans prédécesseur, est étiqueté H. Les creux sont comparés aux creux : HL ou LL, le premier étiqueté L. Un sommet n'est jamais comparé à un creux.
Zigzag. Chaque pivot confirmé est relié au pivot confirmé précédent par une droite, quel que soit son type. On obtient le squelette du graphique, débarrassé du bruit intermédiaire.
Deux niveaux de structure. La structure majeure utilise la sensibilité principale : c'est la vue par défaut. Une structure mineure optionnelle, avec sa propre sensibilité plus courte (3 par défaut), trace les vagues internes de chaque jambe majeure. Elle est désactivée par défaut : le squelette d'abord, les vagues ensuite. Lire un swing mineur comme s'il était majeur est la façon la plus courante de changer de biais cinq fois par jour.
Aucun repaint
Les étiquettes apparaissent N bougies après l'extrême qu'elles marquent, sont tracées à la vraie place historique de cet extrême, et ne bougent ni ne disparaissent ensuite. Ce que montre l'historique est ce qui aurait été visible en direct. Le délai de confirmation est le prix à payer, et il est affiché plutôt que masqué.
Affichage
Étiquettes HH / HL / LH / LL sur chaque pivot majeur confirmé.
Zigzag reliant les pivots majeurs.
Points de pivots mineurs, optionnels.
Un badge dans le coin supérieur droit affichant les deux dernières lectures, avec taille de texte réglable.
Deux conditions d'alerte : sommet majeur confirmé, creux majeur confirmé.
Utilisation suggérée
Commencer en H4. Lire le badge : HH · HL signifie que le squelette haussier est intact. La structure se lit sur une seule sensibilité, appliquée avec constance — pas sur le swing qui arrange le trade qu'on a déjà envie de prendre.
Outil éducatif de lecture de structure. Il ne donne aucun signal d'achat ou de vente et ne formule aucune promesse de performance. Le trading comporte un risque de perte important. אינדיקטור

Swing Trader's Buy Signal
A Buy or Strong Buy signal triggers when multiple independent technical factors align simultaneously. Instead of relying on a single indicator (which often produces false signals), this dashboard evaluates confluent technical layers: Macro Trend, Short-Term Momentum, Institutional Volume, and Relative Strength.
Breakdown of Dashboard Elements
Trend (Overall Structure)
What it checks: Confirms whether Price > SMA20 > SMA50 > SMA200.
Why it triggers a Buy: Institutional traders trade in the direction of the macro trend. A bullish trend hierarchy ensures you are not buying into a falling knife or fighting a broader downtrend.
RSI (Relative Strength Index)
What it checks: Measures price momentum speed (RSI > 50 gives +1 pt, RSI > 60 gives +1 pt).
Why it triggers a Buy: An RSI above 50 indicates buyers are in control of momentum. Crossing above 60 signifies accelerating momentum without entering extreme overbought exhaustion.
Stoch RSI (Stochastic RSI Crossover)
What it checks: Evaluates if the Fast line %K is above %D (k > d) and recovering from oversold territory (k > 20).
Why it triggers a Buy: RSI provides the macro momentum, but Stoch RSI provides precise swing timing. A bullish %K > %D crossover pinpoints the exact moment a brief pullback ends and the upward swing resumes.
RS vs SPY (Relative Strength vs. Benchmark)
What it checks: Compares the asset's performance directly against the market index (AMEX:SPY).
Why it triggers a Buy: Outperforming stocks lead market rallies. Positive RS momentum (+1 to +2 pts) confirms that institutions are actively accumulating this specific asset faster than the broader market.
Price > SMA20 (Short-Term Trend Filter)
What it checks: Verifies if current price is trading above its 20-period Simple Moving Average.
Why it triggers a Buy: The 20 SMA represents the short-term swing baseline. Trading above it confirms immediate buyer control and validates short-term breakout momentum.
Price > SMA50 (Medium-Term Trend Filter)
What it checks: Verifies if current price is trading above its 50-period Simple Moving Average.
Why it triggers a Buy: The 50 SMA is the primary benchmark for institutional support. Staying above this level proves medium-term pullbacks are being bought rather than sold.
Volume (Institutional Participation)
What it checks: Compares current bar volume against its 20-period average (HIGH = >120%, VERY HIGH = >150%).
Why it triggers a Buy: Price moves without high volume lack conviction. Above-average volume confirms "smart money" accumulation, providing the fuel required for a sustained breakout.
Score (Confluence Aggregator)What it checks: Sums up the binary conditions across all indicators (Maximum score = 11).
Why it triggers a Buy: A BUY requires a score $\ge 7$ alongside an early bull trend, while a STRONG BUY requires a score $\ge 9$ with fully aligned trends, relative strength, and RSI momentum. This eliminates guesswork by requiring a strict mathematical majority of positive technical factors before triggering an entry.
אינדיקטור

CPR by SubashCPR — Central Pivot Range with Multi-Timeframe Pivots
This indicator plots the Central Pivot Range (CPR) along with standard floor-trader pivot levels across four timeframes — daily, weekly, monthly and yearly — on a single chart. It also plots the previous period's high and low for each timeframe, and can optionally project the next period's CPR forward.
**What the Central Pivot Range is**
The CPR is a three-line zone derived from the previous period's high, low and close:
- Pivot (PP) = (High + Low + Close) / 3
- Bottom Central (BC) = (High + Low) / 2
- Top Central (TC) = Pivot − BC + Pivot
The width of the band between TC and BC reflects how balanced the previous period was. A narrow CPR indicates the prior period closed near the middle of a tight range; a wide CPR indicates a broader distribution. Traders commonly use the relationship between successive CPR bands, and price's position relative to them, as context for the session.
**Support and resistance levels**
Standard pivot-derived levels R1–R4 and S1–S4 are calculated for each timeframe using the conventional floor-trader formulas. These are geometric projections from the previous period's range, not predictions.
**Timeframe visibility**
Each set of levels only renders on chart timeframes below its own period, so the chart does not fill with irrelevant lines:
- Daily levels — intraday charts only
- Weekly levels — intraday and daily
- Monthly levels — intraday, daily and weekly
- Yearly levels — intraday through monthly
**Settings**
Every timeframe group has independent toggles for its pivot, its support/resistance set, its CPR band, and its previous-period high and low. Daily, weekly and monthly pivots plus support/resistance are enabled by default; yearly levels and all CPR bands beyond the daily one are off by default to keep the initial chart readable. A single line-width input controls all plots.
**Next CPR projection (off by default)**
The "Show Next CPR" option projects the upcoming period's CPR and pivot levels forward on the chart by a configurable bar offset. Choose the projection period — daily, weekly, monthly or yearly — with the resolution input.
**Important — this section repaints by design.** It reads the current, still-incomplete period's high, low and close in order to compute where the next period's levels would fall. Those values change as the current period develops, so the projected lines move until the period closes. This is inherent to what a forward projection is; it is not a bug, but it does mean these particular lines must not be used for signal generation, backtesting, or alerts. All other levels in the script are calculated from completed prior periods and do not repaint.
**Notes on use**
These are reference levels, not entry signals. The script produces no buy or sell markers and makes no directional claims. How useful any given level is depends entirely on the instrument, the timeframe, and the volatility regime — verify the behaviour on your own instrument before relying on it.
אינדיקטור

MTF Daily Bias DashboardOverview
The "MTF Daily Bias Dashboard" is a streamlined, non-intrusive utility designed specifically for Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies. Multi-timeframe analysis is the backbone of finding high-probability setups, but constantly switching between charts to check the higher-timeframe narrative can lead to missed lower-timeframe entries.
This indicator solves that problem by providing a clean, customizable on-chart dashboard that displays real-time, objective market bias across three different timeframes simultaneously.
Core Features
Objective Bias Detection: Bias is determined mechanically using a customizable Exponential Moving Average (EMA) and price action closes, removing emotion and guesswork from your directional bias.
Multi-Timeframe Synchronization: By default, it tracks the Daily (1D), 4-Hour (4H), and 15-Minute (15m) timeframes, giving you a complete top-down narrative at a glance.
Non-Repainting Logic: The multi-timeframe data is pulled securely, ensuring that historical signals remain accurate and current data does not repaint past the current candle formation.
Dynamic Visual Dashboard: A color-coded table (Green for Bullish, Red for Bearish) provides immediate visual confirmation of market alignment.
How It Works
The indicator evaluates the current price action against your chosen baseline (EMA).
Bullish (Green):Price closes above the EMA, and the current candle closes higher than the previous candle.
Bearish (Red): Price closes below the EMA, and the current candle closes lower than the previous candle.
Confluence: When all three timeframes show the same color, you have high-probability directional alignment, perfect for looking for lower-timeframe sweeps, order blocks, or fair value gaps in the direction of the trend.
Customization & Settings
Timeframes: Fully adjustable inputs allow you to change the three monitored timeframes to fit your specific trading model (e.g., Weekly/Daily/1H or 4H/1H/5m).
Dashboard Positioning: You can move the dashboard to any corner of your chart to ensure it never obstructs current price action.
Trend Logic: Adjust the EMA length used to calculate the bias to make the indicator more or less sensitive to recent price action.
Who is this for?
This tool is ideal for SMC, ICT, and pure price action traders who rely on the daily narrative but execute on intraday timeframes. It keeps you aligned with the macro trend while you focus on micro executions. אינדיקטור

ATK / DEF Advanced Battle Engine## Overview
ATK / DEF Advanced Battle Engine is a market behavior analysis and visua tool that combines liqui conditions, price movement, volati behavior, and swing struc to provide a mu-dimenal reference around signcant price highs and lows.
Raher than trting price movement as a simple upward or downward ratio, this indicator examines how liquidity conditions and price movement inract with one anoer around swing points.
The ATK / DEF concept is used as a structural repsentation of changing market behavior. It is not inteed to repsent a conntional direcnal indicator or a simple adce/dine measement.
## Core Concept
The indicator combines several market observations into a unied analytical framework:
• Swing High and Swing Low structure
• Liquidity pressure
• Liquidity changes
• Price movement behavior
• ADL-based tracking
• ADL directional behavior
• ADL attraction characteristics
• Volatility conditions
• Combined behavior assessment
The purpose of combining these components is to provide additional context around hw price behaves when it rches or develops around important high and low areas.
Instead of evating a high or low from prie alone, the indicator considers the surrnding liqity and movement conditions at the se time.
## High & Low Behavior
Swing High and Swing Low points form the structural foution of the indicator.
When a high or low is idenied, the indicator displays additional contextal information associed with that location, including the current ADL tracking condition and liquidity pressure.
This creates a layered view of each structural point.
A high is therefore not trted simply as a numical pric leel, and a low is not treed simpl as an isolaed turing point.
The surroding conditions are displayd together to provide a broader represtation of the behavior occring around that area.
## Liquidity Analysis
Liquidity information is reprented through two primary observions:
### Liquidity Pressure
Liquidity Pressure compares the current volume condition with its corresnding average levl.
The result is normalized into a bounded rae and classied into dferent pressure levls.
This provides a reference for identiing whether the current market envirment is operating under relatily higher, normal, or lower liqdity conditions.
### Liquidity Change
Liquidity Change exanes the change in volume conditions across a dened period.
It provides a reference for whether liquidity conditions are incasing, decasing, or remning relavely balanc.
These measements are used as conttual information raer than as stalone directional measuments.
## ADL Tracking
The ADL Tracking component evaates the relaonship between price change and changs in volume conditions.
The resuing value is normalized into a range and categized into several intensity levels.
This allows the indicator to reprent the current relatiohip between price movement and liquidity conditions without reducing the analysis to price direction alone.
The displayed levels provide a visua reference for changes in the inteity of this relationship.
## ADL Trend
ADL Trend measures the change in the ADL tracking condition over a dened period.
It classifies the observed behavior as:
• Up
• Down
• Sideways
The associated strgth value proides additional context rerding the magtude of the oerved change.
This component is intended to describe the changing state of the undeying measurement rather than simply deribing whether price is risg or faing.
## ADL Attraction
ADL Attraction examines the difference between the ADL-based movement component and the unrlying price-change component.
The resulting value is smoothed and normalized to provide a serate referce for directional pressure within the combed calculan.
The indicator presents this condition through:
• Direction
• Strength
• Intensity level
This helps distinguish the behavior of the combined liquidity/price relationship from the raw movement of price itelf.
## Volatility Behavior
Volatility Behavior compares the current candle range with ATR-based volatility conditions.
The result provides a normalized reprentation of the relative size of the current price range.
The indicator classifies volatility into several levels, allowing users to distiuish between relatively qut price behavior and periods with greater range expansion.
Volatility is presented as contextual information alongside liquidity and structural observations.
## Behavior Detection
The Behavior Detection component combines ADL Tracking and ADL Attraction into a single reference value.
This produces a brder repsentation of the conditions being obrved by the indicator.
The resulting classifation provides a simplified summary of the combined measurements while retaining the underlying components in the analysis table.
It should be viewed as a composite reference rather than a standalone directional measurement.
## ATK / DEF Framework
The ATK / DEF terminogy describes two sies of market behavior around structural price areas.
**ATK** reprsents the obsvation of upward-side interaction around relevant high-side structure.
**DEF** reprsents the obseration of downward-side interaction around relevant low-side structure.
These tems are usd as visal and structural laels for intpreting the relatiship between price, liqdity, and swing behavior.
They do not represent direct market instructions.
## Analysis Table
The intated analysis table prides a compact view of the current analytical state.
It includes:
• ADL Tracking
• ADL Trend
• ADL Attraction
• Liquidity Pressure
• Liquidity Change
• Volatility Behavior
• Behavior Detection
The table allows the different measurements to be vied togher rather than interpreting each component independently.
## Swing Labels
When ebled, Swing High and Swing Low labels display the strtural price level together with contextual liquidity and ADL information.
This allows histical swing locations to rein addtional analycal information instead of displaying only the price level.
The result is a more detaled visual reprentation of how liqdity and price behavior were charterized around the detected structural area.
## Design Philosophy
The design of ATK / DEF Advanced Battle Engine is based on combining multle forms of market information rather than relng on a single measurement.
Price strture provides the location.
Liquidity provides conttual participation information.
ADL calculaons provide a relaonship between price movement and volume conditions.
Volatity provides information about the sce of current price movement.
Together, these components create a multi-layer reference for stud market behavior around highs, lows, and chaing structural conditions.
## Important Note
This indicator is intended for market behavior analysis and visual reference.
It is not designed as a stalone desion-mag sysm. The displayed measuments should be evalted together with other anatical tools, market contet, and indendent intertation.
The values and classiations are callated from historal price and volume da and may chang as new mat dat devels.
Histor behavior does not guara future conditions.
ATK / DEF Advanced Battle Engine is designed to provide additional analytical
אינדיקטור

אינדיקטור

EWS - Anchored VWAP IndicatorVWAP — Daily / Weekly / Monthly
Three independently anchored volume weighted average prices on one chart. Each
one resets on the first tick of a new day, week and month, so you always see
where the daily, weekly and monthly volume has actually been transacted rather
than a single rolling average.
WHAT IT DOES
VWAP is the average price of every trade in a period, weighted by size. It is
the reference price large orders are measured against, which is why price so
often gravitates back to it. A daily VWAP tells you who is winning the session,
a weekly VWAP frames the swing, and a monthly VWAP marks the level that
positional money is anchored to. Having all three at once shows you when they
stack up (trend) and when they pinch together (compression before expansion).
Each VWAP is accumulated bar by bar from the raw price and volume of the chart
you are on. Nothing is smoothed, averaged again, or borrowed from a higher
timeframe request, so there is no repainting and no lag beyond the data itself.
ANCHORING
The whole point of a periodic VWAP is where it resets, so the anchor is
configurable rather than assumed.
Session (exchange) resets when TradingView opens a new daily, weekly or monthly
bar. This respects the symbol's real session, so a futures day correctly begins
at 18:00 the previous evening and a stock day begins at the opening bell. This
matches the behaviour of the built-in VWAP.
Calendar resets at 00:00 in a timezone you choose: the exchange timezone, UTC,
or any IANA timezone you type in. This is normally what you want on 24/7 crypto,
where there is no session and the market convention is a UTC day.
Pick the mode that matches how you actually think about the instrument. For
crypto, Calendar UTC. For futures, FX and equities, Session.
FEATURES
Daily, weekly and monthly VWAP, each with its own colour, line width and
on/off switch.
Optional standard deviation bands on any of the three, with a configurable
multiplier and a shaded fill. The deviation is volume weighted from the same
accumulator as the VWAP itself, not a simple standard deviation of price.
Show only the current period. Hides every completed day, week and month and
draws just the anchors that are still building. Useful when you only trade the
live level and want the history out of the way.
Auto-hide. A daily VWAP on a daily chart is just the bar itself, so anchors
that are meaningless on the current timeframe are hidden automatically. Can be
turned off.
Line breaks at each reset, so you do not get a vertical spike connecting the
end of one period to the start of the next.
Value labels at the right edge showing the live price of each VWAP.
Alerts for price crossing the daily, weekly or monthly VWAP.
Selectable source, defaulting to hlc3, which is the standard VWAP price.
NOTES
The indicator needs real volume. If the symbol's data feed provides none, it
will tell you instead of silently drawing a flat line. Some index and CFD style
tickers have no volume; use an exchange specific ticker in that case.
Values update on every tick. When a new period begins, the reset happens on the
first tick of that period's first bar. You do not have to wait for a bar to
close.
This is a reference and context tool, not a signal generator. VWAP tells you
where value is, not which way price is going next. Use it to frame entries,
size risk against a level, and judge whether a move is extended, and combine it
with your own method rather than trading crosses on their own.
אינדיקטור

XauLabs Trend & Range**ENGLISH**
**What it does**
This indicator answers one question, and only one: is the market currently trending up, trending down, or ranging? It reads pure price structure — confirmed swing highs and swing lows — and states a verdict on the chart.
**How it works (full method)**
1. **Swing detection.** A swing high is confirmed only when the highs of the N bars before AND the N bars after are all lower (mirrored for swing lows). N is user-defined, default 7, range 5–21. Confirmation therefore arrives N bars after the actual extreme; the marker is then plotted at its true historical position and never moves again.
2. **Memory.** The script keeps the last two confirmed highs and the last two confirmed lows.
3. **Classification.**
- Uptrend: last high > previous high AND last low > previous low.
- Downtrend: last high < previous high AND last low < previous low.
- Range: anything else, including any state with fewer than two confirmed highs and two confirmed lows.
4. **Close-based invalidation** (optional, on by default). Any bar closing below the last confirmed swing low arms an invalidation flag. While that flag is armed, no uptrend is displayed: the state is forced to Range, even if the swing sequence otherwise qualifies as higher highs and higher lows. The flag is cleared only when a new swing low is confirmed. The logic is mirrored for downtrends, using a close above the last confirmed swing high. Wicks piercing the level do not count — only the close does. This mechanism can only suppress a trend reading, never create one: a trend must always earn its own structure.
**Why the delay is deliberate**
Signals never appear and later vanish. What the history shows is what would have been visible live. The cost is the N-bar confirmation delay, and it is stated openly rather than hidden behind a repainting display.
**On-chart output**
- Background tint: green uptrend, red downtrend, grey range.
- Triangles marking each confirmed swing high and low.
- A two-line state badge in the top-right corner, with selectable size and language (EN/FR).
- One alert condition: state change.
**Suggested use**
Start on H4. When the state reads Range, trend-following setups are structurally out of place — the indicator is meant to be used as a context filter before any entry logic, not as an entry trigger itself. The lower the sensitivity value, the faster and noisier the reading; the higher, the slower and more stable.
**Originality**
Most trend tools average price (moving averages, oscillators) and therefore lag by construction. This one reads structure only, applies a strict non-repainting confirmation rule, and adds a close-based invalidation layer so that a broken structure is downgraded to Range immediately rather than after the next swing forms. Open source: every rule above is verifiable line by line in the code.
This is an educational structure-reading tool. It gives no buy or sell signals and makes no performance claim. Trading involves substantial risk of loss.
---
**FRANÇAIS**
**Ce que fait l'indicateur**
Il répond à une seule question : le marché est-il en tendance haussière, baissière, ou en range ? Il lit la structure pure du prix — sommets et creux confirmés — et affiche son verdict.
**Comment il fonctionne (méthode complète)**
1. **Détection des pivots.** Un sommet n'est confirmé que si les N bougies avant ET les N bougies après ont toutes un plus haut inférieur (symétrique pour les creux). N est réglable, 7 par défaut, plage 5–21. La confirmation arrive donc N bougies après l'extrême réel ; le marqueur est ensuite tracé à sa vraie place historique et ne bouge plus jamais.
2. **Mémoire.** Le script conserve les deux derniers sommets et les deux derniers creux confirmés.
3. **Classification.**
- Hausse : dernier sommet > précédent ET dernier creux > précédent.
- Baisse : dernier sommet < précédent ET dernier creux < précédent.
- Range : tout le reste, y compris tant que moins de deux sommets et deux creux sont confirmés.
4. **Invalidation en clôture** (optionnelle, active par défaut). Toute bougie qui clôture sous le dernier creux confirmé arme une invalidation. Tant qu'elle est armée, aucune tendance haussière n'est affichée : l'état reste Range, même si la séquence de pivots remplit par ailleurs la condition sommets et creux ascendants. L'invalidation ne se désarme qu'à la confirmation d'un nouveau creux. Le mécanisme est symétrique en tendance baissière, avec une clôture au-dessus du dernier sommet confirmé. Une mèche qui perce le niveau ne suffit pas — seule la clôture compte. Ce mécanisme peut uniquement supprimer une lecture de tendance, jamais en créer une : une tendance doit toujours prouver sa propre structure.
**Pourquoi le délai est assumé**
Aucun signal n'apparaît puis ne disparaît. Ce que montre l'historique est ce qui aurait été visible en direct. La contrepartie est le délai de confirmation de N bougies, affiché ouvertement plutôt que masqué derrière un affichage qui se repeint.
**Affichage**
- Fond teinté : vert en hausse, rouge en baisse, gris en range.
- Triangles marquant chaque sommet et creux confirmé.
- Un badge d'état à deux lignes dans le coin supérieur droit, avec taille et langue (EN/FR) réglables.
- Une condition d'alerte : changement d'état.
**Utilisation suggérée**
Commencer en H4. Quand l'état affiche Range, les setups de suivi de tendance sont structurellement hors sujet — l'indicateur est conçu comme un filtre de contexte en amont d'une logique d'entrée, pas comme un déclencheur d'entrée. Plus la sensibilité est basse, plus la lecture est rapide et bruitée ; plus elle est haute, plus elle est lente et stable.
**Originalité**
La plupart des outils de tendance moyennent le prix (moyennes mobiles, oscillateurs) et retardent par construction. Celui-ci lit uniquement la structure, applique une règle de confirmation stricte sans repeinture, et ajoute une couche d'invalidation en clôture pour qu'une structure cassée redevienne Range immédiatement plutôt qu'au pivot suivant. Code ouvert : chaque règle ci-dessus est vérifiable ligne par ligne.
Outil éducatif de lecture de structure. Il ne donne aucun signal d'achat ou de vente et ne formule aucune promesse de performance. Le trading comporte un risque de perte important. אינדיקטור

Grid Ranges+ (M1D)Grid Ranges+ (M1D)
A grid-range framework for the New York trading day. It draws the higher-timeframe levels that frame the current range, divides any range you choose into quadrants, octants or sixteenths, boxes the three trading sessions, and reads the 12AM–2AM algorithmic range for aid in a directional bias.
Every session window is evaluated in America/New York regardless of the time zone the chart is viewed from, and every window is an input.
HOW IT IS BUILT
Levels are anchored to the candle that formed them. A higher-timeframe data request returns the value of a period's high but not the bar that made it. This script tracks each period's extremes on the chart instead, along with the bar time of each, so a previous-day high begins at the candle that set it rather than at the moment the number changed. The trade-off is that a period only reports once its opening bar is inside loaded history; where it is not, the level stays hidden rather than anchoring to a bar that did not set it.
Week and month boundaries derive from the New York day stamp, not from a weekly timeframe change, which is unreliable on futures instruments.
The swing pair is kept alternating. Pivot-high and pivot-low detection are independent of each other, so a chart can print several highs with no qualifying low between them. A pivot on the same side as the stored one replaces it only when it is more extreme, while a pivot on the opposite side begins the next leg. Without that rule, a recent high pairs with a low from a different move and the two do not describe one leg.
WHAT IT DRAWS
Levels.
Previous month, previous week, previous day and three-day highs and lows, the previous day's equilibrium, and the midnight open. Each line runs from its origin candle to a fixed right-hand edge and carries its name at that end, on the same eye-line as the price it names. Names that would otherwise print on top of each other move right into a second column rather than off their own line.
The grid.
A range bounded by any two of those levels, selected from two dropdowns and oriented automatically, divided into quadrants, octants or sixteenths. It begins at the earlier of the two origin candles. The midline is labelled EQ, and quarter fractions are reduced to lowest terms. A fraction is suppressed wherever a level already names that price, so no price carries two names.
Sessions.
Asia, London and New York as boxes that grow with each session's own high and low and freeze when the window closes. The caption sits below the box at the session open. Each session carries its own day mask.
The bias.
The 12AM–2AM algorithmic range as a box, and a console reading BULLISH, BEARISH, INVALIDATED or UNSET. A sweep clearing both the range boundary and the midnight open inside the sweep window, followed by a confirmed close back inside the range, arms a directional read. A confirmed close back through the swept extreme invalidates it, after which the opposite side may arm. Three alert conditions cover those transitions.
SETTINGS
Grouped as-
Time windows, Sessions, Bias engine, Grid range, Levels shown, Level styling and Labels.
Every level carries its own colour, line style, line width and label offset. The grid carries its own colour, style, width, interior transparency and equilibrium colour. Every session window is an input with a New York default and its own day mask, and session boxes carry their own colours and fill transparency.
NOTES
Nothing extends to the right edge of the chart. Every line stops a set number of bars past the live candle, and its label sits at that end.
Current-day and swing anchors move as the session develops, so a grid anchored to them redraws live. A grid anchored to completed periods does not.
Display toggles gate drawing only. Hiding an element never stops it being tracked, so the bias read is unaffected by what is on screen.
Grid boundaries are not drawn by the grid by default. A boundary is the anchor level itself, which already draws its own line from its own origin candle.
Disclaimer-
This script is a charting tool. It is not financial advice, and it makes no claim about where price will go. אינדיקטור

Navyraid FVANavyraid FVA (Fair Value Area)
Description:
Overview
The Navyraid Fair Value Area (FVA) is a specialized analytical tool built upon the principles of Auction Market Theory (AMT). According to AMT, financial markets exist to facilitate trade, constantly moving between states of balance and imbalance. The market tends to travel from one established Value Area to another.
This indicator maps out these crucial areas by analyzing where the market spends the most time and how frequently specific price levels are visited throughout the trading day. By identifying these zones of high historical acceptance, the indicator projects key levels from previous sessions that act as strong magnets and significant support/resistance zones for current and future market action.
How It Works (Core Logic)
The indicator evaluates price action by breaking down the high-to-low range of each candle into specific discrete price bins (ticks). It then tallies how often the price trades through each bin over a defined period (daily basis).
Value Area Calculation: It accumulates these price interactions to find the area where a specified percentage of trading activity occurred (default is 68%, representing one standard deviation of the mean).
Key Level Extraction: It isolates the single price levels with the highest concentration of activity for both the Mayor and Minor FVA.
Main Features
Mayor FVA: This represents the Point of Control (POC) or the price level with the highest time accumulation strictly within the 68% Value Area. This zone acts as the primary focal point of market balance and a high-probability price magnet.
Minor FVA: This marks the most significant high-time node located strictly outside the established Value Area. These peripheral nodes frequently serve as crucial turning points, rejection zones, or targets when the market breaks out of its primary balance.
Smart Mitigation (Freeze Logic): To keep the chart clean and relevant, FVA zones are projected forward as boxes. By default, once the current price touches or "mitigates" an extended box, the box stops extending (freezes).
Force Extend: A toggle that overrides the mitigation logic, forcing the FVA boxes to continuously project forward regardless of price interaction, useful for long-term level tracking.
Auto Tick Size: The script automatically scales the bin sizes based on the asset's specific price range and minimum tick, making it universally applicable across Forex, Indices, Crypto, and Equities without manual adjustment.
How to Use in Trading
Traders can utilize the Navyraid FVA to understand the broader market context based on AMT.
Targets: If the price is moving directionally, previous Mayor FVAs serve as logical take-profit zones, as the market seeks historical balance.
Reactions: Minor FVAs can be observed for potential pullbacks or continuation setups when the market tests extreme areas outside of the previous day's accepted value.
Disclaimer: This indicator is designed for educational and analytical purposes to visualize Auction Market Theory concepts. It does not constitute financial advice. אינדיקטור

Modern WatermarkClean corner watermark for screenshots and posts.
Displays the ticker with its timeframe, plus the company name, industry, and optionally the sector and exchange — pulled automatically from the symbol, so nothing needs updating when you flip charts.
Adjustable position (all nine anchors), text sizes, colors, and transparency.
Percentage-based side and top padding keeps the block off the chart edge and scales with your screen.
Monospace toggle for a terminal look, plus uppercase and blank-line spacing options. Sub-lines collapse automatically on symbols without description or industry data, so futures, forex, and crypto stay clean. אינדיקטור

CTZ 144 Cycle CounterHere's a description that leans into the Fibonacci-time angle and positions it as a timing overlay to pair with your other tools.
---
**CTZ 144 Cycle Counter**
144 isn't a random number — it's the twelfth Fibonacci number (…55, 89, **144**, 233…), and the same sequence that governs price also tends to govern *time*. Markets don't just retrace by Fibonacci ratios; they turn on Fibonacci counts. This tool takes that idea and builds a clean, rhythmic time grid across your chart.
**What it does**
Anchored to Bitcoin's last bear market bottom (21 Nov 2022 by default, fully adjustable), it counts forward in blocks of 144 bars and drops a vertical line at every boundary — C1, C2, C3, and so on. Each 144-bar window closes and a new one opens, marking a point in time where the market has historically been prone to a shift. A dashed half-cycle line at bar 72 marks the midpoint, where the internal high often forms. Dotted projection lines extend the rhythm into the future, so you can see the next turning windows *before* price gets there.
**Why time, not just price**
Most indicators react to what price has already done. This one is anchored to the clock instead — the count advances the same way whether the market is trending, ranging, or reversing. Because a 144-bar cadence produces a turning window with real regularity, there's almost always a high or a low landing somewhere near each boundary. That's the point: it's not trying to call the direction, it's telling you *when* to pay attention.
**Timeframe-native**
The count follows whatever chart you load it on. On the daily it's a 144-day rhythm; on the 4H it's 144 four-hour blocks; on the weekly, 144 weeks. Same Fibonacci cadence, scaled to your view — so you can run a macro 144-week grid and a tactical 144-hour grid side by side.
**Built to combine**
This is a timing layer, not a signal system on its own — and that's its strength. A momentum trigger, a cycle-low detector, or a support/resistance level means far more when it fires *inside* a 144 turn window than in dead space mid-cycle. Use the boundaries as a confluence filter: when your entry indicator lines up with a 144 count, the timing and the trigger are agreeing. The counter table keeps you oriented at a glance — which cycle you're in, how many bars deep, and a yellow warning as you enter the turn zone.
*The rhythm tells you when. Your other tools tell you what. Together they tell you whether to act.*
*For educational purposes. Not financial advice — always confirm with your own analysis and test on your own instruments before trading live.*
אינדיקטור

Devtrader Order Flow & Volume ProfileCopy this directly into the TradingView publication description:
```markdown
# Devtrader Order Flow & Volume Profile
**Devtrader Order Flow & Volume Profile** is a pressure-first order-flow indicator designed to make classified buying and selling activity easier to interpret across the current candle, trading session and day.
It combines:
- Volume delta candles
- Candle, session and daily pressure
- Cumulative Volume Delta
- Developing session volume profile
- POC, VAH and VAL
- Relative-volume qualification
- Footprint imbalances
- Absorption analysis
- Confirmed CVD divergence
- Developing POC migration
- Configurable alerts
The objective is to provide structured order-flow context without covering the chart with unnecessary levels or signals.
---
## Pressure Matrix
The dashboard presents four independent pressure horizons:
### Candle
Shows the classified volume activity of the current chart candle:
- Buy volume
- Sell volume
- Total classified volume
- Raw volume delta
- Normalized delta percentage
- Relative volume
- Pressure classification
### Session
Accumulates order-flow activity during the configured trading session:
- Session buy and sell volume
- Session delta and delta percentage
- Session CVD
- Positive and negative delta candle counts
- Maximum and minimum candle delta
- Session pressure state
Session pressure resets when the configured session begins, independently of the volume-profile reset period.
### Day
Accumulates classified order flow across the current calendar day using the selected timezone:
- Daily buy and sell volume
- Daily delta and delta percentage
- Daily CVD
- Positive and negative delta candle counts
- Daily pressure state
### Previous Day
Displays the completed previous day for comparison with the developing current day.
---
## Pressure States
Volume pressure is classified using transparent, configurable thresholds:
- **BALANCED** — delta is inside the neutral range
- **BUY BIAS / SELL BIAS** — directional activity is present but limited
- **BUY / SELL** — directional pressure exceeds the configured threshold
- **STRONG BUY / STRONG SELL** — extreme normalized delta is present
Strong candle pressure also requires sufficient relative volume. This prevents low-participation candles from being treated like meaningful order-flow events.
Additional dashboard states include:
- **EARLY** — insufficient session/day candles for a mature reading
- **EST** — values include lower-timeframe estimates
- **GAPS** — some eligible candles did not contain usable pressure data
- **CLOSED** — the configured session has finished
---
## Delta Candles
Delta candles separate price direction from volume pressure:
- The candle outline represents price direction.
- The internal fill represents normalized volume delta.
- Positive delta grows from the lower part of the selected candle range.
- Negative delta grows from the upper part.
- Fill intensity increases with delta magnitude.
- Small delta values remain visually neutral.
The display can use the candle body or the complete high-to-low range. Full-body and midpoint-based fill modes are available.
This makes price-and-delta disagreement visible. For example, a bearish candle containing positive delta can indicate that aggressive buying failed to produce upward price progress.
---
## Developing Session Volume Profile
The indicator constructs a configurable session profile using classified buy and sell volume at each price row.
Available profile modes:
- **Total Volume** — clean auction distribution
- **Delta Dominance** — total-volume shape coloured by directional pressure
- **Buy / Sell Split** — footprint-style separation of classified buying and selling
Profile settings include:
- Custom trading session
- Exchange or selected timezone
- Daily, weekly, monthly or session-only reset
- Adaptive or fixed footprint-row resolution
- Configurable value-area percentage
- Profile width, offset and row separation
- Value-area and outside-value transparency
The analytical profile retains its full resolution while displayed rows can be consolidated to keep the chart readable.
---
## POC and Value Area
The session Point of Control is treated as auction context rather than a directional signal.
Available POC presentation modes:
- Profile-edge notch
- Label only
- Short dotted line
- Extended line
- Hidden
Additional options include:
- Developing POC migration trail
- Previous completed-session POC
- VAH and VAL bracket
- Profile mean
- Optional price labels
Per-candle POC is disabled by default and can be enabled for qualified, recent or all candles.
---
## Order-Flow Events
### Extreme Delta
Detects unusually strong positive or negative candle delta when relative-volume participation meets the configured requirement.
### Absorption
Highlights situations where aggressive volume fails to move price effectively:
- Strong positive delta with a weak close can indicate buyers being absorbed.
- Strong negative delta with a strong close can indicate sellers being absorbed.
Absorption describes order-flow evidence and should be confirmed with market structure and location.
### Stacked Imbalances
Native footprint mode can detect consecutive diagonal buy or sell imbalances across multiple price rows.
### CVD Divergence
Confirmed pivot logic compares price structure against session CVD:
- Lower price low with a higher CVD low
- Higher price high with a lower CVD high
Divergence markers appear only after the configured pivot confirmation period. They are intentionally delayed to avoid using unconfirmed future bars.
### Developing POC Migration
Tracks meaningful movement of the developing session POC while filtering insignificant one-row changes.
---
## Alerts
The indicator includes alerts for:
- Extreme positive delta
- Extreme negative delta
- Buyers absorbed
- Sellers absorbed
- Stacked buy imbalance
- Stacked sell imbalance
- Confirmed bullish CVD divergence
- Confirmed bearish CVD divergence
- Strong session buy pressure
- Strong session sell pressure
- Strong daily buy pressure
- Strong daily sell pressure
- Developing POC migration up
- Developing POC migration down
Signals can be restricted to confirmed candle closes.
---
## Data Modes
### TradingView Footprint
Uses TradingView’s native Pine footprint data and is the strict default.
Native footprint access requires a TradingView Premium or Ultimate plan.
### Lower-Timeframe Estimate
Classifies lower-timeframe volume using intrabar price movement when explicitly selected.
This mode is an estimate and is clearly identified in the dashboard.
### Auto
Uses native footprint information when available and falls back to the lower-timeframe estimate when necessary.
Auto mode provides continuity but can produce mixed-source session or daily calculations. The dashboard reports this condition.
---
## Important Data Limitation
TradingView classifies footprint buying and selling volume from lower-timeframe price behaviour. It does not provide a guaranteed exchange-level aggressor flag for every transaction.
Therefore:
- “Buy volume” and “sell volume” are classified volume.
- Lower-timeframe mode is an additional approximation.
- The indicator does not receive full Level II order-book data.
- It cannot display resting liquidity, queue position, spoofing or hidden orders.
- Realtime values can change until the current candle closes.
- Historical footprint precision can differ from realtime precision.
- Standard candles are recommended.
This is an order-flow and auction-analysis indicator, not a replacement for a dedicated Level II platform.
---
## Suggested Use
The indicator is best used to answer questions such as:
- Is current candle pressure aligned with price?
- Is session pressure strengthening or weakening?
- Does daily pressure confirm the session move?
- Is price accepting above or below the session value area?
- Is the developing POC migrating with price?
- Is aggressive volume producing price progress?
- Are buyers or sellers being absorbed?
- Is participation sufficient for the delta reading to matter?
Order-flow readings should be combined with market structure, liquidity, session context and risk management.
---
## Disclaimer
This indicator is intended for discretionary analysis and educational purposes.
It does not:
- Place or manage orders
- Provide guaranteed entries or exits
- Predict future price direction
- Guarantee the accuracy or completeness of exchange data
- Replace independent risk management
Order-flow conditions describe observed market activity. They should not be treated as standalone trading instructions.
``` אינדיקטור

Leg Anatomy - Measured Retracement and ExtensionEvery trader draws the same three numbers on every chart: 38.2, 50 and 61.8. Those numbers were not derived from this market, this timeframe, or this instrument. They were not derived from any market. They are a convention that spread because it spread.
This script measures the real thing instead.
WHAT IT MEASURES
Price is broken into confirmed swing legs. A running extreme is tracked, and when price closes back from that extreme by more than a configurable multiple of ATR, the extreme is confirmed as a swing and a new leg begins.
Every completed leg is measured as a ratio of the leg immediately before it. A leg that travelled 60 percent of the previous leg records 0.60. A leg that went 140 percent past it records 1.40. That single number, the leg-to-leg ratio, is the entire dataset.
From the last N legs on the chart you have open, the panel reports:
The median leg, expressed as a multiple of the one before it.
The interquartile range, the middle half of the distribution.
The share of legs that were shallow, under 0.62.
The share that were deep, between 0.62 and 1.00.
The share that were extensions, past 1.00.
On some symbols and timeframes the conventional levels sit close to the measured centre. On many they do not, and the gap between what a chart actually does and what the convention assumes is visible in one row of the panel.
THE PROJECTION
The distribution is not left as a table. It is applied forward.
The leg currently forming starts from the last confirmed swing, and the leg before it has a known size. Multiplying that size by the measured median, upper quartile and ninetieth percentile gives three projected endpoints, drawn as a shaded zone in front of price with a dashed median line and a price label.
The panel shows how far the forming leg has travelled as a percentage of its median expectation. Below 100 percent the leg is still inside its normal range. Above it, the leg has already outrun the typical case for this chart, which is information whether you are holding it or fading it.
The zone is not a forecast. It is where the middle of the distribution sits, and roughly half of past legs fell short of it.
THE SKELETON
Confirmed legs are drawn as a thick zigzag across the chart, each one labelled with its own ratio, so the distribution in the panel can be read directly off the price action that produced it. Candles are tinted by the direction of the leg currently forming.
Because swings only confirm on closed bars and a confirmed swing is never revisited, the skeleton behind price is final. Only the leg at the right edge is still forming, and the projection zone updates only when a new leg is confirmed.
SETUPS
When a swing confirms, a new leg begins, and the script produces a complete setup at that close.
The stop sits just beyond the swing that was just confirmed, plus an ATR buffer. That swing is the level the leg depends on. If it goes, the leg reading was wrong.
The three targets are the lower quartile, the median and the upper quartile of the measured distribution, projected from the swing. They are not multiples of risk and they are not conventional ratios. They are the shape of this chart's own legs.
Only one setup is tracked at a time. The panel records whether the first target or the stop was reached first, and prints collecting until the sample is large enough to mean anything. That number measures one mechanical rule and is not a backtest.
SETTINGS
Reversal Threshold is the only structural dial. It decides what counts as a leg. A low value produces many small legs and a distribution dominated by noise. A high value produces few large legs and a distribution with a small sample. The default sits between the two, and changing it changes the entire analysis, which is the point: a leg on a scalping horizon is not a leg on a swing horizon, and the measured distribution should differ between them.
Volatility Length sets the ATR lookback used for the reversal threshold and the stop buffer.
Legs Kept In Sample bounds the history, so the distribution tracks the current regime instead of averaging in a market from years ago.
REPAINTING
Swing confirmation, leg measurement, the distribution, setups and alerts all evaluate on confirmed bars. A confirmed swing is never moved and a drawn leg is never redrawn. The projection zone in front of price is recomputed only when a new leg begins. The script requests no higher timeframe data.
HOW TO READ IT
Start with the three share rows. If a chart shows most of its legs under 0.62, it is a market that retraces shallowly and continuation is the base case. If most legs sit between 0.62 and 1.00, it is a market that gives deep pullbacks and entering early is expensive. A high share above 1.00 is a trending regime where each leg outruns the last.
Then look at the forming leg's progress. A leg at 40 percent of median with a distribution that favours extension is a different situation from a leg at 130 percent in a market that rarely extends.
The ratios printed on the skeleton let you check the panel against your own eyes rather than trusting it.
This is an analysis tool, not financial advice, and not a trading system. A measured distribution describes what happened, not what will. Sample sizes are small by the standards of statistics and regimes change. Use it with your own risk management and position sizing. אינדיקטור

אינדיקטור

Midnight Open Suite+ (M1D)Midnight Open — is ICT's primary intraday bias reference.
Price trading above it is at a premium to that open; price trading below it is at a discount. It is a level the market returns to often enough that where price sits relative to it is worth knowing before anything else about the day.
This script marks that open and the three that follow it, measures the range the first half hour builds, and reports where price stands against each. It takes no directional opinion of its own.
THE OPENS
Four New York opens are drawn, each on its own settings:
- 12am, the Midnight Open.
- 3am, the London open.
- 8:30am, the release time that begins the New York morning.
- 9:30am, the cash open.
Each is a ray beginning at the candle that genuinely opened on its own time, carrying that candle's opening price. No level is drawn back across bars that closed before the price it marks existed, and no price is borrowed from a neighbouring bar.
Each open also carries an optional vertical line marking the minute itself, stamped with its own time. That stamp is derived from the time the open is configured to, so it cannot drift out of agreement with the level it names — move an open to a different minute and its stamp moves with it.
By default a level stops where the following day's level begins, so only one of each is ever live. It can instead be set to run on indefinitely.
THE OPENING RANGE
The 12:00–12:30am window is drawn as a single zone from its own high to its own low, with an optional equilibrium — the 50% — running across it. The window opens on the Midnight Open's own time and its length is adjustable, so moving the open moves the range with it.
The 50% of a range is its equilibrium.
Zone and equilibrium are both kept for several days. Four days is the default, which leaves the previous three equilibria on the chart behind the current one.
WHY A LEVEL IS SOMETIMES WITHHELD
An open can only be read from a bar that opens on that exact minute. A bar that merely contains the minute opened earlier and carries an earlier price. On a 60-minute chart there is no bar that opens at 8:30 or at 9:30, so those two are not drawn at all rather than being placed a few points out — a level that is slightly wrong still looks right, which makes it worse than one that is visibly absent.
Withheld levels are never silent. The dashboard names each one and states the bar size that dropped it, so an empty row reads as "this timeframe cannot measure it" rather than "it has not happened yet".
An open is placeable when the chart's bar length divides evenly into the minutes between midnight and that open. With the four default times and the half-hour range, that means any bar length dividing 30 minutes — the 1, 2, 3, 5, 10, 15 and 30 minute charts. Move an open to a different minute and the arithmetic follows it.
THE DASHBOARD
Bias is read from the Midnight Open alone, and is stated as both a direction and the premium or discount it implies.
Below it each open is listed with its price and the signed distance price currently sits from it, in points or in ticks. The opening range is listed with its size and whether price stands above, inside or below it, and the equilibrium with its own price and distance.
A level carried in from a previous day is still the level drawn on the chart, so it is still listed — but it is named as carried over, because reading a stale open as today's is how it gets traded by mistake.
WHAT IT DRAWS
- Four opens as dotted rays, each from the candle that set it, named above its own line.
- An optional full-height vertical line on each open, stamped with its time.
- The 12:00–12:30am range as a soft zone whose border matches its fill, captioned with the window it covers. The caption re-centres on the span the zone currently occupies, so it tracks across with it rather than trailing at the left edge.
- The equilibrium as a thin dashed line through the zone, named inline on its own level so the text sits exactly at the price.
- Optional rays extending the range's high and low.
- A dashboard carrying bias, every open with its distance, and the range with its position.
Labels are transparent callouts throughout: nothing carries a background, and every offset is in pixels rather than price, so the spacing holds at any zoom level.
SETTINGS
- Each open has its own show toggle, name, hour and minute, ray colour, style and width, and the same four controls again for its vertical line and time stamp.
- How many days of levels stay on the chart, and whether a ray stops at the next day's level or runs to the right edge.
- Opening range: window length, zone colour and transparency, how far the zone extends, whether the high and low extend as rays, and the zone's caption.
- Equilibrium: visibility, colour, line style, and whether it is named.
- Labels: whether levels are named, whether the price is included in the name, whether every kept day is named or only the newest, time stamp position, and label size.
- Dashboard: position, text and background colours, header fill, the two directional colours, text size, and whether distance is reported in points or ticks.
NOTES
- Non-repainting. Levels are set on confirmed bars only and none is revised once its bar has closed.
- All times are New York and resolve through the exchange-independent New York clock, so they stay correct across daylight saving on any symbol.
- At the default times every level is measurable on the 1, 2, 3, 5, 10, 15 and 30 minute charts. Any other timeframe drops whichever levels its bars cannot open on, and names them.
- Four alert conditions: price crossing the Midnight Open, price crossing the opening range equilibrium, and the range's high or low being closed through.
- Every drawn element is black by default. Only the dashboard's directional readings carry colour, and all of them are inputs.
- This is a mapping tool. It draws reference levels and reports where price sits relative to them; it produces no entries, targets or stops.
Disclaimer-
This is not financial advice. A level drawn by a model is context, not a recommendation to trade, and where price opened yesterday says nothing certain about where it goes today. אינדיקטור

DCA Performance Backtester [Multi-Mode]
DCA Performance Backtester
WHAT IT DOES
This indicator backtests Dollar-Cost Averaging (DCA) accumulation strategies on any symbol and shows the full result on the chart: an on-chart summary table, entry markers, average-cost line, real dividend (ex-date) tracking, a dividend-yield value zone, and a fair comparison against Lump Sum investing. It is accumulate-only (HODL) — no selling logic.
BUY MODES (can be combined)
1. Time-Based DCA — buy a fixed amount every Day / Week / Month. You can pick the weekday (weekly), the day of month (monthly, e.g. payday), or the hour (daily on intraday charts). If the market is closed on the target day, it buys the next trading day.
2. Buy the Dip — buy when price drops X% (default 12%) from the highest close of the last N bars (default 20). A cooldown (default 14 bars) spaces out repeat buys while the condition persists. Optional RSI settings:
• Filter mode — only buy when RSI is below the threshold (default 30).
• Hybrid mode — buy a normal unit on every qualifying dip (blue "D" label) AND an extra special unit when RSI is also below the threshold (red "fire" label), each stream with its own cooldown. The special unit size is adjustable via a multiplier.
3. Martingale-style averaging — first unit at a fixed size, then buy a larger unit (configurable multiplier) each time price falls another X% from the last entry, with a max-steps cap and optional reset when price recovers above average cost.
DIVIDENDS (REAL EX-DATE DATA)
Uses the symbol's actual dividend history. On each ex-date the script credits dividend × units held. Choose Gross or Net; where an exchange only provides gross figures (e.g. SET), Net is estimated as Gross × (1 − withholding tax %). Each ex-date is marked on the price chart with its per-round yield ("XD 2.35%" = dividend per share ÷ close of that day).
DIVIDEND-YIELD VALUE ZONE
Highlights price areas where the annual dividend yield at that price exceeds your threshold (default 8%/year) — useful for income-focused accumulation. Two calculation modes: trailing 12 months (TTM) or last completed calendar year. An outlier filter (default 2.5× median) excludes one-off special dividends so they do not inflate the yield. A reference line shows the exact price where yield equals the threshold.
SUMMARY TABLE
Buy count (normal vs RSI-passed dips), invested capital, units held, average cost, current portfolio value, P/L, ex-date count, total dividends received, dividends as % of invested capital, current TTM yield, DCA total return (incl. dividends), and a Lump Sum comparison computed from the same invested amount at the start date — including dividends on the Lump Sum side for a fair comparison.
ALERTS
Every buy signal fires alert() with a JSON payload (symbol, mode, price, amount, drawdown from high, RSI, and whether the RSI condition passed) — ready for webhooks. Create an alert with "Any alert() function call". Alerts fire on bar close for signals that occur after the alert is created; historical backtest markers do not fire.
HOW TO USE
Recommended on daily charts. Enable one or more buy modes, set your budget and date range, and read the "DCA beats/loses Lump Sum" row to judge whether systematic dip-buying suits the symbol. Typical tuning: calmer stocks work with smaller dip thresholds (5–7%), volatile ones with larger (12–15%).
METHOD & LIMITATIONS
Simulation buys at bar close (no intrabar fills). Accounting is computed by the script itself (indicator, not a strategy — no Strategy Tester tab). Commission % per purchase is included in cost basis. Dividend data depends on TradingView's database and may be incomplete for some markets or older periods. Past performance does not guarantee future results. Educational tool — not investment advice.
═══════════════════════════════════════════════
DCA Performance Backtester
เครื่องมือทดสอบย้อนหลัง (backtest) กลยุทธ์สะสมหุ้นแบบ DCA กับสินทรัพย์ใดก็ได้ แสดงผลครบบนชาร์ต: ตารางสรุป, จุดซื้อ, เส้นต้นทุนเฉลี่ย, เงินปันผลจากวัน XD จริง, โซนราคาที่ปันผลคุ้ม และการเทียบกับ Lump Sum อย่างยุติธรรม — เป็นแบบซื้อสะสมอย่างเดียว (HODL) ไม่มีการขาย
โหมดการซื้อ (เปิดพร้อมกันได้)
1) DCA ตามรอบเวลา — รายวัน/รายสัปดาห์/รายเดือน เลือกวันและเวลาซื้อได้ ตลาดปิดวันเป้าหมายจะเลื่อนให้อัตโนมัติ
2) Buy the Dip — ซื้อเมื่อราคาย่อจาก High ตาม % ที่ตั้ง (ค่าเริ่มต้น 12% จากกรอบ 20 แท่ง เว้นซื้อซ้ำ 14 แท่ง) พร้อมตัวเลือก RSI สองแบบ: กรองอย่างเดียว หรือโหมดผสม — ไม้ปกติทุกครั้งที่ย่อ (ป้าย D สีฟ้า) + ไม้พิเศษเมื่อ RSI ต่ำกว่าเกณฑ์ด้วย (ป้ายไฟสีแดง) แยก cooldown สองสาย ปรับตัวคูณไม้พิเศษได้
3) ถัวเฉลี่ยขาลงแบบ Martingale — ไม้ใหญ่ขึ้นตามตัวคูณเมื่อราคาลงต่อ มีเพดานจำนวนไม้และรีเซ็ตเมื่อราคาฟื้น
เงินปันผล — ใช้ประวัติ XD จริงของสินทรัพย์ คิดจากจำนวนหน่วยที่ถือ ณ วัน XD เลือก Gross/Net ได้ (ตลาดที่มีแต่ Gross เช่น SET จะคำนวณ Net จากภาษีหัก ณ ที่จ่ายให้) จุด XD บนชาร์ตแสดง % ปันผลของงวดนั้นเทียบราคาวันนั้น
โซนปันผลคุ้ม — ไฮไลท์พื้นหลังช่วงราคาที่ yield ต่อปีสูงกว่าเกณฑ์ (ค่าเริ่มต้น 8%) เลือกวิธีคิดได้ทั้ง TTM 12 เดือน หรือปีปฏิทินล่าสุด พร้อมตัวกรองตัดปันผลพิเศษที่ทำให้ yield โป่งเกินจริง และเส้นบอกราคาที่ yield เท่าเกณฑ์พอดี
ตารางสรุป — จำนวนไม้ (แยกไม้ปกติ/ผ่าน RSI), เงินต้น, หน่วยที่ถือ, ต้นทุนเฉลี่ย, มูลค่าพอร์ต, กำไร/ขาดทุน, จำนวนครั้ง XD, ปันผลรวมและคิดเป็น % ของเงินต้น, yield ปัจจุบัน, ผลตอบแทนรวมปันผล และบรรทัดตัดสิน DCA ชนะ/แพ้ Lump Sum
Alert — ทุกสัญญาณซื้อยิง alert() เป็น JSON (สัญลักษณ์ โหมด ราคา จำนวนเงิน % ย่อ RSI และสถานะผ่าน RSI) พร้อมต่อ webhook ตั้งด้วย "Any alert() function call" — ยิงเฉพาะสัญญาณที่เกิดหลังตั้ง alert ที่ราคาปิดแท่ง
ข้อจำกัด — จำลองซื้อที่ราคาปิดแท่ง เป็น indicator จึงไม่มีแท็บ Strategy Tester ข้อมูลปันผลอิงฐานข้อมูล TradingView ผลในอดีตไม่ยืนยันอนาคต จัดทำเพื่อการศึกษา ไม่ใช่คำแนะนำการลงทุน אינדיקטור

Displacement Acceptance Engine [PhenLabs]📊 Displacement Acceptance Engine
Version: PineScript™ v6
📌 Description
The Displacement Acceptance Engine grades what happens after a liquidity sweep — not just the sweep itself. Most sweep tools fire on a wick beyond a swing and stop there. DAE waits for a real displacement leg, then scores whether price accepts that move or rejects it.
Traders see a clean story on the chart: sweep zone → neon displacement beam → scored ▲ ACC / ✕ REJ label, plus a live dashboard with bias, state, score, last event, HTF context, and volume pulse. Built for SMC/ICT retail who want continuation quality after stop-hunts on crypto, indices, FX, and metals.
🔧 Core Features
• Confirmed BSL/SSL liquidity pools from swing pivots
• Stop-hunt sweep detection with ATR buffer and optional close-back-inside
• Displacement window that requires body + ATR expansion beyond the sweep
• Acceptance vs rejection resolve with hold-fraction logic
• Mechanical 0–10 score (depth, displacement, body, volume, structure, HTF)
• Neon beams, sweep zones, scored labels, and PhenLabs command dashboard
• Cooldown + max visible events to keep charts readable
⚙️ How It Works
• Sweep Depth — wick pierce beyond the pool normalized by ATR
• Displacement Magnitude — impulse leg size vs ATR after the sweep
• Body Quality — displacement candle body strength vs ATR
• Volume Pulse — bar volume vs SMA (HOT / OK / SOFT)
• Structure Break — close through recent swing extreme or pool buffer
• HTF Bias — optional higher-timeframe alignment bonus
• Final score gates high-conviction ▲ ACC labels; failed holds print ✕ REJ
🎨 Visual Guide
• Dotted pool rails — active buyside / sellside liquidity
• Translucent sweep boxes — stop-hunt event footprint
• Dual-glow displacement beams — core + outer rail from origin to impulse close
• ▲ ACC / ✕ REJ scored labels — continuation quality at a glance
• Soft bar highlight — high-score acceptance bars only
• Top-right dashboard — BIAS · STATE · SCORE · EVENT · HTF · VOL · POOLS
📡 Alerts
• Bull Liquidity Sweep
• Bear Liquidity Sweep
• Bull Displacement
• Bear Displacement
• Bull Acceptance High Score
• Bear Acceptance High Score
• Displacement Rejection
⚙️ Key Settings
• Pivot Lookback — Default: 5 — pool sensitivity
• Require Close Back Inside — Default: true — classic stop-hunt reclaim
• Displacement Window — Default: 6 bars — time allowed for impulse
• Min Displacement (ATR) — Default: 0.55 — impulse size gate
• Acceptance Window — Default: 8 bars — hold / fail resolve time
• Hold Fraction of Disp Leg — Default: 0.45 — acceptance hold line
• Min Acceptance Score — Default: 6.0 — label / highlight gate
• HTF Bias Timeframe — Default: 60 — score alignment context
• Max Visible Events — Default: 8 — clutter control
⚠️ Disclaimer
Educational tool only. Not financial advice. Past structure ≠ future results. Always manage risk. אינדיקטור

[SkuldX] Trading SessionsSkuldX Trading Sessions — Professional Session Structure Visualizer
by SkuldX Trading Systems
What is it?
SkuldX Trading Sessions maps the full 24-hour trading day into its distinct institutional phases and displays each session's High, Low, and Midpoint directly on the chart. Every session has independent controls — color, labels, levels, and visibility — so you see exactly what you need without clutter. Two optional sessions cover the low-liquidity transition zones that most traders ignore but institutions actively use to position before major opens.
Sessions covered
The indicator tracks six distinct market phases using New York timezone with automatic DST adjustment:
⬛ Overnight — 16:00–19:00 NY (off by default). The quiet window between NY close and Asian open. Extremely low liquidity. Useful for identifying where price settles after the US session before Asia takes over. Gaps between the NY close and Asian open often get filled during London or NY.
🟠 Asian Session — 19:00–04:00 NY . The accumulation and liquidity-building phase. Asian High and Low define the range boundaries that London and New York will interact with throughout the day. The size of the Asian range is a leading indicator of the day's volatility — a tight Asian range often precedes a large directional move in London or NY.
🩵 Pre-London — 04:00–09:00 NY (off by default). The transition window between Asian close and London open. Price often uses this period to retest Asian levels or build a new directional bias before the first major institutional session. Useful for traders who want visibility into what happens between sessions.
🔵 London Session — 03:00–12:00 NY . The first major institutional session. London frequently initiates the directional move of the day — breaking Asian range boundaries, sweeping liquidity, and establishing bias. The London High and Low often become the key reference levels for NY entries.
🟢 New York Session — 09:30–16:00 NY . The highest-liquidity session. NY either continues the London move or reverses it. The most significant OI events and volume spikes occur during this window.
🟡 London + NY Overlap — 09:30–12:00 NY . The single most volatile window of the trading day. Both institutional pools are simultaneously active. The largest moves, cleanest breakouts, and highest-conviction signals consistently appear during this period.
Asian levels extended to NY close
When Extend Asian Levels to NY Close is enabled, the Asian High, Low, and Midpoint lines remain visible across London, Overlap, and NY — stretching all the way to 16:00 NY. A label showing the Asian range size in percentage stays at the right edge of the lines throughout the day.
This is one of the most useful features for intraday traders. The Asian range acts as a reference structure for the entire day — London often targets one extreme while NY targets the other. Keeping these levels visible at all times eliminates the need to draw them manually or switch to a daily timeframe.
Session size %
Every session displays its range as a percentage of price. This appears in two places — as a small label at the session close and in the Data Window when hovering over any bar.
Session size % is immediately useful for several reasons. Comparing today's Asian size to recent averages tells you whether the day is likely to be trending or ranging. A London range that is much larger than the Asian range signals strong directional conviction. A NY range smaller than London suggests exhaustion or consolidation.
H/L/Mid levels
Each session draws its High, Low, and optional Midpoint as horizontal lines for the duration of that session. These become permanent historical reference levels once the session closes — visible on the chart for backtesting and pattern recognition across multiple days.
The Midpoint is particularly valuable. Price consistently gravitates toward session midpoints during retracement phases, and a session that closes near its midpoint signals indecision rather than conviction.
Settings reference
Each session has its own independent group of settings:
Show — master visibility toggle
Color — fully customizable background and level color
Show Label — toggles the session name label at open
Show H/L/Mid Levels — toggles the horizontal level lines
Extend Asian Levels to NY Close — keeps Asian H/L/Mid visible all day (Asian only)
Show Session Size % — includes the range percentage in session close labels
Level Line Width / Style — global line appearance for all session levels
Show Midpoint — global toggle for all session midpoint lines
Data Window
Hovering over any bar shows the current High, Low, Mid, and Size % for all sessions simultaneously. This is useful for quickly checking where the Asian range sits relative to current price, or comparing session sizes without reading the chart visually.
How to use it in practice
Building daily bias — check the Asian range size at 04:00 NY when it closes. A range above your recent average suggests an active overnight session with strong positioning. A tight range suggests consolidation and a potentially large London move ahead.
Identifying key levels — Asian High and Low with extension enabled are your primary reference levels for the full day. London frequently sweeps one of these before reversing. NY often targets the opposite extreme. These two levels alone define the day's structural framework.
Reading London intent — when London opens, watch whether it immediately respects Asian levels or drives through them. A clean break with a strong London candle signals directional conviction. A false break that returns inside Asian range signals a potential reversal setup.
Overlap as the signal window — the yellow Overlap zone is where the day's move typically reaches its conclusion or inflection. If price has been trending since London open and reaches a significant level during Overlap, the probability of at least a partial reversal or consolidation increases significantly.
Pre-London context — enable Pre-London to see where price travels in the quiet window before London opens. A Pre-London session that makes a new high above Asian High and then returns inside the range before London opens is a classic setup signal — the stop hunt has already occurred and London may drive aggressively in the opposite direction.
Session size comparison — when London Size % is significantly larger than Asian Size %, the day has strong institutional momentum. When NY Size % exceeds London Size %, NY is driving the day rather than following it — often signals a reversal of the London direction.
Built for SkuldX ecosystem
SkuldX Trading Sessions is the structural foundation of the SkuldX suite. Session High/Low/Mid levels feed directly into the London Analysis scoring system. אינדיקטור
