ハル移動平均ボリンジャーバンド – HMABB
SQX 137以降で動作します。.
Hull Moving Average (HMA) Bollinger Bands is a technical analysis indicator that combines the concepts of Hull Moving Average (HMA) and Bollinger Bands to create dynamic support and resistance levels, or “bands,” around the HMA line. This indicator helps traders gauge the volatility and price action around the HMA, providing additional insights for potential trade setups.
2つのコンポーネントについての簡単な説明は以下の通りです:
- ハル移動平均線(HMA):アラン・ハル(Alan Hull)によって開発されたハル移動平均線は、従来の移動平均線に比べて遅延を減らし、応答性を向上させるために設計された、高速かつ滑らかな移動平均線です。HMAは、中間点(期間の半分)の加重移動平均(WMA)を求め、そこから期間全体のWMAを引くことによって計算されます。次に、その結果に対して期間の平方根に基づくWMAを適用します。この計算により、遅延が軽減され、より応答性の高い移動平均線が得られます。.
- Bollinger Bands: Bollinger Bands is a volatility indicator developed by John Bollinger that consists of three lines: a simple moving average (middle band) and two standard deviations above (upper band) and below (lower band) the moving average. The bands widen or narrow based on the volatility of the security’s price, with higher volatility leading to wider bands and lower volatility leading to narrower bands.
To create HMA Bollinger Bands, you would first calculate the HMA line and then apply the Bollinger Bands methodology using the HMA as the middle line (instead of the simple moving average). This means calculating the standard deviation of the price based on a specific period and then adding or subtracting a multiple of the standard deviation (typically two) from the HMA to form the upper and lower bands.
HMA Bollinger Bands can be used in various ways, such as identifying potential entry and exit points, setting stop-loss and take-profit levels, and evaluating the strength of trends. They can also be used to determine whether the price is relatively high or low compared to the HMA. Keep in mind, though, that like any technical indicator, HMA Bollinger Bands should be used in conjunction with other tools and analysis techniques to improve trading decisions.
このインジケーターには以下のパラメータがあります
- ComputedFrom – 価格シリーズの種類
- 期間 – HMAのルックバック期間
- 乗算 – HMAからのATRの乗算
インジケーターの対応プラットフォーム:MT4 / MT5 / TradeStation / MultiCharts
カスタムブロックを使えば、条件分岐を簡単に行うことができます。詳細はこちらをご覧ください:
- https://strategyquant.com/doc/strategyquant/custom-blocks/
- https://strategyquant.com/doc-category/strategy-templates-custom-blocks/
- https://www.youtube.com/watch?v=CGkn5kh_etc
このモジュールでは、カスタムブロックを変更することもできます。ピリオドの変更、ステップの変更などを行います。.
SQXにカスタムインジケーターをインポートする方法:
- https://strategyquant.com/doc/programming-for-sq/import-export-custom-indicators-and-other-snippets/
During compilating i get error “Cannot find … method getCurrentBar()” 5x. I have SQX 135.
こんにちは、このインジケーターはSQX 137以降でのみ使用してください。.
Excellent ! thank you
Hi, I am having compiling errors on multicharts
Please contact our support at サポート@Kevin.com with more details
In file HullMovingAverageBollingerBands.java, the first line
should be replaced by