I want to ask if any one have an expert working on the EMA CROSSED ?

 
if a cross up open position long and close the short position and if a cross down open potition short and close the long position ?
 
Try to refer to samples at https://www.mql5.com/en/code/mt4
Reason: