How to get pulldowns on Dialog?

 

I want to add soem predefined values to an extern variable. I would like it to show up like the Movinag Avg indicator, where it lets you choose simple eaighted, etc. How can this be accomplished?

Reason: