Indicator

Williams VIX Fix Elite [MarkitTick]💡 The Williams VIX Fix Elite is a comprehensive, overlay-based technical analysis system designed to bring the powerful volatility-tracking properties of the traditional Williams VIX Fix directly onto the main price chart. By synthesizing statistical volatility extremes with an array of multi-timeframe trend filters, volume confirmation parameters, and dynamic risk management plotting, this tool transcends basic observation. It provides traders with a complete, structured methodology for identifying high-probability exhaustion zones and potential market reversals while strictly managing risk.
✨ Originality and Utility
Standard volatility indicators are almost exclusively relegated to separate oscillator panes at the bottom of the chart. This traditional placement forces the user to constantly shift their visual focus, often leading to a disconnect between volatility metrics and actual price action. This indicator resolves that friction by mapping volatility exhaustion directly onto the candlesticks themselves through an intuitive color-coded heatmap.
Furthermore, the utility of this script lies in its holistic approach to signal generation. Rather than providing isolated volatility alerts, it acts as a confluence engine. It mandates that a volatility spike must be corroborated by higher timeframe trend alignment, adequate localized volume, directional momentum, and specific standard deviation thresholds before generating an actionable signal. This transforms a simple oscillator concept into a robust, chart-integrated trading framework complete with dynamically calculated risk-to-reward parameters, rendering it highly useful for both discretionary analysis and automated alert integrations.
🔬 Methodology and Concepts
● The Volatility Engine
• Williams VIX Fix (WVF)
At its core, the script calculates the Williams VIX Fix. It does this by measuring the percentage drawdown of the current bar's low from the highest closing price over a user-defined lookback period. This mathematical approach creates a synthetic volatility index that mirrors the behavioral characteristics of the CBOE VIX, where high values indicate market fear and potential bottoms.
• Statistical Bounds
To determine when the WVF has reached a statistically significant extreme, the script applies Bollinger Bands to the WVF data. It calculates a Simple Moving Average (SMA) of the WVF and plots standard deviation bands around it. A "Spike" is registered when the WVF value breaches the upper Bollinger Band or a percentile-based historical high threshold.
● Confluence Filtering
• Higher Timeframe (HTF) Alignment
The script extracts moving average data from a user-selected higher timeframe. It assesses whether the higher timeframe's closing price and dual-period EMAs exhibit a bullish or bearish hierarchy, ensuring signals are not taken against the macro-directional flow.
• Volatility and Volume Validation
A signal is only considered valid if the localized volatility, measured by the Average True Range (ATR), exceeds its historical average multiplied by a strict threshold. Additionally, the localized volume must exceed its moving average, confirming that the reversal is backed by market participation.
• Signal Execution and Risk Logic
When all conditions align (a volatility spike followed by a directional reversal candle, validated by all filters), the script locks in the signal upon the bar's close. It immediately calculates a Stop Loss utilizing an ATR multiplier and projects three Take Profit levels mathematically derived from user-defined Risk-to-Reward (R:R) ratios.
🎨 Visual Guide
● Chart Overlay Elements
• Candlestick Heatmap
The indicator repaints the standard chart candles to reflect the immediate signal bias. A confirmed Long signal colors the candlestick body, borders, and wicks in a distinct bullish hue (default teal). Conversely, a confirmed Short signal paints the candle in a bearish hue (default red). Neutral periods retain a standard gray tone.
• Dynamic Trade Levels
Upon signal confirmation, the script automatically plots horizontal lines detailing the trade parameters:
Stop Loss Line: A solid, thick line plotted below (for longs) or above (for shorts) the entry price, acting as the primary risk invalidation level.
Entry Line: A dashed line marking the exact closing price of the signal candle.
Take Profit Lines: Three sequential dashed lines representing TP1, TP2, and TP3, mapping out the reward targets.
The space between the Stop Loss and Entry is highlighted with a semi-transparent risk linefill, while the space extending toward the Take Profit targets is highlighted with a reward linefill, visually contrasting the risk against the potential payout.
● The Interactive Dashboard
A dedicated data panel is rendered on the chart (default top-right) providing real-time telemetry of the script's internal calculations.
WVF Value & Spike Level: Displays the raw volatility index number alongside a visual progress bar indicating how close the current value is to the historical threshold.
HTF & Trend Bias: Textually confirms the current macro and localized trend alignment (Bullish/Bearish).
Volume & ATR: Confirms whether current volume is above or below average and displays the exact ATR value.
R:R Ratio: A visual gauge of the current signal's risk-to-reward structure.
Cooldown Status: Displays the remaining bars before a new signal can be generated, preventing over-signaling during congested price action.
📖 How to Use
● Execution Protocol
• Step 1: Signal Identification
Wait for a colored signal candle to print on the chart. A teal candle signifies a Long opportunity, while a red candle signifies a Short opportunity. Always wait for the candle to fully close, as signals are only validated upon bar confirmation to ensure accuracy.
• Step 2: Dashboard Verification
Consult the on-chart dashboard. Ensure that the "Spike Level" gauge was heavily filled prior to the signal, and visually confirm that the "HTF Bias" and "Trend Bias" align with your intended trade direction. Verify that the "Volume" metric indicates "Above Avg" for optimal setup quality.
• Step 3: Risk Assessment
Observe the plotted trade levels. The visual linefills will immediately show you the required risk (the distance from the dashed Entry line to the solid Stop Loss line). Assess whether this required risk fits within your personal account parameters. If the ATR has expanded too aggressively, the stop loss may be too wide, and the setup should be skipped.
• Step 4: Trade Management
If the trade is entered, utilize the plotted TP1, TP2, and TP3 lines as scaling-out points. The script also includes automated JSON alert outputs designed for third-party execution platforms, allowing users to fully automate the Long, Short, and Take Profit hit actions.
⚙️ Inputs and Settings
● Core Settings
• WVF Lookback: Defines the historical period used to find the highest close for the volatility drawdown calculation.
• BB Length & BB Mult: Controls the Simple Moving Average length and the standard deviation multiplier applied to the WVF. Lowering the multiplier increases sensitivity to volatility spikes.
• Percentile HH Lookback & High % Threshold: An alternative absolute-threshold filter based on a percentage of the highest historical WVF values.
● Filters
• HTF Resolution: Select the specific higher timeframe used for the macro trend validation.
• ATR Length & Min Mult: Defines the lookback for the Average True Range and the multiplier required to validate adequate localized volatility.
• Min Spike Above BB %: A Z-score threshold ensuring the volatility spike is mathematically severe before triggering a signal.
• Volume Avg Length & Min Mult: Dictates the volume moving average parameters required for trade confirmation.
• Cooldown Bars: The mandatory resting period (in bars) between valid signals to eliminate redundant alerts.
● Trade Tools & Alerts
• SL ATR Mult: The multiplier applied to the current ATR to calculate the Stop Loss distance from the entry price.
• TP1, TP2, TP3 R-Multiple: Dictates the reward distance for target lines relative to the calculated Stop Loss risk.
• Alert Actions: String inputs allowing the user to customize the JSON payload commands sent to automated webhook services.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Behavioral Finance and Volatility Asymmetry
The underlying architecture of this indicator is deeply rooted in the academic principles of behavioral finance, specifically the asymmetry of market participant reactions. Financial markets typically exhibit a "stealth" characteristic during uptrends (low volatility, steady buying) and a "panic" characteristic during downtrends (high volatility, aggressive selling). The Williams VIX Fix capitalizes on this behavioral asymmetry by focusing exclusively on drawdowns from peak closes. By quantifying this localized panic, the script provides a mathematical representation of capitulation—a state where sell-side liquidity is exhausted, and rational market equilibrium is poised to return.
● Gaussian Distribution and Standard Deviation Anomalies
To objectively define an "exhaustion point," the script relies on the statistical concept of normal distribution. By applying a Simple Moving Average to the raw volatility data, it establishes a baseline mean of market stress. The inclusion of Standard Deviation bands (Bollinger Bands) allows the system to measure dispersion from this mean. When the volatility index breaches the upper band, it represents an anomaly—an event occurring outside the expected standard deviation threshold. Statistically, extreme deviations from the mean are unsustainable, implying an imminent reversion. This indicator isolates these rare deviations to time market entries.
● The Role of True Range in Risk Normalization
Risk management within the script is governed by the Average True Range (ATR), a concept introduced by J. Welles Wilder. The True Range accounts for absolute price movement, including gap openings, providing a more comprehensive measure of market kinetic energy than standard percentage changes. By tying the Stop Loss and Take Profit levels dynamically to the ATR, the script automatically normalizes risk across different market environments. In a highly volatile state, the ATR expands, naturally widening the stop loss to avoid premature invalidation from market noise. In a compressed state, the ATR contracts, tightening the risk parameters. This dynamic adaptation ensures that the statistical risk profile of each trade setup remains proportional to the current localized market geometry.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Effective Spread OscillatorOverview
Effective Spread Oscillator is a liquidity gauge built from price alone. It estimates the effective bid-ask spread — the real round-trip cost of trading — from open/high/low/close bars, with no quote or order-book data, then percentile-ranks it into a 0–100 read. High = a wide effective spread: thin, illiquid, stressed conditions where slippage and gaps are large. Low = a tight spread: deep, liquid, orderly trade. It is an analytical study of market liquidity and trading friction — not a directional signal and not a strategy.
Why these parts are ONE tool (mashup justification)
Liquidity is normally invisible without Level-2 data. This reconstructs it from bars and then makes it usable, in a chain where each link fixes what the previous one can't do alone:
A low-frequency spread estimator recovers the effective spread from the geometry of OHLC prices — the cost the tape hides. Two are offered: Abdi-Ranaldo (close vs the high-low mid-range) and Corwin-Schultz (consecutive high-low ranges). Negative small-sample estimates — a known statistical artefact of these methods — are floored at zero.
Percentile ranking turns an instrument-specific cost into a universal 0–100 read, so "expensive liquidity" means the same thing on an index future, a stock, or FX. A raw spread number in basis points is not comparable across symbols; a percentile is.
A liquidity-state verdict (stressed / normal / liquid) plus a widening-vs-tightening read makes it legible at a glance, which a bare number isn't.
The calibration harness then tests the well-documented link on your instrument: does a spread spike actually precede a volatility expansion? It reports the conditional hit rate against the unconditional base rate, so you see the Edge rather than assume it.
Chained, they answer one question: is liquidity stressed right now, and has that stress preceded bigger moves here?
How it works
The estimator is computed on log prices and evaluated one bar back (so no future value is referenced), averaged over a window, optionally smoothed, and percentile-ranked over a lookback into the 0–100 oscillator. A spike arms when the spread crosses into the high band; the harness then checks whether the realised range over the next horizon exceeds k × ATR × √horizon more often than the base rate. (The √horizon term keeps the base rate informative near 50% instead of saturating on intraday charts.)
How to use it
The high band (above the upper guide) is stressed / illiquid: widen stops, expect slippage and gaps, and treat breakouts with care — this is where volatility expansions cluster. The low band is liquid / orderly: tighter behaviour, cleaner fills. Use it as a risk and position-sizing context that sits behind your directional tools, and read the Edge row to see whether spread spikes have actually preceded bigger ranges on this symbol. Spikes are marked in the pane and, optionally, on the price chart. The dashboard has a Compact layout (default) and a Pro layout (estimator in use, spread in bps, spike sample, base rate). Context — never a standalone trigger.
Universal across markets
The high / low / close inputs are configurable, so it runs on any instrument and timeframe. Defaults target intraday index futures. Crucially, it needs no volume, so it also works on volume-less feeds (cash indices, spot FX) where flow-based tools cannot.
Non-repainting
The estimator is evaluated one bar back, so it never references a future value, and the calibration harness logs and resolves only on confirmed bars, so its statistics never inflate intrabar. The live oscillator value updates each bar, like any oscillator.
Originality
The spread estimators are published academic work, credited below. What's original here is the construction around them: the percentile normalisation that makes the cost comparable across instruments, the liquidity-state and widening/tightening read, the price-overlay stress marker, and — most of all — the forward-calibration harness that tests the spread-spike → volatility-expansion link against a base rate on your own symbol rather than asserting it. Clean-room implementation; no third-party code reused.
Concept credits
Serial-covariance spread estimator — Richard Roll (1984)
High-low range spread — Shane Corwin & Paul Schultz (2012)
Close-high-low spread — Farshid Abdi & Angelo Ranaldo (2017)
The current state of the art generalising this family to the full OHLC information set is the EDGE estimator of David Ardia, Emanuele Guidotti & Tim Kroencke (Journal of Financial Economics, 2024). This script implements the Corwin-Schultz and Abdi-Ranaldo estimators.
Honest limits
These are estimates of the effective spread from bar geometry, not measured quotes — accurate in aggregate, noisy bar to bar, which is exactly why a window and smoothing are used. Estimates can be small and are floored at zero in tiny samples. The Edge figures are in-sample, with overlapping forward windows and no costs — descriptive context, not a verified backtest. Nothing here predicts direction.
Disclaimer
Research and educational tool only. Not financial advice and no guarantee of profitability or accuracy. Indicators describe past behaviour; they do not predict the future. Trading carries risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability. Indicator

