Volatility Forecast/*==============================================================================
Volatility Forecast — Publishable Documentation
Author: @BB_9791
License: Mozilla Public License 2.0
WHAT THIS INDICATOR SHOWS
- A daily volatility estimate in percent points, called sigma_day.
- A slow volatility anchor, the 10-year EMA of sigma_day.
- A blended volatility series in percent points:
sigma_blend = (1 − p) * sigma_day + p * EMA_10y(sigma_day)
where p is the Slow weight %, default 30.
- Optional annualization by multiplying by 16, this is a daily-to-annual
conversion used by Robert Carver in his writings.
METHODOLOGY, CREDIT
The estimator follows the approach popularized by Robert Carver
("Systematic Trading", "Advanced Futures Trading Strategies", blog qoppac).
Current daily volatility is computed as an exponentially weighted standard
deviation of daily percent returns, with alpha = 2 / (span + 1).
The slow leg is a long EMA of that volatility series, about 10 years.
The blend uses fixed weights. This keeps the slow leg meaningful through
large price level changes, since the blend is done in percent space first.
MATH DETAILS
Let r_t be daily percent return:
r_t = 100 * (Close_t / Close_{t−1} − 1)
EWMA mean and variance:
m_t = α * r_t + (1 − α) * m_{t−1}
v_t = α * (r_t − m_t)^2 + (1 − α) * v_{t−1}
where α = 2 / (span_current + 1)
Current daily sigma in percent points:
sigma_day = sqrt(v_t)
Slow leg:
sigma_10y = EMA(sigma_day, span_long)
Blend:
sigma_blend = (1 − p) * sigma_day + p * sigma_10y
Annualized option:
sigma_ann = 16 * sigma_blend
INPUTS
- Threshold (percent points): horizontal guide level on the chart.
- Short term span (days): EW stdev span for sigma_day.
- Long term span (days): EMA span for the slow leg, choose about 2500 for 10 years.
- Slow weight %: p in the blend.
- Annualize (x16): plot daily or annualized values.
- Show components: toggles Current and 10y EMA lines.
- The script uses the chart symbol by default.
PLOTS
- Blended σ% as the main line.
- Optional Current σ% and 10y EMA σ%.
- Editable horizontal threshold line in the same units as the plot
(percent points per day or per year).
- Optional EMA 9 and EMA 20 cloud on the blended series, green for uptrend
when EMA 9 is above EMA 20, red otherwise. Opacity is configurable.
HOW TO READ
- Values are percent points of movement per day when not annualized,
for example 1.2 means about 1.2% typical daily move.
- With annualize checked, values are percent points per year, for example 18
means about 18% annualized volatility.
- Use the threshold and the EMA cloud to mark high or low volatility regimes.
NOTES
- All calculations use daily data via request.security at the chart symbol.
- The blend is done in percent space, then optionally annualized, which avoids
bias from the price level.
- This script does not produce trading signals by itself, it is a risk and
regime indicator.
CREDITS
Volatility forecasting method and scaling convention credited to Robert Carver.
See his books and blog for background and parameter choices.
VERSION
v1.0 Initial public release.
==============================================================================*/
波动率
SMA MAD SuperTrend | OquantThe SMA MAD SuperTrend | Oquant is an trend-following indicator designed to help traders identify potential trend directions and reversals using a unique combination of a Simple Moving Average (SMA), Mean Absolute Deviation (MAD), and a SuperTrend mechanism. This script aims to provide clear visual signals for trend entries and exits, making it suitable for traders looking to capture trends.
This indicator innovatively combines the smoothing properties of an SMA with the volatility-adaptive qualities of MAD to create dynamic SuperTrend bands. Unlike traditional SuperTrend indicators that rely on Average True Range (ATR) for volatility, this script uses Mean Absolute Deviation(MAD) to measure the average absolute deviation from the mean price, providing a different perspective on price volatility. The result is a SuperTrend system that adapts to market conditions with a focus on price deviation, offering a unique tool for trend detection.
Components and Calculations
Simple Moving Average (SMA):
The SMA is a widely used indicator that calculates the average of a specified number of closing prices. It smooths price data to identify the overall trend direction. In this script, the SMA serves as the baseline for calculating dynamic upper and lower bands.
Mean Absolute Deviation (MAD):
MAD measures the average absolute deviation of the price from its mean. It quantifies volatility by calculating how far prices deviate from the mean price, offering an alternative to ATR.
SuperTrend Mechanism:
This SuperTrend indicator generates dynamic upper and lower bands around the Simple Moving Average (SMA) using mean absolute deviation as measure of volatility.
It tracks trend direction by comparing the close price to the bands:
If the price crosses above the upper band, the trend turns bullish, and the SuperTrend follows the lower band.
If the price crosses below the lower band, the trend turns bearish, and the SuperTrend follows the upper band.
The bands adjust based on their previous values, updating only when the price crosses a band or the band shifts in the correct direction, reducing false signals and ensuring stable trend detection.
How to Use the Indicator
Trend Signals:
Green Line: Indicates a bullish trend (price above the SuperTrend line).
Purple Line: Indicates a bearish trend (price below the SuperTrend line).
Bar and Candle Coloring: Bars and candles are colored green for bullish trends and purple for bearish trends, making it easy to visualize trend direction.
Filled Areas: The area between the price and the SuperTrend line is filled with transparent colors (green for bullish, purple for bearish) to highlight trend.
Inputs:
Source: Choose the price data for calculations.
SMA Length: Adjust the period for the SMA. Longer periods smooth the trend further.
MAD Length: Set the period for MAD calculation. Shorter periods make the MAD more sensitive.
Factor: Control the distance of the SuperTrend bands from the SMA. Higher values widen the bands, reducing sensitivity to price fluctuations.
Alerts:
The script includes alert conditions for trend changes:
SMA MAD SuperTrend Long: Triggered when the trend turns bullish.
SMA MAD SuperTrend Short: Triggered when the trend turns bearish.
Set up alerts in TradingView to receive notifications for these conditions.
Why Use This Script?
The SMA MAD SuperTrend | Oquant offers a fresh take on trend-following by integrating SMA as baseline and MAD for volatility measurement, providing an alternative to ATR-based SuperTrend indicators. Its clear visual signals, customizable inputs, and alert conditions make it versatile for traders of all levels.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
ATR Extension from Moving Average, with Robust Sigma Bands
# ATR Extension from Moving Average, with Robust Sigma Bands
**What it does**
This indicator measures how far price is from a selected moving average, expressed in **ATR multiples**, then overlays **robust sigma bands** around the long run central tendency of that extension. Positive values mean price is extended above the MA, negative values mean price is extended below the MA. The signal adapts to volatility through ATR, which makes comparisons consistent across symbols and regimes.
**Why it can help**
* Normalizes distance to an MA by ATR, which controls for changing volatility
* Uses the **bar’s extreme** against the MA, not just the close, so it captures true stretch
* Computes a **median** and **standard deviation** of the extension over a multi-year window, which yields simple, intuitive bands for trend and mean-reversion decisions
---
## Inputs
* **MA length**: default 50, options 200, 64, 50, 20, 9, 4, 3
* **MA timeframe**: Daily or Weekly. The MA is computed on the chosen higher timeframe through `request.security`.
* **MA type**: EMA or SMA
* **Years lookback**: 1 to 10 years, default 5. This sets the sample for the median and sigma calculation, `years * 365` bars.
* **Line width**: visual width of the plotted extension series
* **Table**: optional on-chart table that displays the current long run **median** and **sigma** of the extension, with selectable text size
**Fixed parameters in this release**
* **ATR length**: 20 on the daily timeframe
* **ATR type**: classic ATR. ADR percent is not enabled in this version.
---
## Plots and colors
* **Main plot**: “Extension from 50d EMA” by default. Value is in **ATR multiples**.
* **Reference lines**:
* `median` line, black dashed
* +2σ orange, +3σ red
* −2σ blue, −3σ green
---
## How it is calculated
1. **Moving average** on the selected higher timeframe: EMA or SMA of `close`.
2. **Extreme-based distance** from MA, as a percent of price:
* If `close > MA`, use `(high − MA) / close * 100`
* Else, use `(low − MA) / close * 100`
3. **ATR percent** on the daily timeframe: `ATR(20) / close * 100`
4. **ATR multiples**: extension percent divided by ATR percent
5. **Robust center and spread** over the chosen lookback window:
* Center: **median** of the ATR-multiple series
* Spread: **standard deviation** of that series
* Bands: center ± 1σ, 2σ, 3σ, with 2σ and 3σ drawn
This design yields an intuitive unit scale. A value of **+2.0** means price is about 2 ATR above the selected MA by the most stretched side of the current bar. A value of **−3.0** means roughly 3 ATR below.
---
## Practical use
* **Trend continuation**
* Sustained readings near or above **+1σ** together with a rising MA often signal healthy momentum.
* **Mean reversion**
* Spikes into **±2σ** or **±3σ** can identify stretched conditions for fade setups in range or late-trend environments.
* **Regime awareness**
* The **median** moves slowly. When median drifts positive for many months, the market spends more time extended above the MA, which often marks bullish regimes. The opposite applies in bearish regimes.
**Notes**
* The MA can be set to Weekly while ATR remains Daily. This is deliberate, it keeps the normalization stable for most symbols.
* On very short intraday charts, the extension remains meaningful since it references the session’s extreme against a higher-timeframe MA and a daily ATR.
* Symbols with short histories may not fill the lookback window. Bands will adapt as data accrues.
---
## Table overlay
Enable **Table → Show** to see:
* “ATR from \”
* Current **median** and **sigma** of the extension series for your lookback
---
## Recommended settings
* **Swing equities**: 50 EMA on Daily, 5 to 7 years
* **Index trend work**: 200 EMA on Daily, 10 years
* **Position trading**: 20 or 50 EMA on Weekly MA, 5 to 10 years
---
## Interpretation examples
* Reading **+2.7** with price above a rising 50 EMA, near prior highs
* Strong trend extension, consider pyramiding in trend systems or waiting for a pullback if you are a mean-reverter.
* Reading **−2.2** into multi-month support with flattening MA
* Stretch to the downside that often mean-reverts, size entries based on your system rules.
---
## Credits
The concept of measuring stretch from a moving average in ATR units has a rich community history. This implementation and its presentation draw on ideas popularized by **Jeff Sun**, **SugarTrader**, and **Steve D Jacobs**. Thanks to each for their contributions to ATR-based extension thinking.
---
## License
This script and description are distributed under **MPL-2.0**, consistent with the header in the source code.
---
## Changelog
* **v1.0**: Initial public release. Daily ATR normalization, EMA or SMA on D or W timeframe, robust median and sigma bands, optional table.
---
## Disclaimer
This tool is for educational use only. It is not financial advice. Always test on your own data and strategies, then manage risk accordingly.
ORB with Golden Zone FIB targets, Any Timeframe by TenAMTraderDescription:
This indicator is designed to help traders identify key price levels using Fibonacci extensions and retracements based on the Opening Range Breakout (ORB). The levels are visualized as “Golden Zones”, which can serve as potential targets for trades.
Features:
Customizable ORB Timeframe: By default, the ORB is set from 9:30 AM to 9:45 AM EST, but any timeframe can be configured in the settings to fit your trading style.
Golden Zones as Targets: Fibonacci levels are intended to be used as potential profit-taking zones or areas to monitor for reversals, providing a structured framework for intraday and swing trading.
Adjustable Chart Settings: Color-coded levels make it easy to interpret at a glance, and all lines can be customized for personal preference.
Versatile Application: The indicator works across any timeframe, enabling traders to analyze both intraday and multi-day price action.
How to Use:
Ensure Regular Trading Hours (RTH) is enabled on your chart for accurate level calculation.
Observe price action near Golden Zones: a confirmed breakout may indicate continuation, while a pullback could signal a reversal opportunity.
Use the Golden Zones as reference targets for managing risk and planning exits.
Adjust the ORB timeframe and display settings to match your preferred trading style.
Legal Disclosure:
This indicator is provided for educational purposes only and is not financial advice. Trading carries a substantial risk of loss. Users should always perform their own analysis and consult a licensed financial professional before making any trading decisions. Past performance is not indicative of future results.
SUHAIBs batvol 3d indicationHow it works:
Market is split into 3 regimes → Bull (uptrend), Bear (downtrend), Neutral (range).
Each regime is a sphere.
Loop on sphere = chance of staying in same regime.
Arrow between spheres = chance of switching to another regime.
Bigger loop/arrow = stronger probability.
Direction matters (Bull→Bear ≠ Bear→Bull).
Behind the scenes:
It detects regimes using price returns or 3 custom indicators.
Data is normalized (Z-score) and classified into Bull / Bear / Neutral.
Every bar, it updates a transition matrix (counts & probabilities of switching).
Uses Laplace smoothing so numbers don’t break.
How to read diagram:
Find current sphere (e.g., Neutral).
If loop is big → likely to continue Neutral.
If one outgoing arrow is big → that’s the most likely next regime.
Unique part:
3D animated spheres + arrows with particles show live probability flows.
Can be plugged into algo/backtesting → outputs (Bull=1, Neutral=0, Bear=-1).
👉 In short:
It’s a probability map of regime shifts. The chart tells you if the market will likely stay the same or flip to another state, and which flip is most probable.
Advanced RSI-ADX-Bollinger Market Overview DashboardStudy Material: Advanced RSI–ADX–Bollinger Market Overview Dashboard
This dashboard is a comprehensive trading tool designed to combine three powerful technical analysis methods—RSI (Relative Strength Index), ADX (Average Directional Index), and Bollinger Bands—into one unified system with live table output and progress indicators. It aims to provide a complete market snapshot at a glance, helping traders monitor momentum, volatility, trend, and market signals.
________________________________________
🔹 Core Concepts Used
1. RSI (Relative Strength Index)
• RSI measures market momentum by comparing price gains and losses.
• A high RSI indicates overbought conditions (possible reversal or sell zone).
• A low RSI indicates oversold conditions (possible reversal or buy zone).
• In this dashboard, RSI is also represented with progress bars to show how far the current value is moving toward extreme zones.
2. ADX (Average Directional Index)
• ADX is used to gauge the strength of a trend.
• When ADX rises above a threshold, it signals a strong trend (whether bullish or bearish).
• The system checks when ADX momentum crosses above its threshold to confirm whether a signal has strong backing.
3. Bollinger Bands
• Bollinger Bands measure volatility around a moving average.
• The upper band indicates potential overbought pressure, while the lower band shows oversold pressure.
• Expansion of the bands signals rising volatility, contraction shows calming markets.
• This tool also assigns a BB Trend Label: Expand ↑ (bullish), Contract ↓ (bearish), or Neutral →.
________________________________________
🔹 What This Dashboard Tracks
1. Signal Generation
o BUY Signal: RSI oversold + price near lower Bollinger Band + ADX strength confirmation.
o SELL Signal: RSI overbought + price near upper Bollinger Band + ADX strength confirmation.
o Labels are plotted on the chart to indicate BUY or SELL points.
2. Trend Direction & Strength
o The script analyzes short- and medium-term moving averages to decide whether the market is Bullish, Bearish, or Flat.
o An arrow symbol (↑, ↓, →) is shown to highlight the trend.
3. Signal Performance Tracking
o Once a BUY or SELL signal is active, the dashboard tracks:
Maximum profit reached
Maximum loss faced
Whether the signal is still running or closed
o This gives the trader performance feedback on past and ongoing signals.
4. Volume Analysis
o Volume is split into Buy Volume (candles closing higher) and Sell Volume (candles closing lower).
o This provides insight into who is in control of the market—buyers or sellers.
5. Comprehensive Data Table
o A professional table is displayed directly on the chart showing:
RSI Value
ADX Strength
Buy/Sell Volumes
Trend Direction
Bollinger Band Trend
Previous Signal Performance (Max Profit / Max Loss)
Current Signal Performance (Max Profit / Max Loss)
Symbol Name
o Each metric is color-coded for instant decision-making.
6. Progress Indicators
o RSI Progress Bar (0–100 scale).
o ADX Progress Bar (0–50 scale).
o Bollinger Band Expansion/Contraction progress.
o Signal profit/loss progress visualization.
7. Market Status Summary
o The dashboard issues a status label such as:
🔴 SELL ACTIVE
🔵 BUY ACTIVE
🟢 BULL MARKET
🔴 BEAR MARKET
🟡 NEUTRAL
________________________________________
🔹 Practical Use Case
This dashboard is ideal for traders who want a consolidated decision-making tool. Instead of monitoring RSI, ADX, and Bollinger Bands separately, the system automatically combines them and shows signals, trends, volumes, and performance in one view.
It can be applied to:
• Intraday Trading (short-term moves with high volatility).
• Swing Trading (holding positions for days to weeks).
• Trend Confirmation (identifying when to stay in or exit trades).
________________________________________
⚠️ Strict Disclaimer (aiTrendview Policy)
• This script is a research and educational tool only.
• It does NOT guarantee profits and must not be used as a sole decision-making system.
• Past performance tracking inside the dashboard is informational and does not predict future outcomes.
• Trading involves significant financial risk, including potential loss of all capital.
• Users are fully responsible for their own trading decisions.
________________________________________
🚫 Misuse Policy (aiTrendview Standard)
• Do not misuse this tool for false claims of guaranteed profits.
• Redistribution, resale, or repackaging under another name is strictly prohibited without aiTrendview permission.
• This tool is intended to support disciplined trading practices, not reckless speculation.
• aiTrendview does not support gambling-style use or over-leveraging based on this script.
________________________________________
👉 In short: This system is a professional decision-support tool that integrates RSI, ADX, and Bollinger Bands into one dashboard with signals, performance tracking, and progress visualization. It helps traders see the bigger picture of market health—but the responsibility for action remains with the trader.
________________________________________
Extreme Zone Volume ProfileExtreme Zone Volume Profile (EZVP)
Originality & Innovation
The Extreme Zone Volume Profile (EZVP) revolutionizes traditional volume profile analysis by applying statistical zone classification to volume distribution. Unlike standard volume profiles that display raw volume data, EZVP segments the price range into statistically meaningful zones based on percentile thresholds, allowing traders to instantly identify where volume concentration suggests strong support/resistance versus areas of potential breakout.
Technical Methodology
Core Algorithm:
Distributes volume across user-defined bins (20-200) over a lookback period
Calculates volume-weighted price levels for each bin
Applies percentile-based zone classification to the price range (not volume ranking)
Zone B (extreme zones): Outer percentile tails representing potential rejection areas
Zone A (significant zones): Secondary percentile bands indicating strong interest levels
Center Zone: Bulk trading range where most price discovery occurs
Mathematical Foundation:
The script uses price-range percentiles rather than volume percentiles. If the total price range is divided into 100%, Zone B captures the extreme price tails (default 2.5% each end ≈ 2 standard deviations), Zone A captures the next significant bands (default 14% each ≈ 1 standard deviation), leaving the center for normal distribution trading.
Key Calculations:
POC (Point of Control): Price level with maximum volume accumulation
Volume-weighted mean price: Total volume × price / total volume
Median price: Geometric center of the price range
Rightward-projected bars: Volume bars extend forward from current time to avoid historical chart clutter
Trading Applications
Zone Interpretation:
Zone B (Red/Green): Extreme price levels where volume suggests strong rejection potential. Price reaching these zones often indicates overextension and possible reversal points.
Zone A (Orange/Teal): Significant support/resistance areas with substantial volume interest. These levels often act as intermediate targets or consolidation zones.
Center (Gray): Fair value area where most trading occurs. Price tends to return to this range during normal market conditions.
Strategic Usage:
Reversal Trading: Look for rejection signals when price enters Zone B areas
Breakout Confirmation: Volume expansion beyond Zone B boundaries suggests genuine breakouts
Support/Resistance: Zone A boundaries often provide reliable entry/exit levels
Mean Reversion: Price tends to gravitate toward the volume-weighted mean and POC lines
Unique Value Proposition
EZVP addresses three key limitations of traditional volume profiles:
Visual Clarity: Standard profiles can be cluttered and difficult to interpret quickly. EZVP's color-coded zones provide instant visual feedback about price significance.
Statistical Framework: Rather than relying on subjective interpretation of volume nodes, EZVP applies objective percentile-based classification, making support/resistance identification more systematic.
Forward-Looking Display: Rightward-projecting bars keep historical price action clean while maintaining current market structure visibility.
Configuration Guide
Lookback Period (10-1000): Controls the historical depth of volume calculation. Shorter periods for intraday scalping, longer for swing trading.
Number of Bins (20-200): Resolution of volume distribution. Higher values provide more granular analysis but may create noise on lower timeframes.
Zone Percentages:
Zone B: Extreme threshold (default 2.5% = ~2σ statistical significance)
Zone A: Significant threshold (default 14% = ~1σ statistical significance)
Visual Controls: Toggle individual elements (POC, median, mean, zone lines) to customize display complexity for your trading style.
Technical Requirements
Pine Script v6 compatible
Maximum bars back: 5000 (ensures sufficient historical data)
Maximum boxes: 500 (supports high-resolution bin counts)
Maximum lines: 50 (accommodates all zone and reference lines)
This indicator synthesizes volume profile theory with statistical zone analysis, providing a quantitative framework for identifying high-probability support/resistance levels based on volume distribution patterns rather than arbitrary price levels.
Dynamic Chandelier Exit Trader [KedArc Quant])Dynamic Chandelier Exit Trader (DCET)
The Dynamic Chandelier Exit Trader (DCET) builds upon the classical Chandelier Exit indicator by combining volatility-based stop placement with risk-reward exit logic. It is designed to provide clear buy/sell flip signals, making it adaptable across multiple trading environments.
Market Suitability
The DCET is most effective under the following market conditions:
1. Trending Markets (Upward or Downward)
- Strong performance when price is in a clear directional trend.
- Buy signals align with uptrends, sell signals align with downtrends.
- Works well on stocks, forex pairs, and crypto during trending phases.
2. Breakout Environments:
- Captures moves when price breaks out of consolidations.
- ATR-based stop dynamically adjusts to volatility expansion.
- Effective for traders who like catching the first move after breakouts.
3. Sideways / Range-Bound Markets:
- DCET tends to generate more frequent flip signals in sideways conditions.
- May lead to whipsaws, but can still be used with reduced ATR length or by combining with a trend filter (e.g., moving average direction).
4. All Markets (with Adjustments):
- Works universally but requires tuning.
- In highly volatile markets (e.g., crypto), a higher ATR multiplier may reduce false signals.
- In stable, slower-moving markets (e.g., large-cap equities), smaller ATR multipliers improve responsiveness.
P/B Ratio (Per Share) vs Median + Bollinger Band- 📝 This indicator highlights potential buying opportunities by analyzing the Price-to-Book (P/B) ratio in relation to Bollinger Bands and its historical median.
- 🎯 The goal is to provide a visually intuitive signal for value-oriented entries, especially when valuation compression aligns with historical context.
- 💡 Vertical green shading is applied when the P/B ratio drops below the lower Bollinger Band, which is calculated directly from the P/B ratio itself — not price. This condition often signals the ticker may be oversold.
- 🟢 Lighter green appears when the ratio is below the lower band but above the median, suggesting a possible shorter-term entry with slightly more risk.
- 🟢 Darker green appears when the ratio is both below the lower band and below the median, pointing to a potentially stronger, longer-term value entry.
- ⚠️ This logic was tested using 1 and 2-day time frames. It may not be as helpful in longer time frames, as the financial data TradingView pulls in begins in Q4 2017.
- ⚠️ Note: This script relies on financial data availability through TradingView. It may not function properly with certain tickers — especially ETFs, IPOs, or thinly tracked assets — where P/S ratio data is missing or incomplete.
- ⚠️ This indicator will not guarantee successful results. Use in conjunction with other indicators and do your due diligence.
- 🤖 This script was iteratively refined with the help of AI to ensure clean logic, minimalist design, and actionable signal clarity.
- 📢 Idea is based on the script "Historical PE ratio vs median" by haribotagada
- 💬 Questions, feedback, or suggestions? Drop a comment — I’d love to hear how you’re using it or what you'd like to see changed.
SUHAIBs batvol 3d indicationHow it works:
Market is split into 3 regimes → Bull (uptrend), Bear (downtrend), Neutral (range).
Each regime is a sphere.
Loop on sphere = chance of staying in same regime.
Arrow between spheres = chance of switching to another regime.
Bigger loop/arrow = stronger probability.
Direction matters (Bull→Bear ≠ Bear→Bull).
Behind the scenes:
It detects regimes using price returns or 3 custom indicators.
Data is normalized (Z-score) and classified into Bull / Bear / Neutral.
Every bar, it updates a transition matrix (counts & probabilities of switching).
Uses Laplace smoothing so numbers don’t break.
How to read diagram:
Find current sphere (e.g., Neutral).
If loop is big → likely to continue Neutral.
If one outgoing arrow is big → that’s the most likely next regime.
Unique part:
3D animated spheres + arrows with particles show live probability flows.
Can be plugged into algo/backtesting → outputs (Bull=1, Neutral=0, Bear=-1).
👉 In short:
It’s a probability map of regime shifts. The chart tells you if the market will likely stay the same or flip to another state, and which flip is most probable.
EMA多空趋势信号The EMA multi-period moving average combination retains the Fibonacci sequence 144 for moving support and resistance. It also integrates 1ATR to facilitate users to set take-profit and stop-loss.
ATR SL/TPStop Loss Finder ATR
A Stop Loss Finder ATR indicator is a dynamic risk management tool leveraging the Average True Range (ATR) to identify and track optimal stop-loss levels based on current market volatility.
A stop hunt indicator is a technical tool designed to identify potential instances where large market participants, often referred to as "smart money," deliberately move the price to trigger a large number of stop-loss orders, creating a temporary price distortion before reversing the trend. These indicators aim to help traders detect these events to either avoid being stopped out or to enter trades in the direction of the anticipated reversal.
For example, a long wick below support with high volume may signal a bullish stop-hunt , indicating that the price has been driven down to trigger sell-stop orders before reversing upward. Conversely, a long wick above resistance with high volume may signal a bearish stop-hunt , suggesting the price was pushed up to trigger buy-stop orders before reversing downward. The presence of such wicks is often associated with candlestick patterns like hammers or shooting stars.
Unlike fixed stop-losses, this indicator adapts its distance from the current price using a customizable ATR multiplier, ensuring that stop-loss levels are neither too tight (prone to being triggered by normal market noise) nor too wide (exposing capital to excessive risk) . The core function calculates the true range—considering the current high-low range, gaps up, and gaps down—over a user-defined period (typically 14 bars), then applies a multiplier to generate a volatility-adjusted stop-loss distance . This approach allows the indicator to dynamically widen stops during high-volatility periods and tighten them during calm markets, providing a more responsive and context-aware exit strategy.
Swing Z | Zillennial Technologies Inc.Swing Z by Zillennial Technologies Inc. is an advanced algorithmic framework built specifically for cryptocurrency markets. It integrates multiple layers of technical analysis into a single decision-support tool, generating buy and sell signals only when several independent confirmations align.
Core Concept
Swing Z fuses trend structure, momentum oscillators, volatility signals, and price action tools to capture high-probability trading opportunities in volatile crypto environments.
Trend Structure (EMA 9, 21, 50, 200)
Short-term EMAs (9 & 21) detect immediate momentum shifts.
Longer-term EMAs (50 & 200) define the broader trend and dynamic support/resistance.
Momentum & Confirmation Layer
RSI measures relative strength and market conditions.
MACD crossovers confirm momentum shifts and trend continuations.
Volatility & Market Pressure
TTM Squeeze highlights compression zones likely to precede breakouts.
Volume analysis confirms conviction behind directional moves.
VWAP (Volume Weighted Average Price) establishes intraday value zones and institutional benchmarks.
Price Action Filters
Fibonacci retracements are integrated to identify key reversal and continuation levels.
Signals are produced only when multiple conditions agree, reducing noise and improving reliability in fast-moving crypto markets.
Features
Tailored for cryptocurrency trading across major pairs (BTC, ETH, and altcoins).
Works effectively on swing and trend-based timeframes (1H–1D).
Combines trend, momentum, volatility, and price action into a single framework.
Generates clear Buy/Sell markers and integrates with TradingView alerts.
How to Use
Apply to a clean chart for the clearest visualization.
Use Swing Z as a swing trading tool, aligning entries with both trend structure and momentum confirmation.
Combine with your own stop-loss, take-profit, and position sizing rules.
Avoid application on non-standard chart types such as Renko, Heikin Ashi, or Point & Figure, which may distort results.
Disclaimer
Swing Z is designed as a decision-support tool, not financial advice.
All backtesting should use realistic risk, commission, and slippage assumptions.
Past results do not guarantee future performance.
Signals do not repaint but may adjust as new data develops in real-time.
Why Swing Z is original & useful:
Swing Z unifies EMA trend structure, RSI, MACD, TTM Squeeze, VWAP, Fibonacci retracements, and volume analysis into a single algorithmic framework. This multi-confirmation approach improves accuracy by requiring consensus across trend, momentum, volatility, and price action — a design made specifically for the challenges and volatility of cryptocurrency markets.
High Minus LowThis indicator is a simple yet powerful tool for technical analysis. It measures the range of each candlestick by calculating the difference between its high and low, providing a direct visualization of market volatility.
Key Features:
Volatility at a Glance: The plot's height in the separate panel directly corresponds to the candle's trading range, allowing you to easily spot periods of high or low volatility.
Customizable Color: Easily change the line color to match your chart's theme and personal preferences.
Actionable Insights: Use this indicator to confirm periods of market consolidation before a breakout or to gauge the strength of a trend based on the expansion of candle ranges.
RSI Value Display (Corner)RSI in the right corner (red when is above 70 and below 30 - Green for the rest)
VXN Net VolumeThis indicator is based on other open source scripts. It displays net volume (buying minus selling) approximated from lower timeframe data, helping traders gauge buying/selling pressure.
It uses the CBOE Nasdaq Volatility Index (VXN) to color the chart background: green for low volatility (bullish) when VXN's short-term EMA is below its long-term SMA, and red for high volatility (bearish) when above.
The net volume color is not filtered by the VXN Index trend direction (background color). It’s highly recommended to align with the VXN Index trend direction when using net volume to confirm your entry. A red net volume with a red background or a green net volume with a green background provides a high-probability setup.
A moving average of net volume is optionally plotted as a blue area to highlight significant volume levels.
Enjoy this indicator? Consider a donation to support development! buymeacoffee.com
BB Expansion Oscillator (BEXO)BB Expansion Oscillator (BEXO) is a custom indicator designed to measure and visualize the expansion and contraction phases of Bollinger Bands in a normalized way.
🔹 Core Features:
Normalized BB Width: Transforms Bollinger Band Width into a 0–100 scale for easier comparison across different timeframes and assets.
Signal Line: EMA-based smoothing line to detect trend direction shifts.
Histogram: Highlights expansion vs contraction momentum.
OB/OS Zones: Detects Over-Expansion and Over-Contraction states to spot potential volatility breakouts or squeezes.
Dynamic Coloring & Ribbon: Visual cues for trend bias and crossovers.
Info Table: Displays real-time values and status (Expansion, Contraction, Over-Expansion, Over-Contraction).
Background Highlighting: Optional visual aid for trend phases.
🔹 How to Use:
When BEXO rises above the Signal Line, the market is in an Expansion phase → potential trend continuation.
When BEXO falls below the Signal Line, the market is in a Contraction phase → potential consolidation or trend weakness.
Overbought/Over-Expansion zone (above OB level): Signals high volatility; watch for possible reversal or breakout exhaustion.
Oversold/Over-Contraction zone (below OS level): Indicates a squeeze or low volatility; often precedes strong breakout moves.
🔹 Best Application:
Identify volatility cycles (squeeze & expansion).
Filter trades by volatility conditions.
Combine with price action, volume, or momentum indicators for confirmation.
⚠️ Disclaimer:
This indicator is for educational and research purposes only. It should not be considered financial advice. Always combine with proper risk management and your own trading strategy.
VWAP Confluência 3x VWAP Confluence 3x — Daily · Weekly · Anchored
Purpose
A pragmatic VWAP suite for execution and risk management. It plots three institutional reference lines: Daily VWAP, Weekly VWAP, and an Anchored VWAP (AVWAP) starting from a user-defined event (news, earnings, session open, swing high/low).
Why it matters
VWAP is the market’s “fair price” weighted by where volume actually traded. Confluence across timeframes and events turns noisy charts into actionable bias and clean levels.
What it does
Daily VWAP — resets each trading day; intraday “fair value.”
Weekly VWAP — resets each week; swing context and larger player defense.
Anchored VWAP — starts at a precise timestamp you set (e.g., news release).
Price source toggle — Typical Price
(
𝐻
+
𝐿
+
𝐶
)
/
3
(H+L+C)/3 or Close.
Visibility switches — enable/disable each line independently.
Anchor marker — labels the first bar of the AVWAP.
Inputs
Show Daily VWAP (on/off)
Show Weekly VWAP (on/off)
Show Anchored VWAP (on/off)
Price Source: Typical (H+L+C)/3 or Close
Anchor Time: timestamp of your event (uses the chart/exchange timezone)
How to anchor to a news event
Find the exact release time as shown in your chart’s timezone.
Open the indicator settings → set Anchor Time to that minute.
The AVWAP begins at that bar and accumulates forward.
Playbook (examples, not signals)
Strong long bias: price above Daily and Weekly VWAP; AVWAP reclaimed after news.
Strong short bias: price below Daily and Weekly; AVWAP reject after news.
Mean-revert zones: price stretches far from the active VWAPs and snaps back; size around VWAP with tight risk.
Targets: opposite VWAP, prior day/week highs/lows, or liquidity pools near AVWAP.
Best used with
Session highs/lows, liquidity sweeps, volume profile, and time-of-day filters.
Notes & limitations
Works best on markets with reliable volume (equities, futures, liquid crypto). FX spot uses synthetic volume—interpret accordingly.
Anchor Time respects the chart’s timezone. Convert news times before setting.
This is an indicator, not a backtestable strategy. No trade advice.
Disclaimer
For educational purposes only. Trading involves risk. Do your own research and manage risk responsibly.
Confluence StackPlease read the instructions below. The code was mostly written using AI so may contain errors. Happy trading all and good luck. ATB Richard
INTENDED USE
This indicator is designed for technical traders who want to move beyond simple buy/sell signals and gain a deeper understanding of the underlying market dynamics. It is ideal for trend followers, swing traders, and anyone looking to confirm the quality of a trend.
WHO IS THIS FOR?
Traders who want to differentiate between strong, sustainable trends and weak, unreliable moves.
Analysts looking to identify high-conviction setups backed by multiple factors (e.g., momentum confirmed by volume).
Discretionary traders who need a quick, visual tool to gauge market sentiment and avoid choppy conditions.
WHY USE IT?
Traditional indicators often give conflicting signals. The Confluence Stack solves this by aggregating multiple perspectives into one clear visual. It helps you answer not just "Is the market going up?" but "WHY is it going up, and how strong is the conviction?". This allows for more informed decision-making and helps filter out low-probability trades.
DISCLAIMER AND LICENSE
This script is for educational purposes only and is not a recommendation to buy or sell any financial instrument. All trading and investment decisions are the sole responsibility of the user. Trading involves significant risk.
This source code is subject to the terms of the Mozilla Public License 2.0 at www.mozilla.org
HOW TO USE THIS INDICATOR
This indicator is designed to show the 'character' of a market move by grouping signals into distinct categories. Instead of seeing many individual signals, you see the strength of the underlying forces driving the price.
1. READ THE HEIGHT (Strength of Confluence)
The total height of the stack shows the strength of agreement. A tall stack means many signals are aligned, indicating a high-conviction move. A short stack means weak agreement and a choppy, indecisive market.
2. READ THE COLOR (Character of the Move)
The colors tell you WHY the market is moving.
BLUE (Momentum): A stack of mostly blue shades indicates a trend driven by pure momentum. This is the 'speed' of the market.
RSI (Relative Strength Index): Measures the magnitude of recent price gains versus losses. A smooth measure of trend strength.
Stochastic Oscillator: Measures the current closing price's position within the recent high-low range. More sensitive to immediate price action.
CCI (Commodity Channel Index): Measures the price's deviation from its moving average. Excels at identifying cyclical turns.
MACD (Moving Average Convergence Divergence): A trend-following momentum indicator showing the relationship between two moving averages. Excellent for identifying the start and end of trends.
YELLOW (Volume): The appearance of yellow shades confirms the move is supported by high market participation. This is the 'fuel' for the trend.
Volume Ratio: A custom signal that triggers when buy or sell volume is unusually high compared to its recent average.
CRV (Candle Range Volume): A custom signal that looks for candles with significant price range and volume.
OBV (On-Balance Volume): A cumulative indicator that adds volume on up days and subtracts it on down days. It shows the long-term flow of money.
FUCHSIA (Volatility): A fuchsia block signals a volatility breakout. This adds a sense of urgency and confirms the price is moving with exceptional force.
Bollinger Bands: A signal triggers when the price closes outside of the upper or lower standard deviation bands.
ORANGE (Price Action): An orange block is a pure price structure signal. It's a raw statement of intent from the market.
Price Gap: A signal that triggers when there's a gap up or gap down between candles.
3. READ THE TRANSITION (Shift in Sentiment)
The most important signal from the stacks is the flip from one side of the zero line to the other.
Flipping from Negative to Positive: A bearish stack disappears and is replaced by a bullish stack. This indicates market sentiment is shifting from bearish to bullish.
Flipping from Positive to Negative: A bullish stack disappears and is replaced by a bearish stack. This warns of a potential top or the start of a new downtrend.
4. FILTER FOR NOISE (Plot Threshold)
In choppy markets, the stack can flicker with low signal counts (e.g., +1 or -1). To focus only on high-conviction moves, go to the indicator settings and increase the "Plot Threshold". A setting of 2 or 3 will hide all stacks that don't have at least 2 or 3 agreeing signals, effectively filtering out market noise and keeping your chart clean.
5. CUSTOMIZE YOUR SIGNALS (Enable/Disable)
This indicator is fully customizable. In the settings, you can enable or disable each of the 9 indicators individually. For example, if you are a pure momentum trader, you could disable all Volume, Volatility, and Price Action signals to focus only on the blue stacks. Tailor it to fit your specific trading style.
EXAMPLE INTERPRETATIONS
Strong, Confirmed Trend: A tall stack of mostly blue (Momentum) and yellow (Volume) indicates a high-quality trend backed by both speed and market participation.
Momentum-Only Trend: A tall stack of only blue is a strong momentum move, but the lack of yellow (Volume) is a warning that the move may lack the "fuel" to be sustained.
Choppy/Indecisive Market: A short, mixed-color stack flickering around the zero line means the market is choppy with no clear conviction. It's often best to stay out.
Volatility Breakout: A new stack that appears suddenly with a fuchsia (Bollinger Bands) block on its first bar suggests a volatility-driven breakout is initiating.
Exhaustion Move: An orange (Price Gap) block appearing at the peak of a tall, long-standing stack can signal an exhaustion gap, potentially marking the end of the trend.
Weakening Conviction (Divergence): If price makes a new high but the positive stack is visibly shorter than the stack at the previous price high, it suggests underlying conviction is weakening.
Dual Channel System [Alpha Extract]A sophisticated trend-following and reversal detection system that constructs dynamic support and resistance channels using volatility-adjusted ATR calculations and EMA smoothing for optimal market structure analysis. Utilizing advanced dual-zone methodology with step-like boundary evolution, this indicator delivers institutional-grade channel analysis that adapts to varying volatility conditions while providing high-probability entry and exit signals through breakthrough and rejection detection with comprehensive visual mapping and alert integration.
🔶 Advanced Channel Construction
Implements dual-zone architecture using recent price extremes as foundation points, applying EMA smoothing to reduce noise and ATR multipliers for volatility-responsive channel widths. The system creates resistance channels from highest highs and support channels from lowest lows with asymmetric multiplier ratios for optimal market reaction zones.
// Core Channel Calculation Framework
ATR = ta.atr(14)
// Resistance Channel Construction
Resistance_Basis = ta.ema(ta.highest(high, lookback), lookback)
Resistance_Upper = Resistance_Basis + (ATR * resistance_mult)
Resistance_Lower = Resistance_Basis - (ATR * resistance_mult * 0.3)
// Support Channel Construction
Support_Basis = ta.ema(ta.lowest(low, lookback), lookback)
Support_Upper = Support_Basis + (ATR * support_mult * 0.4)
Support_Lower = Support_Basis - (ATR * support_mult)
// Smoothing Application
Smoothed_Resistance_Upper = ta.ema(Resistance_Upper, smooth_periods)
Smoothed_Support_Lower = ta.ema(Support_Lower, smooth_periods)
🔶 Volatility-Adaptive Zone Framework
Features dynamic ATR-based width adjustment that expands channels during high-volatility periods and contracts during consolidation phases, preventing false signals while maintaining sensitivity to genuine breakouts. The asymmetric multiplier system optimizes zone boundaries for realistic market behavior patterns.
// Dynamic Volatility Adjustment
Channel_Width_Resistance = ATR * resistance_mult
Channel_Width_Support = ATR * support_mult
// Asymmetric Zone Optimization
Resistance_Zone = Resistance_Basis ± (ATR_Multiplied * )
Support_Zone = Support_Basis ± (ATR_Multiplied * )
🔶 Step-Like Boundary Evolution
Creates horizontal step boundaries that update on smoothed bound changes, providing visual history of evolving support and resistance levels with performance-optimized array management limited to 50 historical levels for clean chart presentation and efficient processing.
🔶 Comprehensive Signal Detection
Generates break and bounce signals through sophisticated crossover analysis, monitoring price interaction with smoothed channel boundaries for high-probability entry and exit identification. The system distinguishes between breakthrough continuation and rejection reversal patterns with precision timing.
🔶 Enhanced Visual Architecture
Provides translucent zone fills with gradient intensity scaling, step-like historical boundaries, and dynamic background highlighting that activates upon zone entry. The visual system uses institutional color coding with red resistance zones and green support zones for intuitive
market structure interpretation.
🔶 Intelligent Zone Management
Implements automatic zone relevance filtering, displaying channels only when price proximity warrants analysis attention. The system maintains optimal performance through smart array management and historical level tracking with configurable lookback periods for various market conditions.
🔶 Multi-Dimensional Analysis Framework
Combines trend continuation analysis through breakthrough patterns with reversal detection via rejection signals, providing comprehensive market structure assessment suitable for both trending and ranging market conditions with volatility-normalized accuracy.
🔶 Advanced Alert Integration
Features comprehensive notification system covering breakouts, breakdowns, rejections, and bounces with customizable alert conditions. The system enables precise position management through real-time notifications of critical channel interaction events and zone boundary violations.
🔶 Performance Optimization
Utilizes efficient EMA smoothing algorithms with configurable periods for noise reduction while maintaining responsiveness to genuine market structure changes. The system includes automatic historical level cleanup and performance-optimized visual rendering for smooth operation across all timeframes.
Why Choose Dual Channel System ?
This indicator delivers sophisticated channel-based market analysis through volatility-adaptive ATR calculations and intelligent zone construction methodology. By combining dynamic support and resistance detection with advanced signal generation and comprehensive visual mapping, it provides institutional-grade channel analysis suitable for cryptocurrency, forex, and equity markets. The system's ability to adapt to varying volatility conditions while maintaining signal accuracy makes it essential for traders seeking systematic approaches to breakout trading, zone reversals, and trend continuation analysis with clearly defined risk parameters and comprehensive alert integration. Also to note, this indicator is best suited for the 1D timeframe.
IST 4H Candle Boxes (5m)highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
OSOK KatxumotoThe OSOK Dynamic Box Enhanced is designed for scalpers and traders using the OSOK (One Shot, One Kill) method on futures like the NQ.
Features include:
A midline that dynamically follows the current price in real-time.
Upper (LS) and lower (LI) protection lines at configurable distances from the current price, representing stop or protection levels.
Target lines offset from LS and LI according to your risk/reward strategy, also fully configurable.
Customizable colors and thickness for all lines, allowing you to adapt the visualization to your trading style.
All lines automatically extend to the right from the current price, keeping the chart clean without accumulating old lines.
This indicator helps traders quickly visualize key levels, manage risk, and set objectives efficiently—perfect for scalping and high-precision setups.
Configurable parameters:
Protection distance (LS/LI) in points
Target distance from LS/LI in points
Line colors and thickness
Line extension to the right
Futures Rotation Strategy - Overlay (Tables & Signals)This strategy focuses on the laggards and leaders of the market indices and does some weird stuff and determines which to long or short.