Checking wrong variable
Opened this issue · 0 comments
et05hk6 commented
Checking a value that can be either value*4 or 100 (only assignment I can find is in SetLookbackSec(value)) to see if it is smaller than 9 does not seem right to me? Only occation that could be true is if SetLookbackSec(1) has been called by the user...
Based on the comment I would do something like this:
if (lastInputs[nLookBack] == 0)