EnableMACD, MACDCandleHistory, MACD1, MACD2, MACD3, MACDRSIPeriod, MACDLimit

EnableMACD, MACDCandleHistory, MACD1, MACD2, MACD3, MACDRSIPeriod, MACDLimit

This technical analysis is utilising MACD indicator in placing BUY/SELL order.

For MACD indicator, you need to specify 3 indicator points: Fast MA, Slow MA and Signal. It is denoted by MACD1, MACD2 and MACD3 respectively.

Bot is using MACD in this fashion. MACD value of last candle and the candle before is obtained. Then BUY/SELL signal is executed as follows:

BUY Signal

  • Signal is raised when both MACD value of last candle and the candle before is less than 0, AND MACD value of last candle is bigger than the candle before, AND the MACD value of both last candle and the candle before were bigger than the specified negative of MACDLimit. OR
  • MACD value of of last candle and the candle before is bigger than 0, AND MACD value of last candle is bigger than the candle before, AND the MACD value of both last candle and the candle before were less than the specified MACD Limit.
  • Say, MACDLimit is set to 0.5. BUY signal is raised when MACD value of last candle and the candle before were bigger than -0.5 and less than 0 OR bigger than 0 and less than 0.5. See below as an example:

Bot will raise BUY signal on the two blue circles.

SELL Signal

Similar to BUY, the SELL signal is raised when MACD value of last candle is less than the candle before, and it is less than the specified MACD Limit. See below for example:

SELL signal is raised during the two blue circles.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *