FAUST

The corrected trailing function finally worked. I confirmed it in real trading, and now it produces the same results ...