Hi Team, I'm trying to create my first algo and have an issue. Could you please check what I'm doing wrong? Algo only open Short positions. I know logic regarding checking where moving is before determining direction seems to be ugly, and hope you can give a hint for better solution.