This strategy is true when the MACD return value is larger than the your buy or sell value when using a positive value. Or smaller than your value when using a negative buy or sell value.
Use Tradingview to visualize this indicator.
View on Tradingview
MACD_candle_period
Longer candle periods tend to work better for MACD.
MACD_fast_length
MACD_slow_length
MACD_signal
The values of 12, 26 and 9 are the typical fast, slow, signal setting used with the MACD, however other values can be substituted depending on your trading style and goals.
Optional
# True when MACD Histogram value is bigger than 0.000001
DEFAULT_A_buy_strategy = MACD
DEFAULT_A_buy_value = 0.000001
# True when MACD Histogram value is smaller than -0.000003
DEFAULT_DCA_B_buy_strategy = MACD
DEFAULT_DCA_B_buy_value = -0.000003
MACD_candle_period = 300
MACD_fast_length = 12
MACD_slow_length = 26
MACD_signal = 9
MACD_return_value = HISTOGRAM