I modified the indicator a little bit.
red "X" = do not trade
green dot = OK to trade
For the Moving Average, you can choose Simple MA, Exponential MA, Smoothed MA, or Linear Weighted MA.
For the Price, you can choose Close, Open, High, Low, Median, Typical, or Weighted.