Gösterge

Gösterge

Gösterge

ADR vs ATR Dashboard v1.2ADR vs ATR Dashboard v1.2 — User Guide
This dashboard calculates and compares Average True Range (ATR) and Average Daily Range (ADR) from the Daily timeframe ("D") to analyze current market volatility and structural shifts.
1. Understanding Dashboard Metrics
Daily ATR: Measures the asset's average volatility over a set number of days including overnight gaps. If an asset gaps up or down significantly at the open, ATR captures that distance.
Daily ADR: Measures the average high-to-low range of the trading session only, specifically using completed past daily sessions (high - low ). It excludes overnight gaps.
ATR - ADR (Difference): Shows the raw price point difference between the two metrics.
‣ Positive value: High overnight gap activity or recent expanding range.
‣ Negative value: Compressed overnight action relative to intraday ranges.
ATR / ADR (Percentage): Expresses the relationship as a percentage.
‣ Below 90% (Below Threshold): Volatility is compressed or overnight gaps are smaller than typical intraday moves.
‣ 90% – 110% (Balanced): Intraday range and total gap volatility are historical norms.
‣ Above 110% (Above Threshold): Significant price gaps are occurring outside of standard trading hours.
2. How to Access and Adjust Settings
To modify any calculation, layout, or color configurations:
Hover your mouse over the dashboard title (ADR-ATR) in the top-left corner of your main chart.
Click the Gear Icon (Settings).
Use the tabs inside the settings window to customize your experience.
Calculations Tab
ADR Length & ATR Length: Change the lookback periods.
‣ Swing Trading (Default): ATR 14 / ADR 20
‣ Fast/Responsive: ATR 10 / ADR 10
‣ Macro/Smooth: ATR 20 / ADR 50
Lower & Upper Thresholds: Adjust the percentage boundaries (90% and 110%) that trigger the "Below ADR", "Balanced", or "Above ADR" condition states.
Dashboard Layout Tab
Dashboard Location: Move the panel to any corner of your chart window (Top Right, Top Left, Bottom Right, Bottom Left).
Text Size: Scale the dashboard visibility (Tiny, Small, Normal, Large) to match your screen resolution.
Toggles: Uncheck "Show ATR Minus ADR" or "Show ATR / ADR Percentage" to hide those rows and make the panel more compact.
Dashboard Colors Tab
Click the color boxes next to any parameter to completely customize the dashboard background, text, borders, and conditional alert highlights (Below ADR, Balanced, Above ADR).
Gösterge

Gösterge

