I ran into a problem when I changed the target to 1.5 (instead of an even number)
(I also changed the script to a market entry instead of limit)
anyway, the problem:
Randomly the TriggerOrder wouldn't flow. It wouldn't give an error or anything, it just wouldn't show up.
I fixed the problem by adding Price=Round2; after the StopPrice*1.5; (and also in the same place on the Short version of the script)
Now the TriggerOrders execute smoothly every time.
Best,
Russell Landwehr