SeaSide420

Hull Moving Average vs Candle

A Hull moving average is applied to the chart with settings for user to change the period of the Hull MA.
And a value of a previous candle is compared to the HMA. If the HMA is above the previous candle value, then the strategy will buy.
If below, it will sell. The default setting for the HMA is 50 and the Candle is D1 (Daily timeframe)
So basically if the HMA value is greater than yesterdays candle open, buy. ( i use open as a price source to avoid repainting)
This example is put onto ETHBTC chart and currency changed from default to BTC and Equity set to 1 BTC and commission set to 0.25%
The ETHBTC chart seems to follow good old moving average more than other pairs.
The strategy can be used on any pair and timeframes.
A good idea for setting the HMA period is:
small timeframe=big period, big timeframe=small period.
range from period=3 to period=200 is about right, for charts from 4H to 1 minute.
This HMA strategy is fairly simple, best to use other sources of information in combination with moving averages.
And strict money management, risk/reward control is very important to any trading strategy.
Not intended as stand alone strategy but has potential for bot use, i will publish a study version soon, for use with alerts and API bots.
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?