(Subak)Profit/Loss LineYou can automatically check the take profit/loss price compared to the current value. You can set up to 7.
This indicator simply guides the price and does not provide direction.
Standard Deviation
Fat Tails Analyzer🧠 Fat Tails Analyzer — Analysis of Anomalous ("Fat-Tailed") Movements
📌 Description
Fat Tails Analyzer is a tool for analyzing "fat tails" in the distribution of returns. Unlike normal distribution, financial markets often exhibit frequent extreme movements. This indicator identifies and visualizes such events by analyzing logarithmic returns, deviations from normal distribution, and excess kurtosis.
🔬 Methodology
Logarithmic returns (ln(Close / Close )) are calculated for accurate aggregation and symmetry.
Moving average and standard deviation of returns are computed over a specified period.
"Fat-tailed" events are identified when returns exceed μ ± k·σ, where k is user-defined.
Normal distribution bands (±2σ) and kurtosis (a measure of tail "heaviness") are displayed for clarity.
📊 What It Displays
📈 Histogram of Returns: Green for positive, red for negative.
🟣 Fat Tail Threshold Lines: Marking extreme events.
⚪ Silver Normal Distribution Bands: ±2σ boundaries.
🔵 Kurtosis Line: If enabled.
📋 Table with Key Metrics: Mean, σ, kurtosis.
⚙️ Parameters
Lookback Period (Bars): Analysis period (default: 252).
Fat Tail Threshold (Std Devs): Deviation for extreme events (k, default: 2.5).
Show Normal Distribution Bands: Toggle ±2σ boundaries.
Show Kurtosis: Enable kurtosis analysis mode.
📌 Interpretation
Excess Kurtosis > 0: More extreme events than predicted by normal distribution.
Returns beyond fat-tail thresholds: Potential signals of panic, shock, or exceptional news.
Consistently high kurtosis: Unstable or speculative asset.
🧪 Applications
📉 Identify extreme risks in assets (especially cryptocurrencies and derivatives).
🧠 Study market behavior and dispersion.
🛡 Support risk analysis, stop-loss settings, and systemic risk assessment.
🔎 Compare assets by the "normality" of their behavior.
🧭 Live Metrics Table
Displayed in the bottom-right corner:
Mean return
Standard deviation
Excess kurtosis (color-coded by value)
🧠 Good to Know
Normal distribution has kurtosis = 0.
> 0: "Fat tails" (more extreme values).
< 0: "Thin tails" (values close to the mean).
BullTrading Easy Tops & BottomsTRADING TOOL OVERVIEW
The Easy Tops & Bottoms indicator identifies potential reversal points on intraday charts by analysing volatility patterns and momentum shifts during major trading sessions. It projects horizontal zones that may act as support or resistance, adapting dynamically to price behavior.
This indicator is designed for use on intraday timeframes from 1-minute to 15-minute charts only.
HOW THE INDICATOR WORKS
The indicator uses an adaptive algorithm to evaluate momentum exhaustion and volatility clusters within intraday sessions (aligned with New York local time). It generates time based zones when conditions indicate potential trend reversals, such as after volatility spikes followed by contraction. These zones extend horizontally until price breaks boundaries or a bar limit is reached.
- Support Zones : Formed during bullish sessions with tail volatility, suggesting potential bottoms.
- Resistance Zones : Formed during bearish sessions with wick volatility, suggesting potential tops.
Zones are filtered for significant sessions to focus on meaningful price action. Signals trigger based on price interaction with the zone, requiring a specific relationship between the candle's low, high, and close relative to the zone level—for example, engulfing the level but closing in the reversal direction.
Note that signals and zone behaviors will differ across timeframes (e.g., 1m, 5m, 15m) due to varying candle sizes affecting how closes relate to zone triggers. Shorter timeframes may show more frequent but noisier interactions, while longer ones capture broader momentum shifts.
USERS GUIDE
What the Indicator Does?
The indicator has two operating modes: Buy/Sell Signal Mode (suitable for beginners and trend-following traders—important note: trend-following traders must filter according to their own trend criteria) and Support/Resistance Mode, which is a full and complete trading system.
- Plots Dynamic Zones: Horizontal boxes appear at qualifying session ends, representing support (bottoms) or resistance (tops).
- Active zones use a semi-transparent colour (customisable) and extend rightward while valid.
- Expired zones (after break or timeout) shift to a historical colour for reference.
- Generates Signals (in Buy/Sell Signal Mode): Labels appear on zone interactions confirming reversal potential:
- "BUY" (green) for support zones.
- "SELL" (red) for resistance zones.
- Time Based Focus: Ties to intraday periods like Asian, London, and New York transitions. Use NY Local Time in your charts.
- Additional Elements: Includes a watermark with symbol, timeframe, and date; an optional NotePad table for notes.
How to Interpret Signals
- Zone Dynamics: Active zones indicate ongoing validity; expiration signals a potential shift (e.g., a support break may turn it into resistance).
- Signal Triggers: Require price to test the zone level with a closing bias toward reversal. These are suitable for beginners learning basic reversals or trend traders adding their own filters (e.g., moving averages for direction).
- Value for Users: Beginners can use zone height to set stop-loss (SL) below/above the box, enabling a 1:2 risk-reward ratio (RR) for take-profit (TP) at twice the zone distance.
- Timeframe Variations: Expect different signals on 1m vs. 15m, as smaller candles on lower frames may trigger more selectively based on close positions relative to zones.
- Note on Entries in Internal Range Zones: For all entries (the Internal Range inside range zones), when a big zone swallows smaller zones ahead, consider using the bigger zone or the SL price level as an entry level.
PRACTICAL TRADING SCENARIOS
Here, we expand on how to apply the indicator in real-world trading, with detailed examples for each mode. These scenarios assume a basic understanding of risk management, such as position sizing at 0.5-1.5% of account capital per trade. Always backtest these ideas on historical data for your specific instrument (e.g., forex pairs like EUR/USD or indices like US30).
Buy/Sell Signal Mode: Reversal and Trend-Following Applications
This mode is ideal for spotting reversal opportunities while allowing flexibility for trend filters. Signals appear as labels when price interacts with zones in a confirmatory way, making it beginner-friendly for learning entry points. Trend-following traders should overlay their preferred trend indicators (e.g., a 50-period EMA) to avoid counter-trend trades.
Important critical note: In this mode, the 1:2 RR is based and measured directly on the zone height (not on the actual distance from entry price to SL). The correct SL placement is at the far edge of the zone (e.g., zone bottom for buys, zone top for sells), and TP is set at twice the zone height from the signal level (the key trigger price where the label appears).
- Basic Reversal Scalping (Beginner-Friendly): On a 5-minute chart during the London session open, after a sharp down-move in EUR/USD, a support zone forms with signal level at 1.0850 (zone top) and height of 10 pips (zone bottom at 1.0840). Wait for a "BUY" signal when price dips to test the zone (low touches 1.0850) but closes above it. Enter long at the current price (e.g., 1.0855). Set SL at the zone bottom (1.0840), and TP at the signal level + 2x zone height (1.0850 + 20 pips = 1.0870). This ensures the 1:2 RR is measured purely on the zone (risk = 10 pips zone height, reward = 20 pips), regardless of exact entry. If volatility is high (filter enabled), this setup prioritizes stronger sessions for better win rates.
- Trend-Following with Filter: On a 15-minute chart of GBP/JPY during New York AM, the overall trend is upward (price above a 200-period SMA). A support zone appears with signal level at 185.20 (zone top) after a pullback, with a height of 20 pips (zone bottom at 185.00). Ignore any "SELL" signals as they counter the trend; instead, wait for a "BUY" when price tests the zone from above and closes bullishly. Enter long at the current price (e.g., 185.25). Set SL at the zone bottom (185.00), and TP at the signal level + 2x zone height (185.20 + 40 pips = 185.60). Add a trend filter like MACD histogram turning positive for confirmation, reducing whipsaws in ranging markets. The RR remains 1:2 based on the zone (risk = 20 pips height, reward = 40 pips).
- Range-Bound Day Trading: In a 1-minute chart of USD/JPY during Asian session consolidation, multiple zones form stacking as support/resistance. Monitor for "SELL" at a resistance zone with signal level at 147.80 (zone bottom) and height of 8 pips (zone top at 147.88) after an uptick. Enter short on the signal at the current price (e.g., 147.78). Set SL at the zone top (147.88), and TP at the signal level - 2x zone height (147.80 - 16 pips = 147.64). Shorter timeframes like 1m may produce more signals due to tighter candle closes, but use the volatility filter to avoid flat periods—test historically to see how 1m noise compares to 15m's smoother triggers. The RR is fixed at 1:2 on the zone (risk = 8 pips height, reward = 16 pips).
Support/Resistance Mode: Standalone Contrarian System for Fading Breaks
This mode hides signals and labels, turning the indicator into a complete contrarian trading system focused on fading zone breaks. It treats broken zones as "flips"—a broken support becomes potential resistance, and vice versa. Entries use limit orders at a distance equal to the zone height, with fixed 1:2 RR based on that height. No additional filters are required, but combining with session timing enhances edge. Alerts fire on new zone creation, allowing proactive setup.
When a setup results in a stop loss in Support/Resistance Mode, the original zone can be used for a "Stop & Reverse" trade with the same trading proportions. This means reversing the position direction upon hitting SL, using the original zone to set the new entry (at the box top/bottom trigger level), SL (at the opposite box edge), and TP (2x the height beyond entry)—effectively capturing momentum in the opposite direction while maintaining the 1:2 RR.
- Fading a Support Break (Short Setup): On a 5-minute chart of AUD/USD during NY PM, a support zone at 0.6650 (height 12 pips) breaks when low pierces below 0.6638. Consider the zone flipped to resistance. Place a sell limit order 12 pips above the broken zone (at 0.6662), SL 12 pips above entry (0.6674), and TP 24 pips below entry (0.6638, achieving 1:2 RR). This anticipates sellers re-entering on pullbacks to the former support. If the volatility filter is on, this only applies to significant breaks; historically, test on pairs with clear pip values to adjust for spreads.
Stop & Reverse Scenario: If the short position hits SL at 0.6674 (price rallies above), reverse to a long position. Use the original 12-pip zone: Place a buy limit order on the original broken support (now acting as flipped resistance, at 0.6650 box top), SL 12 pips below the new entry (0.6638 box bottom), and TP 24 pips above the new entry (0.6674, maintaining 1:2 RR). This captures potential upside momentum after the false break.
- Fading a Resistance Break (Long Setup): In a 15-minute chart of Nasdaq futures (NQ) during London close, a resistance zone at 18500 (height 50 points) breaks upward (high > 18550). Flip it to support. Place a buy limit order 50 points below the broken zone (at 18450), SL 50 points below entry (18400), TP 100 points above entry (18550). This catches pullbacks in uptrends. Longer timeframes like 15m may show fewer but more reliable breaks due to broader candle relationships—compare to 1m, where smaller candles might invalidate zones quicker.
Stop & Reverse Scenario: If the long position hits SL at 18400 (price drops below), reverse to a short position. Use the original 50-point zone: Place a sell limit order on the original broken resistance (now acting as flipped support, at 18500 box bottom), SL 50 points above the new entry (18550 box top), and TP 100 points below the new entry (18400, maintaining 1:2 RR). This captures potential downside momentum after the false break.
- Multi-Zone Contrarian Scalping in High-Volatility Sessions: On a 1-minute chart of Bitcoin (BTC/USD) during NY open, several zones form and break in quick succession. After a resistance at 65000 (height 200 USD) breaks, place buy limit 200 USD below (64800), SL at 64600, TP at 65200. Conversely, for a broken support at 64000 (height 150 USD), sell limit 150 USD above (64150), SL 64300, TP 63850. Use the max bars setting to limit zone lifespan in fast markets; enable volatility filter to focus on explosive sessions like news releases. This mode's standalone nature suits automated mindsets—backtest to quantify edge, noting 1m's frequent triggers vs. 15m's strategic ones.
Stop & Reverse Scenario: For the buy after resistance break, if it hits SL at 64600 (price falls below), reverse to short. Use the original 200 USD zone: Place a sell limit order on the original broken resistance (now acting as flipped support, at 65000 box bottom), SL 200 USD above the new entry (65200 box top), TP 400 USD below the new entry (64600, maintaining 1:2 RR). Similarly, for the sell after support break, if it hits SL at 64300 (price rallies above), reverse to buy: Use the original 150 USD zone: Place a buy limit order on the original broken support (now acting as flipped resistance, at 64000 box top), SL 150 USD below the new entry (63850 box bottom), TP 300 USD above the new entry (64300, maintaining 1:2 RR). This captures potential momentum after the false breaks.
- Risk Considerations for Both Modes: Always test scenarios historically and adjust for instrument specifics like pip/point values and spreads. For example, forex might use 1-2 pip buffers, while crypto needs larger due to volatility. This is not trading advice; users should evaluate independently and consult professionals.
KEY SETTINGS
- Indicator Mode: "Buy/Sell Signal Mode" for signals; "Support/Resistance Mode" for zones only.
- Show S/R Zones: Toggle box visibility.
- Colours: Customise active/historical zones, buy/sell labels.
- Max Bars for Signal: Zone extension limit (default: 288).
- Require Significant Volatility: Filter for notable sessions (default: true).
- Days to Keep Historical Zones: Retention period (default: 7).
- Show NotePad?: Toggle notes table.
ALERTS
- Signal Mode: On BUY/SELL triggers.
- S/R Mode: On new zone creation.
Backtest thoroughly before use.
Why Protected?
This script uses a proprietary zone detection method designed to highlight support/resistance zones in a clear, structured way. To maintain the integrity and unique utility of the algorithm, the code is closed-source.
Important Considerations
This tool does not guarantee profits and is not intended to replace sound trade management or risk discipline. It is designed to aid traders in visualiSing market structure. Use responsibly with appropriate risk measures.
Legal Disclaimer
This indicator is provided for educational and informational purposes only. It is not intended as financial, investment, or trading advice, and does not constitute a recommendation to buy, sell, or hold any financial instrument.
Trading financial markets involves substantial risk. Past performance of any trading strategy or indicator is not indicative of future results. Users of this indicator assume full responsibility for their trading decisions. No guarantees are made regarding the accuracy, reliability, or profitability of the signals generated by this tool.
This indicator is published as-is, without any express or implied warranties. The publishers shall not be held liable for any losses or damages, direct or indirect, arising from the use, misuse, or reliance on this tool.
All trading decisions should be made with consideration of your financial situation and risk tolerance. Consultation with a licensed financial advisor is strongly recommended before making any investment decisions.
By using this indicator, you acknowledge and agree to these terms. Your use constitutes acceptance of full responsibility and the understanding that trading is inherently risky and should be approached with caution and discipline.
SDRange+ [JJumbo]Dynamic SDRange+
versatile and highly customizable tool crafted for traders who rely on precise price levels and Time-based analysis, with a special focus on the Overnight Session (ONS) range.
This indicator defaults to capturing the critical 6:00 AM to 9:00 AM Eastern Time (America/New_York timezone) ONS window—a period often pivotal for setting the day's momentum and key price zones before regular trading hours (RTH) commence. However, its standout feature is the ability to define a custom session window, allowing traders to adapt the range to any preferred time period, making it suitable for various trading styles and market conditions beyond the standard ONS.
This script is crafted to trade mean reversions upon time defined ranges, with the help of the range projections you can identify the reversal and target areas helping you dissect you preferred session by catching the moves from the reversal to the expansion.
widely applicable to multiple time-frames. With the RTH candle coloring you can only highlight where the time of action will be at market open (9:30 ET) helping you focus on the right price action.
In addition to its adaptable range functionality, SDRange+ offers a suite of optional features:
- Pivot Sessions: Two configurable pivot windows to track supplementary overnight liquidity levels.
- Projections: Extensions and mean reversion zones, adjustable for upper, lower, or both directions.
- Visual Customization: Options to display open/close lines, tweak line styles, colors, and label sizes, and toggle a table showing the range size.
Designed for traders who demand precision and adaptability, SDRange+ excels in strategies leveraging pre-market or custom session price action, such as range breakouts, reversals, or trend continuations. Whether you’re analyzing the default 6:00-9:00 AM ONS range for early momentum or tailoring the session to your unique trading approach, this indicator delivers a robust and dynamic framework for technical analysis across any market.
Usage and features:
Mean reversion: use projections and range levels to detect reversals and targets
Liquidity pivots: Use liquidity pivots to identify session extremes
Menu inputs:
Bollinger Bands Oscillator | QuantMAC📊 Bollinger Bands Oscillator | QuantMAC
🎯 Overview
The Bollinger Bands Oscillator is a sophisticated technical analysis tool that combines the power of traditional Bollinger Bands with an oscillator-based approach for enhanced signal generation. This indicator transforms the classic Bollinger Bands into a percentage-based oscillator, providing clearer entry and exit signals for both trending and ranging markets.
🔧 Key Features
Dual Trading Modes : Choose between Long/Short or Long/Cash strategies
Advanced BB% Calculation : Enhanced Bollinger Band percentage with customizable multipliers
Comprehensive Metrics : Built-in performance analytics including Sharpe Ratio, Sortino Ratio, and Profit Factor
Visual Color Coding : Dynamic bar coloring and 9 different color schemes for optimal chart visibility
Date Range Filtering : Backtest specific time periods with customizable start dates
Real-time Signal Generation : Clear long and short entry signals with threshold customization
Advanced Risk Management : Half Kelly criterion calculation for optimal position sizing
📈 How It Works
The indicator operates by calculating a modified Bollinger Band percentage that oscillates between values, typically ranging from 0 to 100+. When the BB% crosses above the Long Threshold (default: 83), it generates a bullish signal. Conversely, when it crosses below the Short Threshold (default: 55), it produces a bearish signal.
Core Calculation Process:
Calculate the moving average basis using the specified Base Length (default: 40 periods)
Determine standard deviation using a separate SD Length (default: 27 periods)
Create upper and lower bands using the SD Multiplier (default: 2.6)
Convert to percentage oscillator with BB% Multiplier (default: 100)
Generate signals based on threshold crossovers
⚙️ Customizable Parameters
BMD Settings:
Base Length : Controls the moving average period (default: 40)
Standard Deviation Length : Determines volatility calculation period (default: 27)
SD Multiplier : Adjusts band width sensitivity (default: 2.6)
BB% Multiplier : Scales the oscillator values (default: 100)
Source : Choose price source (close, open, high, low, etc.)
Signal Thresholds:
Long Threshold : Entry level for bullish positions (default: 83)
Short Threshold : Entry level for bearish positions (default: 55)
🎨 Visual Elements
Main Chart Overlay:
Bollinger Bands : Upper and lower bands with customizable colors and transparency
Middle Line : Basis line displayed as subtle dots
Band Fill : Colored area between bands for easy visualization
Bar Coloring : Candles change color based on current signal state
Separate Oscillator Pane:
BB% Line : Main oscillator line with dynamic coloring
Threshold Lines : Horizontal lines marking entry/exit levels
Color Coding : Line colors change based on bullish/bearish state
📊 Performance Metrics
The indicator includes a comprehensive metrics table displaying:
Net Profit % : Total return percentage
Max Drawdown % : Maximum peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profit to gross loss
Sharpe Ratio : Risk-adjusted return measure
Sortino Ratio : Downside risk-adjusted return
Omega Ratio : Probability-weighted ratio of gains vs losses
Half Kelly % : Optimal position sizing recommendation
Total Trades : Number of completed transactions
🎯 Trading Strategies
Long/Short Mode: 🔄
The indicator alternates between long and short positions based on threshold crossovers. This mode is ideal for traders who can profit from both rising and falling markets.
Long/Cash Mode: 💰
This conservative approach only takes long positions, moving to cash during bearish signals. Perfect for traders in accounts that don't allow short selling or those preferring a buy-and-hold approach with strategic exits.
🚀 Getting Started
Add the indicator to your chart
Choose your preferred Trading Mode (Long/Short or Long/Cash)
Adjust the Base Length and SD Length to match your trading timeframe
Fine-tune the Long Threshold and Short Threshold based on your risk tolerance
Select your preferred color scheme from 9 available options
Enable the metrics table to monitor performance in real-time
💡 Pro Tips
Lower thresholds (e.g., Long: 75, Short: 60) generate more frequent but potentially less reliable signals
Higher thresholds (e.g., Long: 90, Short: 45) produce fewer but potentially higher-quality signals
Shorter base lengths make the indicator more responsive to recent price action
Longer base lengths smooth out noise but may lag market turns
Use the Half Kelly % metric to guide position sizing decisions
⚠️ Important Disclaimers
Past performance is not indicative of future results . This indicator is a technical analysis tool designed to assist in trading decisions but should not be used as the sole basis for investment choices.
Key Risk Considerations:
Market Conditions : No indicator works perfectly in all market environments
Backtesting Bias : Historical performance may not reflect future market behavior
Risk Management : Always use proper position sizing and stop-loss orders
Multiple Confirmations : Consider using additional indicators and analysis methods
📚 Educational Value
This indicator serves as an excellent learning tool for understanding:
Bollinger Band mechanics and interpretation
Oscillator-based trading strategies
Performance metrics and risk assessment
Position sizing using Kelly Criterion principles
The relationship between volatility and price movement
🔔 Updates and Support
The Bollinger Bands Oscillator | QuantMAC is regularly updated to ensure compatibility with TradingView's latest features. The code is thoroughly commented for educational purposes and transparency.
Remember: Trading involves substantial risk of loss and is not suitable for all investors. The value of investments may go down as well as up, and you may not get back the amount you invested. Always conduct your own research and consider seeking advice from a qualified financial advisor.
Alma SD SuperTrend | OquantAlma SD SuperTrend | Oquant
The "Alma SD SuperTrend | Oquant" is a trend-following indicator that integrates the Arnaud Legoux Moving Average (ALMA) with a SuperTrend calculation based on standard deviation (SD). Designed to quickly identify and follow market trends while reducing noise, this script provides buy and sell signals for traders across various assets and timeframes.
This script offers a unique approach by combining ALMA with a SuperTrend framework that uses standard deviation instead of the traditional Average True Range (ATR). This implementation focuses on fast trend detection with minimized noise, making it suitable for trend-following or swing trading strategies. The script’s customizable parameters allow traders to adapt it to their preferred trading style.
How It Works
Arnaud Legoux Moving Average (ALMA): ALMA is an advanced moving average that applies a Gaussian filter to smooth price data, reducing market noise while preserving responsiveness to price changes. It uses three parameters:
Length: Sets the lookback period for smoothing. Longer periods produce smoother results.
Offset: Shifts the moving average toward recent prices. Higher offsets emphasize newer data for faster trend detection.
Sigma controls the smoothness and lag of the Alma by adjusting the spread of the Gaussian distribution used in the calculation.
Standard Deviation (SD) Calculation: The script calculates the standard deviation of the price over a specified period to measure volatility. SD measures how much the prices deviate from its mean, offering a statistical perspective on market volatility. This is used to create dynamic upper and lower bands around the ALMA line, adjusted by a user-defined factor. The bands expand in volatile markets and contract in stable conditions, helping in trend detection.
SuperTrend Logic: The script generates a SuperTrend line that dynamically tracks market trends by switching between upper and lower volatility bands based on price movement. Here's how it works:
The SuperTrend line is calculated using the ALMA (Arnaud Legoux Moving Average) as a baseline, with upper and lower bands created by adding and subtracting a multiple(Factor) of the standard deviation (SD) from the ALMA.
When the price moves above the upper band, the SuperTrend line shifts to the lower band, indicating a bullish trend (potential buy signal).
When the price falls below the lower band, the SuperTrend line switches to the upper band, signaling a bearish trend (potential sell signal).
To avoid quick, unreliable changes, this script intelligently adjusts the SuperTrend bands for stability. While the SuperTrend line dynamically follows market movements, it's designed to hold at its previous level if the price doesn't cross a band or confirm a new trend direction. This approach ensures the SuperTrend quickly identifies and follows genuine market trends, providing clear signals while effectively reducing false alerts from short-term price swings.
Differences from Traditional SuperTrend:
Baseline: The traditional SuperTrend typically uses a hl2((high + low)/2)as its baseline, while this script employs ALMA for a smoother, noise-filtered trend foundation.
Volatility Measure: Instead of ATR, this script uses standard deviation to calculate the bands. Standard deviation measures how much the prices vary or spread out from its mean.
Visualization: The script plots the SuperTrend line, colors candles to match the trend, and fills the area between the price and the SuperTrend line for visual clarity, helping traders quickly identify trend direction and strength (green for bullish, purple for bearish).
How to Use It
Add to Chart: Apply the indicator to any market and timeframe.
Interpret Signals:
Green Line and Candles: Bullish trend (price above the SuperTrend line). Consider long entries.
Purple Line and Candles: Bearish trend (price below the SuperTrend line). Consider short entries.
Filled Area: The shaded area between price and the SuperTrend line highlights trend direction(green for bullish, purple for bearish).
Adjust Inputs:
Source: Select the price data to use (e.g., close, open, high, low).
Factor: Adjusts band width. Higher values widen bands, reducing sensitivity.
SD Length: Period for calculating standard deviation. Longer periods smooth volatility.
ALMA Length: Period for ALMA. Longer periods increase smoothness.
Alma Offset: Shift the moving average toward recent or older prices. Higher offsets emphasize newer data for faster trend detection.
ALMA Sigma control the smoothness and lag of the Alma by adjusting the spread of the Gaussian distribution used in the calculation.
Alerts
This indicator includes optional built-in alert conditions that notify you when the signal crosses above 0 (long signal, price above upper band) or below 0 (short signal, price below lower band). Enable these alerts to get timely updates on potential trend shifts without constantly monitoring the chart.
⚠️ 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.
FoundryFutures Volatility Deviations
🔍 What This Tool Does
This indicator is designed to help traders visualize volatility-based expected move zones around the daily close and VWAP (Volume Weighted Average Price).
It applies a simple but widely used approach:
Uses volatility (from the VIX):
Calculates standard deviation/Sigma Levels(σ) around key reference prices (prior close and prior VWAP) to show reversion or extension from mean trade scenarios
✅ Key features:
Multi-day VWAP calculations
Customizable colors, line styles, and widths
Optional deviation labels for quick reading
Visual fills between zones for clear context
📈 How It Works (Methodology)
Implied Volatility Input:
The script pulls the previous day’s VIX close as a baseline implied volatility estimate.
This value is normalized and scaled for the number of trading days in a year (user can choose 252 or 365).
Deviation / Sigma Levels:
Expected daily price movement is calculated using the classic square root of time method.
Bands are plotted above and below the prior day’s closing price and VWAP.
Users can adjust line appearance and labels to fit their style.
VWAP Context:
Includes daily VWAP and a rolling multi-day VWAP.
VWAP help frame intraday mean reversion or trend continuation scenarios.
⚙️ How To Use It📚 Educational Use Only!
This is not a buy/sell signal generator. It is an analytical framework to support your own research.
✅ Add it to your favorites/chart:
Click Add to Chart in the TradingView Indicator Library (once published).
Customize inputs:
Choose deviation settings and trading days
Adjust colors, line width, and styles
Toggle labels on/off
Observe how price interacts with deviation zones during your intraday analysis.
💡 Best Practices
Treat deviation bands as contextual zones, not hard levels.
Combine with your other frameworks (VWAP, order flow, market profile) to develop hypotheses for trade setups.
Use the fills between VWAP and Close deviations to spot compression or expansion phases.
⚠️ Important Risk Disclosures
📉 No Guaranteed Outcomes: Markets are uncertain and volatile.
These deviation levels do not predict future price moves with certainty.
🧩 Use With Other Tools: This indicator works best when combined with a robust trade plan, risk management, and other forms of market context.
❗ Not Financial Advice: This is an educational tool only. It does not recommend specific trades or guarantee profits.
📝 Full Release of Liability
Disclaimer:
This indicator is provided as is for educational purposes only.
The creator, contributors, and TradingView do not accept any liability for losses, damages, or risks incurred by using this tool.
By adding this indicator to your charts, you agree that you are solely responsible for your own trading decisions and outcomes.
Always consult with a qualified financial advisor before making trading or investment decisions.
Happy charting, stay disciplined, and use it wisely!
📊 — FoundryFutures
MTF Order Flow DashboardThe MTF Order Flow Dashboard is a compact, real-time table overlay that provides an at-a-glance view of market structure across three key timeframes:
✅ 1-Minute
✅ 5-Minute
✅ 1-Hour
//If extra 1 min is added to candle closure countdown wait till next tick for correction//
This tool is designed to help traders quickly assess directional bias, detect structure shifts, and stay aware of upcoming candle closes — a powerful aid for scalping, day trading, or momentum-based strategies.
Pivot-Based Market Structure Detection
Uses user-defined pivot length to determine if the market is showing a Bullish, Bearish, or Neutral structure on each timeframe.
Color-Coded Structure
Easily visualize the current trend per timeframe:
🟢 Bullish | 🔴 Bearish | ⚪ Neutral
Live Candle Countdown Timers
Displays time remaining until the next candle close for each timeframe, using timenow for near real-time updates (as fast as ticks arrive).
Compact Table Display
Non-intrusive table displayed in the top-right of your chart with clean formatting for fast decision-making.
Built-in Alerts
Optional alerts when all timeframes align bullish or bearish, giving potential trade setup signals.
Inputs:
Select timeframes for structure analysis (1m, 5m, 1h)
Adjust pivot sensitivity with the Pivot Length input
Volatility Strategy 01a quantitative volatility strategy (especially effective in trend direction on the 15min chart on the s&p-index)
the strategy is a rule-based setup, which dynamically adapts to the implied volatility structure (vx1!–vx2!)
context-dependent mean reversion strategy based on multiple timeframes in the vix index
a signal is provided under following conditions:
1. the vvix/vix spread has deviated significantly beyond one standard deviation
2. the vix is positioned above or below 3 moving averages on 3 minor timeframes
3. the trade direction is derived from the projected volatility regime, measured via vx1! and vx2! (cboe)
Volatility Zones (STDEV %)This indicator displays the relative volatility of an asset as a percentage, based on the standard deviation of price over a custom length.
🔍 Key features:
• Uses standard deviation (%) to reflect recent price volatility
• Classifies volatility into three zones:
Low volatility (≤2%) — highlighted in blue
Medium volatility (2–4%) — highlighted in orange
High volatility (>4%) — highlighted in red
• Supports visual background shading and colored line output
• Works on any timeframe and asset
📊 This tool is useful for identifying low-risk entry zones, periods of expansion or contraction in price behavior, and dynamic market regime changes.
You can adjust the STDEV length to suit your strategy or timeframe. Best used in combination with your entry logic or trend filters.
Adaptive Multi-MA OptimizerAdaptive Multi-MA Optimizer
This indicator provides a powerful, customizable solution for traders seeking dynamically optimized moving averages with precision and control. It integrates multiple custom-built moving average types, applies real-time volatility-based optimization, and includes an optional composite smoothing engine.
🧠 Key Features
Dynamic Optimization:
Automatically selects the optimal lookback length based on market volatility stability using a custom standard deviation differential model.
Multiple Custom MA Types:
Includes fully custom implementations of:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted MA)
DEMA (Double EMA)
TEMA (Triple EMA)
Hull MA
ALMA (Arnaud Legoux MA)
Composite MA Option:
A unique "Composite" mode blends all supported MAs into a single average, then applies optional smoothing for enhanced signal clarity.
Dynamic Smoothing:
The composite mode supports volatility-adjusted smoothing (based on optimized lookback), making it adaptable to different market regimes.
Fully Custom Logic:
No built-in MA functions are used — every moving average is hand-coded for transparency and educational value.
⚙️ How It Works
Optimization:
The script evaluates a range of lengths (minLen to maxLen) using the standard deviation of price returns. It selects the length with the most stable recent volatility profile.
Calculation:
The selected MA type is calculated using that optimized length. If "Composite" is chosen, all MA types are averaged and smoothed dynamically.
Visualization:
The adaptive MA is plotted on the chart, changing color based on its position relative to price.
📌 Use Cases
Trend-following strategies that adapt to different market conditions.
Traders wanting a high-fidelity composite of multiple MAs.
Analysts interested in visualizing market smoothness without lag-heavy signals.
Coders looking to learn how to build custom indicators from scratch.
🧪 Inputs
MA Type: Choose from 8 MA types or a blended Composite.
Lookback Range: Control min/max and step size for optimization.
Source: Choose any price series (e.g., close, hl2).
⚠️ Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice, trading advice, or investment recommendations. Use of this script is at your own risk. Past performance does not guarantee future results. Always perform your own analysis and consult with a qualified financial advisor before making trading decisions.
Dynamic Laguerre Filter Bands | OttoThis indicator combines trend-following and volatility analysis by enhancing the traditional Laguerre filter with a dynamic, volatility-adjusted band system. Instead of using fixed thresholds, the bands adapt in real-time to changing market conditions by applying smoothed standard deviation calculations. This design keeps the indicator responsive to significant price movements while effectively filtering out short-term market noise, resulting in more accurate trend identification and breakout signals.
Core Concept
The indicator is built around the following key components:
Laguerre Filter:
The Laguerre filter is designed to smooth out price data by reducing market noise while still being quick enough to detect real changes in price direction. Its goal is to create a clear, smooth trend line that helps traders/investors focus on the overall market trend without getting distracted by small, random price swings.
It uses a parameter called gamma to control how it balances smoothness and responsiveness:
A lower gamma gives more weight to recent price data, making the filter react faster to new price changes. This means the trend line is more sensitive but may also be less smooth and more prone to small fluctuations.
A higher gamma gives more weight to past price data, making the filter smoother and less sensitive to quick changes. This helps reduce noise and produces a steadier trend line, but it also introduces more lag, meaning the filter reacts slower to new price moves.
By adjusting gamma, the Laguerre filter lets you choose the balance between following price changes quickly and having a stable, noise-free trend signal.
Standard Deviation:
shows how much price varies from the mean. In this indicator, it’s used to measure market volatility.
Volatility Bands: The upper and lower bands are based on an EMA-smoothed standard deviation of price. The EMA reduces sudden jumps in volatility, creating smoother and more stable bands that still respond to changing market conditions. These bands are plotted around the Laguerre filter line, expanding and contracting in a controlled way to stay aligned with real market movement while avoiding short-term noise.
Signal Logic:
A long signal is triggered when the close price crosses above the upper band.
A short signal occurs when the close price falls below the lower band.
⚙️ Inputs
Source: Price source used in calculations
Gamma: Adjusts how much the Laguerre filter responds to price changes. Lower gamma values make the filter react more to recent prices, while higher values give more influence to older data, making the line smoother but slower to respond.
Volatility Length: Period used to calculate standard deviation
Volatility Smoothing Length: EMA smoothing length for standard deviation
Multiplier: Scales the width of the bands based on volatility
📈 Visual Output
Laguerre Filter Line: Plots the laguerre filter line, colored dynamically based on signal direction (green for bullish, purple for bearish)
Upper & Lower Bands: Volatility-based bands that adjust with market conditions. (green for bullish, purple for bearish)
Glow Effect: Optional glow layer to enhance visibility of the laguerre filter trend line (green for bullish, purple for bearish)
Bar Coloring: Candlesticks and bar colors reflect the active signal state for fast visual interpretation (green for bullish, purple for bearish)
How to Use
Apply the indicator to your chart and monitor for signal events:
Long Signal: When price closes above the upper band
Short Signal: When price closes below the lower band
🔔 Alerts
This indicator supports optional alert conditions you can enable for:
Long Signal: Close price crossing above the upper band
Short Signal: Close price crossing below the lower band
⚠️ 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.
Adaptive Normalized Global Liquidity OscillatorAdaptive Normalized Global Liquidity Oscillator
A dynamic, non-repainting oscillator built on real central bank balance sheet data. This tool visualizes global liquidity shifts by aggregating monetary asset flows from the world’s most influential central banks.
🔍 What This Script Does:
Aggregates Global Liquidity:
Includes Federal Reserve (FED) assets and subtracts liabilities like the Treasury General Account (TGA) and Reverse Repo Facility (RRP), combined with asset positions from the ECB, BOJ, PBC, BOE, and over 10 other central banks. All data is normalized into USD using FX rates.
Adaptive Normalization:
Optimizes the lookback period dynamically based on rate-of-change stability—no fixed lengths, enabling adaptation across macro conditions.
Self-Optimizing Weighting:
Applies inverse standard deviation to balance raw liquidity, smoothed momentum (HMA), and standardized deviation from the mean.
Percentile-Ranked Highlights:
Liquidity readings are ranked relative to history—extremes are visually emphasized using gradient color and adaptive transparency.
Non-Repainting Design:
Data is anchored with bar index awareness and offset techniques, ensuring no forward-looking bias. What you see is what was known at that time.
⚠️ Important Interpretation Note:
This is not a zero-centered oscillator like RSI or MACD. The signal line does not represent neutrality at zero.
Instead, a dynamic baseline is calculated using a rolling mean of scaled liquidity.
0 is irrelevant on its own—true directional signals come from crosses above or below this adaptive baseline.
Even negative values may signal strength if they are rising above the moving average of past liquidity conditions.
✅ What to Watch For:
Crossover Above Dynamic Baseline:
Indicates liquidity is expanding relative to recent conditions—supports a risk-on interpretation.
Crossover Below Dynamic Baseline:
Suggests deteriorating liquidity conditions—may align with risk-off shifts.
Percentile Extremes:
Readings near the top or bottom historical percentiles can act as contrarian or confirmation signals, depending on momentum.
⚙️ How It Works:
Bounded Normalization:
The final oscillator is passed through a tanh function, keeping values within and reducing distortion.
Adaptive Transparency:
The strength of deviations dynamically adjusts plot intensity—visually highlighting stronger liquidity shifts.
Fully Customizable:
Toggle which banks are included, adjust dynamic optimization ranges, and control visual display options for plot and background layers.
🧠 How to Use:
Trend Confirmation:
Sustained rises in the oscillator above baseline suggest underlying monetary support for asset prices.
Macro Turning Points:
Reversals or divergences, especially near OB/OS zones, can foreshadow broader risk regime changes.
Visual Context:
Use the dynamic baseline to see if liquidity is supportive or suppressive relative to its own adaptive history.
📌 Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always consult a qualified financial advisor before making trading or investment decisions.
Adaptive RSI Oscillator📌 Adaptive RSI Oscillator
This indicator transforms the classic RSI into a fully adaptive, self-optimizing oscillator — normalized between -1 and 1, dynamically smoothed, and enhanced with divergence detection.
🔧 Key Features
Self-Optimizing RSI: Automatically selects the optimal RSI lookback length based on return stability (no hardcoded periods).
Dynamic Smoothing: Adapts to market conditions using a fraction of the optimized length.
Normalized Output : Converts traditional RSI to a consistent scale across all assets and timeframes.
Divergence Detection: Compares RSI behavior vs. price percentile ranks and scales the signal accordingly.
Gradient Visualization: Color-coded background and plot lines reflect the strength and direction of the signal with soft transitions.
Neutral Zone Adaptation: Dynamically widens or narrows the zone of inaction based on volatility, reducing noise.
🎯 Use Cases
Identify extreme momentum zones without relying on fixed 70/30 RSI levels
Detect divergences early with adaptive filtering
Highlight potential exhaustion or continuation
⚠️ Disclaimer: This indicator is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult a licensed financial advisor before making investment decisions. Use at your own risk.
Adaptive Signal Oscillator (ASO)📘 Adaptive Signal Oscillator (ASO)
A fully dynamic, self-calibrating oscillator that adapts to any asset or timeframe by optimizing for real-time signal stability and volatility structure — without relying on static parameters or hardcoded thresholds.
🔍 Overview
The Adaptive Signal Oscillator (ASO) is a next-generation technical analysis tool designed to provide context-aware long/short signals across crypto, equities, or forex markets. Unlike traditional oscillators (RSI, Stochastics, MACD), ASO requires no manual tuning of lookback periods or overbought/oversold zones — it self-optimizes based on current market behavior.
🧠 How It Works
✅ 1. Dynamic Lookback Optimization
ASO evaluates a range of lookback lengths between user-defined minLen and maxLen. For each length, it calculates the standard deviation of returns and finds the one with the least volatility change (i.e., the most stable structure). This length is dynamically assigned as bestLen, recalculated on every bar.
✅ 2. Multi-Layer Signal Composition
Four independent signal layers are computed using bestLen:
RSI Layer: Measures relative price strength via a custom dynamic RSI.
Z-Score Layer: Standardized deviation of price from its mean.
Volatility Layer: Standard deviation of log or percent returns.
Price Position Layer: Current price percentile within the lookback window.
Each of these layers is transformed into a percentile score scaled to the range .
✅ 3. Volatility-Based Weighting
The standard deviation (volatility) of each signal layer is computed. Less volatile layers are weighted more heavily, ensuring the final composite signal prioritizes stable, consistent inputs.
Weights are normalized and combined to form a composite score, representing a dynamically blended, noise-weighted signal across the four layers.
✅ 4. Optional Adaptive Smoothing
A boolean toggle lets users apply smoothing to the final score. The smoothing window scales proportionally to bestLen, preserving adaptiveness even during trend transitions.
✅ 5. Percentile-Based Thresholding
Rather than using arbitrary fixed thresholds, ASO converts the composite score into a ranked percentile. Long/short signals are then generated based on user-defined percentile bands, adapting naturally to each asset’s behavior.
📈 Interpreting ASO
Score > Threshold → Strong long signal (highlighted in aqua).
Score < Threshold → Strong short signal (highlighted in fuchsia).
Crossing h_thresh (e.g., 0) → Neutral-to-bias change; useful for early trend cues.
The background and label update in real time to reflect the current regime and bestLen.
⚙️ Inputs
minLen, maxLen, step: Define the search range for optimal lookback length.
retMethod: Choose between log or percent return calculations.
threshHigh, threshLow: Define signal zones using percentiles.
smooth: Enable dynamic score smoothing.
h_thresh: Midline crossover zone for directional context.
⚠️ Disclaimer
This tool is designed for exploratory and educational purposes only. It does not offer financial advice or trading recommendations. Past performance is not indicative of future results.
Always consult a licensed financial advisor before making investment decisions.
Option Range Projector PRO (with Alerts)Indicator Name: Option Range Projector PRO (with Alerts)
Short Description
This is a powerful and flexible tool for traders that visualizes expected price movement ranges based on option pricing principles and statistical deviations. The indicator plots standard deviation levels (Sigmas) and boundaries calculated from the price of an options Straddle, providing a unique insight into market volatility expectations.
It is ideal for options traders, as well as those who trade futures or spot assets and want to gain an edge by understanding where the market anticipates price boundaries on a specific date.
Core Concepts
The indicator is based on three key ideas:
Standard Deviation (Sigma, σ): In statistics, this is a measure of value dispersion. In trading, when applied to prices, standard deviation levels show the probable range within which the price is expected to remain until a specific date (expiration).
±1σ (1 Sigma): Approximately 68.2% probability that the price will stay within this range.
±2σ (2 Sigmas): Approximately 95.4% probability. These levels often act as strong support/resistance.
±3σ (3 Sigmas): Approximately 99.7% probability. Reaching these levels is a statistically rare event.
Implied Volatility (IV): This is a key component. IV is the market's forecast of the asset's future volatility. It is derived from current option prices and reflects how significant the price movements are expected to be by traders. The higher the IV, the wider the calculated ranges will be.
Straddle-Based Levels: A straddle is an options strategy involving the simultaneous purchase of a Call and a Put option with the same strike price and expiration date. The cost of this combination (Call + Put) directly reflects the market's expected price movement in points. Our indicator uses this value to construct alternative, highly accurate boundaries of the expected range.
Key Features
Flexible Expiration Choice: Easily switch between standard contracts (Weekly, Monthly, Quarterly) or set any custom number of days to expiration (DTE).
Dual Volatility Calculation Mode: Use automatic calculation based on historical data or enter a precise IV value manually (e.g., from your broker's terminal) for maximum accuracy.
Two Types of Predictive Levels: Visualize classic standard deviations (Sigmas) and/or levels calculated from the Straddle price for a comprehensive analysis.
Expiration Comparison: Enable the display of additional levels for a different expiration date to visually compare short-term and long-term market expectations.
"Greeks" Calculation: The indicator calculates and displays key option Greeks (Delta, Gamma, Theta, Vega), helping to deepen the understanding of an option position's characteristics.
Informative Table: All key data—ATM price, IV, DTE, level prices, Greeks, and option prices—are consolidated into one clear table for quick analysis.
Customizable Alerts: Get instant notifications directly in TradingView when the price crosses any of the important levels (±1σ, ±2σ, ±3σ).
Full Visual Customization: Control colors, line thickness, labels, and zone fills to adapt the indicator to your trading style.
How to Use (Settings)
Price Settings:
Auto-detect ATM Price: When enabled, the indicator will use the current closing price as the At-The-Money (ATM) price.
Manual ATM Price: If auto mode is disabled, you can set a precise ATM price manually.
Volatility Settings:
Auto-calculate IV: Calculates historical volatility over a specified period. Useful if you don't have access to real-time IV.
Manual IV Value: (Recommended for accuracy). Enter the Implied Volatility (IV) value for the desired strike from your brokerage terminal or analytical services here.
Expiration:
Contract Type: Choose one of the standard terms (Weekly, Monthly, Quarterly) or "Custom" to use a manual day input.
Days to Expiration: Active only for the "Custom" type.
Show Multiple Expirations: Enables a second set of levels with a different term for comparison.
Straddle Boundaries:
Use Manual Input: Allows you to enter the precise Call and Put Settle prices from the official exchange summary (e.g., from the CME website). This provides the most accurate boundaries based on real market prices.
Trading Ideas and Application
Mean Reversion Trading: The ±2σ and ±3σ levels often act as strong overbought/oversold zones. A price reaching these extreme values has a high statistical probability of reversing or correcting back towards the central ATM price.
Trend Confirmation and Breakouts: A confident close outside the ±1σ range can indicate the beginning of a strong directional move.
Risk Management: Use the levels to set stop-losses or determine profit targets. For example, when opening a trade near the +1σ level, you might consider a target at +2σ and place a stop-loss behind the ATM level.
Volatility Analysis: By comparing the width of the ranges for different expirations, you can assess how the market is pricing short-term versus long-term risks. A narrow range suggests low expectations, while a wide range indicates high ones.
Disclaimer: This indicator is an analysis tool and does not provide direct financial advice or trading signals. All trading decisions are your own. Use this indicator in conjunction with other analysis methods.
VWAP %BVWAP %B - Volume Weighted Average Price Percent B
The VWAP %B indicator combines the reliability of VWAP (Volume Weighted Average Price) with the analytical power of %B oscillators, similar to Bollinger Bands %B but using volume-weighted statistics.
## How It Works
This indicator calculates where the current price sits relative to VWAP-based standard deviation bands, expressed as a percentage from 0 to 1:
• **VWAP Calculation**: Uses volume-weighted average price as the center line
• **Standard Deviation Bands**: Creates upper and lower bands using standard deviation around VWAP
• **%B Formula**: %B = (Price - Lower Band) / (Upper Band - Lower Band)
## Key Levels & Interpretation
• **Above 1.0**: Price is trading above the upper VWAP band (strong bullish momentum)
• **0.8 - 1.0**: Overbought territory, potential resistance
• **0.5**: Price exactly at VWAP (equilibrium)
• **0.2 - 0.0**: Oversold territory, potential support
• **Below 0.0**: Price is trading below the lower VWAP band (strong bearish momentum)
## Trading Applications
**Trend Following**: During strong trends, breaks above 1.0 or below 0.0 often signal continuation rather than reversal.
**Mean Reversion**: In ranging markets, extreme readings (>0.8 or <0.2) may indicate potential reversal points.
**Volume Context**: Unlike traditional %B, this incorporates volume weighting, making it more reliable during high-volume periods.
## Parameters
• **Length (20)**: Period for standard deviation calculation
• **Standard Deviation Multiplier (2.0)**: Controls band width
• **Source (close)**: Price input for calculations
## Visual Features
• Reference lines at key levels (0, 0.2, 0.5, 0.8, 1.0)
• Background highlighting for extreme breaks
• Real-time values table
• Clean oscillator format below price chart
Perfect for intraday traders and swing traders who want to combine volume analysis with momentum oscillators.
RSI MSB | QuantMAC📊 RSI MSB | QuantMAC
🎯 Overview
The RSI MSB (Momentum Shifting Bands) represents a groundbreaking fusion of traditional RSI analysis with advanced momentum dynamics and adaptive volatility bands. This sophisticated indicator combines RSI smoothing , relative momentum calculations , and dynamic standard deviation bands to create a powerful oscillator that automatically adapts to changing market conditions, providing superior signal accuracy across different trading environments.
🔧 Key Features
Hybrid RSI-Momentum Engine : Proprietary combination of smoothed RSI with relative momentum analysis
Dynamic Adaptive Bands : Self-adjusting volatility bands that respond to indicator strength
Dual Trading Modes : Flexible Long/Short or Long/Cash strategies for different risk preferences
Advanced Performance Analytics : Comprehensive metrics including Sharpe, Sortino, and Omega ratios
Smart Visual System : Dynamic color coding with 9 professional color schemes
Precision Backtesting : Date range filtering with detailed historical performance analysis
Real-time Signal Generation : Clear entry/exit signals with customizable threshold sensitivity
Position Sizing Intelligence : Half Kelly criterion for optimal risk management
📈 How The MSB Technology Work
The Momentum Shifting Bands technology is built on a revolutionary approach that combines multiple signal sources into one cohesive system:
RSI Foundation : 💪
Calculate traditional RSI using customizable length and source
Apply exponential smoothing to reduce noise and false signals
Normalize values for consistent performance across different timeframes
Momentum Analysis Engine : ⚡
Compute fast and slow momentum using rate of change calculations
Calculate relative momentum by comparing fast vs slow momentum
Normalize momentum values to 0-100 scale for consistency
Apply smoothing to create stable momentum readings
Dynamic Combination : 🔄
The genius of MSB lies in its weighted combination of RSI and momentum signals. The momentum weight parameter allows traders to adjust the balance between RSI stability and momentum responsiveness, creating a hybrid indicator that captures both trend continuation and reversal signals.
Adaptive Band System : 🎯
Calculate dynamic standard deviation multiplier based on indicator strength
Generate upper and lower bands that expand during high volatility periods
Create normalized oscillator that scales between band boundaries
Provide visual reference for overbought/oversold conditions
⚙️ Comprehensive Parameter Control
RSI Settings : 📊
RSI Length: Controls the period for RSI calculation (default: 21)
Source: Price input selection (close, open, high, low, etc.)
RSI Smoothing: Reduces noise in RSI calculations (default: 20)
Momentum Settings : 🔥
Fast Momentum Length: Short-term momentum period (default: 19)
Slow Momentum Length: Long-term momentum period (default: 21)
Momentum Weight: Balance between RSI and momentum (default: 0.6)
Oscillator Settings : ⚙️
Base Length: Foundation moving average for band calculations (default: 40)
Standard Deviation Length: Period for volatility measurement (default: 53)
SD Multiplier: Base band width adjustment (default: 0.7)
Oscillator Multiplier: Scaling factor for oscillator values (default: 100)
Signal Thresholds : 🎯
Long Threshold: Bullish signal trigger level (default: 93)
Short Threshold: Bearish signal trigger level (default: 53)
🎨 Advanced Visual System
Main Chart Elements : 📈
Dynamic Shifting Bands: Upper and lower bands with intelligent transparency
Adaptive Fill Zone: Color-coded area between bands showing current market state
Basis Line: Moving average foundation displayed as subtle reference points
Smart Bar Coloring: Candles change color based on oscillator state for instant visual feedback
Oscillator Pane : 📊
Normalized MSB Oscillator: Main signal line with dynamic coloring based on market state
Threshold Lines: Horizontal reference lines for entry/exit levels
Zero Line: Central reference for oscillator neutrality
Color State Indication: Line colors change based on bullish/bearish conditions
📊 Professional Performance Metrics
The built-in analytics suite provides institutional-grade performance measurement:
Net Profit % : Total strategy return percentage
Maximum Drawdown % : Worst peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profits to gross losses
Sharpe Ratio : Risk-adjusted return measurement
Sortino Ratio : Downside-focused risk adjustment
Omega Ratio : Probability-weighted performance ratio
Half Kelly % : Optimal position sizing recommendation
Total Trades : Complete transaction count
🎯 Strategic Trading Applications
Long/Short Mode : ⚡
Maximizes profit potential by capturing both upward and downward price movements. The MSB technology helps identify when momentum is building in either direction, allowing for optimal position switches between long and short positions.
Long/Cash Mode : 🛡️
Conservative approach ideal for retirement accounts or risk-averse traders. The indicator's adaptive nature helps identify the best times to be invested versus sitting in cash, protecting capital during adverse market conditions.
🚀 Unique Advantages
Traditional Indicators vs RSI MSB :
Static vs Dynamic: While most indicators use fixed parameters, MSB bands adapt based on indicator strength
Single Signal vs Multi-Signal: Combines RSI reliability with momentum responsiveness
Lagging vs Balanced: Optimized balance between signal speed and accuracy
Simple vs Intelligent: Advanced momentum analysis provides superior market insight
💡 Professional Setup Guide
For Day Trading (Short-term) : 📱
RSI Length: 14-18
RSI Smoothing: 12-15
Momentum Weight: 0.7-0.8
Thresholds: Long 90, Short 55
For Swing Trading (Medium-term) : 📊
RSI Length: 21-25 (default range)
RSI Smoothing: 18-22
Momentum Weight: 0.5-0.7
Thresholds: Long 93, Short 53 (defaults)
For Position Trading (Long-term) : 📈
RSI Length: 25-30
RSI Smoothing: 25-30
Momentum Weight: 0.4-0.6
Thresholds: Long 95, Short 50
🧠 Advanced Trading Techniques
MSB Divergence Analysis : 🔍
Watch for divergences between price action and MSB readings. When price makes new highs/lows but the oscillator doesn't confirm, it often signals upcoming reversals or momentum shifts.
Band Width Interpretation : 📏
Expanding Bands: Increasing volatility, expect larger price moves
Contracting Bands: Decreasing volatility, prepare for potential breakouts
Band Touches: Price touching outer bands often signals reversal opportunities
Multi-Timeframe Analysis : ⏰
Use MSB on higher timeframes for trend direction and lower timeframes for precise entry timing. The momentum component makes it particularly effective for timing entries within established trends.
⚠️ Important Risk Disclaimers
Critical Risk Factors :
Market Conditions: No indicator performs equally well in all market environments
Backtesting Limitations: Historical performance may not reflect future market behavior
Parameter Sensitivity: Different settings may produce significantly different results
Volatility Risk: Momentum-based indicators can be sensitive to extreme market conditions
Capital Risk: Always use appropriate position sizing and stop-loss protection
📚 Educational Benefits
This indicator provides exceptional learning opportunities for understanding:
Advanced RSI analysis and momentum integration techniques
Adaptive indicator design and dynamic band calculations
The relationship between momentum shifts and price movements
Professional risk management using Kelly Criterion principles
Modern oscillator interpretation and multi-signal analysis
🔍 Market Applications
The RSI MSB works effectively across various markets:
Forex : Excellent for currency pair momentum analysis
Stocks : Individual equity and index trading with momentum confirmation
Commodities : Adaptive to commodity market momentum cycles
Cryptocurrencies : Handles extreme volatility with momentum filtering
Futures : Professional derivatives trading applications
🔧 Technical Innovation
The RSI MSB represents advanced research into multi-signal technical analysis. The proprietary momentum-RSI combination has been optimized for:
Computational Efficiency : Fast calculation even on high-frequency data
Signal Clarity : Clear, actionable trading signals with reduced noise
Market Adaptability : Automatic adjustment to changing momentum conditions
Parameter Flexibility : Wide range of customization options for different trading styles
🔔 Updates and Evolution
The RSI MSB | QuantMAC continues to evolve with regular updates incorporating the latest research in momentum-based technical analysis. The comprehensive parameter set allows for extensive customization and optimization across different market conditions.
Past Performance Disclaimer : Past performance results shown by this indicator are hypothetical and not indicative of future results. Market conditions change continuously, and no trading system or methodology can guarantee profits or prevent losses. Historical backtesting may not reflect actual trading conditions including market liquidity, slippage, and fees that would affect real trading results.
Master The Markets With Multi-Signal Intelligence! 🎯📈
COV Bands ~ C H I P ACOV Bands ~ C H I P A is a custom volatility and trend identification tool designed to capture directional shifts using the Coefficient of Variation (COV), calculated from standard deviation relative to a mean price baseline.
Key features include:
A configurable SMA-based mean baseline to anchor volatility measurements clearly.
Adjustable upper and lower band multipliers to independently calibrate sensitivity and responsiveness for bullish or bearish breakouts.
Dynamic bands derived from price-relative volatility (COV), enabling adaptive identification of significant price deviations.
User-controlled standard deviation length to manage sensitivity and smoothness of volatility signals.
Direct candle coloring, providing immediate visual feedback using vibrant electric blue for bullish momentum and bright red for bearish momentum.
This indicator is particularly useful for detecting meaningful price movements, breakout signals, and potential reversals when the market moves significantly beyond its typical volatility boundaries.
Note: This indicator has not undergone formal robustness or optimization testing. Therefore, future performance in live trading environments isn't guaranteed.
RSI Shifting Band Oscillator | QuantMAC📊 RSI Shifting Band Oscillator | QuantMAC
🎯 Overview
The RSI Shifting Band Oscillator represents a breakthrough in adaptive technical analysis, combining the innovative dual-stage RSI processing with dynamic volatility bands to create an oscillator that automatically adjusts to changing market momentum conditions. This cutting-edge indicator goes beyond traditional static approaches by using smoothed RSI to dynamically shift band width based on momentum transitions, providing superior signal accuracy across different market regimes.
🔧 Key Features
Revolutionary Dual RSI Technology: Proprietary two-stage RSI calculation with exponential smoothing that measures momentum transitions in real-time
Dynamic Adaptive Bands: Self-adjusting volatility bands that expand and contract based on RSI distance from equilibrium
Dual Trading Modes: Flexible Long/Short or Long/Cash strategies for different trading preferences
Advanced Performance Analytics: Comprehensive metrics including Sharpe, Sortino, and Omega ratios
Smart Visual System: Dynamic color coding with 9 professional color schemes
Precision Backtesting: Date range filtering with detailed historical performance analysis
Real-time Signal Generation: Clear entry/exit signals with customizable threshold sensitivity
Position Sizing Intelligence: Half Kelly criterion for optimal risk management
📈 How The Dual RSI Technology Works
The Dual RSI system is the heart of this indicator's innovation. Unlike traditional RSI implementations, this approach analyzes the smoothed momentum transitions between different RSI states, providing early warning signals for momentum regime changes.
RSI Calculation Process:
Calculate traditional RSI using specified length and price source
Apply exponential moving average smoothing to reduce noise
Measure RSI distance from neutral 50 level to determine momentum strength
Use RSI deviation to dynamically adjust standard deviation multipliers
Create adaptive bands that respond to momentum conditions
Generate normalized oscillator values for clear signal interpretation
The genius of this dual RSI approach lies in its ability to detect when markets are transitioning between momentum and consolidation periods before traditional indicators catch up. This provides traders with a significant edge in timing entries and exits.
⚙️ Comprehensive Parameter Control
RSI Settings:
RSI Length: Controls the lookback period for momentum analysis (default: 14)
RSI Smoothing: Reduces noise in RSI calculations using EMA (default: 20)
Source: Price input selection (close, open, high, low, etc.)
Oscillator Settings:
Base Length: Foundation moving average for band calculations (default: 40)
Standard Deviation Length: Period for volatility measurement (default: 26)
SD Multiplier: Base band width adjustment (default: 2.7)
Oscillator Multiplier: Scaling factor for oscillator values (default: 100)
Signal Thresholds:
Long Threshold: Bullish signal trigger level (default: 90)
Short Threshold: Bearish signal trigger level (default: 56)
🎨 Advanced Visual System
Main Chart Elements:
Dynamic Shifting Bands: Upper and lower bands that automatically adjust width based on RSI momentum
Adaptive Fill Zone: Color-coded area between bands showing current market state
Basis Line: Moving average foundation displayed as subtle reference points
Smart Bar Coloring: Candles change color based on oscillator state for instant visual feedback
Oscillator Pane:
Normalized RSI Oscillator: Main signal line centered around zero with dynamic coloring
Threshold Lines: Horizontal reference lines for entry/exit levels
Zero Line: Central reference for oscillator neutrality
Color State Indication: Line colors change based on bullish/bearish conditions
📊 Professional Performance Metrics
The built-in analytics suite provides institutional-grade performance measurement:
Net Profit %: Total strategy return percentage
Maximum Drawdown %: Worst peak-to-trough decline
Win Rate %: Percentage of profitable trades
Profit Factor: Ratio of gross profits to gross losses
Sharpe Ratio: Risk-adjusted return measurement
Sortino Ratio: Downside-focused risk adjustment
Omega Ratio: Probability-weighted performance ratio
Half Kelly %: Optimal position sizing recommendation
Total Trades: Complete transaction count
🎯 Strategic Trading Applications
Long/Short Mode: ⚡
Maximizes profit potential by capturing both upward and downward price movements. The dual RSI technology helps identify when momentum is strengthening or weakening, allowing for optimal position switches between long and short.
Long/Cash Mode: 🛡️
Conservative approach ideal for retirement accounts or risk-averse traders. The indicator's adaptive nature helps identify the best times to be invested versus sitting in cash, protecting capital during adverse market conditions.
🚀 Unique Advantages
Traditional Indicators vs RSI Shifting Bands:
Static vs Dynamic: While most indicators use fixed parameters, RSI bands adapt in real-time
Lagging vs Leading: Dual RSI detects momentum transitions before they fully manifest
One-Size vs Adaptive: The same settings work across different market conditions
Simple vs Intelligent: Advanced momentum analysis provides superior market insight
💡 Professional Setup Guide
For Day Trading (Short-term):
RSI Length: 10-12
RSI Smoothing: 15-18
Base Length: 25-30
Thresholds: Long 85, Short 60
For Swing Trading (Medium-term):
RSI Length: 14-16 (default range)
RSI Smoothing: 20-25
Base Length: 40-50
Thresholds: Long 90, Short 56 (defaults)
For Position Trading (Long-term):
RSI Length: 18-21
RSI Smoothing: 25-30
Base Length: 60-80
Thresholds: Long 92, Short 50
🧠 Advanced Trading Techniques
RSI Divergence Analysis:
Watch for divergences between price action and smoothed RSI readings. When price makes new highs/lows but RSI doesn't confirm, it often signals upcoming reversals.
Band Width Interpretation:
Expanding Bands: Increasing momentum, expect larger price moves
Contracting Bands: Decreasing momentum, prepare for potential breakouts
Band Touches: Price touching outer bands often signals reversal opportunities
Multi-Timeframe Analysis:
Use RSI oscillator on higher timeframes for trend direction and lower timeframes for precise entry timing.
⚠️ Important Risk Disclaimers
Past performance is not indicative of future results. This indicator represents advanced technical analysis but should never be used as the sole basis for trading decisions.
Critical Risk Factors:
Market Conditions: No indicator performs equally well in all market environments
Backtesting Limitations: Historical performance may not reflect future market behavior
Momentum Risk: Adaptive indicators can be sensitive to extreme momentum conditions
Parameter Sensitivity: Different settings may produce significantly different results
Capital Risk: Always use appropriate position sizing and stop-loss protection
📚 Educational Benefits
This indicator provides exceptional learning opportunities for understanding:
Advanced RSI analysis and momentum measurement techniques
Adaptive indicator design and implementation
The relationship between momentum transitions and price movements
Professional risk management using Kelly Criterion principles
Modern oscillator interpretation and signal generation
🔍 Market Applications
The RSI Shifting Band Oscillator works across various markets:
Forex: Excellent for currency pair momentum analysis
Stocks: Individual equity and index trading
Commodities: Adaptive to commodity market momentum cycles
Cryptocurrencies: Handles extreme momentum variations effectively
Futures: Professional derivatives trading applications
🔧 Technical Innovation
The RSI Shifting Band Oscillator represents years of research into adaptive technical analysis. The proprietary dual RSI calculation method has been optimized for:
Computational Efficiency: Fast calculation even on high-frequency data
Noise Reduction: Advanced smoothing without excessive lag
Market Adaptability: Automatic adjustment to changing conditions
Signal Clarity: Clear, actionable trading signals
🔔 Updates and Evolution
The RSI Shifting Band Oscillator | QuantMAC continues to evolve with regular updates incorporating the latest research in adaptive technical analysis. The code is thoroughly documented for transparency and educational purposes.
Trading Notice: Financial markets involve substantial risk of loss. The RSI Shifting Band Oscillator is a sophisticated technical analysis tool designed to assist in trading decisions but cannot guarantee profitable outcomes.
---
Master The Markets With Adaptive Intelligence! 🎯📈
time-specific standard devs [keypoems]Time-Specific Net Change Percentage Standard Deviations Extensions
A candlestick is the story of how price moved during a single period: it opens, explores a high and a low, and finally closes.
The indicator asks one question:
“By what percentage did price change from open to close?”
That single percentage value – called the net-change % – is the raw material for everything that follows.
Why net-change % matters
If you collect that percentage for thousands of finished candles (daily candles, 1-hour, 4-hour – whatever you close) you get a probability distribution: most candles move only a little, a few move a lot. When you plot those percentages you get the familiar bell-curve. From any bell-curve you can read two key statistics:
Mean – the “typical” net-change.
Standard Deviation (σ) – how far a candle normally wanders from that mean.
A well-known property of a bell-curve is that ≈68 % of all observations stay between –1 σ and +1 σ, and ≈95 % stay within ±2 σ.
For traders that translates into a probabilistic map of where an unfinished candle is likely to close.
What the indicator draws
Open-anchored levels
Every box is centred on the candle’s open price.
The indicator draws boxes that mark +σ, +½ σ, –½ σ, –σ … as selected in the Inputs.
Time-specific calculation
Instead of mixing all 1-hour candles together, the script isolates only the 09:00-10:00 New-York hour (or any other slot you are at that moment) and builds a bell-curve from that subset.
The result is a set of expectations truly tailored to that exact hour’s behaviour.
Generic and Specific Std Dev Box
Indicator computes both generic levels – the classic “all candles aggregated” standard deviations, and specific levels – the refined, hour-by-hour (or 4-hour-by-4-hour, etc.) deviations.
The indicator shows Boxes that represent both aggregated values and "per period" standard deviation projection levels.
Mirrored levels (optional)
Negative σ levels are drawn automatically so you have symmetrical upside & downside projections.
Math behind the scenes
For each chosen higher-timeframe (HTF):
Collect the last N net-change % values (user-defined look-back, default 5 000 candles).
Compute:
μ = mean(net-change %)
σ = stdev(net-change %)
Project prices:
LevelPrice = Open × (1 + k × σ)
where k is 0 , ±0.5 , ±1 , ±1.5 … as enabled in the inputs.
Because everything is done in percentage space the technique adapts automatically to instruments that trade at very different absolute prices (equities, futures, crypto, FX).
How to read it in real time
When a developing candle races straight into +1 σ with plenty of time left, statistics say “68 % of the time it will finish back inside the box.”
A tag of +2 σ is an even rarer event (~5 % probability) – a natural place to look for exhaustion or take-profit cues.
Conversely, if price refuses to reverse at +1 σ and instead sticks above that edge, it is signalling an unusually strong session and may warrant trend-continuation tactics.
Key Inputs
Higher Timeframe Choose 5m to H8 reference frame
Show levels for last X periods
Look-back length Sample size for σ
StdDev Fibs Fib1 … Fib9 toggles & values: Decide which σ multiples to plot
Mirror levels Draw matching negative projections
Extend boxes Keep boxes visible beyond their candle
Best-practice usage
Combine with structure – treat σ edges as context, not automatic entry.
Mind the sample size – if you choose extremely narrow windows (e.g., Sunday 18:00-19:00 futures open) make sure your look-back still captures hundreds of cases.
Disclaimer
Trading involves risk. The author and this indicator simply display historical probability ranges; they do not assure profits or prevent losses. Always perform your own due diligence and, if necessary, consult a licensed financial professional before dealing in any financial instrument.
ATR% Multiple from MAThis indicator builds upon the original idea by jfsrevg of using the ATR% multiple from a daily 50-period moving average to highlight when a stock or instrument is extended relative to its own volatility. My version expands on this by incorporating an ADR% (Average Daily Range percentage) volatility filter, which helps refine the signals to adapt better to different instruments and timeframes.
What it does:
• Calculates the 50-period simple moving average (SMA) using daily data as the baseline trend reference.
• Measures the instrument’s Average True Range (ATR) relative to the current close (ATR%).
• Uses this ratio to identify when an instrument is significantly extended above its average volatility-based range.
• Adds a dynamic ADR% filter — computed as the average daily range divided by the daily close — to adjust the extension threshold dynamically based on recent price volatility.
• Plots small circles above price bars when extension conditions are met, signaling potential overbought conditions.
•The script works on both daily and weekly timeframes, but all volatility calculations are based on daily data to ensure consistency.
How to use:
• Traders can use this indicator to spot when a stock or instrument is significantly stretched relative to its own volatility, which may signal a good time to scale out or manage risk.
• The dynamic ADR% filter helps reduce false positives by adjusting thresholds based on market conditions.
• Use the customizable settings for ATR length, SMA length, and ADR length to fine-tune the indicator for your preferred instruments.
Original Contributions:
• Integrated an ADR% filter that refines the extension threshold based on real-time volatility.
• Added dynamic thresholds that adapt to market conditions, making the indicator more reliable across different instruments and timeframes.
• Maintained daily volatility calculations while allowing signals to appear on both daily and weekly charts.
Interpolated Median Volatility LSMA | OttoThis indicator combines trend-following and volatility analysis by enhancing traditional LSMA with percentile-based linear interpolation applied to both the Least Squares Moving Average (LSMA) and standard deviation. Rather than relying on raw values, it uses the interpolated median (50th percentile) to smooth out noise while preserving sensitivity to significant price shifts. This approach produces a cleaner trend signal that remains responsive to real market changes, adapts to evolving volatility conditions, and improves the accuracy of breakout detection.
Core Concept
The indicator builds on these core components:
LSMA (Least Squares Moving Average): A linear regression-based moving average that fits line using user selected source over user defined period. It offers a smoother and more reactive trend signal compared to standard moving averages.
Standard Deviation shows how much price varies from the mean. In this indicator, it’s used to measure market volatility.
Volatility Bands: Instead of traditional Bollinger-style bands, this script calculates custom upper and lower bands using percentile-based linear interpolation on both the LSMA and standard deviation. This method produces smoother bands that filter out noise while remaining adaptive to meaningful price movements, making them more aligned with real market behavior and helping reduce false signals.
Percentile interpolation estimates a specific percentile (like the median — the 50th percentile) from a set of values — even when that percentile doesn't fall exactly on one data point. Instead of selecting a single nearest value, it calculates a smoothed value between nearby points. In this script, it’s used to find the median of past LSMA and standard deviation values, reducing the impact of outliers and smoothing the trend and volatility signals for more robust results.
Signal Logic: A long signal is identified when close price goes above the upper band, and a short signal when close price goes below the lower band.
⚙️ Inputs
Source: The price source used in calculations
LSMA Length: Period for calculating LSMA
Standard Deviation Length: Period for calculating volatility
Percentile Length: Period used for interpolating percentile values of LSMA and standard deviation
Multiplier: Controls the width of the bands by scaling the interpolated standard deviation
📈 Visual Output
Colored LSMA Line: Changes color based on signal (green for bullish, purple for bearish)
Upper & Lower Bands: Volatility bands calculated using interpolated values (green for bullish, purple for bearish)
Bar Coloring: Price bars are colored to reflect signal state (green for bullish, purple for bearish)
Optional Candlestick Overlay: Enhances visual context by coloring candles to match the signal state (green for bullish, purple for bearish)
How to Use
Add the indicator to your chart and look for signals when close price goes above or below the bands.
Long Signal: close Price goes above the upper band
Short Signal: close Price goes below the lower band
🔔 Alerts:
This script supports alert conditions for long and short signals. You can set alerts based on band crossovers to be notified of potential entries/exits.
⚠️ 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 strategies before applying them in live markets. Use at your own risk.
RTI Shifting Band Oscillator | QuantMAC📊 RTI Shifting Band Oscillator | QuantMAC - Revolutionary Adaptive Trading Indicator
🎯 Overview
The RTI Shifting Band Oscillator represents a breakthrough in adaptive technical analysis, combining the innovative Range Transition Index (RTI) with dynamic volatility bands to create an oscillator that automatically adjusts to changing market conditions. This cutting-edge indicator goes beyond traditional static approaches by using RTI to dynamically shift band width based on market volatility transitions, providing superior signal accuracy across different market regimes.
🔧 Key Features
Revolutionary RTI Technology : Proprietary Range Transition Index that measures volatility transitions in real-time
Dynamic Adaptive Bands : Self-adjusting volatility bands that expand and contract based on RTI readings
Dual Trading Modes : Flexible Long/Short or Long/Cash strategies for different trading preferences
Advanced Performance Analytics : Comprehensive metrics including Sharpe, Sortino, and Omega ratios
Smart Visual System : Dynamic color coding with 9 professional color schemes
Precision Backtesting : Date range filtering with detailed historical performance analysis
Real-time Signal Generation : Clear entry/exit signals with customizable threshold sensitivity
Position Sizing Intelligence : Half Kelly criterion for optimal risk management
📈 How The RTI Technology Works
The Range Transition Index (RTI) is the heart of this indicator's innovation. Unlike traditional volatility measures, RTI analyzes the transitions between different volatility states, providing early warning signals for market regime changes.
RTI Calculation Process:
Calculate True Range for each period using high, low, and previous close
Compute Average True Range over the RTI Length period
Sum absolute differences between consecutive True Range values
Normalize by dividing by ATR to create the raw RTI
Apply smoothing to reduce noise and create the final RTI value
Use RTI to dynamically adjust standard deviation multipliers
The genius of RTI lies in its ability to detect when markets are transitioning between calm and volatile periods before traditional indicators catch up. This provides traders with a significant edge in timing entries and exits.
⚙️ Comprehensive Parameter Control
RTI Settings:
RTI Length : Controls the lookback period for volatility analysis (default: 25)
RTI Smoothing : Reduces noise in RTI calculations (default: 12)
Base MA Length : Foundation moving average for band calculations (default: 40)
Source : Price input selection (close, open, high, low, etc.)
Oscillator Settings:
Standard Deviation Length : Period for volatility measurement (default: 27)
SD Multiplier : Base band width adjustment (default: 1.5)
Oscillator Multiplier : Scaling factor for oscillator values (default: 100)
Signal Thresholds:
Long Threshold : Bullish signal trigger level (default: 82)
Short Threshold : Bearish signal trigger level (default: 55)
🎨 Advanced Visual System
Main Chart Elements:
Dynamic Shifting Bands : Upper and lower bands that automatically adjust width based on RTI
Adaptive Fill Zone : Color-coded area between bands showing current market state
Basis Line : Moving average foundation displayed as subtle reference points
Smart Bar Coloring : Candles change color based on oscillator state for instant visual feedback
Oscillator Pane:
Normalized RTI Oscillator : Main signal line centered around zero with dynamic coloring
Threshold Lines : Horizontal reference lines for entry/exit levels
Zero Line : Central reference for oscillator neutrality
Color State Indication : Line colors change based on bullish/bearish conditions
📊 Professional Performance Metrics
The built-in analytics suite provides institutional-grade performance measurement:
Net Profit % : Total strategy return percentage
Maximum Drawdown % : Worst peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profits to gross losses
Sharpe Ratio : Risk-adjusted return measurement
Sortino Ratio : Downside-focused risk adjustment
Omega Ratio : Probability-weighted performance ratio
Half Kelly % : Optimal position sizing recommendation
Total Trades : Complete transaction count
🎯 Strategic Trading Applications
Long/Short Mode: ⚡
Maximizes profit potential by capturing both upward and downward price movements. The RTI technology helps identify when trends are strengthening or weakening, allowing for optimal position switches between long and short.
Long/Cash Mode: 🛡️
Conservative approach ideal for retirement accounts or risk-averse traders. The indicator's adaptive nature helps identify the best times to be invested versus sitting in cash, protecting capital during adverse market conditions.
🚀 Unique Advantages
Traditional Indicators vs RTI Shifting Bands:
Static vs Dynamic : While most indicators use fixed parameters, RTI bands adapt in real-time
Lagging vs Leading : RTI detects volatility transitions before they fully manifest
One-Size vs Adaptive : The same settings work across different market conditions
Simple vs Intelligent : Advanced volatility analysis provides superior market insight
💡 Professional Setup Guide
For Day Trading (Short-term):
RTI Length: 15-20
RTI Smoothing: 8-10
Base MA Length: 20-30
Thresholds: Long 80, Short 60
For Swing Trading (Medium-term):
RTI Length: 25-35 (default range)
RTI Smoothing: 12-15
Base MA Length: 40-50
Thresholds: Long 83, Short 55 (defaults)
For Position Trading (Long-term):
RTI Length: 40-50
RTI Smoothing: 15-20
Base MA Length: 60-80
Thresholds: Long 85, Short 50
🧠 Advanced Trading Techniques
RTI Divergence Analysis:
Watch for divergences between price action and RTI readings. When price makes new highs/lows but RTI doesn't confirm, it often signals upcoming reversals.
Band Width Interpretation:
Expanding Bands : Increasing volatility, expect larger price moves
Contracting Bands : Decreasing volatility, prepare for potential breakouts
Band Touches : Price touching outer bands often signals reversal opportunities
Multi-Timeframe Analysis:
Use RTI on higher timeframes for trend direction and lower timeframes for precise entry timing.
⚠️ Important Risk Disclaimers
Past performance is not indicative of future results. This indicator represents advanced technical analysis but should never be used as the sole basis for trading decisions.
Critical Risk Factors:
Market Conditions : No indicator performs equally well in all market environments
Backtesting Limitations : Historical performance may not reflect future market behavior
Volatility Risk : Adaptive indicators can be sensitive to extreme market conditions
Parameter Sensitivity : Different settings may produce significantly different results
Capital Risk : Always use appropriate position sizing and stop-loss protection
📚 Educational Benefits
This indicator provides exceptional learning opportunities for understanding:
Advanced volatility analysis and measurement techniques
Adaptive indicator design and implementation
The relationship between volatility transitions and price movements
Professional risk management using Kelly Criterion principles
Modern oscillator interpretation and signal generation
🔍 Market Applications
The RTI Shifting Band Oscillator works across various markets:
Forex : Excellent for currency pair volatility analysis
Stocks : Individual equity and index trading
Commodities : Adaptive to commodity market volatility cycles
Cryptocurrencies : Handles extreme volatility variations effectively
Futures : Professional derivatives trading applications
🔧 Technical Innovation
The RTI Shifting Band Oscillator represents years of research into adaptive technical analysis. The proprietary RTI calculation method has been optimized for:
Computational Efficiency : Fast calculation even on high-frequency data
Noise Reduction : Advanced smoothing without excessive lag
Market Adaptability : Automatic adjustment to changing conditions
Signal Clarity : Clear, actionable trading signals
🔔 Updates and Evolution
The RTI Shifting Band Oscillator | QuantMAC continues to evolve with regular updates incorporating the latest research in adaptive technical analysis. The code is thoroughly documented for transparency and educational purposes.
Trading Notice: Financial markets involve substantial risk of loss. The RTI Shifting Band Oscillator is a sophisticated technical analysis tool designed to assist in trading decisions but cannot guarantee profitable outcomes. Always conduct thorough testing, implement proper risk management, and consider seeking advice from qualified financial professionals. Only trade with capital you can afford to lose.
---
Master The Markets With Adaptive Intelligence! 🎯📈