Tuned_Official

DMI + HMA - No Risk Management

DMI ( Directional Movement Index) and HMA ( Hull Moving Average )

The DMI and HMA make a great combination, The DMI will gauge the market direction, while the HMA will add confirmation to the trend strength.

What is the DMI?
The DMI is an indicator that was developed by J. Welles Wilder in 1978. The Indicator was designed to identify in which direction the price is moving. This is done by comparing previous highs and lows and drawing 2 lines.
1. A Positive movement line
2. A Negative movement line

A third line can be added, which would be known as the ADX line or Average Directional Index . This can also be used to gauge the strength in which direction the market is moving.

When the Positive movement line (DI+) is above the Negative movement line (DI-) there is more upward pressure. Ofcourse visa versa, when the DI- is above the DI+ that would indicate more downwards pressure.

Want to know more about HMA? Check out one of our other published scripts

What is this strategy doing?
We are first waiting for the DMI to cross in our favoured direction, after that, we wait for the HMA to signal the entry. Without both conditions being true, no trade will be made.

Long Entries
1. DI+ crosses above DI-
2. HMA line 1 is above HMA line 2

Short Entries
1. DI- Crosses above DI+
2. HMA line 1 is below HMA lilne 2

Its as simple as that.

Conclusion
While this strategy does have its downsides, that can be reduced by adding some risk manegment into the script. In general the trade profitability is above average, And the max drawdown is at a minimum.
The settings have been optimised to suite BTCUSDT PERP markets. Though with small adjustments it can be used on many assets!

Run 1000s of PineScript backtests in minutes

Visit: https://www.tuned.com
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?