Индикатор

Dynamic Trend Bands & Anchored VWAP Signals [BigBeluga]Dynamic Trend Bands & Anchored VWAP Signals is an institutional-grade market structure toolkit built for TradingView. It blends smooth mathematical trend mapping with real-time volume calculations to identify key market turning points and trade breakout momentum.
Instead of displaying standard lag-heavy moving averages, this system locks onto real-time volatility boundaries and anchors Volume Weighted Average Price (VWAP) paths to major swing pivots. It tells you exactly who controls the market—buyers or sellers—and tracks the net volume driving every single expansion phase.
🔵 MAIN ENGINE & MARKET CALCULATION MECHANICS
1. Dynamic Volatility Envelope Framework
Smoothed Base Filter: The indicator runs a double-smoothed exponential moving average engine ( Baseline Length ) to find the true structural baseline of the asset.
ATR Volatility Channels: It projects dynamic outer bands based on market volatility over a set period ( ATR Volatility Length ). The width adjusts automatically using your preference ( ATR Band Multiplier ) to trap standard price fluctuations and highlight true volatility expansion zones.
Trend Flip Architecture: A definitive close above the upper band switches the system to a Bullish Regime, while a close below the lower band forces a Bearish Regime.
2. Pivot-Anchored VWAP Matrix
Structural Anchor Selection: The engine scans your chart using your lookback criteria ( Pivot Point Detection Length ) to pinpoint major structural market highs and lows.
Live VWAP Projections: The moment a trend flip occurs and a pivot is confirmed, the script constructs a dynamic, non-repainting polyline tracking the Volume Weighted Average Price (VWAP) directly from that structural anchor point.
Delta Volume Accumulation Engine: As price moves along the anchored line, a real-time looping counter sums up the true buy and sell volume to calculate Delta Volume (buying volume minus selling volume).
// Pivot-Anchored VWAP Delta Volume Accumulation Loop Snippet
for i = 0 to bar_index - highIndex - 1
cp1.push(chart.point.from_index(bar_index - i, vwap1 ))
loopDeltaVolHigh := loopDeltaVolHigh + (close > open ? volume : -volume )
poly1 := polyline.new(cp1, line_color = bullColor, line_style = line.style_dotted, line_width = 2)
🔵 WHY IT IS USEFUL
Exposes Institutional Commitments: Standard indicators show where price has been. This engine anchors to major structural pivots and factors in volume data to show you exactly where big institutional players are positioning their capital.
Provides Instant Market Context: The floating real-time dashboard reveals the macro trend status and the exact volume backing the latest market cycle at a glance, allowing you to instantly align your bias with the dominant force.
Quantifies Breakout Authenticity: When price breaches the anchored VWAP baseline, the indicator immediately calculates the net Delta Volume. This tells you if a breakout is backed by aggressive institutional participation or if it is just a low-volume trap.
🔵 HOW TO USE THE SYSTEM
Trading Bullish Breakouts: During an active uptrend, watch for price to pull back toward the lower volatility support bands or consolidation zones. Look for price to break sharply back up through the anchored VWAP baseline line. When a green breakout triangle ( ▲ ) appears, check the Delta Volume text label to verify aggressive buying pressure before entering.
Trading Bearish Breakdowns: When the macro regime shifts to bearish, monitor rallies into the upper resistance bands. Wait for price to cross down through the bearish anchored VWAP baseline. A purple breakdown triangle ( ▼ ) signals a high-probability short opportunity backed by aggressive selling volume.
Managing Risk and Invalidations: Use the outer volatility bands as dynamic structural backstops. For long positions, place your defensive stop loss just below the lower dotted line boundary; for short positions, manage risk right above the upper dotted line boundary.
Master institutional volume cycles and track true structural momentum using the Dynamic Trend Bands & Anchored VWAP Signals workspace. Индикатор

