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

Re: Include System function



PureBytes Links

Trading Reference Links

One possible approach would be to simulate system #2 within system #1.
Example System#2 is buy when price is above MA and sell when below.  System
#1 is buy when price reaches 20 day high.  Only want to execute buy signals
on System#1 where System#2 would be short.

Vars:    Sys2(0);

Sys2=iff(Close>Average(Close,20),1,-1);  {Sys1 variable =1 if you would long
under System 2}

If Close=Highest(Close,20) and Sys2=-1 then begin
    Buy at Close;
end;


-----Original Message-----
From: Joel Geier <jgeier@xxxxxxxxxxxxxxxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date: March 12, 1998 4:52 AM
Subject: Include System function


>
>I would like to create a system that only buys when another system is short
>and vice versa, can I use market posistion function of second system to
>trigger first
>
>Regards and Thanks in advance
>Joel
>
>
>
>