Hi, I need to create a simple Metatrader EA that will open a Buy Order when the 50 EMA(Yellow) crosses down(below) the 5EMA(red), 10EMA(green), 14EMA(white) and 21EMA(blue). Then Close the Buyer Order and open Sell Order as soon as the 50 EMA(yellow)crosses up(above) the 5EMA(red), 10EMA(green), 14EMA(white) and 21EMA(blue). And Vice Versa. If Ea starts with the 50 EMA(Yellow) crosses up(above) the 5EMA(red), 10EMA(green), 14EMA(white) and 21EMA(blue), then immediately place a Sell Order. When the 50 EMA(Yellow) crosses down(below) the 5EMA(red), 10EMA(green), 14EMA(white) and 21EMA(blue), then the EA would close the Sell Order and open a Buy Order.
See upload chart picture for clarification.
Additional note, lot size, GMTOffset, start and Stop Hour will be user adjustable. It would be best if EA can trade both 4 digit and 5 digit brokers.
I need this project done ASAP. Thanks.