The Offset feature in CQG Formulas(@[-offset]) now allow the formula to set offset in years (example: @[-1Y]), month (example: @[-1M]), week (example: @[-1W]) and days (example: @[-1D]).
This example is using a simple custom study: Close(@)[-1W], which is displaying the closing price from one week back.
.