Help with settings

  • updated

Hi Guys, 

I've been searching on the forum without any success. I hope you can help me. How to input these 2 things in a set? 

- SMA 5
- SMA 2

I need that if the SMA 2 is crossing the SMA 5 a buy (upward cross) and a sell (downward cross). How to do this?