March 22, 2021 Update: This document refers to MACD v3.1. Older versions of this bot have been deprecated (removed).

This is a MACD indicator based trading strategy. A buy signal occurs when the MACD line crosses above the signal line, a sell signal occurs when either the profit target or stop-loss levels have been reached or when the MACD line crosses below the signal line.

You can learn more about the MACD indicator here.


General Settings:

  • Exchange: The exchange to run this bot on.

  • Market: The pair (symbol) to trade. Quadency's standard convention is Base/Quote. For example, in BTC/USD, BTC is the base currency and USD is the quote.

  • Starting Capital: 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 funds available in the Quote currency wallet become insufficient.

Strategy Description

  • Buy Condition: MACD line is above the signal line - buy using 100% of available capital

  • Sell Condition: Profit Target or Stop-Loss (option 1), or Indicator Confirmation (option 2)

  1. Close the position when Profit Target or Stop Loss is reached.

  2. The position should only be closed when MACD crosses below the signal line (stop-loss and profit target will be ignored).

Order Types

  • This strategy sends all orders as Market orders. It is advisable to trade pairs with sufficient liquidity to avoid slippage. Thinly traded markets can result in worse than ideal fills, causing the profits to be smaller than expected.

Tips:

  • Shorter candle intervals result in more frequent trades than longer ones

  • Tighter profit target and wider stop-loss will result in smaller but frequent profits

  • The bot evaluates the position at the end of each candle interval, it is possible for the bot to not place any order if the conditions are met within the candle timeframe but not at the end.

  • Be sure to back-test your settings before starting live to make sure the strategy performs well on the market and the timeframe selected

  • Any profits from trades are automatically reinvested in subsequent trades. For example, if you start the bot with $100, and the first trade results in a $2 profit, the next trade will use $102, and so on.

Did this answer your question?