Problem with script!!!

 
Hi all! I would like to put stop loss in this script,but something is going wrong.
Files:
Reason: