Help with "Open = low" coding

Hey, the condition you have mentioned is not correct.

The response is based on the condition. “No trade” for a particular stock is a possibility depending upon the backtest period.

You should check this post for the correct condition.