INVITE-ONLY SCRIPT

Adaptive Fisher [BackQuant]

Aktualisiert
Adaptive Fisher [BackQuant]
What is it at its core:
Custom Kaufman Adaptive Moving Average Smoothed Price Data, Fisher Transformation.

Why did we choose to make an Adaptive Fisher ?
The Adaptive Fisher Transformation Indicator is an advanced technical tool designed to signal potential turning points in market prices by transforming asset price data into a nearly Gaussian normal distribution. This transformation, initially conceptualized by John F. Ehlers, aims to make extreme price behavior, which could indicate potential market reversals, more identifiable. Unlike the standard distribution of asset prices, the Gaussian normal distribution provides a clearer framework for identifying price extremes and trends.

With that being considered there are key things to take into consideration:
As the transformation seeks to normalize price data, it's crucial to remember that asset prices inherently do not follow a normal distribution. Thus, traders should use this tool in conjunction with other analyses to confirm potential trading signals. The effectiveness can vary across different assets and market conditions, underscoring the importance of customization and adaptation to specific trading strategies. As the same for all tools, all must be backtested. Past performance is not a guarantee for future results.

Now for the Key Features
Normalization of Prices: The Adaptive Fisher Transformation normalizes price data, enhancing the visibility of turning points. This normalization is critical for identifying moments when the price movement is statistically significant, thereby aiding in decision-making.
Adaptivity through Kaufman's Adaptive Moving Average (KAMA): Unlike traditional indicators, this version employs KAMA to dynamically adjust to market volatility. By doing so, it smoothens the price data more effectively, providing signals that are more responsive to current market conditions.
Divergence Detection: It includes the capability to detect divergences between the indicator and price movement, a powerful signal of potential trend reversals. Traders can specify the length over which divergences are calculated, allowing for customization based on their trading strategy.
Visual Enhancements: The indicator features color gradients to delineate strength levels and extreme values, improving readability and the quick assessment of market conditions.
Customizable Smoothing Mechanism: To accommodate different assets and timeframes, the indicator includes an option to select from various moving averages for smoothing, with an Exponential Moving Average (EMA) recommended for its effectiveness.

Application and Interpretation:
Traders can utilise this tool to identify potential reversal points by looking for extreme values in the transformed price data. Changes in the direction of the indicator can also signal shifts in market trends.
The inclusion of a normalized Relative Strength Index (RSI) provides additional confluence, aiding traders in recognizing overbought and oversold conditions through color-coded background hues in the chart.
Alert conditions are programmed for various scenarios, including trend shifts, Fisher Transform crossings over the midline, and both regular and hidden divergences, enabling traders to react promptly to potential market movements.


Empirical Soundness
Mathematical Foundation in Gaussian Distribution: At its core, the Fisher Transformation's application to financial markets is based on transforming prices to conform more closely to a Gaussian normal distribution, which is a fundamental concept in statistics. This transformation aims to make the identification of price extremes more reliable. Empirical studies have shown that while raw financial data may not follow a normal distribution, the application of transformations can facilitate the identification of critical turning points in market data (Ehlers, John F., "Cybernetic Analysis for Stocks and Futures", Wiley & Sons, 2004).

Adaptivity through KAMA: The use of Kaufman's Adaptive Moving Average introduces a dynamic element to the indicator, allowing it to adjust to market volatility automatically. This adaptivity is particularly relevant in today's financial markets, where volatility patterns can shift rapidly due to economic news, geopolitical events, and changes in market sentiment. The empirical strength of KAMA lies in its foundational logic, designed to account for market noise and smoothing price data more effectively than traditional moving averages (Kaufman, Perry J., "Trading Systems and Methods", Wiley & Sons, 2013).

Innovative Divergence Detection Mechanism: Divergence detection adds an empirical layer to the Adaptive Fisher Transformation by highlighting discrepancies between price action and the indicator's performance. This feature is grounded in the principle that divergences can often precede reversals, providing early warning signs of potential shifts in market direction. The ability to customize the calculation length for divergences enables the indicator to be fine-tuned to the characteristics of specific assets or market conditions, enhancing its practical application.

User Inputs Explained:
Calculation Source (price): This input determines the base price used for calculations, typically the closing price (close). Traders can adjust this to open, high, low, or another average, tailoring the indicator to focus on specific aspects of price action.

