I am about to port my ATR-based trailing stop from MT4 to Zorro. I do enjoy programming, but I wonder if a similar source code already exists. At least, I coundn't find it on ta-lib.org and tadoc.org, nor in indicators.c. Sometimes this indicator is called Supertrend. It looks familiar to you, for sure: