Buy - The current bar in MACD histogram is higher after successive lower bars
Sell - The current bar in MACD histogram is lower after successive higher bars
Parameters available:
Short Period - the number of periods used for the period of the short-term moving average in the MACD calculation
Long Period - the number of periods used for the period of the long-term moving average in the MACD calculation
Signal Period - the number of periods used for EMA calculation of MACD which constitutes the signal line
r - number of consecutive red bars before(buy)/after(sell) number of consecutive green bars
g - number of consecutive green bars after(buy)/before(sell) number of consecutive red bars
Rule type - please refer to 140 for details
Data type - please refer to 141 for details