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

Re: Easy Language Help



PureBytes Links

Trading Reference Links

Hi Vince

Use the barssinceentry command thus :

If MarketPosition = 1 and barssinceentry < 10 then ExitLong("LXBail1") 
tomorrow at
Lowest(close,5) stop;

Rgds Stuart

>From: VBatla@xxxxxxx
>To: omega-list@xxxxxxxxxx
>Subject: Easy Language Help
>Date: Thu, 16 Dec 1999 17:21:07 EST
>
>Can someone help me out with this?
>
>I want to use the following exit as a MM stop.  After 10 days I want to
>expire and have the system look to other stops that are in place.
>
>If MarketPosition = 1 then ExitLong("LXBail1") tomorrow at
>     Lowest(close,5) stop;
>If MarketPosition = -1 then ExitShort("SXBail1") tomorrow at
>     Highest(close,5) stop;
>end;
>
>Thanks in advance.
>
>Vince
>