Yes, it is possible in forex, but you will need to define many rules and conditions to define when and how a double M/W happens. It is not a trivial EA, but technically possible.

Personally never traded it.