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

Re: Exit for system...



PureBytes Links

Trading Reference Links

Ok, let me make this as easy as possible:
If your marketposition =1  (for long) and marketposition =-1 (for short)
and the position is profitable how do you exit market on close or exit on
the close based on the entry signal below:

Inputs: Factor(.40);


If (high-Low) > 0 then begin
 If marketposition >=0 then sell at
  the open of tomorrow - Factor *
  (high-low) stop;

If marketposition <=0 then buy at
  the open of tomorrow + Factor *
  (high-low) stop;
End;

Thanks in advance, Matt



----- Original Message -----
From: Matt Bowen <mattbowen@xxxxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Sunday, July 30, 2000 12:13 PM
Subject: Exit for system...


> Need help with an S&P system exit technique:
>
> If system generates an order and position becomes
> profitable (even by 1 tick) then exit trade MOC.
>
> Inputs: Factor(.40);
>
>
> If (high-Low) > 0 then begin
>  If marketposition >=0 then sell at
>   the open of tomorrow - Factor *
>   (high-low) stop;
>
> If marketposition <=0 then buy at
>   the open of tomorrow + Factor *
>   (high-low) stop;
>
> End;
>
> I tried this, but the thing keep's referencing the next bar:
>
> If PositionProfitCustom(High, Low, True) >= 25 AND MarketPosition <> 0
Then
> Begin
>
> ExitLong This Bar on Close;
> ExitShort This Bar on Close;
>
> Any help is much appreciated...
>
> Matt
>
>