PureBytes Links
Trading Reference Links
Maybe I've been staring at it too long but what's wrong with the following line? if marketposition(0) =1 and time = 1630 then exitlong; All I want to do is exit any long positions at half past four, for crying out loud. Rob.