Keltner Position Divergence with Reliability ScoringOverview
Keltner-Position Divergence with Reliability Scoring turns where price sits inside its Keltner channel into a bounded oscillator, reads it for divergence against price, and then scores — in real time — whether those divergences have actually been worth acting on for the symbol on your chart, and which direction is carrying the edge. It is a context / research read, not a standalone buy or sell signal.
The idea
A Keltner channel frames price with an ATR envelope around a moving average. Where price sits inside that envelope — pinned to the upper band, mid, or pinned to the lower band — is a bounded read of stretch. When price makes a new high but its Keltner position does not confirm (a lower band-position high), that non-confirmation can precede a turn. This script measures the divergence between price and its Keltner position, then keeps a self-updating track record of whether such divergences pay.
Why these parts are combined (mashup rationale)
Three components form one pipeline, not three separate signals:
A Keltner-position oscillator — price's location within the ATR envelope (0 centre, +1 upper band, −1 lower band), z-scored so the bands and zones mean the same on every asset.
Confirmed-pivot divergence — regular and hidden, between that position line and price, with an optional triple-pivot mode for rarer, stronger disagreements.
A reliability harness — a binomial-proportion confidence test that asks whether each class of divergence has preceded a favourable move (a k×ATR travel over a fixed horizon) more often than a same-zone baseline, reported per direction with a Wilson confidence bound.
Part 1 builds the bounded stretch read, part 2 fires only where price and position disagree, part 3 decides whether that disagreement has actually paid on this instrument. Remove any one and the tool can no longer answer "is this Keltner divergence worth trading here?"
How to use it
Read the verdict panel first. GREEN = these divergences have beaten a same-spot baseline here; RED = they've lost to it (skip, or change the band width / timeframe); AMBER = not statistically established yet; GREY = still gathering data. "Best signal" names the direction with the strongest measured edge; "Reward : risk" is the average best-vs-worst move after a signal, in ATR. A divergence is price making a higher high / lower low while the Keltner-position line does the opposite — marked in the pane and, optionally, on the price chart. It is context, never a standalone trigger.
Settings worth knowing
The regime filter ("Only count signals in regime") restricts the track record to signals that fired in a chosen regime — reverting markets suit divergence, strong trends punish it — so you can measure the edge where it's supposed to work. Costs subtracted (×ATR) raises the bar a signal must clear so the score is net of costs. Band width, MA length and the z-score window adapt the read to any instrument.
Universality & non-repainting
It reads only the chart's own price (configurable source), so it runs on any symbol, any timeframe, with no external data. Pivots confirm a fixed number of bars after the fact, and the track-record harness logs, updates and resolves only on confirmed (closed) bars, so its statistics never inflate or shift intrabar. The live oscillator updates each bar like any oscillator. All figures are in-sample and past-only.
Outputs for other scripts
Generic EXP_* plots — oscillator, signal, probability, edge, edge lower-bound, sample count, regime, band position — are published to the Data Window for use from other scripts via input.source().
Originality
Standard Keltner tools just plot the channel. This one turns band-position into a divergence oscillator and keeps a self-updating, confidence-scored, per-class track record against a same-zone baseline — so you see not just that a divergence printed, but whether and how it has paid on the current market. Clean-room implementation; no third-party Pine code reused.
Concept credits
Keltner channel — Chester Keltner; ATR-band refinement — Linda Raschke
Average True Range — J. Welles Wilder
Binomial score confidence interval — Edwin B. Wilson
Trend-efficiency regime measure — Perry Kaufman
Disclaimer
For research and education only. Not financial advice, not a recommendation, and not a guarantee of future results. All figures are in-sample and past-only. Markets carry risk; do your own research and manage your own risk. Indicator

Stryk TrendsStryk: ATR Trends
Everything in this tool is measured in units of one master ATR. Change that one length and the whole indicator retunes together — the candle coloring, the compression reads, the reversal checks, and the trailing stop all use the same yardstick.
What it is
At the center is a composite value line: a weighted blend of seven EMAs (8 through 144) and a rolling volume-weighted average. The VWMA leans the line toward where volume actually transacted, and its window can auto-size to your chart timeframe so it covers a similar span whether you're on the 1-minute or the daily. Price tends to return to this line, and the whole tool reads price against it.
Candles color by distance from that line. Near it, they're neutral. The further price stretches away, the deeper the up or down color gets, reaching full saturation at a set ATR distance. A signal can also flip the candles to a solid color temporarily, so you can run the tool with every line hidden and still get the read from the candles alone.
The engines
Compression coil. A dedicated ATR is ranked into a percentile. When it compresses into the bottom of its range, the market is coiled. When the coil releases and price is at the same time over-extended from the composite, a fade marker prints back toward the line. One fire per release, inside a short window. A second marker can print if volume steps up afterward.
Compression release. A separate lens using Donchian width (highest high minus lowest low) ranked in the same percentile framework. When the envelope tightens and then releases, a marker prints in the direction of an ATR-normalized momentum read. This is not a Bollinger-inside-Keltner squeeze — it's built entirely in percentile space.
Reversal engine. Once price has stretched a set number of ATRs from the composite, the engine watches for the turn. It counts four independent checks: an RSI rollover, a close back inside the band around the line, a confirmed pivot, and a volume climax. When enough agree, a reversal marker prints — once per leg, and it won't re-arm until price comes back near the line. Pivots confirm after their right-side bars complete, so that check is delayed by design rather than repainting.
Whale and spike. A per-bar order-flow estimate built from close location and volume. Two whale reads fire from it: a fade of a volume spike where the delta ran against the move, and absorption — heavy delta into a bar that barely moved. Both can be gated by trend so you don't fade into a strong stretch. Bars at the extreme relative-volume threshold print a spike marker instead; the whale band sits below that threshold, so the two never fire on the same bar. The spike is an attention marker, not a directional call.
ATR trailing stop. A ratcheting volatility stop, either always on or armed by a coil fire. The default runs a tight 3/3 configuration as the real line, with a wider manual configuration drawn faintly beside it as a reference. The stop's ATR can be pulled from a higher timeframe, lookahead-off.
Volume participation. A volume EMA normalized 0 to 100 against its own recent range. Fifty is average. The extremes tint the background and the value sits in the status box.
Status box. One table on the chart reports every active engine on the last bar — stop side and level, compression stage, last reversal with its confluence count, last release, whale scenario, last spike, and participation. Rows light up when fresh and dim after a few bars. Every row can be toggled and the layout can run stacked or horizontal.
How I use it
Candle color is the base read. The coil and release tell me volatility compressed and which way it resolved. The reversal and whale engines flag exhaustion at the stretched edges. The trailing stop manages the rest. Each engine is independent — turn off what you don't use.
Originality
The rolling VWMA is the plain public-domain construction, sum(price x volume) / sum(volume), implemented directly with no external library. The compression framework — ATR-percentile coil plus Donchian-width release, scored in one percentile system — is original construction. Native built-ins only. Non-repainting on closed bars: higher-timeframe requests are lookahead-off on confirmed values, and alerts are meant for once-per-bar-close.
Notes
Built for standard candles only. The volume engines need a symbol with real volume, and the whale delta is an estimate from bar structure, not exchange order-flow data. This is an analysis tool, not advice, and it doesn't predict anything.
Indicator

Indicator

