https://zorro-trader.com/manual/en/ta.htm

RET(int TimePeriod): var
Return of the current asset: (Close(0)-Close(TimePeriod))/Close(TimePeriod). Source code in indicators.c