A trail slope of 200% produces with your script certainly a different result than 50%, because trades are closed earlier. If you don't get different results, you maybe edited the wrong file or forgot to save, or something like that.