Momentum function error

In a ranking node I have formula Momentum(321) which should be about 3 months momentum. When I try to backtest, I get this error: Error near ‘)’: Momentum - Missing operands
If I use formula Momentum(3
21,0), then it works. However, if I want 12 months momentum, Momentum(12*21,0), again this gives an error: Invalid parameters for function Momentum()

This link tells you how the Momentum function works: https://www.portfolio123.com/doc/doc_detail.jsp?factor=Momentum.

These kinds of functions are limited to 200 bars. If you want the Momentum function for 252 bars, you could use Close (0) / Close (12*21) * 100.

Just a poor implementation: the offset parameter should be optional, it should not be limited to 200, and the error messages stink. Should be fixed soon.

Thanks