Market Bottom Finder [Quantum Algo]Market Bottom Finder
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ OVERVIEW
Market Bottom Finder is a capitulation detector. It watches for the moment panic selling exhausts itself โ the fear spike, the final violent flush, the volume climax, the long rejection wick โ and marks that bar as a graded bottom candidate directly on your chart.
The engine is built on the Williams Vix Fix, the classic synthetic fear gauge, and extends it with four additional independent witnesses: an accumulated-stretch pressure integral, momentum-exhaustion analysis, a volume climax filter, and oscillator divergence. The more witnesses agree, the higher the grade โ and a five-witness alignment prints as a gold Capitulation marker.
What makes this tool different from every other bottom indicator is accountability: every marker SETTLES. A fixed number of bars after it prints, each marker is recolored by what actually happened โ solid if price held above the detected low, faded if it failed. Your chart displays the tool's genuine historical hit rate at all times. No hindsight highlight reel is possible, because the failures stay visible.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ WHAT IS A MARKET BOTTOM?
A durable market bottom is rarely a quiet event. It is usually a capitulation: the point where fearful holders finally surrender, selling accelerates into a climax, and the supply of panic sellers runs out. The signature is consistent across markets and decades โ a spike in the fear gauge, unusually fast downward movement that suddenly decelerates, climactic volume, and a candle that dives deep and closes far off its low.
This indicator formalizes that signature into measurable conditions and requires several of them to align at once.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ WHAT IS THE WILLIAMS VIX FIX?
The Vix Fix, created by Larry Williams, synthesizes a volatility-index-style fear reading from price alone: it measures how far the current low has fallen from the highest close of the recent window. When that distance expands violently, fear is spiking โ on any symbol, including those with no options market and no published volatility index.
This script extends the classic gauge with an adaptive threshold: a spike is defined as the gauge exceeding a high percentile of its own recent history, so the definition of "extreme fear" recalibrates automatically to every symbol, timeframe and volatility regime.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ WHY IS THIS ORIGINAL?
1. Adaptive fear threshold. Fixed trigger levels fail across symbols; this gauge defines extremity from the symbol's own distribution.
2. Snapback Pressure. An accumulated-stretch integral, inspired by the action-integral form used in physics as a modeling device: the longer and deeper price stays extended below its long-term average, the more the pressure charges toward one hundred percent. A single red candle barely moves it; sustained capitulation charges it fully. Bottoms require charged pressure โ depth AND duration, not depth alone.
3. Witness grading. Fear extremity, volume climax, wick rejection, oscillator divergence and high pressure are counted as independent witnesses. Grades are shown as diamonds on every marker; five or more prints a gold Capitulation.
4. Settling markers. Every marker resolves into its real outcome after a fixed window, in public, on the chart. The tool grades its own homework.
5. Two-horizon statistics. The dashboard reports how often detected bottoms held after ten and after thirty bars โ computed on your exact chart, shrunk toward neutral at small samples, with Wilson lower bounds available. Each new marker's tooltip quotes the historical hold rate at the moment it prints.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ HOW IT WORKS
โ The fear gauge is computed each bar and compared against its adaptive percentile threshold; spikes paint a translucent fear wash on the chart.
โ Downward momentum is measured in Average True Range units; a bottom requires a genuinely violent arrival that has begun decelerating.
โ The pressure integral accumulates while price is stretched below its long-term average and decays quickly once it re-enters.
โ When a fear spike, exhausted momentum and charged pressure coincide, a bottom candidate prints and is graded by the remaining witnesses.
โ After the settle window, the marker is recolored by outcome, and the ten- and thirty-bar results feed the statistics panel.
All detection happens on confirmed bars. Markers do not repaint; a settled marker never changes again.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ HOW TO USE IT
โ As a context tool: the fear wash and pressure row tell you when conditions for a durable low are building, before any marker prints.
โ As a confirmation layer: combine a Capitulation marker with your own support levels, volume profile or higher-timeframe structure rather than acting on it in isolation.
โ Grade discipline: the gold five-plus-witness Capitulations are historically the events worth the most attention; single-diamond bottoms are early warnings, not conclusions.
โ Read your chart's own statistics first: the Held rows tell you how this exact symbol and timeframe has responded historically.
โ Works on all markets โ crypto, stocks, indices, forex โ on timeframes from 1H to Weekly. Mirror top detection is available as an optional toggle.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ SETTINGS
โ Fear Gauge: lookback, adaptive threshold window and percentile, chart wash toggle.
โ Bottom Detection: minimum momentum, minimum pressure, volume climax level, cooldown, settle window, markers kept, optional top mirror.
โ Statistics: sample cap, minimum samples, shrinkage strength, Wilson z-score.
โ Full color and dashboard customization.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ ALERTS
โ Fear Spike โ the gauge crossed its adaptive threshold.
โ Bottom Detected โ fear, exhaustion and charged pressure aligned.
โ Capitulation (Grade A) โ five or more witnesses aligned.
โ Top Detected โ mirror logic, when enabled.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ FAQ
Q: Does it repaint?
A: No. Detection uses confirmed bars only, and settled markers are permanent. The settling recolor is the tool honestly reporting an outcome, not a signal changing.
Q: Does it catch every bottom?
A: No, and it is not designed to. It detects capitulation-style bottoms โ the panic-flush signature. Slow, quiet rounded bottoms without a fear spike will not qualify. Requiring the full signature is what keeps the marker meaningful.
Q: Why did a marker print and price still went lower?
A: Because no bottom detector is right every time โ and this is the only one that shows you exactly how often it is right, on your chart, via the settled markers and the Held statistics. Capitulation events historically cluster near durable lows; they do not guarantee them.
Q: What do the Held percentages mean?
A: The share of past detected bottoms after which price was higher ten and thirty bars later, on the current symbol and timeframe. Small samples are shrunk toward fifty percent so early numbers cannot overstate the edge. They describe history; they are not predictions.
Q: Which settings should I change first?
A: The Fear Spike Percentile (higher = rarer, stronger events) and the Minimum Snapback Pressure (higher = demands more sustained capitulation).
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ CREDITS
The Vix Fix synthetic fear gauge is by Larry Williams. The Relative Strength Index and Average True Range are by J. Welles Wilder Jr. (1978). The pressure integral follows the action-integral form of Wentzel, Kramers and Brillouin (1926), used strictly as a modeling device. The Wilson score interval is by Edwin B. Wilson (1927). The adaptive threshold, witness grading engine, settling audit, per-symbol statistics and all code in this script are original work โ no third-party or open-source script code was reused.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ LIMITATIONS
โ Capitulation detection identifies panic exhaustion; it cannot identify news-driven regime changes or slow structural declines.
โ Statistics describe the current chart's history only; past frequencies never guarantee future outcomes.
โ On illiquid symbols, volume-based witnesses are less reliable.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ถ DISCLAIMER
This indicator is a research and charting tool provided for educational purposes. It is not financial advice, and nothing it displays is a recommendation to buy or sell any asset. Trading involves substantial risk of loss. Always do your own analysis and manage risk responsibly. 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

Indicator

Indicator

Indicator

Indicator
