How to convert AFL code to PI

Hi,

I have a code in AFL can that be converted to PI???

Thanks
Animesh

Amibroker AFL has different syntax and compiler and tradescript syntax is different, you can study the buy and sell conditions or logic in amibroker afl and the same condition can be implemented in tradescript , you can check the complete documentation of tradescript available in pi help menu.