I suppose you wanted to enter a trade on every bar, but you called enterShort with a time frame of 16 bars. So a trade could only be entered on every 16th bar. Was that your problem?