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

Re: Exiting position at end of day



PureBytes Links

Trading Reference Links

At 8:11 AM -0400 10/1/99, Michael Harris wrote:

>Is there a way to code an exit so that it is triggered after a certain
>if the open equity is above a certain point?
>
>For example, I am trying to code:
>
>If time > 1545 and open equity is greater than X then exitlong
>
>The "open equity is greater than X" is the part I don't know how to
>code.

How about:

    if Time > 1545 and OpenPositionProfit > X then ExitLong

Bob Fulks