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.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?