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

#1
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