Need AFL code for buying Call option. Please help I am stuck

Hello everyone.
I am new to AFL.
Can anyone help me with the following code in AFL?

Buy ATM Call option whenever the underlying short MA crosses above long MA?

Similar threads

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Are you a day trader?