jrhSMCjrhSMCDashboard — Documentation
Smart Money Concepts (SMC/ICT-style) dashboard indicator built from scratch. Implements standard, publicly-documented concepts — market structure (BOS/CHoCH), premium/discount zones, equal highs/lows, liquidity sweeps, multi-timeframe VWAP.
Input Groups
Dashboard
Setting Purpose
Show Dashboard Master on/off for the table
Position Top Right / Top Left / Bottom Right / Bottom Left
Text Size Table text size (independent of on-chart label sizes below)
Market Structure (BOS / CHoCH)
Setting Purpose
Swing Pivot Length Bars on each side required to confirm a swing high/low (ta.pivothigh/ta.pivotlow). Larger = fewer, more significant pivots
Show BOS / CHoCH Labels Toggle the on-chart structure-break labels
Label Text Size Size of CHoCH/BOS labels and pivot dots (Tiny–Huge)
Show Pivot Dots Toggle the aqua/fuchsia dots marking confirmed swing highs/lows
Liquidity (Equal Highs/Lows + Sweeps)
Setting Purpose
Show Equal High/Low Labels Toggle EQH/EQL labels
Tolerance % How close two consecutive pivots must be (as a % of price) to count as "equal"
Label Text Size Size of EQH/EQL and SWEEP labels (Tiny–Huge)
Show Liquidity Sweep Markers Toggle the on-chart SWEEP labels
Premium / Discount / Equilibrium
Setting Purpose
Show Premium/Discount Zones Toggle the purple (premium) / blue (discount) zone boxes
Range Lookback (bars) Rolling window used to define the swing high/low that anchors the zones, Fib levels, and the dashboard's Levels row
Fibonacci Auto-Levels
Setting Purpose
Show Fib Levels Toggle the 5 auto-plotted retracement lines/labels, computed from the same Range Lookback swing
Label Text Size Size of the Fib ratio/price labels (Tiny–Huge)
Multi-Timeframe VWAP
Setting Purpose
Show VWAP Stack in Dashboard Toggle the VWAP (LTF) / VWAP (HTF) rows
Momentum (RSI / CVD Proxy)
Setting Purpose
RSI Length Standard RSI period
On-Chart Elements
Pivot Dots
Aqua dot = confirmed swing high. Fuchsia dot = confirmed swing low. Plotted Swing Pivot Length bars back from the current bar (pivots can only be confirmed in hindsight).
EQH / EQL Labels
Orange labels marking two consecutive pivot highs (EQH) or lows (EQL) within Tolerance % of each other — these represent liquidity pools resting just beyond the level, a common SMC concept for where stop-runs/sweeps are likely to occur.
CHoCH / BOS Labels
• CHoCH (Change of Character): the first break of structure against the prevailing trend — a potential reversal signal
• BOS (Break of Structure): a break continuing the prevailing trend — confirms trend continuation
Direction colors: bullish CHoCH = blue, bullish BOS = teal, bearish CHoCH = purple, bearish BOS = red.
SWEEP Labels
Marks a liquidity sweep: price wicks beyond a prior swing high/low (taking the resting liquidity) but the candle closes back inside — a classic stop-hunt/reversal pattern. Red "SWEEP" above the bar = buy-side liquidity taken (bearish implication). Green "SWEEP" below the bar = sell-side liquidity taken (bullish implication).
Premium / Discount Zone Boxes
Purple box = Premium (upper half of the Range Lookback swing — the "expensive"/sell zone in ICT terms). Blue box = Discount (lower half — the "cheap"/buy zone). Gray dashed line = Equilibrium (midpoint). The box slides with the current bar, always covering the most recent Range Lookback bars.
Fibonacci Levels
Five standard retracement ratios (0.236, 0.382, 0.5, 0.618, 0.786) computed from the same swing range as the Premium/Discount zone, plotted as dotted yellow lines with price labels.
Dashboard Table — Row Reference
Row Meaning
Trend Current market structure bias: Bullish (last break was bullish), Bearish (last break was bearish), or Neutral (no break yet)
Session Approximate UTC-based session window (Tokyo/London/New York) and which session comes next. Approximate — verify against your broker's actual session times
Levels Premium / Equilibrium / Discount price levels from the Range Lookback swing
Indicators RSI (standard) and CVD (approximation — up-candle volume minus down-candle volume; not true tick-level bid/ask delta, since that data isn't available in standard Pine Script)
Structure Flip The exact price level that needs to be closed beyond to flip the current Trend reading, phrased as "close above/below X to flip bull/bear"
VWAP (LTF) Anchored VWAP for 4H, 1D, and 1W periods
VWAP (HTF) Anchored VWAP for 1M, 6M, and 12M periods
Sweep Status Most recent liquidity sweep direction, with a (N bars ago) tag for staleness
Confluence Own 0–5 composite score counting agreement across Trend, RSI (>50/<50), CVD direction, Premium/Discount position, and Sweep direction. Not a replication of any commercial product's proprietary scoring — a simple vote-count of 5 independent factors
Gösterge

BTC vs Net USD Liquidity 13W ROC LeadBTC vs Net USD Liquidity — ROC, Lead & Correlation
This indicator compares Bitcoin’s medium-term price momentum with changes in U.S. net dollar liquidity.
Net USD liquidity is calculated as:
Federal Reserve Total Assets
− Overnight Reverse Repo
− U.S. Treasury General Account
Data sources:
• ECONOMICS:USCBBS — Federal Reserve total assets
• FRED:RRPONTTLD — Overnight Reverse Repurchase Agreements
• FRED:WTREGEN — U.S. Treasury General Account balance
• User-selected BTC/USD symbol
The indicator displays:
• Bitcoin’s percentage change over a selected number of weeks
• Net USD liquidity’s percentage change over the same period
• Liquidity data shifted by a configurable lead period
• Rolling correlation between BTC momentum and the lag-adjusted liquidity impulse
Settings:
Change Period
Defines the number of weeks used to calculate the rate of change. For example, 13 measures the percentage change over the previous 13 weeks.
Liquidity Lead
Tests whether changes in net USD liquidity tend to lead Bitcoin. For example, a setting of 8 compares Bitcoin’s current momentum with the liquidity impulse observed eight weeks earlier.
Correlation Window
Defines the number of weeks used to calculate the rolling correlation.
Correlation interpretation:
• Values closer to +1 indicate a stronger positive relationship
• Values near 0 indicate weak or inconsistent linear correlation
• Values closer to −1 indicate a stronger inverse relationship
Rising net USD liquidity may create a more supportive macro environment for Bitcoin and other risk assets. Falling liquidity may create a more restrictive environment.
However, this relationship is not stable across all market cycles. Bitcoin may react with a changing time lag, and other factors such as ETF flows, leverage, interest rates, market positioning and global liquidity may dominate price action.
The indicator is intended for macroeconomic, liquidity-cycle and market-cycle analysis. It is not a standalone buy or sell signal.
For best results, use it on the weekly timeframe and compare several lead settings, such as 0, 4, 8 and 12 weeks.
Disclaimer:
This indicator is provided for informational and educational purposes only. It does not constitute financial or investment advice. Past correlation does not guarantee future performance. Gösterge

Macro Risk Regime CompositeMacro Risk Regime Composite
The Macro Risk Regime Composite is a multi-factor indicator designed to identify broad risk-on, neutral, and risk-off market environments.
The indicator combines liquidity, currency, interest-rate, credit, crypto-liquidity, and equity-market confirmation data into a single normalized score ranging from 0 to 100.
A higher score indicates a more supportive environment for risk assets, while a lower score indicates tighter financial conditions and a more defensive market regime.
COMPONENTS
1. Net USD Liquidity
Net USD liquidity is calculated as:
Federal Reserve Total Assets
− Overnight Reverse Repo
− U.S. Treasury General Account
Data source:
ECONOMICS:USCBBS − FRED:RRPONTTLD − FRED:WTREGEN
Rising net liquidity is treated as supportive for risk assets.
2. U.S. Dollar Index
Data source:
TVC:DXY
A falling U.S. dollar is treated as supportive, while a rising dollar is treated as restrictive.
3. 10-Year Real Yield
Data source:
FRED:DFII10
Falling real yields are treated as supportive for risk assets. Rising real yields increase the discount rate applied to financial assets and are treated as restrictive.
4. High-Yield Credit Spread
Data source:
FRED:BAMLH0A0HYM2
Narrowing high-yield credit spreads indicate improving risk appetite and easier financial conditions. Widening spreads indicate increasing credit stress.
5. Stablecoin Dominance
Data source:
CRYPTOCAP:USDT.D + CRYPTOCAP:USDC.D
Falling stablecoin dominance is treated as crypto risk-on, as capital is moving from stablecoins into more volatile crypto assets. Rising stablecoin dominance is treated as defensive.
6. Equity Market Confirmation
Data source:
NASDAQ:NDX / SP:SPX
Rising Nasdaq 100 relative strength versus the S&P 500 is treated as confirmation of stronger risk appetite.
CALCULATION
Each component measures its momentum over a configurable number of weeks.
The component impulse is normalized relative to its own historical distribution using a configurable normalization window. The normalized result is converted into a score between 0 and 100.
The final composite is calculated as a weighted average of all active components.
Default weights:
• Net USD Liquidity: 25%
• U.S. Dollar Index: 15%
• 10-Year Real Yield: 20%
• High-Yield Credit Spread: 20%
• Stablecoin Dominance: 10%
• NDX/SPX Confirmation: 10%
REGIME INTERPRETATION
• 65–100: Risk-On
• 35–65: Neutral
• 0–35: Risk-Off
Scores above 50 indicate that the overall macro environment is becoming more supportive. Scores below 50 indicate that financial conditions are becoming more restrictive.
The dashboard also classifies each component as:
• Supportive
• Neutral
• Restrictive
SETTINGS
Momentum Period
Defines the number of weeks used to calculate the change in each component.
Normalization Period
Defines the historical window used to normalize each component relative to its own behavior.
Smoothing
Applies additional smoothing to reduce short-term noise.
Component Weights
Allows users to change the importance of each macro factor or disable individual components.
Risk-On and Risk-Off Thresholds
Allow users to customize the regime classification levels.
USAGE
The indicator is designed primarily for weekly macro and market-cycle analysis.
It may be used as a regime filter for:
• Bitcoin and Ethereum
• Nasdaq 100 and S&P 500
• Growth stocks
• Gold and commodities
• Treasury bonds
• Other risk-sensitive assets
The composite should not be interpreted as a direct entry or exit signal. It is intended to provide context regarding the broader liquidity and financial-conditions environment.
The current weekly reading may change before the weekly candle closes because some data series continue to update during the week.
DISCLAIMER
This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, trading, or legal advice.
No macroeconomic indicator can reliably predict future market performance. Historical relationships may weaken, disappear, or reverse during different market regimes.
Users should combine this indicator with independent analysis, price structure, position sizing, and appropriate risk management. Gösterge

NQ Engine Health **NQ Engine Health**
NQ Engine Health is a session-aware trade-management and market-confirmation dashboard designed for NQ and MNQ.
During the New York session, it measures whether the current NQ move is supported by six major Nasdaq leaders, NQ price structure, VXN behavior and broader ES market context.
During London and Asia, the indicator switches to a futures-based engine using the active session open, session VWAP, NQ momentum, volume participation and ES confirmation.
The dashboard displays:
* Market direction and directional score
* Engine Health from 0% to 100%
* Strengthening, stable, losing-fuel or diverging conditions
* ES and VXN confirmation
* Individual Nasdaq leader direction and momentum
* Session-adjusted confidence
* Suggested trade-management posture
Management conditions include **Breathing Room, Normal Structure, Protect Profit and Defensive**.
This indicator does not generate trade entries. It is designed to complement a separate entry strategy, important price levels and structured risk management.
Alerts are included for Full Throttle, Losing Fuel, Divergence, Protect Profit and Defensive conditions.
For educational and analytical purposes only. No indicator can predict or guarantee market outcomes.
Gösterge

Demand & Supply Zones Pro RBR / DBR / DBD / RBD [KTFL]Demand & Supply Zones Pro — RBR / DBR + Volume Strength + TP/SL
Professional Demand & Supply indicator that automatically detects institutional accumulation and distribution zones using Rally-Base-Rally (RBR), Drop-Base-Rally (DBR), Rally-Base-Drop (RBD), and Drop-Base-Drop (DBD) price structures.
Unlike traditional Supply & Demand indicators that rely only on price action, this script also evaluates Volume Strength, generates a complete Entry / Stop Loss / Take Profit trading plan, and records trading statistics directly on the chart. The script is written entirely from scratch and is not derived from any existing TradingView indicator.
Features
✔ Automatic Demand & Supply Detection
The script automatically identifies the four classic institutional structures:
Rally → Base → Rally (RBR)
Drop → Base → Rally (DBR)
Rally → Base → Drop (RBD)
Drop → Base → Drop (DBD)
Each zone is confirmed only after a valid Leg-In, Base and Leg-Out sequence has completed, reducing false signals.
✔ Volume Strength Analysis
Every zone is graded using relative volume compared to the market average.
Features include:
Average Volume Comparison
Zone Grade (A / B / C)
Optional Grade A Filter
Volume Ratio Display
Volume-based Zone Coloring
This allows traders to quickly distinguish stronger institutional zones from weaker ones.
✔ Complete Trade Plan
When price revisits a valid zone, the indicator automatically calculates:
Entry Price
Stop Loss
Take Profit
Risk : Reward
Supported Entry Modes:
Zone Edge
Confirmation Close
Trigger Body
Supported Stop Loss Modes:
Zone Distal
ATR
Supported Risk Rewards:
1R
1.5R
2R
2.5R
3R
4R
5R
6R
Projected TP and SL levels can also be displayed before price revisits the zone.
✔ Smart Zone Management
The indicator automatically manages every zone by:
Extending active zones
Fading or deleting used zones
Detecting broken zones
Keeping only the latest zones
Preventing unnecessary clutter
Users can choose whether used zones remain visible or are removed automatically.
✔ EMA Trend Filter
An optional higher-timeframe EMA filter helps trade only in the direction of the dominant trend.
Available modes:
Price above/below EMA
EMA Slope
Both conditions
Users may also choose whether the filter blocks entries only or prevents counter-trend zones from being created entirely.
✔ Trading Statistics Dashboard
The built-in dashboard provides real-time statistics including:
Current Trend
Active Demand / Supply Zones
Average Volume Strength
Current Trade Status
Last Signal
Entry / SL / TP
Win Rate
Consecutive Losses
Total R Multiple
Daily Performance
Win Rate by Pattern (RBR, DBR, RBD, DBD)
This makes it easy to evaluate which market structures perform best over time.
✔ Trade History
Completed trades can optionally remain on the chart, allowing traders to review previous entries, exits and R-multiples.
Historical trades may include:
Entry
Stop Loss
Take Profit
Win / Loss Labels
Complete Trade Boxes
This is useful for reviewing strategy performance and studying historical setups.
✔ Alerts
Built-in alerts include:
New Demand Zone
New Supply Zone
Demand Retest
Supply Retest
Long Entry
Short Entry
These alerts can be connected to TradingView notifications or automated workflows.
No Repainting
The detection engine evaluates only confirmed candles after the full structure has formed. Signals are generated using completed price action rather than future information, helping to avoid repainting behavior.
Disclaimer
This indicator is designed as a trading decision-support tool and should not be considered financial advice. Always apply proper risk management before entering any trade. Gösterge

Gösterge

Gösterge

Gösterge

Unfilled Gap MarkerThis indicator identifies true price gaps and flags the ones that stay unfilled through a user-defined window — by default, four days including the gap candle itself.
It is built on an old floor-trading rule, shared anecdotally by veteran trader Linda Raschke, who learned it on the trading floor around 45 years ago: when a gap forms and price does not trade back into the gap area within the next four days, the move tends to continue in the direction of the gap for roughly the next two weeks (about 14 days). Raschke has said this rule holds up around 90% of the time in her experience. That figure is her anecdotal observation — it has not been independently backtested by me, and you should verify it yourself before relying on it. The indicator does one job precisely — it detects each qualifying gap, tracks whether price re-enters the empty band before the window closes, and marks the gap with a triangle only if it survives unfilled.
By default the signal prints on the third day of a four-day window, one day before the window closes. This is deliberate: it surfaces the setup while a day still remains, so you can watch that final day rather than being notified only after the window has already passed.
What it does
It detects true gaps — where a candle's range does not overlap the previous candle's range at all — not just an open above or below the prior close. A gap up requires the current low to be above the previous high; a gap down requires the current high to be below the previous low. This is the stricter, more meaningful definition of a gap: an actual empty band on the chart.
Once a gap forms, the indicator watches whether price trades back into that empty band. The near edge of the gap (the prior high for an up gap, the prior low for a down gap) is the level that must hold. If price does not fill the gap within the window, the indicator marks it:
Green triangle below the bar — unfilled gap up
Red triangle above the bar — unfilled gap down
An optional label and a shaded zone over the gap band can be turned on for clarity.
Settings
Min gap size (%) — ignore gaps smaller than this. Set to 0 to catch every true gap.
Window (days) — how many days the gap must stay unfilled, counting the gap candle as day one.
Trigger on day N — which day the signal prints. Default is day 3, so the signal appears with one day still left in the window, letting you monitor the final day before acting.
Toggles for the label and the shaded gap zone.
How to use it
Treat the triangle as a heads-up, not a trade command. Because the default trigger is day 3 of a 4-day window, the signal is provisional — the final day can still fill the gap after the triangle appears. Use it to bring a chart to your attention, then apply your own confirmation, risk management, and position sizing.
You can add an alert on the signal conditions to be notified when a qualifying gap holds.
Important notes and limitations
This is a study tool, not a strategy, and it does not place trades or guarantee any outcome. The underlying rule is an anecdotal floor-trading heuristic, not a proven edge. The ~90% success rate is Linda Raschke's stated experience, not a tested or verified statistic — I have not backtested it, and it should be checked across many symbols and timeframes before being relied on, since a pattern that looks convincing on one chart or in one trader's recollection often weakens under systematic testing. Many large unfilled gaps follow earnings or news, so some of what this flags may reflect post-earnings drift rather than the gap itself.
The signal evaluates on the trigger day's price and only settles when that candle closes; on a live, still-forming candle it can appear and then change before the close.
Nothing here is financial advice. Test thoroughly and trade at your own risk. Gösterge

Gösterge

Gösterge

Gösterge

Gösterge

Gösterge

ChronoFade PRO by K@lTonyDescrizione (Italiano)
ChronoFade PRO identifica movimenti di prezzo all'interno di fasce orarie predefinite e genera un segnale in direzione opposta (fade/reversal) alla chiusura della fascia. La logica: se il prezzo scende durante la fascia, il segnale è BUY sulla candela successiva; se sale, il segnale è SELL — sulla base del presupposto che i movimenti direzionali all'interno di una sessione tendono a rientrare (mean reversion).
Caratteristiche principali:
Fino a 3 fasce orarie configurabili indipendentemente, con offset GMT regolabile
Filtro di lateralizzazione: ignora i movimenti troppo piccoli, evitando falsi segnali in mercati piatti
Motore di backtest integrato con gestione multi-trade, zone TP/SL visualizzate a grafico e tabella statistiche (operazioni, vinte, perse, winrate) per fascia oraria
Description (English)
ChronoFade PRO identifies price movement within predefined time windows and generates a signal in the opposite direction (fade/reversal) at the close of each window. Logic: if price falls during the session, the signal is BUY on the next candle; if it rises, the signal is SELL — based on the premise that directional moves within a session tend to revert (mean reversion).
Key features:
Up to 3 independently configurable time windows, with adjustable GMT offset
Sideways-filter: ignores moves that are too small, avoiding false signals in flat markets
Built-in backtest engine with multi-trade management, TP/SL zones plotted on chart, and a stats table (trades, wins, losses, winrate) per session
Settaggio consigliato per XAU/USD, fascia 12:00-15:00
Premessa importante: non ho dati di backtest live per darti numeri "ottimizzati" — questi sono punti di partenza ragionevoli da testare tu stesso con il motore di backtest integrato, dato che l'oro nel 2026 sta attraversando fasi di volatilità molto variabile (range giornaliero tipicamente 200 a 500+ pips, che può superare i 1.000 pips nei giorni di notizie importanti).
Parametro Valore consigliato (partenza)
Orario fascia 1200-1500 Verifica che coincida con il tuo offset GMT broker
Offset GMT dipende dal tuo broker Molti broker MT/cTrader sono GMT+2/+3 — allinea di conseguenza
Filtro lateralizzazione 80-120 punti Filtra il rumore in sessioni piatte pre-overlap
Take Profit 150-250 punti Coerente con la volatilità media dell'oro in 3h di overlap
Stop Loss 150-200 punti Simile o leggermente inferiore al TP per un R:R vicino a 1:1
Consiglio pratico: attiva il backtest, parti da questi valori, e osserva la tabella winrate per fascia — poi affina TP/SL e filtro in base ai risultati sul tuo strumento/broker specifico, perché lo spread e lo slippage su XAUUSD variano parecchio tra broker. Gösterge

DOUBLE SUPERTREND PYRAMID STRATEGYDouble Supertrend Pyramid Strategy
This strategy trades off two Supertrend indicators calculated on independent, user-selected timeframes (defaults: 1-minute and 2-minute). A trade is only taken when both Supertrends agree on direction — when they align upward, the strategy goes long; when they align downward, it goes short. Each new alignment is treated as a new "plotted course," and the strategy tracks that course's direction so it doesn't re-enter on every bar, only on an actual flip.
Core Entry Logic
Long/Short/Both direction control, so you can restrict the strategy to one side of the market if desired.
A session time-window filter (with a timezone dropdown covering major global zones) lets you restrict trading to specific hours, with an option to auto-close everything when the window ends.
On a Supertrend flip, the strategy normally waits until the position is completely flat before entering the new direction — it does not force-close open tiered or pyramid contracts just because the trend flipped. (See "Exit At Next Supertrend Plotted Course" below for the opt-in alternative.)
Tiered Exit System
Three independent, fully self-contained profit-scaling tiers (Tier 1/2/3), each with:
A profit target (ticks) and contract quantity to scale out at that target
An optional Stop Loss, and an optional Trailing Stop with a separate activation threshold (ticks, own enable checkbox)
An "Exit At Next Supertrend Plotted Course" checkbox — when checked, that tier's contracts are force-closed the moment the trend flips; when unchecked (default), the tier runs entirely on its own Target/Stop/Trailing settings regardless of what the trend does next.
Pyramid Add-On System
Eight independent pyramid types can each be enabled separately to add contracts in the direction of an existing position when their own specific condition fires:
Turtle ATR Unit — adds every time price moves a set fraction of ATR in your favor from the last fill.
Swing Structure — adds on a new confirmed swing high/low in the trend direction.
Momentum Re-confirmation — adds when ADX is rising with DI+/DI- agreement and RSI holds past a threshold.
Breakout / Consolidation — adds on a fresh Donchian channel breakout.
Multi-Timeframe Alignment — adds only when a higher-timeframe EMA filter agrees with the trade direction.
Error-Function One-Tailed Test — adds when the current bar's move is statistically significant versus its recent return distribution (Normal or Student-T approximation).
KDE Percentile — adds when the current move ranks in the top percentile of a non-parametric kernel-density estimate of recent returns.
Viterbi Regime Detection — adds only while a 2-state Hidden Markov Model infers the market is in a "trending" (versus "ranging") regime.
Each pyramid type is fully self-contained: its own contracts-per-signal size, its own optional TP/SL/Trailing Stop, its own per-course contract and signal caps, a delay-between-signals timer, a minimum-distance-before-next-add gate (selectable as ATR multiple, percent, ticks, points, or dollars), and its own "Exit At Next Supertrend Plotted Course" checkbox. All types default to fully disabled.
Global Risk Controls (always active, override everything)
Max contracts per trade (position size cap across core + pyramid adds)
Master daily $ take-profit and $ max-loss halts
Volatility Exit — flattens everything if ATR expands beyond a multiple of its recent average
ATR Protective Stop — a catastrophic-loss stop measured off the position's average entry price
Reverse-At-Stop-Loss — an optional system that flips the core position to the opposite side when the per-course Stop Loss is hit, capped at a configurable number of reversals per course Strateji

Gösterge

Breaker Block Identifier [algo_aakash]Breaker Block Identifier is a market structure indicator that converts failed order block retests into scored, non-repainting breaker zones. Rather than flagging every order block that gets invalidated, the script requires a complete sequence of confirmed price events — order block formation, an opposing structure break, a retracement into the invalidated zone, and a failed retest of that zone — before a breaker is created, and then ranks the result with a transparent quality score.
Problem Statement
Order blocks are frequently invalidated by a structure break and later retested, but a retest failing to continue in the original direction is not automatically a tradable breaker block. Many public scripts draw a zone as soon as an order block is broken, without verifying that the subsequent retest actually failed, how deep that retest penetrated, or how convincingly price rejected the zone. This produces a high volume of low-quality zones that require manual filtering by the trader.
This indicator addresses that gap by treating breaker formation as a multi-stage state machine rather than a single condition, and by scoring every candidate that completes the sequence so weak retests can be filtered out programmatically instead of visually.
Methodology
Swing highs and lows are identified with ta.pivothigh/ta.pivotlow using a user-defined bar count on each side, so every structural level referenced by the script is a confirmed pivot, never a forming one.
An order block source candle is located as the last opposite-colored candle at or immediately before each confirmed swing pivot, within a fixed lookback. The candle must exceed a minimum size expressed as a multiple of ATR, and can optionally be required to close on above-average volume. Zone boundaries can be set to the candle body (open/close) or the full wick range (high/low).
Every order block candidate then moves through three internal states. In the Pending state the script waits for an opposing structure break (a close beyond the relevant swing high or low, optionally required to clear the level by a minimum ATR multiple). Once that break occurs the candidate becomes Flipped, and the script waits for price to retrace back into the now-invalidated zone. On entry into the zone the candidate becomes Retesting, and the script tracks the deepest penetration price reaches inside the zone on a bar-by-bar basis.
A Retesting candidate resolves in one of two ways. If price closes back through the zone in its original direction by the confirmation displacement threshold, the retest is judged to have held and the candidate is discarded with no breaker created. If price instead closes through the opposite edge of the zone by the same displacement threshold, and the tracked penetration depth met a minimum percentage of the zone's height (the Retest Qualification Filter), the retest is judged to have failed and the order block is converted into a breaker in the opposite direction of its original bias.
Each confirmed breaker is then scored from 0 to 100 using six independent, user-weighted factors: the displacement strength of the invalidating structure break, the ATR-relative size of the original order block candle, how closely the retest penetration matched a user-defined ideal depth (scored on a curve, so both shallow touches and near-total breaches score lower than a clean mid-zone tag), the wick-rejection ratio of the confirming candle, how quickly the retest resolved relative to the retest window, and the ATR-normalized distance price traveled before returning to retest. The six sub-scores are combined using auto-normalized weights, so a breaker only appears on the chart, gets drawn, and triggers alerts if it clears the configured minimum quality threshold.
Confirmed breakers remain in an Active/Touched state until price closes through the far edge of the zone by the invalidation displacement threshold, at which point the zone is marked invalidated, visually dimmed, and removed after a configurable linger period. A hard maximum-age limit and a per-direction cap on active zone count prevent unbounded object growth.
Signal Workflow
Step 1 — a confirmed swing pivot forms and an order block candidate is registered from the qualifying source candle behind it.
Step 2 — the candidate waits in a Pending state until an opposing structure break (BOS/CHoCH) closes beyond the originating swing level.
Step 3 — once flipped, the candidate waits for price to re-enter the invalidated zone, entering the Retesting state and tracking maximum penetration depth.
Step 4 — the retest resolves: a displacement close back through the zone in the original direction discards the candidate, while a displacement close through the opposite edge with sufficient penetration confirms a breaker.
Step 5 — the confirmed breaker is scored across six weighted factors and only drawn, labeled, and alerted on if it meets the minimum quality threshold.
Step 6 — the active breaker zone extends forward until price closes through its far edge by the invalidation displacement threshold, at which point it dims and is scheduled for removal.
Why This Indicator Is Different
Most public order block or breaker scripts draw a zone the moment an order block is invalidated by a structure break, without separately validating whether the ensuing retest actually failed.
This script models breaker formation as an explicit four-state pipeline (source candle, pending, flipped, retesting) and only creates a zone after the retest resolves against its original direction with a minimum measured penetration depth.
The Breaker Quality Score converts six independently disclosed factors, including retest penetration depth scored on a curve around a configurable ideal value rather than a simple threshold, into a single adjustable ranking rather than a cosmetic label.
Quality-score weighting is fully exposed, allowing the ranking to be tuned toward structure strength, retest precision, wick rejection, confirmation speed, or impulse distance depending on the trader's approach.
Zone fill transparency scales with the quality score, so higher-ranked breakers render more opaque and lower-ranked ones fade into the background without adding separate visual elements.
An optional formation preview renders the retest phase of a candidate before it resolves, giving visibility into why a breaker did or did not form without permanently cluttering the chart.
Inputs
Structure Settings
Swing Pivot Length
Displacement Filter on Structure Break
Structure Break Displacement (x ATR)
ATR Length
Order Block Detection
Use Candle Body for Zone Boundaries
Min Order Block Size (x ATR)
Candidate Expiry (bars)
Volume Confirmation Filter
Volume MA Length
Volume Multiplier Threshold
Breaker Conversion Rules
Retest Window (bars)
Confirmation Displacement (x ATR)
Min Retest Penetration (%)
Quality Score
Filter Breakers by Quality Score
Minimum Quality Score
Ideal Retest Penetration Ratio
Advanced weight sliders for structure break strength, impulse size, retest precision, wick rejection, confirmation speed, and distance traveled
Visual Settings
Bullish/Bearish Breaker Colors
Min/Max Fill Transparency
Show Zone Midline
Show Quality Label
Label Size
Formation Preview toggle and color
Lifecycle & Cleanup
Max Active Breakers (per side)
Invalidation Displacement (x ATR)
Invalidated Linger (bars)
Max Breaker Age (bars)
Info Panel
Show Info Panel
Panel Position
Alerts
Alerts are available for:
Bullish Breaker Block formed
Bearish Breaker Block formed
Structure confirmation on breaker conversion
Price entering an active breaker zone
Breaker invalidated
Practical Usage
Use the info panel's structure bias reading as directional context before evaluating individual breaker zones.
Treat a fresh, high-quality breaker aligned with the prevailing structure bias as a potential continuation zone rather than a standalone entry signal.
Raise the minimum quality threshold on lower timeframes or noisy instruments to reduce the number of marginal zones drawn.
Use the retest penetration and displacement settings together to control how strict the failed-retest qualification is for your instrument and timeframe.
Combine the alert feed with a broader trade plan, since each alert marks a structural event, not an execution signal.
Limitations
Swing pivots require bars to form on both sides before they confirm, so structure breaks and order block placement are inherently delayed by the swing pivot length.
The order block source candle is located within a fixed lookback behind each pivot; if no qualifying candle exists in that window, no candidate is created for that pivot.
Quality scoring is a relative ranking based on disclosed, adjustable factors and does not predict the outcome of any individual breaker zone.
Volume-based filtering depends on the data provider's reported volume and may behave inconsistently on instruments with limited or unreliable volume data.
As with any structure-based tool, results will vary across instruments, timeframes, and market regimes.
Notes
This indicator is a market structure analysis tool intended to organize and rank breaker block formation through a disclosed, multi-stage validation process.
All structure breaks, state transitions, breaker confirmations, and invalidations are evaluated on confirmed bar closes only, so no element of the script repaints once drawn.
The output is intended to support structural analysis and is not a standalone buy or sell recommendation.
Gösterge
