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

Re: Coding Entry and Exit Names



PureBytes Links

Trading Reference Links

At 10:20 AM -0400 6/8/00, Galen Cawley wrote:

>I have a system with a multiple number of entries and exits.  The exact
>number of entries and exits is indeterminable ahead of time.  The goal
>is to offset properly each matched pair of entry and exit.  E.g., the
>general format is as follows:
>Buy("Signal1") at market
>ExitLong("Signal1") at givenprice

There is a syntax to exit from a labeled entry:

if ... then ExitLong("<signal_name>") from entry("<entry_name>")
   next bar at <price> stop;


Bob Fulks