PureBytes Links
Trading Reference Links
|
Try : If barssinceentry =1 and open>close[1] then exitlong next bar at open.
----- Original Message -----
From: Mike Werner <werner_trading@xxxxxxxxx>
To: Omega List <omega-list@xxxxxxxxxx>
Sent: Monday, June 28, 1999 3:00 PM
Subject: Exitlong Next day on Open
> All,
>
> I am trying to find the best way to exitlong the next day on open. I have
> tried using the EntryDate(1) function but currentdate does not come out in
> the same format.
>
> I would like to say :
>
> If currentdate = Entrydate(1) +1 and open > close[1] then exitlong next
bar
> at open.
>
> This does not work. What am I missing???
>
> Any ideas??
>
> Thanks.
>
> Mike
>
|