AlgoZ Pro Price ActionAlgoZ Pro Price Action is a clean price action based forex indicator built to help traders identify potential Buy, Sell, and Exit areas using a combination of market structure, trend filtering, volatility logic, and dynamic trade management.
This indicator is designed around the idea that not every trade needs to have a high win rate to be useful. Instead of only looking for quick scalp targets, AlgoZ Pro Price Action is built to manage trades with a runner-style approach. The goal is to cut weak trades faster, protect trades that start moving in the right direction, and allow stronger moves to continue when momentum is present.
The default settings are best suited for 1-minute EUR/USD forex trading. Other forex pairs and timeframes may work differently and should be tested before use.
The indicator uses market structure breaks to identify possible directional shifts. When price breaks key internal support or resistance levels, the script checks multiple filters before plotting a signal. These filters are designed to reduce low-quality signals during chop, weak momentum, or overextended conditions.
AlgoZ Pro Price Action includes Buy, Sell, and Exit labels directly on the chart. Buy signals are shown in teal, Sell signals are shown in pink, and Exit signals are shown in a neutral color. The bars can also be colored based on the active signal direction so it is easier to visually track the current market bias.
One of the main parts of this indicator is the trend lock system. The trend lock helps prevent the indicator from flipping back and forth too quickly during noisy market conditions. It uses EMA trend structure, slope behavior, and confirmation bars to decide whether the market is currently favoring Buy-side or Sell-side continuation. Countertrend signals must be stronger before they are allowed through, which helps reduce random reversal signals during an active move.
The indicator also includes automatic forex pair adjustment. It detects whether the chart is a JPY pair or a non-JPY forex pair and automatically adjusts pip size calculations. This helps prevent issues where a stop or exit calculation is too tight or too wide because of the symbol’s price format. The script also includes auto volatility tuning, which uses ATR-based logic to scale stop size, runner triggers, trailing stop distance, dead-trade protection, and cooldown behavior based on the current pair’s movement.
Trade management is handled through a dynamic exit engine. Instead of using only fixed take profit levels, the indicator uses runner logic. Once a trade moves far enough in profit, the trade can enter runner mode. From there, the script can move the stop, protect profit, and trail the trade if the move continues. This allows stronger trades to breathe while still giving the indicator a way to exit when momentum fades.
AlgoZ Pro Price Action also includes dead-trade protection. If a trade has been open for a certain number of bars and has failed to make meaningful progress, the script can plot an Exit signal. This is designed to help remove weak trades that are not moving enough to justify staying in them.
The indicator includes several optional filters and controls, including EMA trend filtering, ADX strength filtering, chop filtering, candle body quality filtering, minimum EMA separation, price distance from the slow EMA, overextension protection, post-exit cooldown, and emergency protection logic.
Main features include:
• Buy, Sell, and Exit labels
• Teal and pink AlgoZ Pro visual theme
• Price action and market structure based signals
• Internal support and resistance break logic
• Optional BOS / CHoCH structure markings
• EMA trend filtering
• ADX trend strength filter
• Chop and range filter
• Candle quality filter
• Trend lock system
• Countertrend signal protection
• Auto pip size detection
• Auto adjustment for JPY and non-JPY forex pairs
• ATR-based auto pair tuning
• Dynamic stop logic
• Runner-style trade management
• Breakeven / profit lock logic
• Trailing stop logic for stronger moves
• Dead-trade exit protection
• Optional bar coloring
• Optional entry and stop lines
• Optional status table
Recommended default use:
1-minute EUR/USD forex chart.
Other forex pairs and timeframes may require adjustment depending on spread, volatility, session, and market conditions. Indicator

DJT Strategy - The Art of the DipWHAT THIS IS
A satirical — but mechanically honest — volatility-event mean-reversion strategy for index charts (ES, SPX, SPY, NQ...). It trades one hypothesis, known to Wall Street as the TACO trade ("Trump Always Chickens Out"): when a policy Announcement detonates the VIX, the sell-off is usually walked back within days — a "90-day pause," a "very productive call," a clarification that the tariffs apply primarily to penguins. The dip, having been artisanally manufactured, is bought.
The jokes are in the labels. The engine underneath is a real VIX-spike fade with staged exits, and every decision is lookahead-clean.
HOW IT WORKS — ENTRY (Chaos Detection)
• Covfefe Threshold — VIX trades ≥ 12% (default) above YESTERDAY'S CONFIRMED daily close. Not today's repainting value — yesterday's close is final data the moment today begins.
• Flash Tantrum — fast intraday VIX rate-of-change (default 8% over 6 bars) to catch the 2:37 PM post that ends four decades of trade policy in under 280 characters.
• Minimum VIX floor (default 18) — below this the market is not scared, it is merely golfing.
• Vol-curve confirmation (default ON) — requires VIX9D > VIX. Genuine event panic inverts the front of the volatility curve: 9-day vol pricing above 30-day is the fingerprint of a real scare. If the curve isn't inverted, even the market doesn't believe the post, and the signal is skipped. This is the filter that separates an actual tantrum from a slow-drift vol day.
When everything aligns, the strategy goes long the chart symbol at the next bar open.
HOW IT WORKS — EXITS (the TACO Protocol, staged like the walk-back itself)
• GREAT CALL — the first reassuring headline: VIX Δ falls back under 8% (default) → take half the position off.
• CONCEPTS OF A PLAN — VIX reverts to within 4% of yesterday's close: a Framework of a Concept of a Deal has been reached → close the rest.
• YOU'RE FIRED — fixed stop loss (default 1.5%). Sometimes he does not, in fact, chicken out. This is the apology budget.
• DECLARE VICTORY — fixed profit target (default 2.5%). Exit into strength and take credit for the bounce you predicted after it happened.
• NEWS CYCLE EXPIRY — time stop (default 78 bars ≈ one full RTH session on 5m). After one news cycle, a newer, more beautiful crisis replaces this one and the edge is gone.
EXTRAS
• Escalation sizing — at FULL COVFEFE (2× the spike threshold) the position gets the BIGLY multiplier. Peak fear is peak walk-back probability. This is either alpha or a margin call; many people are saying both.
• Post-trade cooldown so a single escalating tweetstorm can't chain entries.
• RTH-only entries (default ON), plus an optional "Prime Posting Hours" filter (cable-news breakfast block + post-lunch Executive Time).
• "Believe Me" mode (default OFF) — experimental fade of VIX-crush euphoria, for days when everyone believes The Deal is real this time.
• ♟️ 4D CHESS MODE — reverses every signal, for users who believe there is, in fact, a plan. Exits are direction-aware, so the joke is mechanically sound. If this mode outperforms, please tell no one.
• CHAOS-O-METER™ dashboard — live chaos grade from 🏌️ GOLFING to 🚨 FULL COVFEFE, vol-curve status, a factory-floor "DAYS SINCE LAST TANTRUM" safety sign (resets constantly, as is tradition), deal accounting (Deals made / Fake news / Deals honored: TBD), net P&L denominated in $TRUMP at a peg of your choosing, and a Sharpe ratio readout that is simply THE BEST RATIO.
• 🗽 Liberation Day (April 2) is marked annually — heightened tantrum risk, observed like a holiday, because it is one now.
NO REPAINTING / NO LOOKAHEAD
The reference VIX level is yesterday's confirmed daily close, pulled with the standard non-repainting pattern (close of the daily feed with lookahead on — final the moment today starts). Signals are evaluated on confirmed chart-timeframe bars and orders fill at the next bar open. Everything the strategy decides is knowable at decision time — which is more than can be said for the policy it trades.
HOW TO USE
• Chart: an index or index future (ES1!, SPX, SPY, NQ1!...). Intraday timeframes; defaults tuned around 5m.
• Both vol symbols are inputs — swap in VXN for NQ, or your regional vol index pair for non-US indexes.
• Strategy properties: $1,000,000 initial capital (sized for index futures notional), 2 contracts per trade by default (so the half-off scale-out has a half; at the default 1.5% stop on ES this risks roughly 1% of equity per trade), $4.50/contract commission, 1 tick slippage. margin_long/margin_short are explicitly 0 — Pine v6's default of 100 silently rejects futures entries whose notional exceeds capital; if you fork this for leveraged instruments, keep that line.
DISCLAIMER
This is satire with a working strategy attached, published for education and entertainment. The VIX spikes are, regrettably, real; the edge may not be. Backtest results on manufactured dips do not guarantee future walk-backs. Not financial advice — frankly, it barely qualifies as advice.
Strategy

Pump-and-Dump / Volatility Spike FlagPump-and-Dump / Volatility Spike Flag flags abnormal single-candle volatility — not the manipulation scheme, but the classic sharp-spike-then-reverse price shape that shows up around news events (frequently seen on MCX crude oil and silver).
HOW IT WORKS
A candle is flagged only when two conditions occur together: its true range (which includes gap-opens) expands well beyond its rolling ATR, AND its volume expands well beyond its rolling average. Flagged spikes are tracked for a short window afterward — if price closes back through that candle's open before the window expires, it is separately flagged as a "Fade," indicating the initial move has started reversing.
HOW TO USE
Use the Spike flag as an early heads-up that a candle is statistically abnormal for current conditions. Use the Fade flag as the more actionable signal — it confirms the spike has already started giving back its move. This is an informational/analytical tool, not a buy or sell signal, and should be combined with your own risk management and market context.
LIMITATIONS
ATR and volume averages are backward-looking, so the first spike after a long quiet period needs a relatively larger move to trigger. This is a single-candle geometry and volume-shape detector — it cannot identify why a move happened (news, order-flow, or otherwise), and it does not predict direction after the fade.
DISCLAIMER
For educational/informational purposes only. Not financial advice. Past performance does not guarantee future results. Trade at your own risk and always use proper risk management. Indicator

Regime Classifier [RC Tools]RC Tools — Regime Classifier
─────────────────────────────────────────────────────────────
█ OVERVIEW
Most indicators assume a single market condition and quietly fail in another. This tool doesn't generate signals — it tells you which of four market regimes you are currently in, so you can judge whether your existing tools are operating in conditions that suit them. It is a context tool, not a decision tool.
█ WHAT IT DOES
Classifies each confirmed bar into one of four states and colours the chart background accordingly:
• Trending — Expansion: directional, volatility rising
• Trending — Exhaustion: directional, volatility compressing
• Ranging — Quiet: no direction, low volatility
• Ranging — Volatile: no direction, high volatility (chop)
A table (top-right by default, repositionable) shows the current regime, how long price has been in it, and historical base rates — the average forward return and win rate seen after each regime, going back over the chart's full history.
█ THE THEORY BEHIND IT
Market behaviour is not stationary. A trend-following tool that performs well in directional expansion will bleed in volatile chop; a mean-reversion tool does the reverse. Rather than attempting to fix any single indicator, this tool identifies which environment you are in, using two independent dimensions — directionality and volatility state — that measure genuinely different properties of price behaviour rather than two correlated views of the same one.
█ HOW IT IS CALCULATED
DIRECTIONALITY — Efficiency Ratio over N bars:
ER = |close − close | ÷ Σ|close − close |
Bounded 0–1. A value near 1 means price travelled almost directly from A to B (trending); near 0 means it wandered (ranging). No fitted parameters beyond the lookback. The Efficiency Ratio was introduced by Perry Kaufman as the core input to his Adaptive Moving Average (KAMA); it is used here purely as a directionality measure, independent of any moving average.
VOLATILITY STATE — realised volatility, percentile-ranked:
RV = stdev(log(close/close ), N)
RV is then ranked as a percentile against its own trailing distribution (default: 750 bars, ≈3 years on daily). An absolute volatility threshold is meaningless across assets — percentile ranking makes the classification behave identically on BTC, gold and equities with no parameter tuning.
The two dimensions are crossed to yield the four states. Classification occurs ONLY on confirmed bar close — the background never updates mid-bar and then flips back.
The base-rate table works by recording, for every historical bar, the forward N-bar return and whether it was positive, attributed back to whichever regime was active N bars earlier. Only fully-elapsed, already-known returns are used — nothing is looked up ahead of the current bar.
█ SETTINGS & CONFIGURATION
• Efficiency Ratio Lookback (default 20) — shorter = more responsive, noisier
• Realised Volatility Lookback (default 20)
• Percentile Ranking Window (default 750 bars ≈ 3 years daily) — longer = more stable, needs more history
• Directionality Threshold (default 0.35) — the ER above which price is considered trending
• Volatility Percentile Threshold (default 50) — the split between low and high volatility states
• Forward Return Window (default 20 bars) — the horizon used for the base-rate table
• Table position and background colours are fully configurable; the main-chart background painting can be toggled off if you only want the diagnostic pane
█ HOW TO USE IT
Use it as a filter on your existing process, not as an entry trigger. Example: if you run a breakout system, check whether it has historically performed in Ranging — Volatile; if not, consider standing aside when the background flags that state. Example: a mean-reversion system will typically show its worst results in Trending — Expansion.
Works on any asset and timeframe with sufficient history for the percentile window. Best used on daily and above, where regime persistence is greatest.
█ LIMITATIONS
This tool classifies the PRESENT. It does not predict the future, and any use of it as a forecast is a misuse.
• Regime identification is backward-looking by construction. The tool will confirm a regime change several bars AFTER it occurred. This lag cannot be removed without curve-fitting or repainting, and has not been.
• Classification is unstable near threshold boundaries; expect flickering between states when ER or volatility percentile sit close to the cut-offs.
• The percentile ranking requires substantial history. On assets with short histories, the ranking is unreliable and the tool should not be trusted.
• The base-rate table's early entries are built on fewer samples than its later ones — treat statistics as provisional until a state has accumulated a meaningful sample count.
• Four states is a deliberate simplification of a continuous reality. Markets do not actually occupy discrete regimes.
• This script does NOT repaint. All classification is computed on confirmed bar close only.
█ DISCLAIMER
For educational and informational purposes only. Nothing here is financial advice. Past behaviour of any market regime does not indicate future results. Trade at your own risk.
Indicator

