This strategy will buy/sell when the candle closes above or below the specified moving average. For example, if candle closes above the moving average line, a buy order is placed. If the candle closes below the moving average, a sell order is placed. …