Schaff Trend Cycle in TradeScript

Could you please shed some light on how to write code (in TradeScript) for “Schaff Trend Cycle”? Few examples will be helpful.

Schaff trend cycle is not possible to code in transcript as it is not defined