The Moving Average Convergence/Divergence (MACD) bot follows trend momentum indicators and shows the price between two moving averages. The MACD is calculated by subtracting the long-term 26-Period Exponential Moving Average (EMA) from the short-term 12-Period EMA.
- The MACD is indicated by the blue line (12-Period EMA minus 26-Period EMA).
- The MACD Signal Line is indicated by the red line, which is the 9-Period EMA of the MACD.
- The histogram shows the distance between the MACD and its signal line.
A MACD-based trading strategy periodically checks these indicators and executes buy orders when the MACD line crosses above the signal line, and executes sell orders when it crosses below the signal line.
Step 1: Bot Name
Give your Bot a unique name.
Step 2: Exchange Account
Choose the exchange account where you want the bot to trade.
You will see only exchanges that you have linked with our system.
See instructions for connecting to external exchanges.
Step 3: Trading Pair
Determine the pair the bot will trade with; the first one is the asset to acquire and the second will be the quote currency.
Step 4: Investment Amount
This is the maximum amount of quote currency available to the bot for trading. When backtesting, this value can be any amount. However, in live trading mode, the bot will stop trading if there are insufficient funds available in the quote currency wallet.
Step 1: Chart Interval
Select the chart time frame to run this bot on. Strategy calculations and buy/sell decisions are made at the closing price of each bar. Lower time frames result in more trades than higher.
Step 2: MACD Signal Period
Specify the look-back period (number of bars) for signal line calculation.
Step 3: MACD Fast Period
Specify the look-back period (number of bars) for fast moving average calculation.
Step 4: MACD Slow Period
Specify the look-back period (number of bars) for slow moving average calculation.
Profit & Loss Settings
Step 1: Take Profit Signal
Enter the profit % you want to gain that tells the bot to sell the accumulated assets.
Step 2: Stop Loss Signal
Enter the loss % that tells the bot to close (sell) the open position and avoid further losses.
Click the Optimize Parameters link to have the bot determine the best parameters based on the pair you want to trade. You can also set other parameters manually, and it will optimize only the locked fields.
Running Your Bot
Once you have configured the bot, click Save Bot. If there are any errors, correct them and save the bot again.
When your bot is ready, click Start Bot.
You can monitor your bot's status from the Dashboard. If at any time you want to adjust the bot's configuration, stop the bot first, then click the Edit button.