Skip to main content

MACD+MFI Crypto trading bot

We are happy to present you a free strategy fot the Bitcoin crypto trading bot on TradingView.

Anna Smith avatar
Written by Anna Smith
Updated over 10 months ago

To make our community more profitable we decided to start a series in which we will review open-source TradingView strategies. The aim of the review is to select a strategy (or a number of strategies) from TradingView and run a reality check on it, optimize it and convert it into alerts, so you can set it up as a bot on the WunderTrading platform.

Video overview

What we will provide

  • Open-strategy source

  • Strategy adjustment for particular exchange, pair, and timeframe

  • Backtest

This week we decided to go with the new MACD strategy for the Bitcoin Perpetual (BTC-Perp). This strategy is based on the trend-following momentum indicator. Similarly to our RSI-VWAP version 2 we included the Money Flow index as an additional point for entry. This strategy shows a good stable profit curve and has a significant number of observations in the backtest to confirm the results.

IMPORTANT

  • Input Partial take profits in your WunderTrading Bot settings

  • This is a trend strategy and works better in the trending market

  • We added the trend identifier using the EMA and SMA interaction

  • We added inputs for the period selection, so you could see how the strategy is performing on a monthly basis.

  • ATR for Stop Loss

  • MFI was added for the additional entries.

  • Partial Take-profits

Settings

Applicable to Binance: BTC-PERP 1h

Input

Value

Period

20

Fast Length

6

Slow Length

20

Source

close

Signal Smoothing

15

Length

14

Lower

10

Upper

80

Long Take Profit 1%

1

Long Take Profit 1 Qty

50

Trailing Stop

2.5

SL Multiplier

3

ATR Period

15

Strategy script code

You can copy this code and paste it into your TradingView

Attachment icon
Did this answer your question?