Fisher Lookback (ftPeriod): Defines the period over which the Fisher Transform is calculated. A shorter period makes the indicator more sensitive to price movements, while a longer period smoothens the output, reducing sensitivity.

Make Fisher Adaptive (adapt): A boolean input that enables the adaptation feature of the Fisher Transform using KAMA. When set to true, it dynamically adjusts the Fisher Transform according to market volatility, enhancing its responsiveness to recent price changes.

Adaptive Period (length), Fast Length (fast), Slow Length (slow): These inputs configure the KAMA calculation, affecting its sensitivity to price movements. The length determines the lookback period for volatility calculation, while fast and slow set the speed of adjustment to market conditions.

Smooth Fisher (smooth): Allows for additional smoothing of the Fisher Transform output to reduce noise. This is particularly useful in highly volatile markets or when the indicator is too reactive to price changes.

Smoothing Type (modeSwitch) and Smooth Period (smoothlen): Determine the method and period for smoothing. Options include various moving averages (EMA, SMA, etc.), providing flexibility in how the smoothing is applied.

Show Fisher, Show Fisher Moving Average, Moving Average Period (malen): These inputs control the visibility of the Fisher Transform and its moving average on the chart, as well as the period of the moving average. This helps in identifying trends and the direction of the market.

Show Detected Trend Shifts (trendshift): Enables the highlighting of moments when the indicator suggests a potential shift in market trend, providing early signals for traders.

Show Fisher Strength levels (showextreme): Displays predefined levels indicating extreme values of the Fisher Transform, which could suggest overbought or oversold conditions.

Show Confluence RSI (showrsi), RSI Period (rsiPeriod): These inputs add a normalized Relative Strength Index to the chart for additional analysis, offering a secondary measure of market conditions.

Show Overbought and Oversold Signals: When enabled, the background color changes to highlight overbought or oversold conditions based on the RSI, aiding in visual identification of potential trading opportunities.

Use Case of Midline Crossover Fisher:
Midline Crossover Fisher: The Fisher Transform's midline crossover is a critical signal for traders. A crossover above the midline indicates a bullish market sentiment, suggesting that it might be a good time to consider entering a long position. Conversely, a crossover below the midline suggests bearish sentiment, potentially signaling an opportunity to go short. This is based on the principle that the Fisher Transform makes turning points more evident, and crossing the midline reflects a change in momentum.

Overbought and Oversold Hues:
RSI Overbought and Oversold Background Color: The background color feature for RSI OB (overbought) and OS (oversold) conditions enhances visual cues for market extremes. When the RSI exceeds upper thresholds (Above 70), indicating overbought conditions, the background will turn to warn traders of potential price reversals. Similarly, when the RSI falls below lower thresholds (Below 30), suggesting oversold conditions, green can highlight potential opportunities for buying.


Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
This is using the Midline Crossover:
BTCUSD
Snapshot
ETHUSD
Snapshot
SOLUSD
Snapshot

Versionshinweise
Added extra UI Input
adaptiveehlersfisherKaufman's Adaptive Moving Average (KAMA)smoothedTrend Analysis

Skript nur auf Einladung

Der Zugriff auf dieses Skript ist auf vom Autor autorisierte User beschränkt und normalerweise kostenpflichtig. Sie können es zu Ihren Favoriten hinzufügen, aber Sie können es nur verwenden, nachdem Sie die Erlaubnis angefordert und vom Autor erhalten haben. Kontaktieren Sie BackQuant für weitere Informationen oder folgen Sie den Anweisungen des Autors unten.

TradingView empfiehlt nicht, ein Script zu kaufen, wenn Sie den Autor nicht zu 100 % als vertrauenswürdig halten, oder nicht verstehen, wie das Script funktioniert. In vielen Fällen können Sie auch eine gute und kostenlose Open-Source-Alternative in unseren Community-Scripts entdecken.

Hinweise des Autors

Please visit our Discord to see our deals : discord.gg/GU6kZvXdeQ

Möchten Sie dieses Skript auf einem Chart verwenden?

Warnung: Bitte lesen Sie dies, bevor Sie Zugriff anfordern.

Check out whop.com/backquant for Access to Invite Only Scripts!
Auch am:

Haftungsausschluss