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

    Bollinger Bands VMA (BBVMA)

    StrategyQuantIndicators
    Bollinger Bands VMA (BBVMA)

    Combines Variable Moving Average with Bollinger Bands using efficiency-based adaptation. Provides adaptive trend analysis with dynamic support/resistance levels and reduces false signals in choppy markets.

    The Bollinger Bands VMA indicator combines Tushar Chande’s Variable Moving Average (VMA) with traditional Bollinger Bands to provide enhanced trend analysis with efficiency-based adaptive smoothing. This indicator creates a sophisticated approach to trend identification by using an adaptive moving average that responds to market efficiency as the center line, surrounded by volatility-based statistical bands.

    How It Works

    The indicator operates in two main stages:

    1. Variable Moving Average (VMA) Calculation: Uses an efficiency ratio to create an adaptive smoothing factor that adjusts based on the relationship between net price movement and total price volatility. When markets are trending efficiently, the VMA becomes more responsive; when markets are choppy or sideways, it becomes smoother.
    2. Bollinger Bands Application: Calculates standard deviation of the input price series and creates upper and lower bands around the VMA center line using a specified standard deviation multiplier.

    The VMA algorithm dynamically adjusts its smoothing constant based on market efficiency, making it more responsive during strong trending periods and providing better noise filtering during volatile but directionless market conditions.

    Parameters

    The indicator accepts the following parameters:

    • Period (default: 14) – Lookback period for efficiency ratio and VMA calculation
    • VolFactor (default: 2) – Multiplier for the efficiency ratio in smoothing constant calculation
    • StdDevFactor (default: 2) – Standard deviation multiplier for band calculation around VMA

    Outputs

    The indicator produces two outputs:

    • Upper (Red) – Upper volatility band above VMA center line
    • Lower (Red) – Lower volatility band below VMA center line

    Implementation Details

    The indicator calculates the Efficiency Ratio using:

    Net Change = |Close[0] - Close[Period]| Total Volatility = Sum of |Close[i] - Close[i+1]| over Period Efficiency Ratio = Net Change / Total Volatility

    The VMA calculation uses an adaptive smoothing constant:

    Smoothing Constant = (Efficiency Ratio)² × VolFactor Fast SC = 2/(2+1) = 0.667 Slow SC = 2/(30+1) = 0.065 Alpha = (Smoothing Constant × (Fast SC - Slow SC)) + Slow SC VMA = Alpha × Price + (1 - Alpha) × Previous VMA

    The Bollinger Bands are calculated as:

    • Upper Band = VMA + (StdDevFactor × StandardDeviation)
    • Lower Band = VMA – (StdDevFactor × StandardDeviation)

    Note: The standard deviation is calculated from the input price series, not the VMA values.

    Parameter Sets

    Three optimized parameter sets are included:

    1. Short-term: Period=14, VolFactor=2, StdDevFactor=2
    2. Standard: Period=20, VolFactor=2, StdDevFactor=2
    3. Long-term: Period=50, VolFactor=2, StdDevFactor=2

    Usage

    The indicator can be used to:

    • Identify adaptive trend direction based on VMA positioning and market efficiency
    • Determine dynamic support and resistance levels using the upper and lower bands
    • Assess market efficiency and trending strength through VMA responsiveness
    • Generate entry signals when price breaks above upper band (efficient uptrend) or below lower band (efficient downtrend)
    • Spot consolidation periods when efficiency ratio is low and VMA becomes less responsive
    • Reduce false signals during choppy markets due to VMA’s efficiency-based smoothing
    • Identify potential breakout conditions when price approaches bands during high-efficiency periods

    The VMA’s unique efficiency-based adaptation makes it particularly effective at distinguishing between genuine trends and random price movements. When markets move efficiently in one direction, the VMA quickly adapts to follow the trend. When markets are volatile but directionless, the VMA provides superior noise filtering compared to traditional moving averages.

    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.
    Free

    Files

    • Snippet-BollingerBandsVMABBVMA.sqm23 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