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.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?