How do i write the code if i want short to trade between 10:00 and 14:00. Long will trade at all other times. Can this work for short? timeok1 = NOT(time < 100000 AND time > 140000) And code för Long att all other times. timeok = NOT(time > 100000 AND time <140000)