I normally use this code to set an intraday windows for opening new orders in proorder: noEntryBeforeTime = 091500 timeEnterBefore = time >= noEntryBeforeTime noEntryAfterTime = 170000 timeEnterAfter = time < noEntryAfterTime if my conditions AND timeEnterBefore AND timeEnterAfter AND not daysForbiddenEntry then buy 1 contract at market But I wonder if is it possible to set two or more windows, for example one on London opening and one on NY opening. Do you have solutions?