You can either trail automatically with the "Trail" and "TrailLock" variables, or by script with a TMF that moves the stop limit. But you can not do both at the same time - that would make no sense.