AFL code require

#1
Hi
i want to amibroker afl for condition
5 ema
9 ema
20 ema
5 cross 9 and 20 and 9 also cross 20 buy arrow
20 cross 9 and 5 and 9 also cross 5 sell arrow

thank you