[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exitlong shenanigans

PureBytes Links

Trading Reference Links

    It looks to me like the exitlong statement was deprecated.  It was
synonymous with sell, anyway.  Try this code:

if marketposition(0) =1 and time = 1630 then sell this bar;

----- Original Message -----
From: "Rob Marsh" <dartingriver@xxxxxxxxxxxxxxxxxxxxx>
To: "omega list" <omega-list@xxxxxxxxxx>
Sent: Friday, October 05, 2001 1:44 PM
Subject: exitlong shenanigans

Maybe I've been staring at it too long but what's wrong with the following

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.