Hi, I am backtesting a simple idea: 

Rule:

- Buy ZIV is ROC > 0. As long as ROC > 0, update stop loss price otherwise liquidate. 

This is my first algo and I just want a second pair of eyes just to confirm if I implementing the above rule correctly. Thanks!