need help with codes

[Deleted]
Hi...all, I try to writes a simple EA code for Trailing buystop/sellstop order but I can't get it works if any one know how, I greatly appreciated.
Show the coding where the fault