Smart Money Fibonacci OTE Engine [ChartPrime]🔶 OVERVIEW
In the world of Smart Money Concepts (SMC), finding a "cheap" or "expensive" price is not enough—you need to find the Optimal Trade Entry (OTE). The Smart Money Fibonacci OTE Engine is an automated structural analysis tool that identifies trend shifts and projects institutional retracement zones in real-time.
Unlike traditional Fibonacci tools that require manual drawing, this engine detects Break of Structure (BOS) events and automatically anchors a Fibonacci grid to the most relevant swing points. It specifically highlights the OTE zone, where institutional buying or selling typically occurs after a trend confirmation.
🔶 CORE MECHANICS: AUTOMATED ANCHORING
The engine operates on a sophisticated "Pivot and Shift" logic:
Swing Detection: The script monitors price for structural Swing Highs and Swing Lows based on your chosen pivot length.
Fibonacci Direction Shift Recognition: A direction shift is confirmed when pivot price exceeds the previous Swing Pivot High (Higher High), and a down direction shift is confirmed when price drops below the previous Swing Pivot Low (Lower Low).
Dynamic Stretching: Once a direction is established, the Fibonacci grid "breathes" with the market. If the trend continues to make new highs or lows, the grid automatically stretches to include the new extension, ensuring your retracement levels are always mathematically accurate.
🔶 THE OPTIMAL TRADE ENTRY (OTE) ZONE
The OTE zone is the primary focus of this indicator. Based on ICT (Inner Circle Trader) concepts, the OTE represents the "sweet spot" of a retracement.
The Range: By default, the zone is plotted between the 0.618 and 0.786 Fibonacci levels.
Institutional Discount/Premium: In a bullish trend, price retreating into the OTE zone is considered "buying at a discount." In a bearish trend, a rally into the OTE is "selling at a premium."
Visual Clarity: The zone is highlighted with a colored box (teal for bull, red for bear), making it easy to identify exactly where to look for price action reversal signals.
🔶 KEY VISUAL FEATURES
Structure Labels: Automatically marks HH (Higher High) and LL (Lower Low) points with Break-of-Structure (BOS) lines.
Swing Diagonal: A dotted line connects the two anchor points of the Fibonacci grid, providing a clear visual representation of the current swing's slope and magnitude.
Extended Levels: Horizontal Fibonacci lines (0.236, 0.382, 0.5, etc.) are projected across the chart, with price-sensitive labels that update every tick.
Historical Mode: Toggle "Show Previous Fibs" to see where past OTE zones were respected, helping you backtest the current asset's adherence to Fibonacci levels.
🔶 INDICATOR INPUTS
Pivot Length: Adjust this to filter between micro-structure (short length) and macro-structure (long length).
OTE Upper/Lower Levels: Fully customizable boundaries for your entry zone.
Visual Styles: Change line styles (Solid, Dashed, Dotted) and colors for the grid, labels, and structure shifts to match your chart theme.
🔶 TRADING UTILITY
High-Probability Entries: Instead of "chasing" a breakout, wait for the Smart Money Fibonacci Engine to identify the higher high or lower low, then wait for price to return to the OTE box.
Confluence Tool: Use the OTE zone in conjunction with Order Blocks or Liquidity Sweeps. When an OTE zone aligns with a previously swept EQL or EQH, the probability of a reversal increases significantly.
Objective Profit Taking: Use the 0.0 (origin) and various extension levels as objective targets for scaling out of positions.
🔶 CONCLUSION
The Smart Money Fibonacci OTE Engine removes the subjectivity from drawing Fibonacci retracements. By automating the detection of market structure and highlighting the most statistically relevant entry zones, it allows traders to focus on execution rather than chart drawing. אינדיקטור

אינדיקטור

Ultimate RSIHere is a breakdown of its core features and how they work together:
1. Volatility-Adaptive RSI Length
How it works: Instead of using a static length (like the traditional 14-period RSI), the script calculates the market's standard deviation (volatility).
The Benefit: When the market is highly volatile, the RSI length dynamically shortens, making the indicator more responsive so you can catch quick reversals. When volatility drops (consolidation), the length expands, smoothing the RSI line to filter out "chop" and false signals.
2. Dynamic Overbought / Oversold Zones (Bollinger Bands)
How it works: Standard RSIs use static horizontal lines at 70 and 30. This script applies Bollinger Bands directly to the RSI values themselves.
The Benefit: A reading of 70 isn't always overbought in a strong trend. By wrapping the RSI in a standard deviation channel, you get a dynamic zone. If the RSI breaks above its upper dynamic band, you know momentum is genuinely extreme relative to recent conditions, rather than a fixed arbitrary number.
3. Automated Divergence Detection
How it works: The script constantly scans for discrepancies between price action and RSI momentum.
The Benefit: It automatically plots visual markers on the RSI pane when it detects:
Regular Divergences (Reversals): E.g., Price makes a Lower Low, but RSI makes a Higher Low (Bullish Divergence).
Hidden Divergences (Trend Continuations): E.g., Price makes a Higher Low, but RSI drops to a Lower Low (Hidden Bullish).
4. RSI Moving Average (Signal Line)
How it works: An additional moving average (you can choose between SMA, EMA, RMA, WMA, or HMA) is plotted alongside the RSI.
The Benefit: This acts as a trigger line. An RSI crossing above its EMA can be used as an early entry signal, or as confirmation that momentum has definitively shifted.
5. Multi-Timeframe (MTF) Support
How it works: You can configure the indicator to calculate RSI based on a higher timeframe (e.g., pulling 4-Hour RSI data while you are looking at a 15-minute chart).
The Benefit: This ensures your lower timeframe entries are always aligned with the macro momentum, preventing you from trading against the larger trend.
6. Visual Confluence & Alerts
The RSI line itself is color-coded. For example, it turns bright green when momentum is both above 50 and rising, and dark red when below 50 and falling.
It includes a full suite of alert conditions (divergences and MA crossovers) so you can automate your trading or get pinged when a setup occurs.
In summary, it's designed to replace 3 or 4 different indicators on your chart by giving you adaptive momentum, dynamic exhaustion zones, trend direction, and divergence signals all natively in one branded, professional package. אינדיקטור

אינדיקטור

אינדיקטור

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
אינדיקטור

אינדיקטור
