Coinrule

MACD + DMI Scalping with Volatility Stop by (Coinrule)

Trend-following strategies are cool because they allow you to catch potential high returns.

The main limit of such strategies are:

  • False signals > the asset is not experiencing a strong trend. The strategy gets stuck with a sideways move or, worst, with the beginning of a downtrend.
  • The sell signal may come later than the actual top, leading in some cases to turn a trade in profit into a loss.

This strategy tries to address these limitations to develop a trading system that optimises the entry and closes trade once the profit achieves a pre-set level.

ENTRY

The trading system uses the MACD and the DMI to confirm when is the best time for buying. Combining these two indicators prevents trading during downtrends and reduces the likelihood of getting stuck in a market with low volatility.

The system confirms the entry when:

  • The MACD histogram turns bullish.
  • When the positive DMI is greater than the negative DMI, there are more chances that the asset is trading in a sustained uptrend.

EXIT

The strategy comes with a fixed take profit combined with a volatility stop, which acts as a trailing stop to adapt to the trend's strength. Depending on your long term confidence in the asset, you can edit the fixed take profit to be more conservative or aggressive.

The position is closed when:

  • The price increases by 3%
  • The price crosses below the volatility stop.

The best time frame for this strategy based on our backtest is the 3-hr. The 4-hr can work well. In general, this approach suits medium to long term strategies

The strategy assumes each order to trade 30% of the available capital to make the results more realistic. A trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange.







Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?