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

Re: Exitlong Next day on Open



PureBytes Links

Trading Reference Links

At 10:00 AM -0400 6/28/99, Mike Werner wrote:

>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???



I am not exactly clear on what you are trying to do but simply using:

   ExitLong next bar at market

will exit the next day at the open if you have a long position. It will
have no effect otherwise.

Bob Fulks