Help me to make mt5 EA

Hello,
Help post,
Can anyone code mt5 simple EA on custom arrow indicator.

Simple rules,

  • SELL on Up arrow appear.
    BUY on Down arrow appear.

  • Close Trade when opposite signal appear.

  • SL and TP option.