RedAndBlue Indicator LightsRedAndBlue Indicator Lights — RSI, MFI, and Bollinger Band Sentiment Table
This indicator provides a multi-timeframe sentiment dashboard using RSI , MFI , and Bollinger Bands , visualized in a compact color-coded table.
What it does:
Evaluates RSI and MFI values across multiple timeframes: 5m, 15m, 30m, 1h, 2h, 4h, and 1D
Analyzes Bollinger Bands in two ways:
BB = compares candle body position relative to Bollinger Bands
BBw = checks whether candle wicks pierce above or below the bands
Each cell displays the indicator value or a symbolic label (↓↓, ↓, –, ↑, ↑↑)
Color-coded backgrounds reflect overbought/oversold zones
All thresholds and colors are fully customizable in the input settings
Color meanings:
Green : Strong oversold (value < low1)
Light blue : Slightly oversold (value < low2)
White : Neutral zone (between low2 and high2)
Yellow : Slightly overbought (value > high2)
Red : Strong overbought (value > high1)
BB and BBw label meanings:
↓↓ = Price (or wick) pierced below the lower Bollinger Band
↓ = Candle body is between lower band and midline
– = Candle body crosses the midline (neutral)
↑ = Candle body is between midline and upper band
↑↑ = Price (or wick) pierced above the upper Bollinger Band
How to use it effectively:
If RSI, MFI, BB, and BBw all show oversold signals (green or light blue) across multiple timeframes, especially on 1h, 4h, or 1D, it may signal a good buying opportunity
If the indicators all show overbought signals (red or yellow), it may indicate a potential exit or short zone
BBw shows wick-based signals and can act as an early warning; BB confirms with the candle body
Use this table to spot sentiment confluence across timeframes before entering a trade
If most cells are white, the market is likely in a sideways or neutral state
This indicator helps you quickly identify multi-timeframe sentiment shifts and potential reversal points through a clean, structured visual layout.
Bandas de Bollinger (BB)
Bollinger Band Breakout With Volatility StoplossDetailed Explanation of the Bollinger Band Breakout With Volatility Stoploss System
Introduction
The "Bollinger Band Breakout With Volatility Stoploss" system is a trading strategy designed to exploit price volatility in financial markets using the Bollinger Bands indicator, a widely recognized tool developed by John Bollinger. This system adapts the traditional Bollinger Bands framework into a Volatility Breakout strategy, focusing on capturing significant price movements by leveraging customized parameters and precise trading rules. The system operates exclusively on long positions, employs a daily timeframe, and incorporates dynamic risk management techniques to optimize trade outcomes while preserving capital.
System Parameters
The system modifies the standard Bollinger Bands configuration to suit its breakout methodology:
Standard Deviation (SD): Set to 1x, determining the width of the bands relative to the central moving average. This tighter setting enhances sensitivity to price movements, making the system responsive to smaller volatility shifts compared to the conventional 2x SD.
Period: A 30-day (1-month) lookback period is used to calculate the bands, providing a balance between capturing medium-term price trends and avoiding excessive noise from shorter timeframes.
Moving Average Type: The system uses an Exponential Moving Average (EMA) instead of the Simple Moving Average (SMA). The EMA places greater weight on recent price data, making it more responsive to current market conditions and better suited for detecting breakout opportunities in dynamic markets.
Core Concept
The Bollinger Band Breakout system is built on the principle of Volatility Breakout, which seeks to capitalize on significant price movements when the price breaks out of a defined volatility range. The Bollinger Bands, consisting of an EMA as the central line and two bands (Upper and Lower) calculated as the EMA plus or minus 1x SD, define this range. The system operates on a Daily Chart (D) timeframe, making it suitable for traders who prefer analyzing and executing trades based on daily price action. By focusing solely on Long Positions (buying low and selling high), the system avoids short-selling, aligning with strategies that capitalize on upward price momentum.
The core idea is to use the 1x SD multiplier over a 30-day period to establish a dynamic price range that reflects recent market volatility. Breakouts above the Upper Band signal potential buying opportunities, while penetrations below the Lower Band indicate exits, ensuring trades are aligned with significant price movements.
Trading Signals
The system generates clear entry and exit signals based on price interactions with the Bollinger Bands:
Buy Signal: A buy signal is triggered when the closing price of a daily candle exceeds the Upper Bollinger Band (EMA + 1x SD over 30 days). The trade is entered at the opening price of the subsequent candle, ensuring the breakout is confirmed by the close of the prior day. This approach minimizes false signals by waiting for a definitive breach of the volatility threshold.
Sell Signal: A sell signal occurs when the closing price falls below the Lower Bollinger Band (EMA - 1x SD over 30 days). The position is exited at the opening price of the next candle, allowing the trader to lock in profits or limit losses when the price reverses or loses momentum.
Risk Management
Risk management is a cornerstone of the system, ensuring capital preservation and disciplined trade execution:
Initial Stoploss: The stoploss is set at the Lower Bollinger Band of the candle that triggered the buy signal. This level acts as a volatility-based threshold, below which the trade is deemed invalid, prompting an immediate exit to protect capital. Traders have two options for implementing the stoploss:
Pending Stoploss: A predefined stoploss order placed at the Lower Band level.
Conditional Exit: Using the sell signal condition (price closing below the Lower Band) as the exit trigger, effectively aligning the stoploss with the system’s exit rules.
Position Sizing: The system employs Fixed Fractional Position Sizing with a risk per trade capped at 3% of the account balance. The position size is calculated based on the distance between the entry price and the Initial Stoploss, incorporating Volatility Position Sizing. This method adjusts the trade size according to the market’s volatility, ensuring that risk remains consistent across varying market conditions. Two options are available for managing capital:
Gear Up Option: Profits from previous trades are reinvested into the account’s capital, increasing the base for calculating the next position size. This compounding approach can amplify returns but also increases risk exposure.
Fixed Equity Option: Profits from previous trades are withdrawn, and only the remaining capital is used for calculating the next position size. This conservative approach prioritizes capital preservation by not compounding gains.
Trailing Stop: The system uses the Lower Bollinger Band as a dynamic trailing stop, which adjusts with price movements and volatility. This ensures that profits are protected during favorable trends while allowing the trade to remain open as long as the price stays above the Lower Band. The trailing stop aligns with the sell signal condition, maintaining consistency in the system’s exit strategy.
Supporting Indicators
The system incorporates two additional indicators to enhance market analysis and decision-making:
Bollinger Band Width (BBW): BBW measures the distance between the Upper and Lower Bollinger Bands relative to the EMA, serving as a proxy for market volatility.
A high BBW indicates significant price volatility, often associated with strong trends or large price movements, which may confirm the strength of a breakout.
A low BBW suggests low volatility, potentially signaling a period of consolidation or "squeeze" that could precede a breakout. This can help traders anticipate potential trade setups.
The BBW calculation uses the EMA to maintain consistency with the system’s core parameters.
Bollinger Band Ratio (BBR) or %B: BBR measures the price’s position relative to the Bollinger Bands, providing insight into market conditions.
BBR > 1: The price is above the Upper Band, indicating potential overbought conditions or strong upward momentum, which aligns with the system’s buy signal.
BBR < 0: The price is below the Lower Band, suggesting oversold conditions or downward momentum, corresponding to the sell signal or stoploss trigger.
BBR between 0 and 1: The price is within the bands, indicating a neutral state where no immediate action is required.
Like BBW, BBR is calculated using the EMA for consistency.
Backtesting and Implementation
To evaluate the system’s performance, traders can utilize the Backtest Parameter function, which allows for testing the strategy across user-defined time periods. This feature enables traders to assess the system’s effectiveness under various market conditions, optimize parameters, and refine their approach based on historical data.
Conclusion
The Bollinger Band Breakout With Volatility Stoploss system is a robust, volatility-driven trading strategy that combines the predictive power of Bollinger Bands with disciplined risk management. By focusing on long positions, using a 1x SD multiplier, and incorporating EMA-based calculations, the system is designed to capture significant price breakouts while minimizing risk through dynamic stoplosses and volatility-adjusted position sizing. The inclusion of BBW and BBR indicators provides additional context for assessing market conditions, enhancing the trader’s ability to make informed decisions. With its structured approach and backtesting capabilities, this system is well-suited for traders seeking a systematic, data-driven method to trade in volatile markets.
Adaptive Momentum Deviation Oscillator | QuantMACAdaptive Momentum Deviation Oscillator | QuantMAC 📊
Overview 🎯
The Adaptive Momentum Deviation Oscillator (AMDO) is an advanced technical analysis indicator that combines the power of Bollinger Bands with adaptive momentum calculations to identify optimal entry and exit points in financial markets. This sophisticated oscillator creates dynamic bands that adapt to market volatility while providing clear visual signals for both trending and ranging market conditions.
How It Works 🔧
Core Methodology
The AMDO employs a sophisticated multi-layered approach to market analysis through four distinct phases:
Bollinger Band Foundation : The indicator begins by establishing a volatility baseline using traditional Bollinger Bands. These bands are calculated using a simple moving average as the center line, with upper and lower bands positioned at a specific number of standard deviations away from this centerline. The distance between these bands expands and contracts based on market volatility, creating a dynamic envelope around price action.
BB% Normalization Process : The raw price data is then transformed into a normalized percentage format that represents where the current price sits within the Bollinger Band envelope. When price is at the lower band, this percentage reads 0%; at the upper band, it reads 100%. This normalization allows for consistent comparison across different timeframes and price levels, creating a standardized oscillator that oscillates between extreme values.
Adaptive Momentum Band Construction : The normalized BB% values undergo a secondary volatility analysis where their own standard deviation is calculated over a specified period. This creates "bands around the bands" - upper and lower boundaries that adapt to the volatility of the normalized price position itself. These adaptive bands expand during periods of high momentum volatility and contract during consolidation phases.
Intelligent Signal Synthesis : The final layer combines the adaptive momentum bands with user-defined threshold levels to create a sophisticated trigger system. The indicator monitors when the dynamic bands cross above or below these thresholds, filtering out noise while capturing significant momentum shifts. This creates a dual-confirmation system where both volatility adaptation and threshold breaches must align for signal generation.
Key Components 🛠️
Adaptive Momentum Bands 📈
Dynamic Volatility Response : These bands automatically widen during periods of high momentum volatility and narrow during consolidation phases. Unlike fixed oscillator boundaries, they continuously recalibrate based on recent price behavior within the Bollinger Band framework.
Dual-Layer Calculation : The bands are derived from the volatility of the normalized price position itself, creating a "volatility of volatility" measurement. This provides early warning signals when momentum characteristics are changing, even before price breakouts occur.
State-Aware Visualization : The bands employ intelligent color coding that transitions between active and neutral states based on their interaction with threshold levels. Active states indicate high-probability momentum conditions, while neutral states suggest consolidation or indecision.
Momentum Persistence Tracking : The bands maintain memory of recent momentum characteristics, allowing them to distinguish between genuine momentum shifts and temporary price spikes or dips.
Threshold Levels 🎚️
Statistical Significance Boundaries : The threshold levels (default 83 for long, 40 for short) are positioned to capture statistically significant momentum events while filtering out market noise. These levels represent points where momentum probability shifts meaningfully in favor of directional moves.
Asymmetric Design Philosophy : The intentional asymmetry between long and short thresholds (83 vs 40) reflects the natural upward bias of many financial markets and the different risk/reward profiles of long versus short positions.
Contextual Sensitivity : The thresholds work in conjunction with the adaptive bands to create context-sensitive triggers. A threshold breach is only meaningful when it occurs in the proper sequence with band interactions.
Risk-Adjusted Positioning : The threshold levels are calibrated to provide favorable risk-adjusted entry points, considering both the probability of success and the potential magnitude of subsequent moves.
Bollinger Bands Overlay 📊
Multi-Timeframe Context : The price chart overlay provides essential context by showing traditional Bollinger Bands alongside the oscillator. This dual perspective allows traders to see both the absolute price position and the momentum characteristics simultaneously.
Support/Resistance Identification : The filled band area creates a visual representation of dynamic support and resistance levels. Price interaction with these bands provides additional confirmation for oscillator signals.
Volatility Environment Assessment : The width and slope of the bands offer immediate visual feedback about the current volatility environment, helping traders adjust their expectations and risk management accordingly.
Confluence Analysis : The overlay enables traders to identify confluence between price action at Bollinger Band levels and oscillator signals, creating higher-probability trade setups.
Signal Generation ⚡
The AMDO generates signals through precise mathematical crossover events:
Long Signals 🟢
Momentum Accumulation Detection : Long signals are generated when the lower adaptive momentum band crosses above the 83 threshold, indicating that downside momentum has exhausted and bullish momentum is beginning to accumulate. This represents a shift from defensive to offensive market posture.
Statistical Edge Confirmation : The crossing event occurs only when momentum characteristics have shifted sufficiently to provide a statistical edge for long positions. The adaptive nature ensures the signal quality remains consistent across different market volatility regimes.
Visual State Synchronization : Upon signal generation, the entire indicator ecosystem shifts to a bullish state - bar colors change, band states update, and the visual hierarchy emphasizes the long bias until conditions change.
Momentum Persistence Validation : The signal incorporates momentum persistence analysis to distinguish between genuine trend starts and false breakouts, reducing whipsaw trades in choppy market conditions.
Short Signals 🔴
Momentum Exhaustion Recognition : Short signals trigger when the upper adaptive momentum band crosses below the 40 threshold, signaling that bullish momentum has peaked and bearish momentum is emerging. This asymmetric threshold reflects the different dynamics of bullish versus bearish market phases.
Volatility-Adjusted Timing : The adaptive band system ensures that short signals are generated with appropriate timing regardless of the underlying volatility environment, maintaining signal quality in both high and low volatility conditions.
Regime-Aware Activation : Short signals are only active in Long/Short trading mode, recognizing that not all trading strategies benefit from short positions. The indicator adapts its behavior based on the selected trading approach.
Risk-Calibrated Thresholds : The 40 threshold is specifically calibrated to capture meaningful bearish momentum shifts while accounting for the higher risk typically associated with short positions.
Cash Signals 💰
Defensive Positioning Logic : In Long/Cash mode, cash signals are generated when short conditions are met, allowing traders to move to a defensive cash position rather than taking on short exposure. This preserves capital during unfavorable market conditions.
Risk Mitigation Strategy : Cash signals represent a risk-off approach that removes market exposure when momentum conditions favor the short side, protecting long-biased portfolios from adverse market movements.
Opportunity Cost Optimization : The cash position allows traders to avoid negative returns while maintaining flexibility to re-enter long positions when momentum conditions improve, optimizing the risk-adjusted return profile.
Features & Customization ⚙️
Color Schemes 🎨
9 pre-built color schemes (Classic through Classic9)
Custom color override option
Dynamic color changes based on signal states
Trading Modes 📈
Long/Short : Full bidirectional trading capability
Long/Cash : Long-only strategy with cash positions
Performance Metrics 📊
The indicator includes a comprehensive suite of advanced performance analytics that provide deep insights into strategy effectiveness:
Risk-Adjusted Return Metrics
Sortino Ratio : Measures returns relative to downside deviation only, providing a more accurate assessment of risk-adjusted performance by focusing on harmful volatility rather than total volatility. This metric is particularly valuable for asymmetric return distributions.
Sharpe Ratio : Calculates excess return per unit of total risk, offering a standardized measure of risk-adjusted performance that allows for comparison across different strategies and timeframes.
Omega Ratio : Employs probability-weighted analysis to compare the likelihood and magnitude of gains versus losses, providing insights into the overall shape of the return distribution and tail risk characteristics.
Drawdown and Risk Analysis
Maximum Drawdown : Tracks the largest peak-to-trough equity decline, providing crucial information about the worst-case scenario and helping traders understand the emotional and financial stress they might encounter.
Dynamic Drawdown Monitoring : Continuously updates drawdown calculations in real-time, allowing traders to monitor current drawdown levels relative to historical maximums.
Trade Statistics and Profitability
Profit Factor Analysis : Compares gross profits to gross losses, revealing the efficiency of the trading approach and the relationship between winning and losing trades.
Win Rate Calculation : Provides the percentage of profitable trades, which must be interpreted in conjunction with profit factor and average trade size for meaningful analysis.
Trade Frequency Tracking : Monitors total trade count to assess strategy turnover and transaction cost implications.
Position Sizing Guidance
Half Kelly Percentage : Calculates optimal position sizing based on Kelly Criterion methodology, then applies a conservative 50% reduction to account for parameter uncertainty and reduce volatility. This provides mathematically-based position sizing guidance that balances growth with risk management.
Parameters & Settings 🔧
BMD Settings
- Base Length : Period for Bollinger Band calculation (default: 10)
- Source : Price data source (default: close)
- Standard Deviation Length : Period for volatility calculation (default: 35)
- SD Multiplier : Bollinger Band width multiplier (default: 1.0)
- BB% Multiplier : Scaling factor for BB% calculation (default: 100)
BMD Settings
Base Length : Period for Bollinger Band calculation (default: 10)
Source : Price data source (default: close)
Standard Deviation Length : Period for volatility calculation (default: 35)
SD Multiplier : Bollinger Band width multiplier (default: 1.0)
BB% Multiplier : Scaling factor for BB% calculation (default: 100)
Signal Thresholds 🎯
Long Threshold : Trigger level for long signals (default: 83)
Short Threshold : Trigger level for short signals (default: 40)
Display Options 🖥️
Toggleable metrics table with 6 position options
Customizable date range limiter
Multiple visual elements for comprehensive analysis
Use Cases & Applications 💡
Trend Following
Identifies momentum shifts in trending markets
Provides early entry signals during trend continuations
Adaptive bands adjust to changing volatility conditions
Mean Reversion
Detects oversold/overbought conditions
Signals potential reversal points
Works effectively in ranging markets
Risk Management
Built-in performance metrics for strategy evaluation
Half Kelly percentage for position sizing guidance
Maximum drawdown monitoring
Advantages ✅
Adaptive Nature : Automatically adjusts to market volatility
Dual Display : Oscillator and price chart components work together
Comprehensive Metrics : Built-in performance analysis
Flexible Trading Modes : Supports different trading strategies
Visual Clarity : Color-coded signals and states
Customizable : Extensive parameter adjustment options
Important Considerations ⚠️
This indicator is designed for educational and analysis purposes
Should be used in conjunction with other technical analysis tools
Proper risk management is essential when trading
Backtest thoroughly before implementing in live trading
Market conditions can change rapidly, affecting indicator performance
Disclaimer ⚠️
Past performance is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator should not be considered as financial advice. Always conduct your own research.
No indicator guarantees profitable trades - Always use proper risk management! 🛡️
Atlas BBTlevelsAtlas BBTlevels is a custom Bollinger Bands-based indicator that measures the momentum and strength of price trends using the difference between short- and long-period Bollinger Bands. Inspired by John Bollinger’s official tools like BBTrend, %b, and Bandwidth, this script adds adjustable horizontal threshold levels so traders can mark important reaction zones on their charts.
It visualizes when markets may be entering overheated or exhausted conditions — either for trend continuation or potential reversals — and works across crypto, stocks, forex, spot, or perpetual charts.
How I personally use it:
I apply Atlas BBTlevels across three timeframes:
Low timeframe (LTF): 5m–15m
Mid timeframe (MTF): 1h–6h
High timeframe (HTF): 1d–2d
I review where the indicator historically spiked during major moves. For example, if the 4-hour chart shows repeated spikes to +10 or −10, I’ll set my positive and negative thresholds near those levels. This lets me anticipate zones where the market may reverse, cool off, or break out. I then compare LTF, MTF, and HTF levels to look for confluence. When multiple timeframes align near key levels, it gives me higher confidence to prepare for a trade — but I always combine this with price action and other confirmation tools.
How others can use it:
Identify overbought/oversold zones by adjusting the thresholds to match historical extremes on your chosen asset.
Use it as a trend strength gauge: when the histogram is near or above the top threshold, the trend is likely strong; when it fades back toward zero, momentum is weakening.
Watch for volatility expansions or contractions as the indicator accelerates away from or returns toward zero.
Combine it with price action (support/resistance, trendlines, chart patterns) or other momentum tools to reduce false signals.
Apply it across multiple timeframes to look for confluence — this increases reliability compared to using it on just one chart.
Important tips:
Positive spikes (above zero) usually indicate strength or overextension upward; negative spikes (below zero) show weakness or downward exhaustion.
You can reverse the color logic if you want (for example, highlight negative spikes as green for buy interest and positive spikes as red for sell interest) — this is just a visual preference.
This is not a standalone buy/sell system. Always combine it with other tools, market context, and risk management.
MACD-VWAP-BB IndicatorThe Scalping Rainbow MACD-VWAP-BB Indicator is a simple tool for beginners to scalp (make quick trades) on a 1-minute chart in TradingView. It helps you decide when to buy or sell assets like forex (EUR/USD), crypto (BTC/USD), or stocks by showing clear signals directly on the candlestick chart. Here’s how to use it for scalping, explained in the easiest way:
Setup: Open TradingView, choose a 1-minute chart for a liquid asset (e.g., EUR/USD). Copy the indicator code into the Pine Editor (bottom tab), click “Add to Chart.” You’ll see green triangle-up signals below candles for buying and red triangle-down signals above candles for selling.
Buy Signal (Green Triangle Up): When a green triangle appears below a candle, it means the MACD, VWAP, and Bollinger Bands all suggest the price may rise. Action: Buy immediately, aiming for a small profit (5-10 pips in forex, 0.1-0.5% in crypto/stocks). Set a stop-loss 2-5 pips below the recent low to limit losses.
Sell Signal (Red Triangle Down): A red triangle above a candle signals a potential price drop. Action: Sell or short the asset, targeting a quick profit. Set a stop-loss 2-5 pips above the recent high.
Scalping Tips: Trade during busy market hours (e.g., 5:30 PM–9:30 PM IST for forex). Exit trades within 1-5 minutes. Only risk 1-2% of your account per trade. Check for support/resistance levels or candlestick patterns to confirm signals.
Practice: Use a demo account to test the indicator. Stick to 3-5 trades per session to avoid overtrading. If signals are too frequent, adjust “Signal Delay” to 2 in settings.
This indicator simplifies scalping by combining three reliable tools into clear buy/sell signals, perfect for beginners.
WaveSurferBTC StrategyThis strategy uses Bollinger Bands to measure market trends and determine Neutral, Bullish, or Bearish Waves. Various Buy and Sell conditions are configured and confirmed successful through backtesting. The default settings are optimized for BTCUSD on the 1 hour timeframe. To automate trade signals simply add the required messages in the settings message blocks. When creating the alert add {{strategy.order.alert_message}} to the message box and add the Webhook URL to the alert notifications tab. This will pull the Buy and Sell Messages from settings into your alerts.
OBV with MA & Bollinger Bands by Marius1032OBV with MA & Bollinger Bands by Marius1032
This script adds customizable moving averages and Bollinger Bands to the classic OBV (On Balance Volume) indicator. It helps identify volume-driven momentum and trend strength.
Features:
OBV-based trend tracking
Optional smoothing: SMA, EMA, RMA, WMA, VWMA
Optional Bollinger Bands with SMA
Potential Combinations and Trading Strategies:
Breakouts: Look for price breakouts from the Bollinger Bands, and confirm with a rising OBV for an uptrend or falling OBV for a downtrend.
Trend Reversals: When the price touches a Bollinger Band, examine the OBV for divergence. A bullish divergence (price lower low, OBV higher low) near the lower band could signal a reversal.
Volume Confirmation: Use OBV to confirm the strength of the trend indicated by Bollinger Bands. For example, if the BBs indicate an uptrend and OBV is also rising, it reinforces the bullish signal.
1. On-Balance Volume (OBV):
Purpose: OBV is a momentum indicator that uses volume flow to predict price movements.
Calculation: Volume is added on up days and subtracted on down days.
Interpretation: Rising OBV suggests potential upward price movement. Falling OBV suggests potential lower prices.
Divergence: Divergence between OBV and price can signal potential trend reversals.
2. Moving Average (MA):
Purpose: Moving Averages smooth price fluctuations and help identify trends.
Combination with OBV: Pairing OBV with MAs helps confirm trends and identify potential reversals. A crossover of the OBV line and its MA can signal a trend reversal or continuation.
3. Bollinger Bands (BB):
Purpose: BBs measure market volatility and help identify potential breakouts and trend reversals.
Structure: They consist of a moving average (typically 20-period) and two standard deviation bands.
Combination with OBV: Combining BBs with OBV allows for a multifaceted approach to market analysis. For example, a stock hitting the lower BB with a rising OBV could indicate accumulation and a potential upward reversal.
Created by: Marius1032
BB Oscillator - Price Relative to Bollinger BandsThis Bollinger Band Oscillator visualizes where the current price sits relative to its Bollinger Bands, scaled between 0 and 100. It helps identify overbought and oversold conditions based on the price’s position within the bands and provides dynamic signals when momentum shifts occur.
Features
Price Relative to Bollinger Bands
The main oscillator plots the price’s relative position within the Bollinger Bands on a scale from 0 (lower band) to 100 (upper band), giving an intuitive view of where price stands.
Customizable Moving Average Overlay
An optional moving average (SMA or EMA) smooths the oscillator for trend analysis, with adjustable length and color options.
Crossover & Crossunder Signals
Alerts and background highlights trigger when the oscillator crosses over or under its moving average, signaling potential momentum shifts or trend changes.
Fully Customizable Colors
Choose your preferred colors for the oscillator line, moving average and crossover signals to match your charting style.
This tool offers a unique oscillator view of Bollinger Bands, combining volatility context with momentum signals for clearer decision-making.
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.
Bands Vision-XBands Vision-X (BB-Vision-X) – Full Description
Description:
Bands Vision-X is an indicator based on dynamic bands constructed from customizable moving averages and standard deviation, allowing you to visualize potential support and resistance zones, volatility, and market conditions. It uses an adjustable moving average (with multiple options such as SMA, EMA, WMA, JMA, LSMA, DEMA, and TEMA) to define the central line, and upper and lower bands calculated by standard deviation multiplied by an adjustable factor. The bands are smoothed by a Hull Moving Average (HMA) to reduce noise and improve clarity.
How to Use
The bands indicate potential support and resistance levels.
The central line serves as a dynamic price reference.
The distance between bands reflects market volatility.
Touches or breakouts of the bands may signal entry or exit opportunities.
Parameters
Parameter Description Default
Standard Error Band Period Period for moving average and standard deviation 20
Moving Average Type Type of moving average (SMA, EMA, etc.) SMA
Standard Deviation Multiplier Multiplier for standard deviation 2.0
Band Lines Smoothing Period Period for smoothing the bands (HMA) 5
Technical Notes
The JMA function used is not the original Jurik version but an approximate and open implementation based on publicly available TradingView community code.
Developed in Pine Script v6 with optimized and clean code.
Recommendations
Ideal for traders seeking a clear view of volatility and dynamic support/resistance levels.
Should not be used in isolation; it is recommended to combine with volume analysis, price action, or other technical indicators.
Adjust the period and multiplier according to the asset and timeframe for better effectiveness.
4H & 1D Sig_chartbugRohmoohyun is alive
Auxiliary Indicator for Buy/Sell Signals Using Bollinger Bands and Moving Averages.
Recommended for NASDAQ, Gold, Oil, BTC, Stocks on 4-hour or higher timeframes.
For Ethereum, Ripple, and other volatile altcoins, it is advisable to also check the daily chart.
Indicator Idea: This strategy utilizes two types of indicators: Bollinger Bands as a volatility (or momentum) indicator, and Moving Averages as a trend indicator. A triangle signal is generated in zones where the Bollinger Bands converge (squeeze). After a candle closes, a Rocket icon will appear, at which point a trading strategy can be devised based on the prevailing trend indicated by the Moving Averages.
Indicator Feature: When used on timeframes of 4 hours or higher, this indicator is extremely powerful for establishing trading criteria, especially when combined with trend analysis and support/resistance zones.
Basic Trading Method: Enter a position at the Rocket icon + Immediately set a stop-loss (e.g., at the previous low/high, a maximum loss threshold like 2% of capital, or at a level planned for a second entry to average down) + Take partial profit (e.g., 50%) at your desired TP level, then move the stop-loss to your entry price (break-even) and hold the remainder of the position.
Recommended Timeframes: 5-minute, 4-hour, 1-day.
Trading Strategy
Pullback Trading / Trend Reversal Trading.
Instrument Selection (Commodities & Indices, Crypto, NASDAQ-listed Stocks).
Understand Instrument Characteristics (The three categories behave differently, so backtesting before use is essential).
a) Bullish Alignment (Price > 20MA > 200MA)
: Focus primarily on long (buy) positions.
: If attempting a counter-trend (short) trade, do so only with multiple confirmations, such as RSI/Disparity divergence and a major resistance zone. Use a tight stop-loss.
b) Bearish Alignment (Price < 20MA < 200MA)
: The opposite of the above; focus on short (sell) positions.
c) During a Bullish Trend, Price is Between MAs (200MA < Price < 20MA)
: This indicates either a consolidation phase within an uptrend or a potential early sign of a reversal to a downtrend. Consider both possibilities.
: A possible approach is to allocate capital with a 60% bias to long positions and a 40% bias to short positions (unlike in full bullish/bearish alignments where counter-trend trading has a poor risk/reward ratio).
: If it turns out to be a reversal point, you can enter a position at the very beginning of a new trend, allowing for a longer ride.
: It's recommended to take partial profits rather than closing the entire position. For instance, close half and move the stop-loss to your entry price to eliminate risk while keeping profit potential open.
d) During a Bearish Trend, Price is Between MAs (200MA > Price > 20MA)
: The opposite of the above.
Instrument-Specific Characteristics
Commodities & Indices (NASDAQ, Oil, Gold)
: The indicator was primarily developed and tested on NASDAQ and Gold, so it tends to work well with them.
: However, NASDAQ often exhibits strong, one-way trends, so a trend-following approach is highly recommended.
: Gold and Oil tend to have significant reversals from key support/resistance zones.
Crypto
: These assets are extremely volatile, so use this indicator with caution and skill.
: It performs reasonably well with BTC. For anything from Ethereum downwards, the price action can be chaotic, so it's crucial to use the daily chart and other confirming factors.
: Instead of frequent day trading, focus on long-term positions, reduce the number of trades, and aim for entries with a good average price.
NASDAQ-listed Stocks
: Recommended for a long-term, accumulation-style investment approach.
: Use the indicator not as a signal that "it will pump immediately!" but rather as a sign that "this is a decent entry point to build a position."
: Alternatively, it can be used for more active swing trading (buy, sell, repeat).
Important Disclaimers
This is an auxiliary indicator, as the name implies. Do not trust it blindly.
When entering a position, immediately set your stop-loss or have a plan for a single additional entry (max one recommended).
Always use it in conjunction with other forms of analysis.
Track your performance (win rate, risk/reward ratio) based on this strategy.
Continuously refine and improve your approach.
Universal Valuation | QuantMAC🎯 Universal Valuation | QuantMAC
🚀 Professional-Grade Valuation Engine with 14+ Technical Components
The Universal Valuation indicator is a sophisticated composite analysis tool that combines multiple technical indicators, statistical measures, and risk ratios to provide a comprehensive assessment of asset valuation across all market conditions and timeframes.
📊 Core Architecture & Methodology
🔬 Z-Score Normalization System
Each component is normalized using statistical Z-scores, which measure how many standard deviations a value is from its historical mean. This standardization allows different indicators to be combined meaningfully:
Positive Z-scores indicate values above historical average (potentially overvalued)
Negative Z-scores indicate values below historical average (potentially undervalued)
Individual lookback periods for each component ensure optimal sensitivity
Real-time statistical calculations with dynamic standard deviation adjustments
📈 Composite Scoring Algorithm
The final valuation score is calculated as the weighted average of all enabled components, providing a unified view of market conditions while maintaining granular control over individual inputs.
🛠️ Technical Components Breakdown
📊 Momentum & Oscillator Components
🎯 RSI (Relative Strength Index)
Function: Measures price momentum and overbought/oversold conditions
Default Settings: 21-period RSI with 150-period Z-score normalization
Analysis: Values above 70 (traditional) become positive Z-scores, indicating potential overvaluation
Edge: Z-score normalization adapts to changing market volatility unlike fixed thresholds
🌊 CCI (Commodity Channel Index)
Function: Identifies cyclical price patterns and extreme price levels
Default Settings: 30-period CCI with 150-period Z-score normalization
Analysis: Measures price deviation from statistical mean using typical price (HLC/3)
Edge: Excellent for identifying price extremes in trending and ranging markets
🔵 Chande Momentum Oscillator
Function: Advanced momentum indicator using sum of gains vs. sum of losses
Default Settings: 50-period calculation with 50-period Z-score normalization
Analysis: Formula: 100 * (Sum_Gains - Sum_Losses) / (Sum_Gains + Sum_Losses)
Edge: Less prone to whipsaws compared to RSI, better momentum persistence detection
🎭 IMI (Intraday Momentum Index)
Function: Combines RSI concept with intraday price action analysis
Default Settings: 100-period calculation with 150-period Z-score normalization
Analysis: Uses gains/losses based on close vs. open rather than close-to-close
Edge: Captures intraday sentiment and gap behavior effectively
📈 Price Action & Trend Components
📊 Bollinger Bands Position
Function: Measures price position relative to volatility-adjusted bands
Default Settings: 30-period bands with 50-period Z-score normalization
Analysis: (Price - SMA) / (2 * Standard_Deviation) normalized to Z-score
Edge: Adapts to volatility changes, providing context-aware overbought/oversold levels
💹 Price Z-Score
Function: Direct statistical analysis of price deviation from historical mean
Default Settings: 150-period lookback for Z-score calculation
Analysis: Pure price momentum without indicator lag or smoothing
Edge: Unfiltered price analysis, excellent for mean reversion strategies
📊 Disparity Index
Function: Measures percentage deviation of price from its moving average
Default Settings: 10-period SMA with 150-period Z-score normalization
Analysis: 100 * (Price - SMA) / SMA, then normalized to Z-score
Edge: Highly sensitive to short-term price deviations, excellent for timing entries
🎯 TEMA (Triple Exponential Moving Average)
Function: Advanced moving average with reduced lag and improved responsiveness
Default Settings: 10-period TEMA with 150-period Z-score normalization
Analysis: Triple-smoothed EMA that maintains trend-following capability with less noise
Edge: Superior trend identification with minimal lag compared to traditional MAs
📊 Volume & Market Structure Components
📈 VWAP (Volume Weighted Average Price)
Function: Incorporates volume into price analysis for institutional perspective
Default Settings: Standard VWAP with 300-period Z-score normalization
Analysis: Compares current price to volume-weighted institutional benchmark
Edge: Reveals institutional sentiment and identifies fair value zones
⚡ Intraday Momentum
Function: Measures session-based momentum using open-to-close movement
Default Settings: (Close - Open) / Open * 100 with 250-period Z-score normalization
Analysis: Captures daily sentiment and gap behavior in percentage terms
Edge: Excellent for intraday trading and gap analysis strategies
🎲 Advanced Statistical Components
🌊 Hurst Exponent (Optional)
Function: Measures market efficiency and trend persistence characteristics
Default Settings: 100-period calculation with 200-period Z-score normalization
Analysis: Values > 0.5 indicate trending markets, < 0.5 indicate mean-reverting markets
Edge: Identifies market regime changes and optimal strategy selection
Note: Computationally intensive, disabled by default for performance
📊 Risk-Adjusted Performance Ratios
⚡ Sharpe Ratio
Function: Risk-adjusted return measurement using total volatility
Default Settings: 400-period calculation with 120-period Z-score normalization
Analysis: (Return - Risk_Free_Rate) / Standard_Deviation of returns
Edge: Identifies periods of superior risk-adjusted performance
🎯 Sortino Ratio
Function: Risk-adjusted return using only downside deviation (superior to Sharpe)
Default Settings: 400-period calculation with 120-period Z-score normalization
Analysis: (Return - Risk_Free_Rate) / Downside_Deviation
Edge: More accurate risk assessment as it ignores upside volatility
🌟 Omega Ratio
Function: Advanced risk measure comparing gains above threshold to losses below
Default Settings: 400-period calculation with 200-period Z-score normalization
Analysis: Sum_of_Gains_Above_Threshold / Sum_of_Losses_Below_Threshold
Edge: Captures full return distribution, not just mean and variance
🎨 Visualization & Interface
🌈 Dual Color Schemes
Bright Mode: Vibrant colors for clear daylight visibility
Dark Mode: Muted tones for low-light trading environments
Adaptive Gradients: Color intensity scales with Z-score magnitude
Background Highlighting: Optional panel and chart background coloring for extreme conditions
📊 Comprehensive Data Table
Real-time Z-scores for each enabled component
Composite score with gradient coloring
Valuation phase classification (6 distinct levels)
Toggle individual components on/off for custom analysis
🎯 Valuation Phase Classifications
📈 Systematic Valuation Levels
Extremely Undervalued: Z-score ≤ -2.0 (Exceptional buying opportunity)
Strongly Undervalued: Z-score ≤ -1.3 (Strong buying signal)
Moderately Undervalued: Z-score < -0.65 (Potential buying opportunity)
Fairly Valued: Z-score -0.65 to 0.5 (Neutral zone)
Slightly Overvalued: Z-score 0.5 to 1.2 (Caution zone)
Moderately Overvalued: Z-score 1.2 to 2.0 (Potential selling zone)
Strongly Overvalued: Z-score ≥ 2.0 (Strong selling signal)
🌍 Universal Asset Compatibility
✅ Equity Markets - Individual stocks, ETFs, indices, sector rotation analysis
✅ Cryptocurrency - Bitcoin, altcoins, DeFi tokens, NFT projects
8H
12H
4H
🚀 Key Strategic Advantages
🔬 Scientific Approach
Unlike traditional indicators that use fixed thresholds, the Universal Valuation employs dynamic statistical normalization that adapts to changing market conditions and volatility regimes.
⚡ Multi-Dimensional Analysis
Combines momentum, trend, volume, and risk-adjusted metrics to provide a 360-degree view of market valuation, reducing false signals and improving decision accuracy.
🎯 Customizable Framework
Enable or disable individual components to create custom valuation models tailored to specific assets, strategies, or market conditions.
📊 Institutional-Grade Metrics
Incorporates sophisticated risk ratios (Sharpe, Sortino, Omega) typically used by hedge funds and institutional investors.
💡 Professional Trading Applications
🎯 Mean Reversion Strategies
Identify extreme valuation levels for contrarian entries
Use composite Z-score thresholds for systematic signal generation
Combine with volume analysis for confirmation
📈 Trend Following Enhancement
Avoid trend entries during overvalued conditions
Use undervalued readings to add to existing positions
Time trend continuation trades with valuation support
🔄 Portfolio Management
Asset allocation based on relative valuation scores
Risk management using integrated Sharpe/Sortino ratios
Sector rotation timing using cross-asset comparison
⚡High-Frequency Applications
Intraday momentum component for scalping strategies
VWAP analysis for institutional order flow
Real-time composite scoring for algorithmic systems
🛠️ Configuration Best Practices
📊 Conservative Setup (Long-term)
Enable all components except Hurst Exponent
Use longer Z-score periods (200+) for stability
Focus on -1.3/+2.0 thresholds for major signals
⚡ Aggressive Setup (Short-term)
Emphasize momentum components (RSI, CCI, Chande)
Shorter Z-score periods (50-100) for responsiveness
Use -0.65/+1.2 thresholds for frequent signals
🎯 Risk-Focused Setup
Prioritize Sharpe, Sortino, and Omega ratios
Enable VWAP and price components
Use conservative thresholds with position sizing guidance
---
🏆 Professional Multi-Asset Valuation System
The Universal Valuation indicator represents a quantum leap in technical analysis sophistication, combining academic rigor with practical trading applications. By normalizing diverse technical components through statistical Z-scores, it provides objective, data-driven valuation assessments that adapt to any market condition.
---
📝 Disclaimer: This indicator is for educational and informational purposes only. The statistical models and risk ratios do not guarantee future performance. Always conduct thorough analysis and implement proper risk management practices.
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.
5EMA_BB_ScalpingWhat?
In this forum we have earlier published a public scanner called 5EMA BollingerBand Nifty Stock Scanner , which is getting appreciated by the community. That works on top-40 stocks of NSE as a scanner.
Whereas this time, we have come up with the similar concept as a stand-alone indicator which can be applied for any chart, for any timeframe to reap the benifit of reversal trading.
How it works?
This is essentially a reversal/divergence trading strategy, based on a widely used strategy of Power-of-Stocks 5EMA.
To know the divergence from 5-EMA we just check if the high of the candle (on closing) is below the 5-EMA. Then we check if the closing is inside the Bollinger Band (BB). That's a Buy signal. SL: low of the candle, T: middle and higher BB.
Just opposite for selling. 5-EMA low should be above 5-EMA and closing should be inside BB (lesser than BB higher level). That's a Sell signal. SL: high of the candle, T: middle and lower BB.
Along with we compare the current bar's volume with the last-20 bar VWMA (volume weighted moving average) to determine if the volume is high or low.
Present bar's volume is compared with the previous bar's volume to know if it's rising or falling.
VWAP is also determined using `ta.vwap` built-in support of TradingView.
The Bolling Band width is also notified, along with whether it is rising or falling (comparing with previous candle).
What's special?
We love this reversal trading, as it offers many benifits over trend following strategies:
Risk to Reward (RR) is superior.
It _Does Hit_ stop losses, but the stop losses are tiny.
Means, althrough the Profit Factor looks Nahh , however due to superior RR, end of day it ended up in green.
When the day is sideways, it's difficult to trade in trending strategies. This sort of volatility, reversal strategies works better.
It's always tempting to go agaist the wind. Whole world is in Put/PE and you went opposite and enter a Call/CE. And turns out profitable! That's an amazing feeling, as a trader :)
How to trade using this?
* Put any chart
* Apply this screener from Indicators (shortcut to launch indicators is just type / in your keyboard).
* It will show you the Green up arrow when buy alert comes or red down arrow when sell comes. * Also on the top right it will show the latest signal with entry, SL and target.
Disclaimer
* This piece of software does not come up with any warrantee or any rights of not changing it over the future course of time.
* We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
Mitsos4 RSI + BB + Dispersion + Trendlines + VIX Fix Mitsos4 RSI + BB + Dispersion + Trendlines + VIX Fix
This powerful custom indicator combines two analytical tools into one view:
RSI-based Bollinger Bands with Dispersion and the Vix Fix volatility spike detector.
It is designed for traders who want early volatility signals and precision RSI insights, all in a single pane.
🧩 What's Included:
✅ 1. RSI + BB (EMA) + Dispersion
RSI-Based Bollinger Bands: Tracks the RSI with Bollinger Bands using an EMA as the basis.
Dispersion Zone: A buffer zone around the moving average band for more sensitive overbought/oversold detection.
Dynamic RSI Coloring:
🟢 Green: RSI breaks above the dispersion zone.
🔴 Red: RSI breaks below the dispersion zone.
🟡 Yellow: RSI inside the zone (neutral).
Trendlines at RSI levels: 40 (green), 50 (yellow), 60 (red).
Alerts when RSI crosses dispersion zones.
✅ 2. CM_Williams_Vix_Fix
Designed to simulate VIX-like volatility spikes on non-VIX instruments.
Detects potential market bottoms by measuring price deviation from recent highs.
Includes:
Bollinger Band range on WVF.
Percentile high/low zones to detect significant volatility moves.
Histogram plot of WVF for quick visual alerts.
Color-coded spikes (green when above upper thresholds).
⚙️ User Controls:
Adjustable RSI, Bollinger Band, and dispersion settings.
Toggle options for:
Viewing high/low VIX percentiles.
Showing standard deviation bands for WVF.
Custom trendline display levels at RSI key areas.
📌 Best Use Cases:
Detect early market reversals and volatility spikes.
Combine RSI strength with volatility-based bottom signals.
Layer dispersion-based logic on top of classic RSI strategies.
MACD + RSI + EMA + BB + ATR Day Trading StrategyEntry Conditions and Signals
The strategy implements a multi-layered filtering approach to entry conditions, requiring alignment across technical indicators, timeframes, and market conditions .
Long Entry Requirements
Trend Filter: Fast EMA (9) must be above Slow EMA (21), price must be above Fast EMA, and higher timeframe must confirm uptrend
MACD Signal: MACD line crosses above signal line, indicating increasing bullish momentum
RSI Condition: RSI below 70 (not overbought) but above 40 (showing momentum)
Volume & Volatility: Current volume exceeds 1.2x 20-period average and ATR shows sufficient market movement
Time Filter: Trading occurs during optimal hours (9:30-11:30 AM ET) when market volatility is typically highest
Exit Strategies
The strategy employs multiple exit mechanisms to adapt to changing market conditions and protect profits :
Stop Loss Management
Initial Stop: Placed at 2.0x ATR from entry price, adapting to current market volatility
Trailing Stop: 1.5x ATR trailing stop that moves up (for longs) or down (for shorts) as price moves favorably
Time-Based Exits: All positions closed by end of trading day (4:00 PM ET) to avoid overnight risk
Best Practices for Implementation
Settings
Chart Setup: 5-minute timeframe for execution with 15-minute chart for trend confirmation
Session Times: Focus on 9:30-11:30 AM ET trading for highest volatility and opportunity
Alex Scalper with Volatility CheckAlex Scalper with Volatility Check - Script Description
This Pine Script indicator is a comprehensive scalping strategy designed for short-term trading with built-in risk management and volatility filtering.
Key Features:
📊 Core Strategy:
Uses VWAP (Volume Weighted Average Price) as the primary trend filter
Employs Stochastic oscillator for entry timing (oversold/overbought conditions)
Generates buy signals when price is above VWAP with stochastic momentum
Generates sell signals when price is below VWAP with stochastic reversal
🛡️ Risk Management:
Volatility Protection: Automatically pauses trading during high volatility periods using ATR and Bollinger Band width analysis
Multi-Target System: Three take-profit levels (10, 15, 25 points) for progressive profit-taking
Fixed Stop Loss: 20-point stop loss protection
Position Sizing: Dynamic lot size adjustment based on win/loss performance
⏰ Trading Hours:
Restricted to US market hours (9:30-11:30 AM and 2:00-4:00 PM EST)
Prevents trading during low-liquidity periods
🔔 Alert System:
Real-time buy/sell alerts with complete trade information
Includes entry price, stop loss, take profit levels, and position size
Ready for automated trading integration
📈 Visual Elements:
Green triangles for buy signals below price bars
Red triangles for sell signals above price bars
Orange volatility warning labels during high-risk periods
This script is ideal for traders seeking a systematic approach to scalping with built-in protection against volatile market conditions.
Bollinger Bands - Multi Symbol Alert (Miu)This script extends the classic Bollinger Bands indicator with support for up to 8 user-defined symbols and a unique alert system.
Unlike traditional Bollinger Band indicators, it allows traders to configure alerts across multiple assets without keeping the indicator visible on the chart, making it ideal for passive multi-asset monitoring.
What it does:
This script calculates Bollinger Bands using a 100-period simple moving average and a standard deviation multiplier of 3 (or any input you set in the settings panel).
For each selected symbol, the upper and lower bands are retrieved using request.security() and monitored for breakouts.
Alerts are triggered when the closing price of the selected symbol breaks above the upper band (Overbought) or below the lower band (Oversold) — at the bar close.
How to use it:
1) Add the indicator to your chart.
2) Open the settings panel.
3) Select up to 8 symbols to monitor.
4) After setting parameters, click the three dots next to the indicator title and choose "Add Alert on...".
5) Name your alert and confirm.
6) If you don’t wish to keep the indicator visible, you can remove it from the chart — alerts will still function as expected.
Alert message includes:
- Symbol name (e.g., BTC, ETH, LTC)
- (OB) for overbought or (OS) for oversold
- Symbol’s price at the alert moment
Technical note:
This script uses request.security() to fetch Bollinger Band levels and closing prices from up to 8 selected symbols in real time.
Feel free to leave your feedback or suggestions in the comments section below.
Enjoy!
Dual Stochastic Enhanced (with Presets giua64)Script Title: Dual Stochastic Enhanced (with Presets giua64)
Overview:
This indicator enhances the traditional Dual Stochastic strategy, aiming to provide more filtered and potentially reliable trading signals. By integrating dynamic overbought/oversold levels via Bollinger Bands on the slow stochastic, a trend filter based on a moving average, momentum confirmation via RSI, and user-friendly selectable presets, "Dual Stochastic Enhanced" seeks to offer a more robust approach to identifying potential entry points.
Key Features:
Dual Stochastics: Utilizes a slow stochastic (configurable, e.g., 14 periods) as a context filter and a fast stochastic (configurable, e.g., 5 periods) as a signal trigger.
Bollinger Bands on Slow Stochastic: Instead of fixed overbought/oversold levels (80/20), Bollinger Bands are applied to the %K line of the slow stochastic. This creates dynamic zones that adapt to the stochastic's own volatility.
Trend Filter: A moving average (configurable type and length, e.g., EMA 100 as seen in the example chart for general context) on the price helps filter signals, allowing only trades aligned with the prevailing trend.
RSI Confirmation: An RSI oscillator (configurable length, e.g., 14 periods) is used to confirm momentum. Signals require the RSI to cross certain thresholds to validate the strength of the move.
User Presets: Includes presets for "Scalping," "Intraday," and "Swing trading," which quickly set all key parameters to suit different styles and timeframes. A "Custom" option is also available for full manual configuration.
Clear Visual Signals: Long (green) and Short (red) arrows appear on the chart when all entry conditions are met.
Active Zone Highlighting: The background of the indicator panel changes color (green or red) when "active zone" conditions (a combination of stochastics, trend, and RSI) are favorable.
Information Panel: A table in the top-right corner of the indicator panel displays the current status of the selected preset, trend filter, RSI value, and stochastic levels.
Signal Logic:
A LONG signal is generated when:
The fast stochastic %K crosses above its %D line.
The slow stochastic %K line is below its lower Bollinger Band (dynamic oversold condition).
The fast stochastic %K line is also in a low area (e.g., <25) to confirm the trigger is not premature.
The closing price is above the trend moving average (uptrend).
The RSI is above its long confirmation level (e.g., >40), indicating sufficient bullish momentum.
A SHORT signal is generated when:
The fast stochastic %K crosses below its %D line.
The slow stochastic %K line is above its upper Bollinger Band (dynamic overbought condition).
The fast stochastic %K line is also in a high area (e.g., >75).
The closing price is below the trend moving average (downtrend).
The RSI is below its short confirmation level (e.g., <60), indicating sufficient bearish momentum.
How to Use:
Select a Preset suitable for your trading style and the timeframe you are analyzing (e.g., Scalping for M1-M15, Intraday for M5-H1, Swing for H4-D1).
Alternatively, choose "Custom" and manually adjust all parameters (stochastic lengths, smoothing, Bollinger Bands, Moving Average, RSI, confirmation thresholds).
Observe the Information Panel for a quick understanding of the current conditions.
Evaluate the arrow signals, always considering the broader market context, price action, and any other confluences (supports/resistances, chart patterns).
The background highlighting can help quickly identify periods where conditions are aligned for potential trades.
Disclaimer:
This script is provided for educational and informational purposes only. Trading involves significant risk, and past performance is not indicative of future results. Always thoroughly test any strategy or indicator on historical data and on a demo account before risking real capital. The author assumes no responsibility for any losses incurred from the use of this script.
Author: giua64
RDBRB Strategy with Filters + Cooldowns + LabelsRDBRB Strategy with Filters + Cooldowns
This script implements the RDBRB (Rally-Drop-Base-Retest-Breakout) strategy, a classic price action setup designed to identify structured trade opportunities using volume, volatility bands, and trend alignment. It’s ideal for traders looking for clean, rule-based entries across any timeframe.
🧠 Core Components
Rally & Drop Detection
Identifies short-term momentum shifts using moving average crossovers:
✅ Ra = Rally (bullish crossover)
🔻 Dr = Drop (bearish crossunder)
Base Formation
A statistical base is defined using a moving average with a standard deviation envelope (Upper/Lower BB). This forms the foundation for breakout or retest setups.
Retest Zone (RT)
When price returns to the lower band (but stays below the base), it suggests a potential re-accumulation or reaction zone before a breakout.
Breakout Confirmation (BO)
A breakout is validated when:
Price crosses above the upper band
Volume exceeds the 20-bar average by a threshold multiplier
RSI is above a bullish momentum level
Price is trending above the longer-term EMA
⏱️ Smart Cooldown Logic
Each signal (Rally, Drop, Retest, Breakout) has an independent cooldown timer to prevent multiple triggers within a short range, filtering out noise and duplicate signals:
Customizable cooldown periods via input settings
Ensures signals are meaningful and not clustered
💡 Visual Markers
All signals are shown as small, color-coded labels:
Ra : Green label below bar
Dr : Red label above bar
RT : Yellow label below bar
BO : Green breakout label below bar
Bands and base are plotted for structure reference.
🛠️ Customizable Settings
Cooldown periods for each signal type
MA lengths, volume and RSI thresholds
Trend filter and base calculation inputs
This script is ideal for price action traders who want a clean, structured method to trade consolidations and trend continuations while avoiding over-signaling. Use it on any timeframe and combine with higher-timeframe confirmation for best results.
Breakout Core | by Solid#SignalsBreakout Core | by SolidSignals
General Overview
Breakout Core is an advanced breakout trading strategy designed for Bitcoin (BTC). Optimized for the unique market dynamics following the launch of BlackRock’s Spot ETFs in January 2024, it adapts to Bitcoin’s post-ETF volatility patterns. The strategy’s core strength lies in its low drawdown, achieved through a proprietary time-based signal-filtering algorithm that sets it apart from traditional breakout strategies. Breakout Core offers traders a reliable tool for navigating Bitcoin’s evolving market with reduced risk and enhanced precision.
Mechanisms
Breakout Core combines well-known indicators BB, EMAs, MAs with custom-tuned parameters to improve signal accuracy. Its unique feature is a proprietary time-filter algorithm that prioritizes high-probability breakout signals during specific high-volatility trading hours, derived from market analysis post-ETF launch. This algorithm minimizes false positives, particularly in volatile conditions, by integrating time-based volatility patterns with price action. The result is a robust strategy that optimizes entry and exit points for Bitcoin trading.
Objectives
Breakout Core aims to provide steady returns with controlled risk by targeting Bitcoin’s breakout patterns in the post-ETF market. Its low drawdown, achieved through extensive optimization and proprietary logic, makes it suitable for leverage trading (e.g., 3–5x leverage), balancing growth with capital protection. Tailored for BTC, the strategy equips traders with a precise tool to navigate Bitcoin’s transformed market dynamics.
Backtesting and Parameter Notes
Backtesting was performed using a $10,000 USDT account, risking up to 10% of equity per trade, including 0.06% commission fees and 2-tick slippage, aligned with standard exchange conditions. The strategy report details backtesting results from the launch of BlackRock’s Spot ETFs. These settings are the script’s defaults, ensuring transparency. Traders are encouraged to verify results using TradingView’s Deep Backtest feature to adapt to current market conditions.
Please note: Past performance does not guarantee future results.
Chart and Usage
The chart is clean and intuitive, displaying only Breakout Core’s buy and sell signals for easy interpretation. Parameters are pre-optimized for immediate use, with adjustable Take Profit (TP) and Stop Loss (SL) levels. Traders should validate custom settings via TradingView’s backtesting tools to ensure market compatibility. An integrated Alarm Panel supports API connectivity, providing clear Entry/Exit commands for Long and Short positions, enabling seamless automated trading workflows.
Originality Statement
Breakout Core is an original strategy developed by SolidSignals, leveraging standard indicators (Bollinger Bands, EMAs, MAs) combined with a proprietary time-filter algorithm. No third-party or open-source code is used, ensuring full compliance with TradingView’s originality requirements. The time-filter mechanism, based on post-ETF volatility analysis, distinguishes this strategy from conventional breakout approaches.
Important Disclaimer
Market conditions evolve continuously, and past performance is not indicative of future results. Traders are responsible for validating the strategy’s settings and performance under current market conditions before use.
ABC Market stage judgmentABC Stage Judgment Indicators · Introduction
Core ideology
The market situation is divided into three stages:
Zone B (Low Volatility Accumulation): Extremely low volatility, no trend, institutions accumulate chips.
Zone A (oscillation zone): The volatility has rebounded but there is no unilateral trend, suitable for short-term high selling and low buying.
Zone C (Trend Explosion): The volatility has significantly expanded and the trend is strong, making it profitable to follow the position.
Core Indicators
Volatility measurement
Bollinger Bands Width (BBWidth): 20 cycle moving average ± 2 σ bandwidth, reflecting relative volatility compression/release;
ATR (Average True Volatility): measures the absolute intensity of price volatility.
Trend Strength
ADX (Average Trend Index): measures the strength of a trend (without distinguishing direction),
ADX<20 → No trend (Zone B/A)
ADX>25 → Significant trend (Zone C)
Stage division logic
Zone B: Both BWidth and ATR are less than the set multiple of their respective historical means, and ADX is less than the threshold → "quiet bottoming out";
Zone C: ADX>threshold, and BBWidth or ATR>set multiple of their respective historical means, trading volume amplification → "trend takeoff";
Zone A: Time periods that do not belong to B/C are all classified as oscillation zones.
Optional enhanced filtering
Direction confirmation (+DI/- DI): avoid going against the trend;
Multi cycle verification (4H): in line with the trend of large-scale;
Momentum filtering (ROC/MACD/RSI): ensuring kinetic energy support;
ATR slope: Confirm the release of fluctuations;
Breakthrough Confirmation: Enter only after the breakthrough is confirmed at the closing level.
These filters are turned off by default and can be selected with one click for different scenarios such as "high-level oscillation", "low-level bottoming", "planting trees in the middle", etc.
usage
Multi cycle switching: Built in "5-minute/1-hour" two main cycles for free switching;
Visualization: The background color and labels display the current Zone at a glance;
Alarm: Stage switching automatically triggers an Alert, which can be pushed through mobile phones/Telegram.
WMB Oscillator | [DeV]The "WMB Oscillator" indicator is a multi-factor momentum and volatility indicator designed to give traders a dynamic edge in identifying trend strength, market pressure, and potential turning points. By combining three powerful tools—Williams %R, Money Flow Index, and Bollinger Band Width—this oscillator presents a single histogram that visually represents the interplay between overbought/oversold levels, volume-weighted pressure, and volatility expansion. Use it to anticipate trend shifts, confirm entries, or avoid traps in ranging markets.
Williams %R:
Williams %R measures the closing price's position relative to the recent high-low range over a defined period. It outputs a value between 0 and -100, where values closer to -100 suggest oversold conditions, and those near 0 indicate overbought. In this oscillator, the raw %R is normalized between your defined overbought and oversold thresholds, allowing it to integrate seamlessly into the combined signal without distortion from price scale differences.
Money Flow Index (MFI):
The MFI gauges buying and selling pressure using both price and volume. It calculates the typical price for each bar, multiplies it by volume, and compares positive versus negative money flows over time. Normalized between your custom thresholds, the MFI component helps highlight when a move is driven by real conviction (volume) rather than weak price fluctuation, enhancing the signal’s reliability.
Bollinger Band Width (BB Width):
BB Width quantifies volatility by measuring the percentage difference between the upper and lower Bollinger Bands relative to their moving average. When volatility contracts, BB Width narrows—often preceding explosive moves. When it expands, volatility is peaking. Here, the raw BB Width is detrended using its moving average and scaled with a user-defined multiplier to reflect its deviation strength.
Why Combine These:
Each of these three metrics captures a unique dimension of market behavior: %R tracks momentum in price extremes, MFI confirms the move’s strength through volume, and BB Width anticipates volatility surges. Combined, they form a balanced oscillator that reacts fluidly to market changes while filtering out noise. The result is a nuanced, multi-angle view of the market's internal dynamics, enabling smarter, more confident trading decisions.
Zero Lag MTF Moving Average by CoffeeshopCryptoBased on Moving Average Types supplied by @TradingView www.tradingview.com
Ideas and code enhanced to show higher timeframe by @CoffeeShopCrypto
It’s time to take the guesswork out of moving averages and multiple timeframes when day trading. Moving averages are a cornerstone of many trading strategies, often viewed as dynamic support and resistance levels. Traders rely on these levels to anticipate price reactions, whether it’s a bounce in a trending market or a reversal in a ranging one. Additionally, the direction and alignment of multi timeframe moving averages—whether they’re moving in the same direction or diverging—provide critical clues about market momentum and potential reversals. However, the traditional higher timeframe moving average indicators force traders to wait for higher timeframe candles to close, creating lag and missed opportunities.
The Old Way
For example: If you are on a 5 minute chart and you want to observe the location and direction of a 30 minute chart Moving Average, you'll need to wait for a total of 6 candles to close, and again every 6 candles after that. This only creates more lag.
The New Way
Now there is no waiting for high timeframe session candles to close. No matter what timeframe Moving Average you want to know about, this indicator will show you its location on your current chart at any time in real time.
For those who prefer Bollinger Bands, this indicator adds a whole new dimension to your strategy. Traders often wait for price action to break outside the lower time frame Bollinger bands before considering a trade, while still seeking key support or resistance levels beyond them. But if you don't know the position of your higher time frame Bollinger, you could be trading into a trap. With Zero Lag Multi Timeframe Moving Average, you can view both your current and higher timeframe Bollinger Bands simultaneously with zero waiting. This lets you instantly see when price action is traveling between the bands of either timeframe or breaking through both—indicating a strong trend in that direction. Additionally, when both sets of Bollinger Bands overlap at the same price levels, it highlights areas of strong consolidation and ranging conditions, giving you a clear picture of market dynamics. This is a key element in price action that tells you there is currently no direction to the market and both the current and higher time frames are flat.
Enter Zero Lag Multi Timeframe Moving Average—the ultimate tool for real-time higher timeframe moving averages and Bollinger Bands. This innovative indicator eliminates the delay, delivering instant, precise values for higher timeframe averages and bands, even on open candles. Seamlessly combining current and higher timeframe data, it allows traders to identify key moments where moving averages or Bollinger Bands align or diverge, signaling market conditions. Whether you’re gauging the strength of a trend, pinpointing potential reversals, or identifying consolidation zones, Zero Lag Multi Timeframe Moving Average gives you the clarity needed to make better trading decisions according to market conditions.
Why is this "Mashup" of moving averages different and important?
Honestly its really about the calculation thats imported through the "import library" function.
Heres what it does:
The ZLMTF-MA is designed to help traders easily see where higher timeframe moving averages and Bollinger Bands are—without needing to switch chart timeframes or wait for those larger candles to close. It works by adjusting common moving average types like SMA, EMA, and VWMA to show what they would look like if they were based on a higher timeframe, right on your current chart. This helps users stay focused on their main timeframe while still having a clear view of the bigger picture, making it easier to spot trend direction, key support and resistance levels, and overall market structure. The goal is to keep things simple, fast, and more visually informative for everyday traders.
Bollinger Bands
When working with Bollinger Bands, a common strategy is to take the trades once price action has escaped through the top or bottom of your current Bollinger Band.
A false breakout occurs when both Bollinger Bands are not moving in the same direction as eachother or when they are overlapping.
Moving Averages as Support and Resistance:
Traders who use Moving Averages as support or resistance, looking for rejections or failures of these areas can now see multiple timeframe price action instantly and simultaneously.
Trading Setup Examples:
Price Action Scenario 1:
Higher Timeframe Ranging-
When price action breaks through a current moving average headed toward a higher timeframe moving average, trades are taken with caution if the moving averages are converging.
Price Action Scenario 2:
Strong Trending Market -
If the moving averages are in the same direction, and your price action is now leading the low timeframe moving average, you have re-entered a strong trend.
Price Action Scenario 3:
High Timeframe Rejections -
If you have a rejection of a higher timeframe moving average, and your both averages are still diverging, this is the end of a pullback as you re-enter a strong trend in the original direction
Price Action Scenario 4:
Trend Reversals -
If you close beyond both the low and high timeframe moving averages, you can consider that price action is strong enough to change direction here and you should prepare for trade setups in the opposite direction of the previous.
HTF MA Label Information:
Even if your high timeframe moving average is turned off, you can still see this label.
It gives you a quick reminder of what high timeframe settings you have used to see MA values.