problem open order @ time

 

hello , how can i open an order at 10:30 Am,

Buy

if the last candel (open price>close price)

and sell if the last candel (close price<open price)

?

thanks for help

Reason: