Importing strategy from coffeescript


I'm new to Amibroker, currently, I have a strategy written in Coffeescript that is used for trading cryptocurrency, I'm looking to optimize its parameters by applying Walk-Forward Optimization.

What's the correct way to generate the logic of the strategy written in Coffescript so it runs in Amibroker?

Thanks for the help!

Coffeescript is essentially JavaScript afaik and most of these general purpose programming languages are scalar with support for Arrays.
AFL on the other hand is an Array Language, read here
so with such little info provided by you, I think you may have to rewrite it (or the most part of it) to leverage the full power of AB.

Understanding how AFL works