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

    AFT – Adaptive Fisher Transform

    StrategyQuantIndicators
    AFT – Adaptive Fisher Transform

    Converts price data to Gaussian distribution with volatility-adaptive periods. Identifies trend changes, reversals, and overbought/oversold levels through Fisher Transform for responsive signal generation.

    AFT – Adaptive Fisher Transform


    Overview

    The Adaptive Fisher Transform (AFT) is an oscillator that converts price data into a Gaussian normal distribution while dynamically adjusting its calculation period based on market volatility.


    Key Features

    • Volatility-Based Adaptation: Automatically adjusts calculation periods based on market volatility
    • Gaussian Distribution: Converts price data into a normal distribution for clearer signals
    • Dynamic Period Adjustment: Responds faster during high volatility and smooths during low volatility
    • Signal Lines: Provides main Fisher line and signal line for analysis


    Mathematical Foundation

    The Fisher Transform converts non-normal price distributions into Gaussian distributions using: Fisher = 0.5 × ln((1 + X) / (1 – X)) where X is the normalized price between -1 and +1. Traditional fixed-period indicators are either too responsive during low volatility (false signals) or too slow during high volatility (missed moves). AFT solves this by dynamically adjusting its calculation period.


    How AFT Works

    1. Price Input: Uses median price (High + Low) / 2
    2. Volatility Measurement: Calculates True Range and compares current TR to Average TR
    3. Adaptive Period: Adjusts base period using: Period / (1 + AdaptiveFactor × VolatilityRatio), constrained between 3 and 2× base period
    4. Price Normalization: Normalizes median price to range [-1, 1] over adaptive period
    5. Fisher Transform: Applies Fisher formula to normalized price
    6. Smoothing: Uses exponential moving average with adaptive alpha = 2 / (AdaptivePeriod + 1)
    7. Signal Generation: Main line = current smoothed Fisher; Signal line = previous Fisher value


    Indicator Parameters


    Period (Default: 10)

    • Range: 3 to 200
    • Purpose: Base calculation period before adaptation
    • Effect: Shorter = more responsive/noisier; Longer = smoother/slower


    AdaptiveFactor (Default: 0.33)

    • Range: 0.1 to 1.0
    • Purpose: Controls degree of volatility adaptation
    • Effect: Lower values (0.1-0.3) = conservative/stable; Higher (0.5-1.0) = aggressive/responsive


    Signal Interpretation

    Range: -4 to +4 (typical: -2 to +2)

    Extreme Readings: Above +2 = strong bullish/overbought; Below -2 = strong bearish/oversold; Above +3 = extremely overbought; Below -3 = extremely oversold

    Zero Line: Above 0 = bullish bias; Below 0 = bearish bias; Crossing = potential trend change


    Trading Signals

    Fisher Line Crossover: Bullish when crossing above 0; Bearish when crossing below 0

    Signal Line Crossover: Bullish when Fisher line crosses above Signal line; Bearish when crossing below

    Extreme Reversal: Bullish when AFT below -2 and turning upward; Bearish when above +2 and turning downward

    Divergence: Bullish divergence = price lower lows while AFT makes higher lows; Bearish divergence = price higher highs while AFT makes lower highs


    Practical Applications


    Trend Following

    • Entry: Fisher line crosses above Signal line + AFT > 0
    • Exit: Fisher line crosses below Signal line or AFT < 0
    • Filter: Use higher timeframe AFT for trend direction


    Mean Reversion

    • Long Entry: AFT < -2 and showing upward momentum
    • Short Entry: AFT > +2 and showing downward momentum
    • Exit: Return to zero or opposite extreme


    Divergence Trading

    • Setup: Identify divergence between price and AFT
    • Entry: Wait for AFT line crossover confirmation
    • Stop: Beyond recent swing high/low


    Timeframe Applications

    • Intraday (1-15 min): Period=10, AdaptiveFactor=0.5 for quick reversals
    • Swing Trading (1-4 hrs): Period=14, AdaptiveFactor=0.33 for balanced responsiveness
    • Position Trading (Daily/Weekly): Period=20, AdaptiveFactor=0.33 for major reversals


    Risk Management

    • Position Sizing: Strong signals (extreme + divergence + volume) = larger; Single crossover = smaller
    • Stop Loss: Trend following = beyond recent swing; Mean reversion = beyond extreme levels (±3)
    • Avoid Trading: AFT oscillating rapidly around zero, adaptive period changing frequently, low volume
    • Prefer Trading: Clear extremes (±2+), stable adaptive period, volume confirmation


    Parameter Optimization

    • Period Range: Test 8-25 for most timeframes
    • AdaptiveFactor Range: Test 0.2-0.8 in 0.1 increments
    • Market Specific: Different markets may prefer different settings


    Conclusion

    AFT combines the mathematical rigor of Fisher Transform with volatility-based adaptation for automatic adjustment to changing market conditions.

    Indicator Availability: MT4, MT5

    Using Custom Blocks: Define your own conditions in StrategyQuant X using Custom Blocks to fine-tune the indicator. Resources:

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

    Importing Custom Indicators: Import & Export Custom Indicators and Other Snippets

    About the author: I'm Ivan Hudec (clonex). I built the free blocks you're using here and write research at algotrading.space. 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-AFTAdaptiveFisherTransform.sqm17 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