PureBytes Links
Trading Reference Links
|
ForecastOsc
or
{Forecast Osc-Chande}{from
jseed}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}
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
----- Original Message -----
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From:
PGREC@xxxxxxx
To: <A
href="mailto:metastock@xxxxxxxxxxxxx"
title=metastock@xxxxxxxxxxxxx>metastock@xxxxxxxxxxxxx
Sent: Wednesday, January 23, 2002 12:26
PM
Subject: Re: Forecast Oscillator
In a message dated
1/23/2002 11:50:03 AM Eastern Standard Time, <A
href="mailto:Jeff_Haferman@xxxxxxxxx">Jeff_Haferman@xxxxxxxxx
writes:
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"
TYPE="CITE">Enter
Long:>Cross(opt1,ForecastOsc(CLOSE,opt3))What
is the formula in metastock to use for Forecast Oscillator?Pete
Greco
|