ACT forex trading platform scrip ; need help

Hello guys; new member here that needs youre help
Is there anyone here that knows how to code a scrip for ACT forex platform that avafx uses.

I already have the script but would like to add the trailing stop.

Thank you