AFT – アダプティブ・フィッシャー・トランスフォーム
ページのコンテンツ
AFT – アダプティブ・フィッシャー・トランスフォーム:ボラティリティ適応型高度ガウス分布オシレーター
概要
適応型フィッシャー変換(AFT)は、価格データをガウス正規分布に変換すると同時に、市場のボラティリティに基づいて計算期間を動的に調整する洗練されたオシレーターです。この高度なインジケーターは、フィッシャー変換の数学的パワーと適応型テクノロジーを組み合わせることで、様々な市場状況においてより応答性と精度の高いシグナルを提供します。.
AFTがユニークな理由は何ですか?
適応型フィッシャー変換は、従来のフィッシャー変換インジケーターに以下の要素を導入することで、大きな進化を遂げています。
- ボラティリティベースのアダプテーション市場のボラティリティに応じて計算期間を自動的に調整します
- ガウス分布価格データを正規分布に変換し、シグナルの識別をより明確にする
- 動的期間調整価格変動が大きい時はより素早く反応し、価格変動が小さい時はなめらかにします
- 信号の明瞭度の向上: Proは、包括的な分析を行うために、メインのフィッシャーラインとシグナルラインの両方を提供します
- 数学的精度: 真のレンジ(True Range)の計算を使用して正確なボラティリティ測定を行います
フィシャー変換の理解
数学的基礎
フィッシャー変換は、ほとんどの値動きの分布が正規(ガウス)分布ではないため統計解析が困難であるという数学的原理に基づいています。変換式:
フィッシャー = 0.5 × ln((1 + X) / (1 – X))
ここで、Xは-1から+1までの正規化された価格値です。.
この変換により価格分布がガウス正規分布に変換され、極端な値がより顕著になり、反転が特定しやすくなります。.
適応がなぜ重要なのか
従来のフィシャー変換(Fisher Transform)インジケーターは固定期間を使用しており、これは以下のようになり得ます:
- 反応が良すぎる 低ボラティリティ時(ダマシが発生する)
- 遅すぎる ボラティリティが高い時(重要な値動きを逃してしまう)
AFTは、最近の平均ボラティリティと比較した現在の市場ボラティリティに基づいて計算期間を動的に調整することで、この問題を解決します。.
AFTの仕組み
ステップバイステップ計算
- 価格入力バランスの取れた表現のために中央値((高値+安値)÷2)を使用する
- ボラティリティ測定:
- トゥルーレンジ(True Range)を計算します: max(高値-安値, |高値-前日終値|, |安値-前日終値|)
- ベース期間のAverage True Rangeを計算します
- ボラティリティ比率を決定する:現在のTR / 平均TR
- 適応型期間計算:
- 適応係数 × 変動性比率により基準期間を調整する:期間 / (1 + 適応係数 × 変動性比率)
- 結果を3から2×基準期間の間に制限する
- 価格正規化:
- 適応期間における最高値と最安値を求める
- 中央値価格を[-1, 1]の範囲に正規化する
- 計算式: 2 × ((中央値価格 – 最安値) / レンジ) – 1
- フィッシャー変換の適用:
- 正規化された価格にフィッシャー変換を適用します
- 数学的エラーを防ぐためにインプットを制限する
- 平滑化:
- 適応型アルファを用いた指数移動平均を使用する
- Alpha = 2 / (AdaptivePeriod + 1)
- 信号生成:
- 現在の平滑化されたFisher値
- シグナル線:前回のフィッシャー値
インジケーターパラメータ
期間(デフォルト:10)
- 範囲: 3〜200
- 目的適応前の基準計算期間
- 効果:
- より短い期間:より反応が良いが、潜在的にノイズが多い
- 長めの期間:より滑らかだが、反応が遅れる可能性がある
アダプティブファクター(デフォルト:0.33)
- 範囲: 0.1 ~ 1.0
- 目的ボラティリティへの適応度を制御します
- 効果:
- 低い値 (0.1〜0.3): 保守的な適応、より安定
- より高い値(0.5~1.0):積極的な適応、より高い応答性
最適化されたパラメータセット
インジケーターには、プリセットの設定が含まれています:
- 保守的期間=20/10/14、適応係数=0.33
- レスポンシブ期間=10/14/20, アダプティブファクター=0.5
信号解釈
AFT値の読み取り
範囲:-4 ~ +4 (一般的な範囲:-2 ~ +2)
極限の読書:
- +2以上強い強気(ブル)の勢い、買われ過ぎの可能性
- -2未満強い弱気モメンタム、売られ過ぎの可能性
- +3以上極端な買われすぎの状態
- -3未満極端な売られすぎ状態
ゼロラインの意義:
- 0より上強気のバイアス
- 0未満弱気バイアス
- 0の交差トレンド転換の可能性
売買シグナル
一次シグナル
フィッシャー線交叉:
- 強気AFTが0を上抜けしました
- 弱気AFTが0を下抜けた
シグナルラインクロスオーバー:
- 強気フィッシャーラインがシグナルラインを上抜けした
- 弱気フィシャーラインがシグナルラインを下抜けする
極端な反転:
- 強気反転: AFTが-2未満、かつ上向きに転換している
- 弱気反転AFTが+2より上で下向きに転じている
高度なシグナル
ダイバージェンス分析:
- 強気ダイバージェンス価格が安値を切り下げる一方で、AFTは底値を切り上げている
- 弱気ダイバージェンス価格がより高い高値を付ける一方、AFTはより低い高値を付けています
モメンタムパターン:
- 加速AFT方向の傾斜を増加させる
- 減速傾斜の減少、反転の可能性への警戒
実用的なトレーディング応用
1. トレンドフォロー戦略
- エントリーフィッシャーラインがシグナルラインを上抜け + AFT > 0
- 終了FisherラインがSignalラインを下抜け、または AFT < 0
- フィルター上位足のAFTを使用してトレンド方向を判断する
2. 平均回帰戦略
- 長文エントリー: AFT < -2 かつ上方モメンタムを示している
- 短いエントリー: AFT > +2 and showing downward momentum
- 終了: Return to zero line or opposite extreme
3. ダイバージェンス・トレード
- Setup: Identify divergence between price and AFT
- エントリー: Wait for AFT line crossover confirmation
- Stop: Beyond recent swing high/low
4. ボラティリティ・ブレイクアウト
- Monitor: Periods when adaptive period shortens significantly
- エントリー: Combine with breakout above/below key levels
- Advantage: AFT becomes more responsive during high volatility
タイムフレームの適用
デイトレード(1〜15分)
- おすすめ: Period=10, AdaptiveFactor=0.5
- Focus: Quick reversals and scalping opportunities
- 注意: More false signals, require strict risk management
スイングトレード(1〜4時間)
- おすすめ: Period=14, AdaptiveFactor=0.33
- Focus: Multi-day trend changes and momentum shifts
- Advantage: Balanced responsiveness and reliability
ポジショントレーディング(日足/週足)
- おすすめ: Period=20, AdaptiveFactor=0.33
- Focus: Major trend reversals and long-term positioning
- Benefit: Reduced noise, clearer major signals
高度なテクニック
マルチタイムフレーム分析
- Higher Timeframe: Use for overall trend direction
- Lower Timeframe: Use for precise entry timing
- Alignment: Strongest signals when both timeframes agree
ボラティリティの背景
- High Volatility: AFT becomes more responsive, shorter periods
- Low Volatility: AFT uses longer periods, smoother signals
- Transition Periods: Watch for adaptive period changes as volatility shifts
組み合わせ戦略
AFT + Moving Averages:
- Use MA for trend direction, AFT for timing
- Enter when both align in same direction
AFT + Volume:
- Confirm AFT signals with volume spikes
- Higher volume = more reliable signals
AFT + Support/Resistance:
- Use key levels to filter AFT signals
- Best entries at confluence of AFT signal + S/R level
リスク管理ガイドライン
ポジションサイジング
- Strong Signals: AFT extreme + divergence + volume = larger position
- Weak Signals: Single AFT crossover = smaller position
- Uncertain Markets: Reduce size when adaptive period fluctuates rapidly
ストップロス注文の設定
- Trend Following: Beyond recent swing opposite to trade direction
- Mean Reversion: Beyond extreme AFT levels (±3)
- Adaptive: Adjust stops as AFT period changes
信号フィルタリング
Avoid Trading When:
- AFT oscillating rapidly around zero (choppy market)
- Adaptive period changing frequently (unstable volatility)
- Low volume confirmation
Prefer Trading When:
- Clear AFT extremes (±2 or beyond)
- Stable adaptive period
- Volume confirmation
よくある落とし穴と解決策
1. オーバートレーディング
Problem: Too many signals in ranging markets Solution: Add trend filter, trade only extreme readings
2. 適応の無視
Problem: Not recognizing when period changes Solution: Monitor volatility context, adjust expectations
3. 誤った両極端
Problem: Treating all extreme readings equally Solution: Consider trend context, use additional confirmation
4. 信号の遅延
Problem: Waiting too long for confirmation Solution: Use lower timeframe for earlier entry signals
最適化とバックテスト
パラメータテスト
- 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
パフォーマンス指標
- Win Rate: Should improve in trending markets
- Drawdown: Monitor maximum consecutive losses
- Adaptation Benefit: Compare vs. non-adaptive Fisher Transform
結論
The Adaptive Fisher Transform represents a significant advancement in oscillator technology, combining the mathematical rigor of the Fisher Transform with the practical benefits of volatility-based adaptation. Its ability to automatically adjust to changing market conditions makes it particularly valuable in today’s dynamic trading environment.
インジケーターの可用性
This indicator is implemented for MT4, MT5.
条件分岐にカスタムブロックを使用する:
StrategyQuant X では、以下を使用して独自の条件を簡単に定義できます。 カスタムブロック. これにより、期間やステップなどのパラメータを設定して、戦略に合わせてインジケーターを微調整することができます。詳細については、以下のリソースを参照してください:
SQXへのカスタムインジケーターのインポート:
StrategyQuant Xにカスタム指標をインポートするには、こちらに記載されている手順に従ってください:
カスタムインジケーターやその他のスニペットのインポートとエクスポート
– Hi sir please spend some time to read my comment and resources I suggest in here. – All algo trader can benefit from these 2 features and the resources I suggest It can be a game changer in strategy development (especially in robustness testing part) – I really want to suggest 2 feature to sqx: monte carlo permutation and noise test parameter optimization. – First one (monte carlo permutation) you can find a interview with author Timothy Master (the only interview I can find with him on the internet) + Search youtube: Timothy Master (channel interviewing him is Better… 続きを読む »
Hi, you already have a similar test available. I want a Monte Carlo test that randomizes OHLC data.
I aplogize: The MC test is: Monte Carlo test that randomizes OHLC data. You can find it in the Retest Monte Carlo Methods tab.
Sounds interesting,
could you also provide an .eld format for TradeStation users?
HI , I am working on it.
Thanks Ivan. Love all these new indicators and tests. The MT5 wouldn’t compile for me. It worked when I changed “input int Period = 10;” to “input int period = 10;” and “ValidatedPeriod = Period; to ValidatedPeriod = period;” Thanks for all the good work
Hi Gary thanks for the suggestion. The MT5 indicator has been fixed and reuploaded.
Can you please implement monte carlo permutation by Timothy Master. We really need an advanced robustness test