Directional PurityDirectional Purity
Rather than a simple standalone strategy, Directional Purity is a professional trend-filtering and directional stability engine designed to supercharge any existing trading strategy. It eliminates the fatal flaw of traditional indicators like ADX—which measure trend strength with significant lag—by equipping your strategy with a zero-lag, mathematically precise gauge of directional purity.
Traditionally, ADX relies on double-smoothed EMAs of directional movements, causing delayed responses to trend breakouts and exhaustion. Directional Purity resolves this by using the mathematical equivalence of Chande's CMO and Kaufman's Efficiency Ratio (ER) as a volatility index to dynamically adapt a 13-period VIDYA (Variable Index Dynamic Average) base.
By utilizing a telescoping sum optimization, this script is fully vectorized (loop-free), ensuring extremely fast execution on any time frame.
Features:
- Live Dashboard: Shows real-time market state (Trending Bullish, Trending Bearish, Ranging) and Trend Purity %.
- Visual Fills: Highlights ranging zones in gray to prevent overtrading.
- Built-in Alerts: Triggers for trend breakouts, entering ranges, and direction shifts.
``` Индикатор

RichmondHillCM - DXY vs BTC Lagged and RescaledDXY vs BTC — Lagged & Rescaled
This indicator compares Bitcoin against a time-shifted, inverted US Dollar Index (DXY) to visualize the inverse relationship between dollar strength and risk assets — with the dollar shifted forward so its past moves line up against where Bitcoin tends to follow.
How it works
- Both DXY and BTC are normalized to a 0–100 range over a rolling window, putting two very differently-scaled instruments on the same axis so they can be read side by side.
- DXY is lagged forward by an adjustable number of bars (default 18 ≈ 4.5 months on the weekly), reflecting the idea that dollar moves tend to lead Bitcoin rather than move with it.
- DXY is inverted by default, so the two lines track together whenever the historical inverse correlation is holding.
- The shaded fill marks divergence: green when BTC is running above the projected dollar path, red when it's below.
- A rolling correlation line is rescaled onto the same 0–100 axis: 50 = no correlation, below 50 = inverse (the normal regime for these two), above 50 = positive. It tells you how much to trust the overlay at any given moment.
Inputs
- DXY Lag — bars to shift the dollar forward
- Normalization Window — lookback used for the 0–100 rescaling
- Correlation Lookback — window for the rolling correlation
- Invert DXY — toggle the inverse view on/off
- Show Divergence Fill / Show Rolling Correlation — visibility toggles
- Configurable DXY and BTC symbols
Reading it
When the inverted, lagged DXY line and BTC line track closely and the correlation line sits well below 50, the dollar overlay is acting as a rough roadmap for price. When the correlation line drifts toward or above 50, the relationship has weakened and the overlay should be discounted. Large green/red divergences flag where BTC is leading or lagging the dollar's implied path.
Notes
The lag is a heuristic, not a fixed law — the optimal shift drifts across market regimes, so experiment with the lag and lookback values. This is a research and visualization tool, not a trading signal, and nothing here is financial advice. Индикатор

Индикатор

High Volume Absorption Pivot Levels (Zeiierman)█ Overview
High Volume Absorption Pivot Levels (Zeiierman) is a volume-based market structure indicator designed to identify significant pivot highs and lows where price shows signs of absorption during their formation.
Rather than plotting every swing point, the indicator filters pivots using two important characteristics:
• Elevated trading volume.
• Absorption candles that indicate a temporary balance between buyers and sellers.
Only pivots that satisfy these conditions become active support or resistance levels, allowing traders to focus on price levels that formed during periods of increased market participation.
⚪ Absorption and High Participation
The indicator combines traditional pivot detection with volume analysis.
A valid pivot requires:
• A confirmed swing high or swing low.
• Above-average volume on the pivot.
• An absorption candle occurring either around the pivot or directly on the pivot candle.
This helps remove many insignificant swing points while emphasizing areas where market participants were actively exchanging positions.
Once confirmed, these levels often serve as important reference points for future reactions, mitigation events, and retests.
█ How It Works
⚪ Pivot Structure Detection
The script continuously detects confirmed swing highs and swing lows using user-defined pivot lengths. These pivots become candidates for future support and resistance levels.
⚪ High Volume Filter
Not every pivot is plotted.
The pivot candle must also trade with above-average volume.
volume > sma(volume) × multiplier
This helps prioritize pivots that formed during periods of significantly higher participation than normal.
⚪ Absorption Candle Detection
The indicator searches for absorption candles around each pivot.
An absorption candle is defined as:
• Small candle body relative to the total range.
• Above-average trading volume.
█ How to Use
⚪ Identify Institutional Pivot Levels
Instead of displaying every swing point, the indicator focuses on pivots that formed during elevated participation.
This often highlights areas where larger market participants were active.
⚪ Target These Levels for Liquidity Sweeps
High-volume absorption pivots often become attractive liquidity targets.
As the market trends, the price frequently returns to sweep these levels before continuing in the direction of the prevailing trend or, in some cases, initiating a reversal.
These sweeps can represent:
• Liquidity collection before trend continuation.
• Stop-loss hunts around previous pivots.
• Profit-taking before the next market expansion.
• Potential reversal points if the sweep fails and strong opposing participation emerges.
Rather than treating these levels as fixed support or resistance, they should be viewed as important liquidity zones where market participants may become active.
█ Settings
Pivot Left / Right Length: Controls how swing highs and lows are confirmed.
Maximum Active Levels: Sets the maximum number of pivot levels displayed simultaneously.
Absorption Search Range: Defines how many candles around each pivot are searched for absorption.
Absorption Body %: Controls how small the candle body must be relative to the full candle range.
Absorption Volume Multiplier: Defines the minimum volume required for an absorption candle.
Require Absorption On Pivot Candle: Restricts valid pivots to those where the absorption candle occurs exactly on the pivot.
Pivot Volume Multiplier: Sets the minimum volume required for the pivot itself.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Индикатор

Индикатор

ATH/ATL Fibonacci Retracement - Labels, Golden Pocket & AlertsPlots Fibonacci retracement levels anchored to the all-time high and all-time low of the loaded chart history. The range updates automatically as new highs or lows print, so the levels always reflect the full extent of price action without manual redrawing.
Features:
- Auto ATH/ATL tracking — the 0% and 100% anchors update dynamically across all available history.
- Flip toggle — switch 0% between the top (all-time high) and the bottom (all-time low) to suit your bias or the direction of the move you're measuring.
- Standard Fib levels — 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, and 100%, each color-coded.
- On-chart labels — every level shows its retracement percentage alongside the exact price, placed to the right of the last bar. Adjustable offset.
- Golden pocket shading — the 61.8%–78.6% reaction zone is highlighted for quick visual reference. Toggle on/off.
- Built-in alerts — alert conditions on crosses of each major level, plus a golden-pocket entry alert, ready to wire up from the Create Alert dialog.
Notes: Levels are based on the chart's loaded history, so the all-time high/low depends on how far back your data goes and your timeframe. This is an analysis tool, not financial advice — use it alongside your own process and risk management. Индикатор

Индикатор

Индикатор

Индикатор

Liquidity Structure Framework [PakunFX]Liquidity Sequence Framework
Liquidity Sequence Framework (LSF) is a market structure analysis indicator designed to visualize the progression of liquidity events, structure shifts, and Fair Value Gaps (FVGs) within a single analytical framework.
Instead of focusing on individual signals, the indicator organizes multiple market events into a sequential process, helping traders observe how price structure develops over time. The script combines swing structure, liquidity sweeps, trend filtering, and Fair Value Gap detection into a unified charting tool.
Features
External and Internal Swing Structure detection
Liquidity Sweep identification (SSL / BSL)
Bullish and Bearish Structure Shift detection
Automatic Fair Value Gap (FVG) detection
EMA-based trend filter
Premium / Discount (Equilibrium) filter
Configurable setup conditions
Visual sequence tracking with alerts
How it Works
The indicator monitors market structure using external and internal swing highs and lows. When liquidity is swept beyond a previous swing level, a new sequence begins. The script then tracks whether price confirms a structure shift and subsequently forms a Fair Value Gap within a configurable sequence window.
Trend filtering can be applied using Fast and Slow EMA conditions, while optional Premium / Discount and Fair Value Gap requirements allow users to customize how potential setups are displayed.
Display Elements
External Swing High / Low
Internal Swing High / Low
Liquidity Sweep markers (SSL / BSL)
Structure Shift markers
Active Fair Value Gap zones
Fast and Slow EMA
Equilibrium level
Setup markers
Alerts
Alerts are available for:
Liquidity Sweep
Bullish Structure Shift
Bearish Structure Shift
Bullish Sequence Setup
Bearish Sequence Setup
These alerts are intended to notify users when predefined analytical conditions are detected.
Notes
Liquidity Sequence Framework is designed as a market analysis tool. It visualizes structural relationships between liquidity events and price development but does not generate trading recommendations or predict future market direction.
Disclaimer
This script is provided for educational and research purposes only.
All calculations are based on historical price data. The displayed structures, Fair Value Gaps, and sequence conditions are intended to support chart analysis and should not be interpreted as guarantees of future market behavior or trading performance.
Индикатор

Индикатор

Wick Asymmetry Ratio (WAR)Wick Asymmetry Ratio (WAR)
WAR is a bounded oscillator (−1 to +1) that measures which candle wick dominates — in other words, where price was rejected .
How it's calculated
upper = high − max(open, close)
lower = min(open, close) − low
WAR = (lower − upper) / (high − low + ε)
Most wick tools compare each wick against the body. WAR instead subtracts the two wicks and normalizes by the full bar range. Two consequences: it never breaks on doji candles (zero body, no division blow-up), and it produces a single symmetric value comparable across symbols and timeframes.
How to read it
WAR > 0 → lower wick dominates → buyers defended the low (bullish rejection)
WAR < 0 → upper wick dominates → sellers capped the high (bearish rejection)
WAR ≈ 0 → clean body or symmetric wicks → no clear rejection
The signal filter — this is the point
A single strong wick means little in the middle of a range. WAR only marks a signal when a strong rejection coincides with the bar being the highest/lowest of the lookback window, plus a cooldown to prevent clusters. This is what separates it from "an arrow on every wick".
Visual layers
Colored histogram (sign + strength)
Optional price-overlay pressure ribbon that shifts green↔red — read pressure without numbers
Signal dots with a halo at filtered extremes
Subtle background aura in strong zones
Limitations — read this
WAR is a context / exhaustion tool, not a standalone entry trigger. It tells you who absorbed price on a given bar; it does not predict direction by itself. Use it as confluence with structure, support/resistance, or your own system. On sub-cent assets raise ε. The signal fires on bar close at the threshold cross.
Open-source. Wick analysis is a well-known concept; what's specific here is the subtractive, range-normalized oscillator plus the extreme + cooldown filter and the price-overlay ribbon. Feedback and forks welcome.
— Español —
WAR es un oscilador acotado (−1 a +1) que mide qué mecha de la vela domina, es decir, dónde fue rechazado el precio . A diferencia de los ratios mecha/cuerpo, WAR resta ambas mechas y normaliza por el rango total: no se rompe en doji y da un valor simétrico comparable entre activos y temporalidades.
WAR > 0 → mecha inferior domina → rechazo comprador
WAR < 0 → mecha superior domina → rechazo vendedor
WAR ≈ 0 → cuerpo limpio o mechas simétricas → sin rechazo claro
El filtro solo marca señal cuando un rechazo fuerte coincide con un extremo de la ventana, con cooldown para evitar racimos. Es una herramienta de contexto / agotamiento , no un gatillo de entrada por sí sola — úsala como confluencia. Toda la interfaz en inglés está traducida en esta descripción. Индикатор

Индикатор

SUPERTREND RIBBONsupertrend ribbon
supertrend ribbon is a confirmed trend ribbon built from multiple supertrend bands. it is designed to show a clean, stable, and readable market direction directly on the chart.
instead of allowing each band to change color separately, the ribbon uses one master trend state. this keeps the full ribbon in one confirmed color and helps avoid visual fragmentation, false flips, and noisy mid-trend breaks.
the goal is simple: show whether the market is in a confirmed bullish or bearish trend, while keeping the chart clean and easy to read.
---
main concept
the indicator uses 8 supertrend bands with different factors.
each band can be bullish or bearish.
the script counts how many bands are aligned in the same direction.
when enough bands confirm a new direction, the full ribbon changes trend.
this creates a more stable trend filter than a single supertrend line, because the ribbon does not flip on every small price movement.
---
what the indicator shows
trend ribbon
the ribbon shows the dominant trend state.
green means confirmed bullish trend.
red means confirmed bearish trend.
band lines
the internal band lines can be displayed to see the full structure of the ribbon.
ribbon fill
the fill between the bands makes the trend easier to read visually.
core line
the core line gives a fast reference for the main trend path.
confirmed flip markers
markers appear only when a trend flip is confirmed.
trend background tint
a soft background color can be enabled to show the current trend regime.
dashboard
the dashboard shows the current trend, the number of aligned bands, flip requirements, fast core direction, and early long / short validity.
---
inputs guide
atr period
sets the atr period used by the supertrend bands.
a lower value makes the ribbon more reactive.
a higher value makes the ribbon smoother and more stable.
base factor
sets the starting supertrend factor.
a lower value keeps the ribbon closer to price.
a higher value makes the ribbon wider and more filtering.
factor step
sets the spacing between the 8 supertrend bands.
a lower value makes the bands tighter.
a higher value makes the ribbon wider.
bands to confirm a flip
sets how many bands must confirm a new direction before the ribbon changes color.
a higher value reduces false flips.
a lower value makes the ribbon faster.
confirm for n bars
sets how many bars the confirmation condition must remain valid before the trend flips.
1 is faster.
2 or 3 is stricter and can reduce whipsaws.
show band lines
shows or hides the internal ribbon lines.
show ribbon fill
shows or hides the fill between the bands.
core glow
enables a glow effect around the core line.
show core line
shows or hides the main core line.
show confirmed flip markers
shows or hides confirmed trend flip markers.
trend background tint
enables or disables the soft trend background.
show dashboard
shows or hides the dashboard.
dashboard position
sets the dashboard position on the chart.
bull
sets the bullish trend color.
bear
sets the bearish trend color.
accent / transition
sets the accent color used for dashboard and transition information.
neutral
sets the neutral text and information color.
---
how to use the indicator
the ribbon is best used as a trend filter.
when the ribbon is green, the market is in a confirmed bullish trend.
in this condition, long setups have priority.
when the ribbon is red, the market is in a confirmed bearish trend.
in this condition, short setups have priority.
the ribbon should not be used as a standalone entry signal.
its main purpose is to help avoid trading against the dominant trend.
---
beginner tutorial
1. add the indicator to the chart.
2. start with the default settings.
3. look at the ribbon color.
4. if the ribbon is green, focus mainly on long opportunities.
5. if the ribbon is red, focus mainly on short opportunities.
6. avoid buying when the ribbon is red.
7. avoid selling when the ribbon is green.
8. use confirmed flip markers to identify confirmed trend changes.
9. use the dashboard to check how many bands are aligned.
10. combine the ribbon with market structure, volume, support and resistance, order blocks, liquidity zones, and proper risk management.
---
simple usage example
if price is above the ribbon and the ribbon is green, the market is in a bullish trend.
a trader can wait for price to pull back toward the ribbon, then look for a bullish reaction before considering a long setup.
if price is below the ribbon and the ribbon is red, the market is in a bearish trend.
a trader can wait for price to pull back toward the ribbon, then look for a bearish rejection before considering a short setup.
---
order block filter example
a bullish order block is stronger when the ribbon is green.
a bearish order block is stronger when the ribbon is red.
if a long setup appears while the ribbon is red, the setup is more risky.
if a short setup appears while the ribbon is green, the setup is more risky.
the ribbon can therefore be used as a confirmation filter before taking early entries.
---
beginner settings
atr period: 10
base factor: 1.0
factor step: 0.4
bands to confirm a flip: 6
confirm for n bars: 1
show band lines: on
show ribbon fill: on
show core line: on
show confirmed flip markers: on
trend background tint: personal preference
show dashboard: on
this setup gives a balanced mix of reactivity and stability.
---
stricter settings
bands to confirm a flip: 7
confirm for n bars: 2 or 3
this setup reduces false flips, but trend changes appear later.
---
faster settings
bands to confirm a flip: 5
confirm for n bars: 1
this setup reacts faster, but it can create more false flips in choppy markets.
---
important notes
the ribbon shows a trend regime, not a guaranteed entry signal.
the best use is to trade in the direction of the ribbon.
confirmed flips are more reliable than fast color changes.
a green ribbon means long setups have better context.
a red ribbon means short setups have better context.
risk management is required on every trade.
supertrend ribbon is designed to make trend direction clear, reduce visual noise, and help traders stay aligned with the dominant market structure.
Индикатор

Liquidity Geography Sweep and Gap Strategy (Swing)A swing strategy built on liquidity geography. It trades stop-run reversals (liquidity sweeps) and range gap-fills, and draws the price-only terrain those moves react to.
A sweep is detected when price pierces the latest confirmed swing pivot (the active liquidity pool) and closes back inside. The stop sits just beyond the swept extreme plus an ATR buffer, and the target is a risk-reward multiple or the opposite pool. The gap module fades range gaps back to the prior close and skips trending sessions using an EMA-travel filter.
Optional filters, each individually toggleable so you can switch them off to A/B test:
Regime filter: fade sweeps only in balance, follow only with the higher-timeframe trend. On by default.
Confluence: require the swept level to stack with a prior-day extreme or round number. Off by default.
Risk-based position sizing: risk a fixed percent of equity per trade. Off by default.
The defaults reflect backtesting on a single instrument, not theory. Only the regime filter improved results. Re-test on your own symbol before trusting any default.
Drawing layers, with terrain off by default for a clean chart: prior-day high and low, round numbers, Fair Value Gaps, premium and discount with OTE, order blocks, market structure, the active pivot pool, a higher-timeframe bias line with trend-regime shading, and entry, stop and target lines while a position is open.
Scope: price data only. Volume profile, order-flow delta and positioning data such as short interest, futures and options open interest are out of scope. Use dedicated tools for those.
Daily timeframe. Set commission and slippage to realistic costs before relying on any result. This is an educational tool, not financial advice. Past backtest results do not guarantee future performance. Стратегия

Standing Wave Phase Coherence [JOAT]STANDING WAVE PHASE COHERENCE
A phase-coherence engine that asks a question almost no public indicator can answer: are the LTF and HTF oscillators in phase or out of phase ? Two oscillators that move together (peaks and troughs aligned) form a standing wave — a state of constructive interference where the trend is amplified. Two oscillators that move opposite (peaks aligned with troughs) form an anti-standing wave — a state of destructive interference where a reversal is forming. Standing Wave Phase Coherence measures phase, computes the coherence between the two timeframes, and surfaces a single number bounded in that tells you which regime you are in.
Phase, not just direction
A moving average tells you "where price is sitting". A momentum oscillator tells you "which way it is moving". Phase is the location inside the cycle — are we approaching a peak, leaving a peak, approaching a trough, leaving a trough? Two oscillators on different timeframes can be:
In phase — both rising or both falling at the same rate of cycle progression. Constructive interference. Trend amplifies.
Anti-phase — one rising, the other falling at the same cycle rate. Destructive interference. Reversal forms.
Decoherent — phases are uncorrelated. The wave structure is breaking down. No directional edge from coherence.
The script estimates phase from each timeframe's RSI series (both legs at the same RSI length for fair comparison), differences the phase smoothly, then takes the cosine of the phase difference — which is exactly the quantum-mechanical coherence metric on a scale.
Non-repainting HTF construction
The HTF leg uses request.security with lookahead_on AND a offset on the expression — the only non-repainting form per Pine v6 docs. This is exposed as a toggle but ON by default; the warning in the input tooltip explains the trade-off (turn off only for research, never live).
Three thresholds, three states
Coherence > +0.70 (configurable) — IN PHASE . Standing wave constructive. Trend amplifies. Bull-palette background tint.
Coherence < −0.70 — ANTI PHASE . Standing wave destructive. Reversal forms. Bear-palette background tint.
|Coherence| < 0.30 (decoherent band) — DECOHERENT . No standing wave. Mid-palette neutral.
In between — transitional.
Phase-status arrows print inside the pane at every regime entry, so the chart history shows when each standing wave formed and collapsed.
Visual system
Coherence line with configurable width.
Glow halo — a wider semi-transparent copy of the coherence line below the main line, creating a soft glow effect.
Background tint by phase status — bull when IN PHASE, bear when ANTI PHASE, none when decoherent. Transparency configurable.
Threshold lines at ±0.70 (toggleable).
Zero line .
Fill between threshold and ±1 — soft bull / bear fill highlights the active phase zone so it is immediately obvious which side is engaged.
Phase status arrows inside the pane on state transitions.
The pane uses the JOAT default palette (cyan-teal bull / magenta bear).
Amplification factor
A separate EMA-smoothed trend amplification factor is computed from the coherence and surfaced in the dashboard. When coherence is sustained high (in-phase), the amplification factor rises — quantifying how much the LTF/HTF agreement is reinforcing the move. Useful as a position-sizing input: bigger amplification = stronger conviction = larger size.
Dashboard
Monospaced table, positionable to any of nine corners. Surfaces:
Current coherence value and bar age.
Phase status (IN PHASE / ANTI PHASE / DECOHERENT) with glyph.
LTF and HTF RSI values.
Phase difference in radians and degrees.
Trend amplification factor (smoothed).
HTF timeframe in use with non-repaint flag.
Alerts
Multiple alert conditions:
Coherence crosses above +0.70 (IN PHASE entry)
Coherence crosses below −0.70 (ANTI PHASE entry)
Coherence returns to decoherent band
Sustained IN PHASE (held above threshold for N bars)
Sustained ANTI PHASE
How to read it
Three reads, in order of conviction:
Sustained IN PHASE — the highest-conviction trend read. LTF and HTF oscillators are decisively moving together. This is the regime in which momentum tools have their largest edge.
Entry into ANTI PHASE — the reversal warning. The two timeframes have rotated opposite each other; whichever direction LTF is moving, HTF is opposing. Often precedes meaningful reversals.
Decoherent zone — stand-aside signal. The wave structure has broken down. Coherence-based reads are not actionable; switch to a regime-classification tool (FDI, Hurst, Entropy).
The cleanest workflow: only take trend trades when IN PHASE; only take reversal trades when ANTI PHASE; do nothing when DECOHERENT.
Suggested settings
Defaults (RSI 14, HTF 4H, phase smoothing 3, coherence smoothing 8, ±0.70 thresholds, ±0.30 decoherent band) are tuned for 15m–1H charts. The HTF should always be greater than or equal to the chart timeframe; mismatching produces meaningless phase reads. For HTF (4H+ chart timeframes) raise HTF to Daily and consider the LTF/HTF coherence as a daily-vs-weekly read.
Originality
The implementation — the dual-timeframe RSI phase estimator, the smoothed phase-difference cosine coherence (quantum-style metric), the non-repainting HTF request with -offset + lookahead_on pattern, the three-threshold phase classifier with decoherent band, the trend amplification factor formulation, the glow-halo line render, and the pane-overlay phase-status arrows — is JOAT-original. No third-party code reused. The notion of phase coherence between timeframes as a market regime metric is the original quantitative contribution, borrowed conceptually from optical and quantum physics.
Limitations
Phase estimation from discrete bar data is inherently noisy on short windows; the smoothing inputs (phase EMA and coherence EMA) exist to address that — over-smoothing destroys phase information, so the defaults are intentionally light. The HTF request is non-repainting in the useStrictHtf = ON configuration; do not turn it off in live trading. The decoherent band is a heuristic to avoid acting on noise reads; widen it on instruments with naturally choppy oscillator structure.
—
-made with passion by jackofalltrades
Индикатор

Индикатор

DailyDesk - Pre-Market Plan & RiskDailyDesk - Pre-Market Plan and Risk
OVERVIEW
DailyDesk is a multi-timeframe planning and execution-support indicator designed to help traders prepare scenarios before entering a trade.
It is not a conventional BUY/SELL signal generator. Instead, it combines market context, location, structure, volatility, execution confirmation, risk geometry, and trade-state management into a single decision dashboard.
The default workflow uses:
1D for directional bias
4H for market structure and major zones
1H for confirmation context
15-minute for precise execution
These roles are configurable, but they must remain ordered from the higher timeframe to the execution timeframe.
CORE FRAMEWORK
DailyDesk separates the market plan into two fixed roles:
Continuation — the scenario aligned with the confirmed higher-timeframe bias.
Counter — the scenario trading against that bias from a relevant premium or discount location.
The indicator then identifies which scenario is currently reachable and potentially actionable. A counter setup is never treated as an ordinary trend pullback; it requires stronger reversal evidence.
DAY-QUALITY GATE
The dashboard grades the trading environment using:
Previous completed daily volatility versus its ATR baseline
Higher-timeframe directional alignment
Premium, equilibrium, or discount location
Recent BOS/CHoCH structure
Proximity to a valid SMC zone or key level
Continuation and counter scenarios receive separate scores. These scores are planning filters, not guarantees of profitability.
SMC AND ICT-STYLE CONTEXT
DailyDesk evaluates confirmed price-action structures including:
Swing highs and lows
Break of Structure (BOS)
Change of Character (CHoCH)
Bullish and bearish order blocks
Fair value gaps
Liquidity sweeps
Premium and discount positioning
Previous day and previous week highs and lows
Order blocks, fair value gaps, and key levels are used to construct candidate execution zones. These concepts are algorithmic interpretations of price action and should not be confused with exchange-level order-book data.
ADAPTIVE ENTRY CONFIRMATION
Execution logic uses price action rather than EMA or directional-indicator entry signals.
Depending on the active market mode, confirmation may require:
Zone touch and directional reclaim
Liquidity sweep
Micro break of structure
Displacement candle
Rejection wick
Engulfing candle
Fair value gap formation
Counter-trend setups require stronger confirmation, including a liquidity sweep and micro structure shift.
An open execution candle may display provisional information, but it cannot trigger a confirmed entry.
ENTRY PROCESS
The trade-state sequence is:
WAIT → ARMED → NEXT OPEN → IN TRADE → TP/INVALIDATION
ARMED means price has reached the scenario area. It is not an entry signal.
A valid setup must:
Reach the planned zone.
Complete the required price-action confirmation.
Close the execution candle.
Meet the minimum setup score.
Pass stop, target, position-size, and minimum R:R checks.
Pass the risk and R:R check again at the next candle’s actual opening price.
The entry line is displayed only after an executable next-open fill exists. This prevents a planned level from appearing as a historical or mid-candle fill.
RISK PLANNING
Configurable risk inputs include:
Account size
Risk percentage per trade
Daily loss cap
Contract or lot size
Estimated brokerage and fees
Slippage allowance
Minimum acceptable reward-to-risk ratio
Optional manual entry, stop, and target
The displayed position size is an estimate. Traders must verify contract specifications, tick value, margin, fees, slippage, and final quantity with their broker.
DASHBOARD STATES
WAIT — no executable setup
ARMED — at the scenario level; wait for candle-close confirmation
NEXT OPEN — signal candle confirmed; fill will be checked at the next open
IN TRADE — a valid fill has been recorded
LATE — price departed without a valid confirmation; do not chase
INVALID — the scenario level failed on a confirmed close
STAND DOWN — the previous plan became invalid or the newly selected scenario is already late
TIMEFRAME AND REPAINTING BEHAVIOUR
Higher-timeframe values use the last completed source candle. Execution triggers and setup invalidations require a confirmed execution-timeframe close.
Information shown while the current candle is forming may update as price changes, but it cannot produce a confirmed trade trigger until the candle closes.
For live execution, use the chart timeframe that exactly matches the configured execution timeframe.
ALERTS
DailyDesk provides alerts for:
Confirmed setup state changes
Next-open order plans
Recorded fills
Target or invalidation states
Stand-down conditions
After changing the script or its inputs, delete and recreate TradingView alerts because existing alerts retain a snapshot of the earlier script configuration.
IMPORTANT LIMITATIONS
DailyDesk is a decision-support and validation tool. It does not place orders, guarantee fills, predict future prices, or guarantee profitable outcomes.
Use standard candles. Validate the indicator through replay, paper trading, and controlled minimum-size forward testing before increasing capital.
For research and educational purposes only. Not financial or investment advice. Trading involves substantial risk of loss.
Disclaimer
This indicator is provided for educational, research, and decision-support purposes only. It does not constitute financial, investment, trading, or professional advice.
The displayed scenarios, grades, entries, stops, targets, position sizes, and alerts are algorithmic estimates and do not guarantee future performance, execution prices, or profitable results. Always verify contract specifications, fees, slippage, margin requirements, and order quantities with your broker.
Trading involves substantial risk of loss. Use paper trading or minimum position size for validation, apply independent judgment, and never risk capital you cannot afford to lose. You remain solely responsible for all trading decisions and outcomes. Индикатор

Индикатор

HTF Candle Architecture [MQLSoftware]HTF Candle Architecture overlays up to three higher-timeframe candles simultaneously on any chart, rendering each at full structural fidelity — body, wicks, and open mid-line — and extending the live candle in real time as bars print. A right-side panel shows the bias, range position, and cross-timeframe alignment for all active levels. Level-touch signals mark when price closes near a key HTF boundary.
This is a visual analytical tool intended for chart reading and structural context. It does not execute trades and does not provide financial advice.
Key Features
Three simultaneous HTF levels, auto-selected from the standard timeframe ladder above the chart, with an override for manual pinning
Three display modes per level: Candles (body box + wicks), Bars (H-L spine with open/close ticks), and HL (high and low range lines only)
Live candle extends in real time — the body, wicks, and projection lines follow price as the current HTF period develops
OHLC Projection lines project the current HTF candle's High, Low, Open, and Close as dotted levels to the right, labeled with the timeframe and price
Range Position gauge — a filled-block bar (`████░░░ 71%`) showing where price sits inside each HTF candle's range; extremes (above 80% or below 20%) highlight in amber
Alignment row — cross-timeframe bias summary: ↑↑ ALIGNED when all enabled levels agree bullish, ↓↓ ALIGNED when all agree bearish, ⇅ MIXED when they conflict
Level-touch signals — fires when price first closes within a configurable ATR threshold of a HTF High, Low, or Open; one signal per HTF candle, per level
HTF Bias Background — subtle background tint matching the primary level's direction (blue for bull, red for bear)
Four alert conditions, all confirmed-bar only
Core Concept
Most HTF candle overlay scripts show a single timeframe. The useful information in a multi-timeframe view is not just that a candle exists at a higher timeframe — it is the structural relationship between that candle and the current position of price, repeated across multiple timeframes at once.
This indicator builds that view directly. Three independent HTF levels render simultaneously with separate depth cues: the closest timeframe uses a lighter body and thinner border; deeper timeframes use heavier borders and darker fills, so the layered structure reads without confusion at a glance.
The range position gauge is the specific addition that single-timeframe tools miss. Whether price is at 91% or 47% of the current Weekly candle's range changes the structural read. The gauge answers that for all three active levels without requiring the user to manually measure.
The alignment row adds the cross-timeframe read in a single line. When all enabled timeframes agree on direction, a single colored label replaces the need to read each row and compare manually. When they conflict, ⇅ MIXED in amber flags it explicitly so a false conviction read is not made.
The level-touch signal system layers actionable entries on top of the structural view. It applies a zone-entry filter — the signal fires only when price moves into the zone on this bar, not while it is already inside — and a per-period gate that allows at most one signal per active HTF candle per level. Combined, these two filters remove the signal spam that plagues basic proximity alerts.
Anatomy of the Display
HTF candle bodies are box objects spanning the HTF period's bar range. The live body updates right-edge and color on every bar. Closed candles are committed once the HTF period ends and stay anchored.
Wicks are line objects centered within the body's bar range, connecting the body edge to the High or Low. In Bars mode, the same lines form the H-L spine, open tick, and close tick of a standard bar representation.
The open mid-line is a dashed horizontal line at the Open price inside the body, visible when the body height exceeds 5% of ATR14, so it is suppressed on doji-like candles where it would overlap the border.
OHLC Projection lines are dotted horizontals extending from the HTF period start to `bar_index + N bars` (configurable). Each carries a tiny label on the right showing the timeframe abbreviation, level name, and price. They update every bar, so they track the live candle's developing values until the period closes.
The panel occupies the top-right corner. Rows 1-3 show the active timeframe, its bias (↑ BULL / ↓ BEAR), and the range position gauge. Row 4 shows the alignment verdict with a colored background. Rows 5-6 show the last signal fired. The header row shows the ticker.
Level-touch signal arrows appear below or above the bar that closes near a HTF level: ▲ for a Low touch (potential support), ▼ for a High touch (potential resistance). Signal size scales with HTF depth: L1 uses the smallest arrow, L3 the largest.
Notes on Repainting
HTF candle visual rendering uses `request.security` with `lookahead=barmerge.lookahead_on`. The live body and wicks update intrabar as the current HTF candle develops. This is display-only and is the standard practice for visualizing a forming HTF candle. The `lookahead_on` value is never used in any signal condition.
All signals are gated by `barstate.isconfirmed` and fire only on closed bars, never intrabar.
Zone-entry filter : a signal fires only if `math.abs(close - level) <= threshold` on this bar AND `math.abs(close - level) > threshold` on the prior bar. Price must move into the zone on this bar; already being inside the zone does not retrigger.
Per-period gate : a boolean flag resets at the start of each new HTF candle and is set on the first signal. At most one signal fires per HTF period per level.
Alerts are gated by `barstate.isconfirmed` and fire once per confirmed bar.
Typical Analysis Workflow
A common analytical workflow may include:
Checking the alignment row to establish a directional context — ↑↑ or ↓↓ ALIGNED suggests all active timeframes agree; ⇅ MIXED means caution
Reading the range position gauge to see whether price is extended (above 80% or below 20% of the HTF range, highlighted in amber) or mid-range
Watching the OHLC projection lines for the current session's active levels — these are the structurally meaningful prices for the live HTF candle
Noting level-touch signals as markers where price has closed near a key HTF boundary; combine with other analysis to assess significance
Configuration
Auto Timeframes — when enabled, selects the three most relevant standard TFs above the chart automatically. Disable to pin timeframes manually per level.
Candles to Show — how many closed HTF candles to keep on chart per level. Older candles are removed as new ones close.
Display Type — Candles, Bars, or HL. Applied to all levels simultaneously.
Per level (HTF 1 / 2 / 3) — enable/disable, custom timeframe, body opacity (0=opaque to 95=near-transparent), and separate bull/bear color pickers.
Visual group — show/hide wicks, mid-line, timeframe labels, live-candle highlight, bias background, anchor dots at period starts, and new-period shade.
Projections — show/hide H, L, O, C levels independently; extend-right bars; price labels on/off.
Panel — show/hide.
Signals — show/hide; touch threshold as ATR multiplier (0.05–1.0); H/L and Open toggles per level independently.
Markets and Timeframes
Works on any instrument and timeframe where at least one higher timeframe exists above the chart:
Forex
Stocks and Indices
Commodities
Cryptocurrencies
Auto timeframe selection scales from 1m charts (1H / 4H / D auto) through Daily (W / M auto). At the top of the timeframe ladder, fewer than three higher timeframes exist and the unused levels can be disabled.
Alerts
HTF 1 H/L Touch — price closed near HTF 1 High or Low
HTF 2 H/L Touch — price closed near HTF 2 High or Low
HTF 3 H/L Touch — price closed near HTF 3 High or Low
Any HTF H/L Touch — price closed near any active HTF High or Low
All alerts fire on confirmed bars only. Индикатор

Индикатор
