I need to use Exec or shell execute inside a simple afl

I am new to afl and basically not a coder, i was trying to use afl to call a exe.

I used the following code to call the exe either using exec or shellexecute, using exec appeared to work and it kept triggering the exe, but in further I don’t see the exe being triggered, with shellexecute no luck

Buy = Cross(EMA( C, MALength1 ),EMA( C, MALength2 ));
AlertIf(Buy, “EXEC C:\Autotrade\scrip1\scrip1buy.exe”, “Launching external application”, 1);
//if(Buy)
//ShellExecute(“C:\Autotrade\scrip1\scrip1buy.exe”,"","");