To my amazement also! I backtested it with the code on here; 2010 - 2015 and ONS does not seem profitable. Even JCL has it on his blog "Financial Hacker" that ONS is profitable.
I would be pleased to know if the mistake is from me