Options Buyer's Edge WeeklyOverview
Options Buyer's Edge — Weekly is a decision-support panel for the weekly index option buyer. Most option tools chase directional "smart-money flow," but on retail-dominated weeklies that flow is largely uninformed — so the durable edge for a buyer isn't direction, it's the premium environment you actually pay for: is implied volatility cheap or rich, is it expanding or crushing, how hard is theta biting toward expiry, and where is the pin magnet pulling price. This script auto-builds an ATM strike ladder for the current weekly, reads the option tape directly, adds a skew-gated directional layer, and then tests every call it makes against your own history. It is a context-and-timing map for buying premium — not a signal generator.
Why these components are ONE tool (mashup justification)
This is a deliberate dependency chain, not a stack of independent indicators. Each layer answers a question the previous one leaves open, and the buyer needs all of them to price what they're doing:
IV / straddle state (primary). The buyer's number-one enemy is paying rich premium into a crush. The ATM straddle gives an IV proxy (percentiled so "rich/cheap" is relative to this instrument's own history) and its slope tells you whether IV is expanding (tailwind) or crushing (bleed). A second read, Prem vs RV, compares that implied vol against realized vol — the variance-risk-premium — so "rich" means rich relative to what the market is actually delivering, not just rich in the abstract.
Theta clock (primary). Premium decays non-linearly into expiry. The panel converts hours-to-weekly-expiry into an escalating decay zone (Normal → Elevated → High → Extreme) so you know when time decay alone makes a long option a bad trade regardless of direction.
Pin magnet (primary). Option volume concentrates at a strike that price tends to gravitate toward near expiry. The tool finds the max-volume strike and draws it — the level a buyer is fighting against.
Underlying character (confirming). Futures basis pulse and India VIX behaviour describe whether the underlying move carries conviction or is unwinding — a cross-check on the directional read.
Directional flow (secondary, gated). A delta-weighted signed CE/PE buyer-pressure imbalance, gated by option skew and trusted only when the calibration Edge for it is positive. Directional option flow predicts returns mainly from informed traders and reverses at longer horizons; on retail weeklies it may be noise — so it earns trust from measured Edge, never from assertion.
The calibration harness (the honesty layer). Two forward tests run continuously: an underlying test (did a strong directional read actually precede a k×ATR move, versus the unconditional base rate?) and a thinner option-outcome test (did the ATM option gain the target % over the horizon?). Both resolve only on confirmed bars, and both are shown as Hit / Base / Edge so you can see whether any layer is carrying information on your instrument right now.
Remove any one layer and the buyer is flying on premium they can't price. The straddle is a picture; theta and pin are mechanics; flow is a hypothesis; the harness is the proof.
How it works
The ATM strike is anchored from spot at the start of the calculation window and held constant (Pine can't mint new option symbols per bar, and request symbols must be fixed, not per-bar series). A ±3 ladder of CE/PE symbols is auto-built for the weekly expiry and each leg's price and volume are requested; invalid or illiquid strikes simply return nothing and are ignored. From the ladder the tool derives the straddle and IV proxy, the IV slope, volume PCR, the pin strike, an OTM skew read, and the delta-weighted buyer-pressure imbalance. Futures basis and India VIX add the underlying-character read, and an optional lower-timeframe slice (the finest your plan serves) sharpens it.
How to use it
Read the guidance panel top to bottom: the verdict (CE-buyable / PE-buyable / Avoid–crush or decay / Wait), the premium environment (IV cheap/rich, expanding/crushing), Prem vs RV, VIX behaviour, the theta zone, the pin, PCR, and the two Edge readings. Lean toward buying premium in a direction only when the environment is supportive and the theta zone isn't extreme. The flow-side (Option) Edge tells you whether the directional layer is working here; if it's near zero, ignore the flow and lean on IV / theta / pin. Everything is descriptive context — it never tells you to trade.
Plan-adaptive & data note
Intrabar precision auto-selects the finest slice your plan serves (seconds on Premium+, else 1-minute, else chart bar) and every stream is na-safe — any leg or feed your plan or the market doesn't serve simply contributes nothing, and the panel shows live leg coverage (x/14). The tool needs an underlying with real option data; on a symbol without it, the legs read empty. It is fully self-contained (nothing exported), so the whole request budget serves accuracy.
Non-repainting & honesty
The script works on confirmed closed bars with no higher-timeframe lookahead, and both calibration harnesses log and resolve only on confirmed bars, so their statistics never repaint intrabar. Important limits, stated plainly: NSE exposes no per-strike option OI, no tick tape and no greeks to scripts, so IV, skew and delta here are OHLCV proxies and flow is a buyer-pressure proxy. Option streams are session-anchored — re-add the script if spot travels more than ~2 strikes (a drift warning fires). The option-outcome Edge is inherently thin because a weekly contract lives only ~5 days; the underlying Edge matures faster. All Edge figures are in-sample, forward-measured at a fixed horizon, with no costs — a study aid, not a backtest.
Originality
The building blocks are public: volume-concentration (pin/max-pain) analysis, put-call flow, value-area logic, the ATM-straddle implied-volatility approximation, and the variance-risk-premium comparison. What's original is the integration for the buyer specifically — the auto-built weekly ATM ladder read directly off the option tape, the skew-gated directional layer that is trusted only on measured Edge, and the dual forward-calibration harness (underlying + option-outcome) that scores every call against its own base rate. This is a clean-room implementation; no third-party script code is reused.
Concept credits
ATM-straddle → implied-volatility approximation — Brenner & Subrahmanyam
Variance-risk-premium framing (implied vs realized vol) — standard volatility-research technique
Pin / max-pain volume concentration, put-call ratio, value-area analysis, option skew — standard public options techniques
Disclaimer
Research and education only. Not financial advice, no recommendation, no guarantee. Options carry the risk of total loss of premium, and time decay works against buyers. The Edge figures are in-sample with no costs and do not predict price. Test out-of-sample and make your own decisions. The author accepts no liability for any use of this script. Indicator

Opening Range Breakout ORB - Signals, Targets & Alerts [LunqFX]The Opening Range Breakout (ORB) is one of the most traded intraday strategies — but most ORB indicators only draw the opening range box and leave you guessing. This Opening Range Breakout indicator goes further: it marks the opening range, detects the first genuine breakout, filters fakeouts, projects measured-move targets, and — uniquely — builds a live breakout statistics engine from the last 100 trading days of the symbol on your chart.
What makes this ORB indicator different
Instead of a static box, you get a data-driven read on how your market actually behaves after the opening range:
First-break direction split — how often the day breaks up vs down
Hold rate — how often the first breakout direction holds into the close
Fakeout rate — how often the first breakout fails back inside the range
Target hit rates — how often price reaches 1x and 2x the opening-range height
So before you take the trade you can see, for example, that on this symbol the upside breakout holds into the close 62% of the time and the 1R target is reached on 48% of breakout days.
How the opening range breakout is calculated
Auto mode works on every market with zero setup. The opening range starts at each day's open of the symbol's own exchange — stocks at the 09:30 session open, crypto at the 00:00 UTC daily open, forex and futures at their session open — and lasts a chosen number of minutes (the classic 5-minute, 15-minute or 30-minute ORB). A Custom mode lets you define any session window, such as the London or New York open.
When the opening-range window closes, the range high and low are locked and projected forward as levels.
The first candle close beyond the range (or wick, if you prefer) is treated as the breakout. Targets are projected at 1x and 2x the range height in the breakout direction.
A close back inside the range before the first target is reached is flagged as a fakeout. A breakout that reaches 1R first and only then returns is counted as a valid breakout, not a fakeout.
At the end of each trading day the outcome is recorded — direction, hold, fakeout, targets — and the dashboard percentages are plain rolling hit rates. No repainting, no curve fitting.
How to use it
Breakout day trading: trade the first breakout with more context — use the hold rate to judge whether the break on your symbol is worth taking, and size your target from the 1R / 2R hit rates.
Fakeout fade: when a symbol shows a high fakeout rate, the failed breakout back inside the range is often the better setup; the fakeout is marked in real time.
Range-quality filter: the dashboard shows the opening range as a multiple of ATR, so you can skip abnormally small ranges that tend to break out randomly.
Works on any symbol and any intraday timeframe (1m–15m recommended): index futures and CFDs (NAS100, SPX500, US30, NQ, ES), stocks and ETFs (SPY, QQQ), gold (XAUUSD), Bitcoin and crypto, and forex majors.
Dashboard
A clean on-chart panel shows today's live status (building range → inside range → breakout → target hit or fakeout), the opening-range high/low and its size in ATR, and the full statistics block with the sample size always visible.
Settings
Auto anchor (any market, zero setup) or fully custom session window with timezone control — 5 / 15 / 30-minute ORB or any session open
Close-based or wick-based breakout logic
Adjustable target multiples, rolling statistics window, and visuals
Alerts for range locked, breakout up, breakout down, fakeout, target 1 and target 2
Optional gradient momentum candles that can be switched off
No repainting
The opening range is fixed the moment its window closes. Breakouts, fakeouts and targets are confirmed on closed bars only, and the statistics are built exclusively from completed trading days — never recalculated backwards.
This indicator is an educational market-analysis tool, not financial advice. Historical statistics describe past behavior and are not a guarantee of future results. Always confirm with your own analysis and manage your risk.
Indicator

Breakout Confluence Score█ OVERVIEW
Breakout Confluence Score is an indicator designed to filter breakouts from consolidation by evaluating the overall market context before generating a signal.
The core assumption of the indicator is that not every breakout from consolidation has the same value. In practice, the success rate of a breakout depends on many independent factors such as market direction, trend strength, momentum, participant activity, and the quality of the consolidation itself.
Instead of treating every breakout equally, the indicator analyzes a series of independent market elements and assigns each of them a specific number of points. The final result creates the so-called Confluence Score — an assessment of how well multiple factors support a given breakout.
Only after reaching the minimum required score is a LONG or SHORT signal generated.
This approach significantly reduces the number of weak breakouts that appear during choppy price action, while still offering full configuration flexibility. Every scoring element can be individually enabled, disabled, or assigned its own point weight.
In addition to generating signals, the indicator also serves as a tool for ongoing market evaluation. The built-in scoring table shows the current status of all conditions even before a breakout occurs, allowing the trader to observe whether market conditions are gradually improving or deteriorating.
An integral part of the indicator is also the Signal Tester, which enables quick evaluation of the historical performance of the signals without the need to create a separate PulseWire strategy. The tester was designed as a tool for assessing signal quality rather than as a full backtesting engine. This allows it to offer several capabilities that are difficult or impossible to achieve in classic strategies.
All modules of the indicator can operate independently, which means Breakout Confluence Score can be used as a simple breakout detector, a consolidation analysis tool, a market condition evaluation system, or a complete trade signal filter.
█ CONCEPTS
Most breakout indicators assume that every breakout from consolidation has similar chances of success.
In reality, the market does not work that way.
Price constantly moves through phases of trend, accumulation, distribution, and choppy movements without a clear direction. Two almost identical-looking breakouts can lead to completely different outcomes solely because of different market conditions.
That is why Breakout Confluence Score separates the signal generation process into two independent stages:
• detection of the breakout,
• evaluation of the quality of market conditions supporting that breakout.
A signal appears only when both conditions are met.
Building Consolidation and Boxes
The foundation of the indicator is automatic consolidation detection.
Consolidation begins when a defined number of consecutive candles remain inside the High-Low range of the base candle. The first candle that meets this condition defines the boundaries of the entire consolidation zone.
Its high becomes the upper boundary of the box, while its low defines the lower boundary. As long as every subsequent candle stays inside this range, the consolidation continues and the box is gradually extended to the right with each new candle.
As a result, a visual equilibrium zone appears on the chart, showing the area where neither buyers nor sellers have yet gained a clear advantage.
Consolidation ends in one of three cases:
• price breaks above the upper boundary of the box,
• price breaks below the lower boundary of the box,
• consolidation lasts too long and exceeds the maximum allowed number of candles.
Optionally, the indicator can also prevent a new consolidation from starting after a candle with an exceptionally large range. For this purpose, it uses ATR calculated before the analyzed candle, so a single large impulse cannot artificially inflate the volatility threshold and facilitate the creation of a new consolidation zone.
Why the Breakout Alone Is Not Enough
A breakout from consolidation does not automatically mean a good trading opportunity.
Very often breakouts occur:
• without clear momentum,
• against the dominant trend,
• on low volume,
• during a weak trend,
• without real buying or selling pressure.
Technically these are valid breakouts, but statistically their success rate tends to be much lower.
For this reason, the indicator does not evaluate only the fact of the breakout itself, but also the entire market environment in which it occurs. In practice, this means that two identical breakouts can receive completely different point scores. It is the scoring system that determines the quality of the signal.
Scoring and Market Context Evaluation
The purpose of scoring is to determine the current market situation as accurately as possible.
The breakout itself only informs that price has left the consolidation zone.
Scoring answers a much more important question:
“Does the market have sufficient conditions to continue the move after the breakout?”
Each scoring element analyzes a different aspect of market behavior.
Thanks to this, the final score is not based on a single indicator, but represents a combination of multiple independent sources of information.
EMA – Trend Direction
The Price vs EMA condition determines the dominant market direction.
If price is above the EMA, the LONG side receives an advantage.
If price is below the EMA, the SHORT side receives an advantage.
EMA is therefore responsible for identifying the dominant trend.
EMA Slope – Trend Development
The mere location of price relative to the EMA does not yet tell us whether the trend is developing actively.
That is why the slope of the average is also analyzed.
A rising EMA indicates a developing uptrend.
A falling EMA indicates a developing downtrend.
EMA Slope is responsible for assessing the quality and direction of trend development.
RSI – Momentum
RSI is used as a momentum indicator.
It is not used here to find overbought or oversold zones.
Its task is to assess which side of the market currently has greater strength.
RSI above 50 supports LONG signals.
RSI below 50 supports SHORT signals.
RSI is responsible for evaluating current market momentum.
ADX – Trend Strength
ADX measures the strength of the move regardless of its direction.
A high ADX value means the market is moving in a decisive and orderly manner.
A low ADX value indicates the lack of a clear advantage for either side.
ADX is responsible for assessing trend strength.
Volume – Market Participant Activity
Volume allows evaluation of whether increased participant activity stands behind the breakout.
Breakouts that occur on above-average volume are generally more reliable than breakouts that occur during low activity.
Volume is responsible for assessing market interest.
Body Size – Strength of the Breakout Candle
A large body of the breakout candle indicates a decisive advantage of one side of the market.
If the candle body is clearly larger than the average of recent candles, the breakout receives additional points.
Body Size is responsible for evaluating the strength of the breakout impulse itself.
Zone Tightness – Market Compression
Not all consolidations have the same value.
The narrower the box relative to the current ATR, the higher the probability that the market is in a compression phase preceding a stronger move.
Zone Tightness is responsible for assessing the quality and compression of the consolidation.
Duration Premium – Maturity of Consolidation
Longer consolidations often lead to more decisive breakouts.
Therefore, the indicator additionally rewards zones that have lasted for a sufficient amount of time.
Duration Premium is responsible for assessing the maturity of the consolidation.
Live Market Analysis
Scoring does not work only at the moment of breakout.
The scoring table analyzes all conditions in real time, even before a signal appears.
This allows the trader to observe how the market situation is changing and which side of the market is gradually gaining an advantage.
In practice, the indicator becomes not only a signal system, but also a tool for continuous evaluation of the current market environment.
Signal Tester
The Signal Tester was designed as a quick tool for evaluating the quality of generated signals.
It is not a full backtesting engine like PulseWire Strategy and its results should not be treated as an accurate simulation of real trading.
A simplified operating model was deliberately used because it enables functionalities that are difficult or impossible to achieve in classic strategies.
The tester can simultaneously maintain multiple positions, manage LONG and SHORT trades independently, and — depending on the settings — allow simultaneous opening of positions in both directions. It can also block new entries until the previous position is closed or reject signals that appear too close to already open trades.
Each position receives its own Entry, Take Profit, and Stop Loss levels calculated based on ATR, which makes it possible to quickly compare different scoring configurations without building a full strategy.
The tester’s results are calculated conservatively.
If both the Take Profit and Stop Loss levels could have been reached during a single candle, the tester always assumes that the Stop Loss was hit.
Because the real sequence of price movements inside a single candle is unknown, this approach deliberately underestimates rather than overestimates the results. This effect becomes especially visible with small TP and SL distances, for example 0.5 ATR, where both levels can very often be reached within one candle. The smaller the TP and SL values relative to ATR, the more conservative the tester’s statistics will be.
The tester also does not account for commissions, spreads, or slippage. Therefore its results should be treated as a tool for comparing signal quality and optimizing indicator settings, not as an accurate simulation of real trading results.
█ FEATURES
Consolidation
* Minimum number of candles in consolidation – Minimum number of consecutive candles required to recognize a consolidation zone
* Show consolidation zones – Enables/disables drawing of consolidation boxes on the chart
* Show breakout signals – Enables/disables display of breakout signals (triangles and/or score labels)
* Remove box if breakout did NOT produce a signal (score < threshold) – Automatically removes the box if the breakout did not reach the minimum scoring threshold
* Display signals as – Choose signal display style: triangles only, labels only, or both
* Maximum number of candles in consolidation (0 = no limit) – Maximum duration of consolidation — after exceeding it the box is closed without generating a signal
Candle Size Filter
* Block consolidation start on oversized candle – Prevents starting consolidation after a candle with a very large range
* Max candle range (high-low) × ATR – Threshold for candle size (multiple of ATR calculated before the candle)
Scoring - General
* Minimum score for a signal (weighted sum) – Minimum required Confluence Score to generate a signal
Scoring - Candle Body
* Average body period – Period used to calculate average candle body size
* Signal body multiplier (body > avg × mult) – Multiplier for required body size of the breakout candle
* Condition weight: large body – Point weight of the large body condition
Scoring - ADX
* ADX — period (DMI) – Period of the ADX indicator
* ADX — minimum value – Minimum ADX value required to award a point
* Condition weight: ADX – Point weight of the ADX condition
Scoring - EMA
* EMA — period (trend) – Period of the EMA used for trend evaluation
* Condition weight: price vs EMA – Point weight of the price vs EMA condition
* Condition weight: EMA direction (slope) – Point weight of the EMA slope condition
Scoring - RSI
* RSI — period – Period of the RSI indicator
* Condition weight: RSI – Point weight of the RSI above/below 50 condition
Scoring - Volume
* Volume — average period – Period used to calculate average volume
* Volume — multiplier (vol > avg × mult) – Multiplier for required volume on breakout
* Condition weight: high volume – Point weight of the high volume condition
Scoring - Consolidation Structure
* Zone tightness: max (top-bottom)/ATR – Threshold for zone width relative to ATR (compression)
* Condition weight: zone tightness – Point weight of the zone tightness condition
* Premium: extra candles above minimum – Additional number of candles above minimum required for duration premium
* Condition weight: duration (premium) – Point weight of the duration premium condition
Table
* Table position – Position of the scoring table on the chart
* Table text size – Text size in the scoring table
Colors
* Bullish Color (Long) – Color used for LONG elements
* Bearish Color (Short) – Color used for SHORT elements
* Neutral Color – Color used for neutral elements / no signal
Signal Tester (TP/SL)
* Enable signal tester – Enable/disable the signal tester
* Tester — ATR period – ATR period used by the tester
* Tester — Take Profit × ATR – Take Profit distance in ATR multiples
* Tester — Stop Loss × ATR – Stop Loss distance in ATR multiples
* Block new signals while a position is open – Block new signals until the previous position is closed
* Block signals too close to an existing position – Filter for minimum distance between signals
* Min. distance between signals × ATR – Minimum distance (in ATR) between signals in the same direction
Signal Tester - Table
* Tester table position – Position of the tester statistics table
* Tester table text size – Text size in the tester statistics table
Signal Tester - TP/SL Visualization
* Show TP/SL levels on chart – Display Entry / TP / SL levels on the chart
* Level line width – Width of TP/SL level lines
* Show risk/reward zone fill – Fill color for risk and reward zones
█ APPLICATIONS
The main task of the indicator is to evaluate the quality of the breakout by analyzing the confluence of multiple independent market factors (trend direction and strength, momentum, volume, impulse strength, zone compression, and consolidation maturity). A LONG or SHORT signal is generated only when the total score exceeds the set threshold.
Thanks to this approach, the indicator effectively eliminates a large portion of weak and false breakouts that occur in low-confluence conditions.
The scoring table operates in real time — even before a signal is generated — and allows the trader to observe how a potential opportunity is gradually building up (or falling apart). This is especially useful for early detection of moments when the market begins to meet more and more conditions favorable for a breakout.
The built-in Signal Tester enables quick and convenient comparison of different scoring configurations without the need to write a separate strategy. It allows checking in just a few seconds how changing weights or thresholds affects the historical performance of the signals.
The indicator achieves the best results when used together with support and resistance zone analysis. For example, opening a long position directly under strong resistance is generally not advisable, while a long signal aligned with a support zone usually produces significantly better results. Similarly, short signals appearing near resistance tend to be more effective than those generated without reference to key levels.
The indicator works best when combined with support and resistance analysis.
█ NOTES
* Each of the eight scoring conditions can be independently enabled or disabled by setting its weight to 0.
* The scoring table shows the current market state in real time — it can be used even when signal generation is disabled.
* The Signal Tester operates in conservative mode: if both TP and SL could have been reached on the same candle, it always counts it as a loss. This approach deliberately underestimates results to provide a more realistic picture.
* The tester does not account for commissions, spreads, or slippage — it serves only for comparing signal quality and optimizing settings.
* All modules of the indicator (consolidation detection, scoring, table, tester, TP/SL visualization) can operate completely independently.
* Very long consolidations exceeding the “Maximum number of candles” limit are automatically closed without generating a signal to avoid outdated zones.
* The best results are achieved when the indicator is used together with support and resistance zone analysis. Long signals near support and short signals near resistance are generally significantly more effective. Indicator

Rally Leader Screener (2x Market)Rally Leader Screener (2x Market) — with Resisting-Weakness Flag
What it does
This indicator is built for the Pine Screener and identifies stocks demonstrating institutional-grade relative strength in two distinct market regimes:
Rally Leaders — After a market correction, the first stocks to rally 2x (or more) the index's move during the initial 6–7 session bounce are frequently the emerging leaders of the new uptrend. This tool automates that measurement: it pulls the benchmark index return over your chosen lookback window and flags any stock whose return is at least a user-defined multiple of the index return.
Resisting Weakness — When the market is flat or declining over the lookback window, the "Leader" logic correctly stays silent (there is no rally to lead). Instead, a second flag identifies stocks that are rising strongly despite market weakness — a classic early sign of accumulation and often the leader list of the next cycle.
Concept
The methodology draws on well-known momentum research (O'Neil, Minervini): true market leaders declare themselves in the first days of a new rally by outrunning the index by a wide margin, and/or by refusing to decline while the broad market corrects. This script quantifies both behaviors.
Screener columns
Stock Return % — the stock's return over the lookback window
Nifty Return % — the benchmark's return over the same window (default NSE:NIFTY, changeable to any index)
RS Multiple — stock return ÷ index return; shown only when the index return is positive (a ratio against a negative or near-zero denominator is meaningless, so it displays blank)
Leader — 1 when the index return is positive AND the stock's return ≥ (multiple × index return), plus liquidity/trend filters
Resisting — 1 when the index return is ≤ 0 AND the stock is up by at least the user-set minimum, plus the same filters
Ret Spread % — stock return minus index return; an all-weather relative-strength column that remains valid in up, down, and flat markets, useful for sorting when RS Multiple is blank
Inputs
Rally lookback (sessions): default 7 — match this to the actual length of the bounce
Leadership multiple: default 2.0 (the "2x the market" rule)
Benchmark index: default NSE:NIFTY; set to any index matching your watchlist universe
Minimum price and 20-day average volume: liquidity filters
Optional filters: close above 50 SMA, and up-day requirement
Resist flag minimum return %: threshold for the weak-market flag (default 5%)
How to use
Add the script to favorites, open Pine Screener, and select a watchlist (e.g., a broad index universe).
During/after a 6–7 day market rally: filter Leader == 1, sort by RS Multiple descending, and save the top names as a fixed watchlist. The intended workflow is to trade setups only within that list for the following weeks rather than re-scanning continuously.
During corrections or flat markets: filter Resisting == 1, sort by Ret Spread % descending, to build a pre-watchlist of stocks under accumulation.
Names appearing on both lists across a correction→rally sequence historically carry the highest leadership probability.
Notes
Designed for the daily timeframe.
This is a screening/ranking tool, not a buy/sell signal generator. Entries and exits should be based on your own setup criteria and risk management.
Works on any market — change the benchmark symbol to match (e.g., SPX for US stocks). Indicator

Martingale Range Breakout# Martingale Range Breakout
**Martingale Range Breakout** is a session-based breakout and flip-tracking indicator designed to study range expansion behavior after a defined range.
This script builds a custom time-based range, tracks breakout direction, monitors flip attempts, and displays live trade-state data with rolling performance stats directly on the chart.
---
## Core Concept
The indicator creates a range from a selected session window.
By default, the range is built from:
**8:00 AM – 8:50 AM New York Time**
Once the range locks, the script watches for price to break above or below the range.
* Break above the range = **Long Active**
* Break below the range = **Short Active**
* If price reverses and breaks the opposite side, the script counts that as a **flip**
* If price reaches the full range extension before 4 flips, it marks the setup as a **WIN**
* If the setup reaches 4 flips, it marks the setup as a **LOSS**
---
## Martingale Flip Logic
This indicator is based on a Martingale-style flip model.
The idea is that when a breakout fails and price flips to the opposite side of the range, the next position size is increased to help recover the previous failed attempt.
Example position sequence:
* Flip 1: **1 contract**
* Flip 2: **2 contracts**
* Flip 3: **4 contracts**
* Flip 4: **Loss**
Each flip represents the market failing in one direction and then triggering the opposite side of the range.
The goal of the Martingale model is for the final successful breakout to recover the previous failed flips and still finish the sequence in profit.
The table tracks the current trade state and flip count, allowing traders to see what stage of the Martingale sequence the setup is currently in.
---
## Visual Range Boxes
The script draws two clean visual zones on the chart.
**Yellow Box**
Shows the original session range.
**Green Box**
Shows the full expansion zone based on the range size.
The final target levels are calculated as:
* Buy final target = **Range High + Full Range Distance**
* Sell final target = **Range Low - Full Range Distance**
This makes it easy to see both the breakout levels and the final expansion targets.
---
## Live Trade State Tracking
The table displays the current setup condition in real time.
Possible states include:
* **WAITING**
* **LONG ACTIVE**
* **SHORT ACTIVE**
* **WIN**
* **LOSS**
The table also shows the current flip count, helping traders quickly identify how many times the setup has reversed.
---
## Built-In Rolling Statistics
The indicator tracks the last selected number of completed setups and displays performance data inside the chart table.
Stats include:
* Last N trade count
* Wins and losses
* Rolling win rate
* Rolling R total
* Average winning range size
* Average losing range size
* Current range size
* Win sample count
* Loss sample count
* Average minutes to win
* Average minutes to loss
The rolling sample size can be adjusted in the settings.
---
## Breakeven Win Rate Requirement
This model uses a negative-risk-reward structure, meaning each win is smaller than each full loss.
The R Total calculation is based on:
* Win = **+0.14285R**
* Loss = **-1R**
Because each full loss is much larger than each win, the system needs a very high win rate to be profitable.
The approximate breakeven win rate is:
**87.5%**
That means the strategy must win more than **87.5%** of completed setups to show positive expectancy under this model.
* Below **87.5% win rate** = negative expectancy
* At **87.5% win rate** = around breakeven
* Above **87.5% win rate** = positive expectancy
This is why the rolling win-rate tracker is important. It helps traders quickly see whether the most recent sample is performing above or below the required profitability threshold.
Even though the Martingale flip model can create a high win rate, the full loss is much larger than the average win. Because of that, risk management is extremely important.
---
## R-Multiple Model
The R Total section helps estimate whether the recent rolling sample is profitable based on the script’s fixed reward-to-risk model.
Instead of only showing win rate, the script also calculates the overall R performance across the selected sample.
This helps traders avoid focusing only on a high win rate and instead evaluate whether the system is actually profitable after accounting for the larger full-loss event.
---
## Customizable Settings
You can adjust:
* Session start hour
* Session start minute
* Session end hour
* Session end minute
* Rolling trade sample size
* Show or hide the stats section
* Table position:
* Top Right
* Middle Right
* Bottom Right
---
## Best Use Case
This indicator is best used as a visual research tool for traders studying:
* Morning range breakouts
* Range expansion behavior
* Flip-based entry models
* Martingale-style recovery logic
* High-win-rate breakout systems
* Negative-risk-reward models
* Breakeven win-rate requirements
* Time-to-outcome behavior
* Rolling sample performance
---
## Important Risk Notice
This is an indicator only. It does not place trades automatically and should not be considered financial advice.
Martingale-style systems can increase risk quickly because each failed flip requires a larger position size. While the model may recover losses when the breakout eventually succeeds, the downside can become large when multiple flips fail.
A system like this does not only need to win often — it needs to win enough to overcome the size of its losses. Under this model, that means maintaining a win rate above approximately **87.5%**.
Always test thoroughly, use proper risk management, and understand the full risk before applying any strategy live.
Indicator

Indicator

ORB Engine | ANONYCRYPTOUSORB Engine | Anonycryptous
Description & user manual
Why this indicator is different
The opening range is one of the most studied concepts in intraday trading, and for good reason. The first fifteen minutes after a major session opens concentrates the most institutional activity of the day. Breakouts from that range, followed by a retest of the level, are among the most statistically consistent setups available on lower timeframes.
The problem is execution. Most opening range tools stop at the box. They draw a high and low, and leave the trader to figure out the rest: when to trade, how to confirm direction, where the liquidity sits, how to time the entry. That gap between the concept and a usable trade is where most ORB approaches fall apart in practice.
The ORB Engine closes that gap. It does not just draw a box. It tracks the full sequence from formation through confirmation through entry, enforces a discipline around when trades are allowed, maps the session liquidity levels that the price is most likely to target or react from, and scores each setup against five confluence criteria before a signal fires. The result is a complete framework for opening range trading that works across instruments and timeframes.
Important notice
The ORB Engine generates visual states based on price structure, volume confirmation, session timing, and liquidity context. These states are not financial advice. They do not predict future price movement. They do not guarantee profitability. All trading decisions are made entirely by the user. Always manage your own risk. Always apply your own judgment.
1. Overview
The ORB Engine is an overlay indicator that combines opening range detection, breakout confirmation, three entry modes, session liquidity mapping, and a five-point confluence scoring system into a single framework. It is designed for intraday scalping and day trading on any instrument and any timeframe below one hour.
What it includes:
- Opening range box (configurable start and end times) with high, low, and midpoint lines
- Wait period enforcement that blocks entries until the active window opens
- Master toggle to disable the wait period entirely for pure ORB breakout use
- Volume-confirmed breakout detection, active as soon as the box closes
- Three entry modes: midpoint retest, breakout retest, and immediate
- Stop loss and take profit lines (1:1, 1:2, 1:3) drawn on entry
- Trade close detection: dashboard and background reset when stop or final target is hit
- Session liquidity engine with live (dotted) and locked (solid) levels for Asia, London, and NY sessions
- Previous session levels with automatic P. prefix labeling
- Vertical session boundary lines at each session open and close
- Five-point confluence score shown in the dashboard
- Status background coloring: red during wait period, green after entry fires
- Full timezone support: all time inputs in the user's chosen UTC offset
- Dashboard with all live trade and session context
- Nine alert conditions
2. Core concepts
2.1 The opening range box
The box captures the high and low of a configurable time window at the start of the active trading session. The default is the first fifteen minutes of the New York session (14:00-14:15 Amsterdam / 08:00-08:15 New York), which concentrates the most institutional activity of the intraday day. The box is drawn as soon as it closes, with a solid high line, a solid low line, and a dotted midpoint line that extends as the session progresses.
The box range is shown in the dashboard. A narrow box suggests tight price discovery. A wide box suggests early volatility and may require a wider stop if trading it directly.
2.2 The wait period
Breakouts in the first sixty to ninety minutes after a major open are frequently false. Institutional players test liquidity in both directions before committing. The wait period blocks entries from firing until a configurable time, defaulting to 15:30 Amsterdam / 09:30 New York, when the first significant volume wave of the day typically confirms direction.
Critically, breakout direction is still tracked during the wait period. If price breaks above the box high at 14:30 and the wait ends at 15:30, the system already knows the direction is bullish when the active window opens. The entry trigger then watches for the configured retest from that point, without waiting for a new breakout signal.
The wait period can be disabled entirely with the master toggle. With it off, the entry triggers are active immediately after the box closes, which is useful for strategies that do not rely on the NY open timing.
2.3 Entry modes
Three entry modes cover the main ways traders approach ORB setups.
Midpoint retest: the most conservative mode. After a confirmed breakout, the indicator waits for price to pull back to the box midpoint, close on the correct side of it, and then fires the entry signal. This mode is best when the session shows clear reversion behavior after the initial breakout impulse.
Breakout retest: waits for price to retest the box boundary itself (high for a bull breakout, low for a bear breakout) after the initial breakout bar, and fires on a candle that touches the level and closes on the breakout side. This mode suits trending sessions where price breaks cleanly, pulls back briefly to the level, and then continues.
Immediate: fires directly on the confirmed breakout candle. If the breakout happened during the wait period, the entry fires on the first bar of the active window. This is the most aggressive mode and is appropriate when the trader expects strong directional continuation without a pullback.
2.4 Breakout confirmation
A breakout is not registered on a close outside the box alone. The breakout candle's volume must exceed the average volume by a configurable multiplier (default 1.3x). This filters breakouts driven by thin participation, which are more likely to fail on the retest. The volume average and multiplier are both adjustable.
2.5 Stop loss and take profit
The stop loss is placed beyond the opposite side of the box, with a small ATR-based buffer. The buffer multiplier is configurable, allowing tighter or wider placement depending on the instrument and timeframe.
Take profit targets are calculated at 1:1, 1:2, and 1:3 risk-to-reward ratios from the entry level, each toggleable independently. All active levels are drawn as dashed lines from the entry bar and labeled on the chart. The dashboard shows the price levels for active targets.
When the stop is hit or the final active take profit is reached, the dashboard resets to a neutral state. The chart lines remain as a visual record.
2.6 Retest timeout
The retest modes have a configurable bar-count timeout. If price does not return to the required level within that number of bars after the active window opens (or after the breakout, if the wait period is off), the setup expires. The dashboard shows the expired state. The default is 100 bars, which on a 1-minute chart is 100 minutes and on a 5-minute chart is roughly eight hours, so adjust this per timeframe and strategy.
3. Session liquidity engine
3.1 Why session levels matter
Price does not move randomly between sessions. The high and low of the Asia, London, and NY sessions represent pools of resting orders: stops clustered above highs, stops clustered below lows. These are the levels institutional flow targets first. A breakout above the ORB box that is also pushing toward an untested session high is a very different proposition from a breakout into empty space.
The ORB Engine maps these levels automatically and keeps them visible across the session, so the confluence between the ORB setup and the nearest liquidity pool is always visible at a glance.
3.2 Live and locked levels
While a session is in progress, the indicator draws dotted lines for the developing high and low. These lines update in real time as new extremes are set within the window. If price sweeps through what was the high at 03:00 before London has closed, the dotted line moves up immediately, reflecting the new developing high. This prevents the missed sweep problem where a level was set early and then exceeded without the chart updating.
When a session closes, the dotted lines are replaced by solid locked lines. These represent the final confirmed high and low of that session.
3.3 Tested and untested levels
Once a session closes, its levels are tracked for mitigation. If price returns to a locked level and wicks through it, the level is marked as tested by fading to a configurable transparency. It does not disappear. Tested levels can act as re-entry points or warn that a previous pool has been cleared. The untested level count in the dashboard tells you how many unmitigated levels are still active on the chart.
3.4 Previous session levels
When a new session begins, the previous session's locked levels are relabeled with a P. prefix (e.g., P.Asia.H, P.NY.L) immediately at the start of the new session, not when it closes. This makes it immediately clear which levels are current and which are historical. The show previous day toggle controls whether one additional day of locked levels is retained alongside today's.
3.5 Vertical session lines
Vertical lines mark the open and close of each session window in the session's color. Style (solid or dotted) and width are configurable. The lines appear only for the current day and are cleaned up automatically at the next session start.
4. Confluence score
The dashboard shows a five-point confluence score for the current setup, displayed as a bar-style meter (▰▰▰▱▱) with the numeric value alongside. The five criteria are:
1. Box formed: the opening range has closed and the high, low, and midpoint are locked.
2. Volume confirmed: the breakout candle exceeded the volume threshold.
3. Liquidity bias consistent: the breakout direction aligns with the nearest untested session level in that direction (e.g., a bull breakout with an untested high above is a stronger setup than a bull breakout with no untested level overhead).
4. Retest within time: the entry fired before the timeout expired.
5. Risk-to-reward viable: the stop distance is within a configurable multiple of the box range, confirming the setup is not overextended.
A score of 3 or above indicates a setup where multiple factors are confirming each other. A score of 1 or 2 means fewer criteria are met and the setup carries more uncertainty. The score updates live.
5. Timezone and session configuration
All time inputs in the ORB Engine are entered in the user's own timezone. Set your UTC offset once in the Timezone group at the top of the settings, and then enter box start, box end, active window start, session end, and all session liquidity windows in your local clock time. The indicator converts everything to New York time internally.
The dashboard shows a live local clock (Now), the box and active window times in your timezone (Box / Active), and the current UTC offset in the row label so the conversion is always visible.
This design means users in Amsterdam, Dubai, Singapore, or New York all configure the same indicator the same way, in the time they think in, without manually calculating offsets.
6. Status background coloring
The chart background changes state with the setup:
- No background: before the box forms, or after the session ends.
- Red tint: the box has formed and the wait period is active. Entries are blocked.
- Green tint: an entry has fired and the trade is active.
The background colors, their transparency, and whether they are shown at all are individually configurable. The default transparency is high enough to not obscure the candles.
7. Dashboard reference
The dashboard updates on every bar and shows:
Box Status - forming, formed, or —.
Box Range - the distance between the box high and low in ticks.
Wait Status - waiting with remaining minutes, active, disabled, or —.
Breakout - bull, bear, or none.
Entry Mode - the currently selected entry mode.
Midpoint Retest / Breakout Retest / Entry Trigger - the retest status: waiting, fired, expired, or —.
Entry - long, short, or —.
Confluence Score - the five-point bar meter and numeric value.
TP Levels - price levels for each active take profit target, or — if no trade is open.
Session / Untested - the current session name and the count of untested liquidity levels.
Now (UTC offset) - the current local clock time in the configured timezone.
Box / Active - the box window and active window start times in local time.
8. Alerts
Nine alert conditions are available:
- Bull breakout: a volume-confirmed close above the box high.
- Bear breakout: a volume-confirmed close below the box low.
- Long entry signal: a long entry trigger has fired.
- Short entry signal: a short entry trigger has fired.
- Long stop loss hit: the long trade stop has been reached.
- Short stop loss hit: the short trade stop has been reached.
- Long final TP hit: the long trade reached the final active take profit.
- Short final TP hit: the short trade reached the final active take profit.
- Near untested liquidity level: price is within a configurable ATR distance of an untested session level.
9. How to use
9.1 Basic workflow
Set your timezone. Enter the box and session times in your local clock. The wait period defaults to the New York 09:30 open equivalent in your timezone, which is when the most reliable ORB confirmations historically occur.
Let the box form. The dashboard shows the forming state during the box window and transitions to formed when it closes. The box range gives you an immediate read on how much price discovery happened.
Observe the breakout. The system detects breakouts as soon as the box closes, even during the wait period. The dashboard shows the breakout direction and a dot appears on the breakout candle. With the wait period on, the background turns red and entries are blocked.
Wait for the active window. When the wait period ends, the background stays neutral and the entry trigger activates. Depending on the entry mode, it is now watching for a midpoint touch, a boundary retest, or it already fired immediately at the open of the active window.
Check the score. A confluence score of 3 or above with a clean entry signal in the context of a nearby untested session level is the strongest combination the system can produce.
9.2 Entry mode selection
Use midpoint retest on sessions that show clear pullback behavior after the initial breakout impulse. Use breakout retest on sessions that trend strongly but pause briefly at the broken level before continuing. Use immediate when price is moving fast and a retest is unlikely, or when you want to be positioned as early as possible in the active window.
9.3 Session levels as context
Before entering any signal, check which session levels are nearby. An entry directly into an untested opposite-side level is likely to stall or reverse at that level. An entry away from all untested levels, in the direction of the next unmitigated pool, is a cleaner setup. The dashboard untested count and the live chart lines give you this context without any additional tools.
9.4 Illustrative bull scenario
Educational example only. Not a trading recommendation.
The opening range forms between 14:00 and 14:15 with a 20-point range. At 14:35, a candle closes above the box high on 1.6 times average volume. The breakout is confirmed as bull, and the wait period background turns red. At 15:30 the active window opens. Price is still above the box high and the midpoint retest mode is active. At 15:42, price dips back to the midpoint, wicks it, and closes above. The entry fires long. Score is 4/5: box formed, volume confirmed, retest in time, and RR viable. The NY.L below is the nearest untested level, well below the stop, so it is not a concern. TP1 is hit 18 minutes later.
9.5 Illustrative bear scenario
Educational example only. Not a trading recommendation.
A narrow 12-point box forms and breaks below the low at 14:28 on heavy volume. The breakout retest mode is selected. The wait period holds entries. At 15:30, price is trading 30 points below the box low. The system begins watching for a pullback back to the box low. At 15:44, price rallies back to the box low, taps it, and closes below. Short entry fires. Score is 3/5. Stop is placed above the box high with ATR buffer. TP2 is reached before the session ends.
10. Settings reference
Timezone: UTC offset selector for all time inputs and the dashboard clock.
Opening range box: start hour, start minute, end hour, end minute (all in local timezone), box color, box fill transparency, max box history in days.
Wait period: enable toggle, active window start hour and minute, session end hour and minute.
Entry settings: breakout volume multiplier, volume average length, retest timeout in bars, ATR length, stop loss ATR buffer, TP 1:1/1:2/1:3 toggles, SL/TP line projection in bars.
Session liquidity: show toggles for Asia, London, and NY with individual start and end times, colors, tested level transparency, line extend bars, show previous day toggle, label text size, show session vertical lines toggle, vertical line style and width, proximity alert toggle and ATR distance.
Confluence score: maximum risk-to-reward sanity check multiplier.
Dashboard: show toggle, position, text size.
Visualization: wait period background show, color, and transparency; entry active background show, color, and transparency.
11. Known limitations
The ORB Engine is designed for sessions that produce a directional move after the opening range. It performs best when the market has a clear bias — a breakout in one direction that holds and then retests cleanly before continuing.
In choppy, sideways price action, the indicator will produce repeated stop loss hits. If the opening range is narrow and price oscillates around the box boundaries without committing to a direction, a breakout in one direction can be followed immediately by a breakout in the opposite direction. Because the system locks breakout direction on the first confirmed move, subsequent reversals are not re-evaluated as a new setup within the same session. The result in choppy conditions is typically one or two stop loss hits before the session ends without a valid directional move.
This is not a flaw in the indicator — it reflects the reality that opening range strategies depend on directional follow-through. On days where the market is consolidating at the session open, no ORB approach will perform well. The confluence score provides some protection: a score below 3 indicates fewer confirming factors and may warrant sitting on the sidelines. The session liquidity levels can also help — if there is no clear untested level in the breakout direction, the setup has no obvious target and the probability of follow-through is lower.
The volume confirmation filter reduces false breakouts in thin conditions, but it does not eliminate them on highly volatile instruments where even noise candles can exceed the volume threshold. On assets with very low liquidity, the breakout volume multiplier should be raised above the default 1.3 to filter more aggressively.
On very low timeframes such as 1-minute charts, the retest timeout in bars covers fewer minutes. A timeout of 100 bars on a 1-minute chart gives 100 minutes of window. Adjust the timeout per timeframe to reflect how long a valid retest can realistically take on the instrument you are trading.
12. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document or in the indicator output constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital. Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator.
Indicator

Trend Indicator A + VWAP Band 3 CanNew York Session VWAP with Dynamic Deviation Bands
Overview
This indicator is specifically designed for intraday traders looking to capitalize on the high volatility, volume, and momentum generated during the New York market session open. By combining the Volume Weighted Average Price (VWAP) with customizable deviation bands, this tool helps traders identify key institutional liquidity pools, dynamic support/resistance levels, and high-probability mean-reversion or breakout setups.
Key Features
Session-Optimized Logic: Tailored to track price action accurately around the New York opening bell (15:30 CET / 14:30 CET winter time), filtering out low-volume pre-market noise.
Dynamic Deviation Bands: Multi-layered bands act as volatility-adjusted overbought and oversold zones, adapting instantly to sudden market expansions.
Intraday Precision: Ideal for scalping and day trading highly liquid instruments such as market indices (NAS100, US30) and commodities (XAUUSD).
How to Use & Trade Setup
Mean Reversion (The Fade): Look for price exhaustion at the outer deviation bands during the initial New York open rush. A rejection candle at these extremes often signals a high-probability retracement back to the VWAP baseline.
Trend Following (The Breakout): If price breaks and closes decisively outside the first deviation band with strong volume during the first hour of the NY session, it often validates a strong institutional trend.
VWAP Cross: Use the central VWAP line as a dynamic bias filter. Trading above the VWAP indicates bullish sentiment, while trading below indicates bearish control.
Disclaimer: This indicator is for educational and analysis purposes only. Always combine technical indicators with strict risk management and a defined trading plan. Indicator

Indicator

Kurdistani Bitcoin Spiral - Historical Logarithmic VisualizationKurdistani Bitcoin Spiral — Live Historical Logarithmic Visualization
Overview
Bitcoin Spiral is an interactive visualization of Bitcoin's complete historical price evolution, displayed as a logarithmic spiral.
Each calendar year corresponds to one full revolution around the center, while the distance from the center represents price on a logarithmic (log10) scale. This allows more than sixteen years of Bitcoin history to be explored within a single, compact chart.
Although logarithmic spiral representations of Bitcoin have appeared as static illustrations for years, this indicator brings the concept to PulseWire as a fully interactive Pine Script implementation with live updates, configurable visualization layers, and efficient rendering.
This indicator is intended for historical exploration, education, and visual analysis. It is **not** a forecasting model, does **not** predict future prices, and does **not** generate buy or sell signals.
---
Features
• Complete Bitcoin history from the 2009 Genesis Block through the present in a single spiral.
• Historical Halving events displayed as ring-and-dot markers.
• Major cycle bottoms highlighted with diamond markers.
• Historical All-Time Highs shown as comet-style trails that illustrate each rally into its peak.
• Live **Now** marker using `request.security()` with a user-selectable data source (default: Bitstamp:BTCUSD).
• Optional real-time continuation connecting the curated historical backbone to the latest market price.
• Current calendar year highlighted with an eased radial gradient wedge.
• Logarithmic price grid from **$1** to **$1M**.
• Eight year spokes with four emphasized calendar axes.
• Fully configurable colors, visibility, density, line widths, glow effects, and background.
• Compact legend matching the actual marker shapes used on the chart.
---
How It Works
The indicator is generated from a manually curated historical backbone consisting of approximately one hundred reference keyframes.
Each keyframe stores an approximate historical time and price.
For any intermediate date, price is calculated using logarithmic interpolation between the two nearest keyframes. The lookup uses binary search over the sorted keyframe table, providing efficient O(log n) performance.
Each *(time, price)* pair is converted into polar coordinates:
* **Angle** represents the position within the calendar year.
* **Radius** represents the logarithm of price.
The resulting coordinates are transformed into PulseWire chart coordinates using `polyline.new()`, `line.new()`, and `label.new()`.
When the historical backbone ends, an optional live continuation extends the visualization using the latest available daily close from the selected market symbol.
For performance reasons, the historical visualization is rendered only once. During realtime updates, only the live marker, live continuation, and (if applicable) a new live ATH marker are updated.
---
Curated Data vs Live Data
### Curated Historical Data
The following elements are manually maintained and remain fixed until the script is updated:
* Historical spiral
* Halving markers
* Major cycle bottoms
* Historical ATH markers
* ATH run-up trails
These elements are derived from the embedded historical keyframe dataset.
### Live Data
Only the following components update with incoming market data:
* Live "Now" marker
* Optional live continuation
* Live ATH marker (when price exceeds the latest curated ATH)
No historical data is modified or overwritten.
---
Reading the Spiral
The spiral is designed to emphasize Bitcoin's long-term structure rather than day-to-day price fluctuations.
* Angle indicates where a point falls within its calendar year.
* Radius represents price on a logarithmic scale.
* Equal radial spacing represents equal percentage changes rather than equal dollar changes.
* The highlighted wedge identifies the current calendar year.
* ATH comet trails visualize the acceleration leading into historical market peaks.
The chart is intended to help explore long-term market structure, historical cycles, and price evolution—not to predict future market behavior.
---
Engineering Notes
Version 5 focuses primarily on architecture, performance, and maintainability.
Key improvements include:
* Binary-search price lookup replacing linear scans.
* Unified marker rendering through a single reusable function.
* Centralized logarithmic radius mapping.
* Improved eased radial gradient for the current-year wedge.
* More maintainable rendering architecture for both static and live objects.
The historical dataset currently remains embedded inside the script.
The preferred long-term architecture is to publish the dataset as a separate Pine Library and import it into the indicator. The current implementation is already organized so that such a migration would require changes only within the data section.
---
Current Pine Script Limitations
Some visual behaviors are limited by the current Pine Script rendering engine rather than by the indicator itself.
These include:
* Perfect zoom-independent circular geometry is not possible because the horizontal axis is based on bar indices while the vertical axis represents price values.
* Pine Script does not provide access to viewport dimensions, zoom level, or aspect ratio, preventing automatic geometric correction.
* No visible-range API exists for dynamic label placement or clipping.
* Objects using `xloc.bar_index` cannot be positioned more than approximately 500 bars into the future, limiting outward label placement.
These are platform limitations rather than implementation limitations.
---
Future Development
Possible future improvements include:
* Migrating the historical dataset into a dedicated Pine Library.
* Extending the curated historical backbone as Bitcoin continues to evolve.
* Automatic cycle-bottom detection if a reliable forward-looking methodology becomes available.
* Additional structural refinements as Pine Script evolves.
---
Usage
Every visual layer can be enabled or disabled independently, including:
* Grid
* Year spokes
* Current-year wedge
* ATH markers
* Bottom markers
* Halvings
* Legend
* Background
* Glow effects
Colors, line widths, density, and the live data source are fully configurable.
---
Disclaimer
This indicator visualizes Bitcoin's historical price evolution using a logarithmic spiral coordinate system.
It is intended solely for visualization, historical exploration, and educational purposes.
It does **not** predict future prices, does **not** imply future cycle repetition, and should **not** be used as the sole basis for investment or trading decisions.
Past market behavior, including historical cycle geometry, is **not** indicative of future results. Indicator

Indicator

Indicator
