{ PG_osc_sys1    written 19 Oct 1999      M.Johnson  }

{ Takes signals from  "Pretty Good trend oscillator" }
{ exclusively.  No hard-dollar-stops, no volatility  }
{ stops, no trailing stops, no breakeven stops, no   }
{ profit targets, no filters, no confirming          }
{ indicators, no MAEs, no MFEs, nothing else.        }

{ Axioms of this approach:                           }
{   STRONG UPTREND    when oscillator > +3.0         }
{   STRONG DOWNTREND  when oscillator < -3.0         }
{   TREND IS OVER     when oscillator crosses 0.0    }

vars: MP(0);

MP = @MarketPosition;

if ((MP <>  1) AND (PGtrend_osc >  3.0)) then
      Buy  tomorrow at the market ;

if ((MP =   1) AND (PGtrend_osc <  0.0)) then
      ExitLong tomorrow at the market ;

if ((MP <> -1) AND (PGtrend_osc < -3.0)) then
      Sell tomorrow at the market ;

if ((MP =  -1) AND (PGtrend_osc >  0.0)) then
      ExitShort tomorrow at the market ;
