StrategyQuant
Q AI AssistantAlgoCloudQuantAnalyzerQuantDataManager
Free CourseCompany
BlogDocumentationForumContact us
BlogMarketplace
Log in
Create free account

Product

  • Pricing & licenses
  • Learn
  • Marketplace
  • Start free trial

Legal

  • Terms of Service
  • Privacy Policy
  • Cookies

Contact

[email protected]

Company

StrategyQuant s.r.o.

Korunní 2569/108, Vinohrady, 101 00 Praha 10, Czech Republic, EU

IČ: 04000498

DIČ: CZ04000498

Social

  • Legal Notice | PROCESSING AND PROTECTION OF PERSONAL DATA

    Past performance is no guarantee of future success. All information should be viewed as educational only

    UNITED STATES Disclaimer required by Government - Commodity Futures Trading Commission informs: Futures and options trading have great potential rewards, but also great potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to buy/sell futures, shares or options on the same. No representation is being made that any account will or is likely to realise profits or losses similar to those discussed in this document. The past performance of any trading system or methodology is not necessarily indicative of future results.

    CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE A RECORD OF ACTUAL PERFORMANCE, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES WERE NOT EXECUTED, THE RESULTS MAY HAVE OFFSET THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMMES IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO REALISE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN.

    NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL, OR IS LIKELY TO, REALISE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED WITHIN THIS SITE. IF YOU DECIDE TO INVEST REAL MONEY, ALL TRADING DECISIONS IN THE FINANCIAL MARKETS SHOULD BE YOUR OWN.

    © StrategyQuant 2026

    Powered by Klaudie.ai

    Back to marketplaceDIGITAL

    VIDYA Bollinger Bands (VIDYABB)

    StrategyQuantIndicators
    VIDYA Bollinger Bands (VIDYABB)

    Combines momentum-adaptive VIDYA with Bollinger Bands for trend identification with dynamic support/resistance. Automatically adjusts to market conditions, reducing false signals while staying responsive to price moves.

    The VIDYA Bollinger Bands indicator combines the adaptive smoothing capabilities of VIDYA (Variable Index Dynamic Average) with statistical Bollinger Bands to provide enhanced trend analysis with dynamic volatility bands. This indicator creates a sophisticated approach to trend identification by applying an adaptive moving average that responds to market momentum and surrounding it with volatility-based bands.

    How It Works

    The indicator operates in two main stages:

    1. VIDYA Calculation: Uses the Chande Momentum Oscillator (CMO) to create an adaptive smoothing factor that adjusts to market momentum. When momentum is high, the moving average becomes more responsive to price changes; when momentum is low, it becomes smoother.
    2. Bollinger Bands Application: Calculates standard deviation of the VIDYA values and creates upper and lower bands around the adaptive moving average using a specified deviation multiplier.

    The VIDYA algorithm dynamically adjusts its smoothing factor based on the CMO value, making it more responsive during trending markets and smoother during sideways conditions. This adaptive behavior helps reduce false signals while maintaining sensitivity to genuine price movements.

    Parameters

    The indicator accepts the following parameters:

    • Period (default: 9) – Base period for VIDYA calculation and smoothing factor
    • CMOPeriod (default: 14) – Period for Chande Momentum Oscillator calculation
    • Deviation (default: 2) – Standard deviation multiplier for band calculation around VIDYA

    Outputs

    The indicator produces two outputs:

    • Upper (Red) – Upper volatility band above VIDYA line
    • Lower (Green) – Lower volatility band below VIDYA line

    Implementation Details

    The indicator calculates the Chande Momentum Oscillator (CMO) using:

    CMO = 100 × ((UpMove - DownMove) / (UpMove + DownMove))

    Where:

    • UpMove = Sum of positive price changes over CMOPeriod
    • DownMove = Sum of absolute negative price changes over CMOPeriod

    The VIDYA calculation uses an adaptive smoothing factor:

    Alpha = |CMO| / 100 × K
    K = 2 / (Period + 1)
    VIDYA = PreviousVIDYA + Alpha × (Price - PreviousVIDYA)

    The Bollinger Bands are calculated as:

    • Upper Band = VIDYA + (Deviation × StandardDeviation)
    • Lower Band = VIDYA – (Deviation × StandardDeviation)

    Parameter Sets

    Eight optimized parameter sets are included:

    1. Fast Short CMO: Period=9, CMOPeriod=9, Deviation=2
    2. Balanced Short CMO: Period=12, CMOPeriod=9, Deviation=2
    3. Standard Short CMO: Period=20, CMOPeriod=9, Deviation=2
    4. Long Short CMO: Period=50, CMOPeriod=9, Deviation=2
    5. Fast Standard CMO: Period=9, CMOPeriod=14, Deviation=2
    6. Balanced Standard CMO: Period=12, CMOPeriod=14, Deviation=2
    7. Standard: Period=20, CMOPeriod=14, Deviation=2
    8. Long Standard CMO: Period=50, CMOPeriod=14, Deviation=2

    Usage

    The indicator can be used to:

    • Identify adaptive trend direction based on VIDYA positioning and momentum-based responsiveness
    • Determine dynamic support and resistance levels using the upper and lower bands
    • Spot potential reversal points when price approaches or breaks through adaptive bands
    • Assess market momentum and volatility simultaneously (narrow bands indicate low momentum, wide bands indicate high momentum)
    • Generate entry signals when price breaks above upper band (bullish momentum) or below lower band (bearish momentum)
    • Reduce false signals in sideways markets due to VIDYA’s adaptive smoothing during low momentum periods

    The combination of momentum-adaptive VIDYA with volatility bands provides a more sophisticated analysis tool that automatically adjusts to market conditions, offering both adaptive trend direction and volatility context for more reliable trading decisions compared to static moving average-based indicators.

    Indicator Availability:
    This indicator is implemented for MT4, MT5, TradeStation, and MultiCharts.

    Using Custom Blocks for Conditions:
    You can easily define your own conditions in StrategyQuant X using Custom Blocks. This allows you to set up parameters such as periods or steps to fine-tune the indicator to your strategy. For more detailed information, refer to the following resources:

    • StrategyQuant Documentation: Custom Blocks
    • StrategyQuant Documentation: Strategy Templates & Custom Blocks
    • StrategyQuant YouTube Tutorial: Custom Blocks Overview

    Importing Custom Indicators into SQX:
    To import custom indicators into StrategyQuant X, follow the step-by-step instructions provided here:
    Import & Export Custom Indicators and Other Snippets

    You know me as clonex. I’m Ivan Hudec — I built the free blocks you’re using here, and I write about the research behind them at algotrading.space. Need something built? Work with me.
    Past performance is no guarantee of future success. All information should be viewed as educational only UNITED STATES Disclaimer required by Government - Commodity Futures Trading Commission informs: Futures and options trading have great potential rewards, but also great potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to buy/sell futures, shares or options on the same. No representation is being made that any account will or is likely to realise profits or losses similar to those discussed in this document. The past performance of any trading system or methodology is not necessarily indicative of future results. CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE A RECORD OF ACTUAL PERFORMANCE, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES WERE NOT EXECUTED, THE RESULTS MAY HAVE OFFSET THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMMES IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO REALISE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL, OR IS LIKELY TO, REALISE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED WITHIN THIS SITE. IF YOU DECIDE TO INVEST REAL MONEY, ALL TRADING DECISIONS IN THE FINANCIAL MARKETS SHOULD BE YOUR OWN.
    Free2 downloads

    Files

    • Snippet-VIDYABollingerBandsVIDYABB.sqm21 KBLocked

    Download unlocks after purchase or with an active tier.

    Details
    Version1.0.0
    PublishedOctober 19, 2026
    Last updatedNovember 2, 2026
    AppSQ
    TypeSnippet
    Authorclonex / Ivan Hudec
    App version145.3058
    Codebase categoryIndicators / Signals