I am trying to code a strategy with a custom MACD indicator , Buy Condition: where if the MACD value is above the zero (0) line the EA should open a buy position and close the existing buy position on a reverse signal. Sell Condition: if the MACD value is below the zero (0) line the EA should open