I can write code that counts crosses in 200 bars before trade was opened. But how to solve it in 200 bars after trade was opened.