So while attempting to program a strategy which enters upon divergences, I screwed up and entered a buy where it should be shorting, but also a buy when it supposed to buy. The reasoning behind both entries made no sense together, but in the testing phase (before i realized the error), the...