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

    Smoothed ATR With Bands (SATRB)

    StrategyQuantIndicators
    Smoothed ATR With Bands (SATRB)

    Combines dual smoothed ATR periods with statistical bands for enhanced volatility measurement. Identifies volatility compression, trend strength, and potential breakout conditions with reduced false signals.

    Smoothed ATR with Bands (SATRB) – Custom Indicator

    The Smoothed ATR with Bands indicator combines dual ATR calculations with statistical bands to provide enhanced volatility analysis. This indicator creates a more sophisticated approach to measuring market volatility by smoothing the ATR values and adding standard deviation bands.


    How It Works

    The indicator calculates two separate ATR values:

    • ATR1: Used for bands calculation with its own period and smoothing
    • ATR2: The main plotted line with independent period and smoothing settings

    Both ATR values are smoothed using Simple Moving Average (SMA) to reduce noise. The bands are created by adding and subtracting a multiple of the standard deviation from the smoothed ATR1 value.


    Parameters

    The indicator accepts the following parameters:

    • ATR1Period (default: 14) – Period for ATR used in bands calculation
    • ATR2Period (default: 21) – Period for the plotted ATR line
    • ATR1SmoothingPeriod (default: 5) – SMA smoothing period for ATR1
    • ATR2SmoothingPeriod (default: 5) – SMA smoothing period for ATR2
    • StdDevMult (default: 1.0) – Standard deviation multiplier for bands


    Outputs

    The indicator produces three outputs:

    • UpperBand (Red) – Upper volatility band
    • LowerBand (Red) – Lower volatility band
    • ATR2Line (Blue) – Main smoothed ATR line


    Implementation Details

    The indicator calculates ATR using the traditional method:

    TrueRange = Max(High-Low, |High-PrevClose|, |Low-PrevClose|)

    For the first bar, it simply uses High-Low. The ATR is then calculated as a simple average of True Range values over the specified period.

    Both ATR values are smoothed using SMA, and the standard deviation is calculated from the smoothed ATR1 values to create the bands.


    Parameter Sets

    Three optimized parameter sets are included:

    1. Default: ATR1=14, ATR2=21, Smoothing=5/5, StdDev=1.0
    2. Sensitive: ATR1=10, ATR2=20, Smoothing=5/3, StdDev=2.0
    3. Conservative: ATR1=20, ATR2=30, Smoothing=10/7, StdDev=1.5


    Usage

    The indicator can be used to:

    • Identify periods of high/low volatility when ATR2 breaks above/below bands
    • Assess trend strength based on ATR2 position relative to bands
    • Spot potential breakout conditions when volatility is compressed

    The dual ATR approach allows for more nuanced volatility analysis compared to single ATR indicators, while the smoothing reduces false signals common in raw ATR calculations.

    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.
    Free1 download

    Files

    • Snippet-SmoothedATRWithBandsSATRB.sqm22 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