PureBytes Links
Trading Reference Links
|
Nicholas,
I ran a quicky test and like yourself did not obtain outstanding results but
the win/loss ratio was pretty high. Steve(and maybe he'll reply) was looking
to catch the extremes which in the case of the FO does have a pretty high
reward ratio. The canned version of the FO has a moving average and the
cross of the FO over its MA from extremes is quite rewarding.
J
>From: NBodeux@xxxxxxxxxxx (Nicholas Bodeux)
>Reply-To: metastock@xxxxxxxxxxxxx
>To: <metastock@xxxxxxxxxxxxx>
>Subject: AW: forecast oscillator- error message in system test
>Date: Wed, 15 May 2002 00:31:25 +0200
>
>J,
>You`re right.
>It seems, that the negative values for opt3 cause the error.
>It works, when I change them to positive.
>The tests were not so promising , and I´m working on using the indicator
>as Steve suggests, with fixed crossing levels.
>Thanks!
>Nicholas
>
>-----Ursprüngliche Nachricht-----
>Von: owner-metastock@xxxxxxxxxxxxx
>[mailto:owner-metastock@xxxxxxxxxxxxx] Im Auftrag von j seed
>Gesendet: Tuesday, May 14, 2002 10:32 PM
>An: metastock@xxxxxxxxxxxxx
>Betreff: Re: forecast oscillator- error message in system test
>
>Nicholas,
>
>Does this happen with different opt values?
>
>J
>
>
> >From: NBodeux@xxxxxxxxxxx (Nicholas Bodeux)
> >Reply-To: metastock@xxxxxxxxxxxxx
> >To: <metastock@xxxxxxxxxxxxx>
> >Subject: forecast oscillator- error message in system test
> >Date: Tue, 14 May 2002 14:24:40 +0200
> >
> >
> >Hello list,
> >I get an error message in a system-test, that I don`t understand.
> >Can anyone explain this, did I miss something?
> >I wanted to apply it to a 5min NQ chart.
> >The indicator is visible and the max. periods loaded.
> >The test was originally posted by Steve Karnish.
> >Thanks;
> >Nicholas
> >
> >
> >
> >System
> >
> >Enter long:
> >Cross(opt1,ForecastOsc(CLOSE,opt3))
> >
> >Enter short:
> >Cross(ForecastOsc(CLOSE,opt3),opt2)
> >
> >opt1: 5-21 step: 1
> >opt2: 1-15 step: 1
> >opt3: -15 -1 step: 1
> >
> >Indicator
> >
> >{Forecast Osc-Chande}
> >{from jseed}
> >Forecast osc:
> >Pds:=Input("Time Periods",1,1000,5);
> >Fld:=Input("Price Field 1=C 2=O 3=H 4=L",1,4,1);
> >PFld:=If(Fld=1,C,If(Fld=2,O,If(Fld=3,H,L)));
> >Sig:=Input("Signal MA Periods",1,200,3);
> >ForO:=((Pfld-(Ref(LinearReg(Pfld,Pds),-1)+
> >Ref(LinRegSlope(Pfld,Pds),-1)))*100)/Pfld;
> >ForO;
> >Mov(ForO,Sig,E);
> >{end}
> >
> >
> >error message
> >
> >"The selected test was not completed becasuse the enter long formula
> >terminated
> >with the following error message:
> >Period out of valid range in Forecastosc() function"
> >
> >
>
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
|