what is the best way to compare OrderCloseTime to trade on the next hour
Just find what hour it closed.
datetime orderCloseHour = OrderCloseTime() - OrderCloseTime() % 3600; if(orderCloseHour < Time[0])
One to two hours of the stock market being open is the best time frame for intraday trading. However, most stock market trading channels open from 9:15 am in India, according to WesternFX!
if the open order hits the take profit i want to the next 1 hour to trade again.