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

RE: [EquisMetaStock Group] Help with creating 2 Momentum Indicators



PureBytes Links

Trading Reference Links

I am not quite sure what is going on there Chorlton, as I copied the code below as typed into the indicator builder and it worked fine. ???

 

Either way, Roy sent you another version that does the same thing; the only difference is it doesn’t allow for the values to modified.

 

Regards,

Tim Hyder

-------------------------------------------------------

A successful man is one who can build a firm

foundation with the bricks that others throw at him.

 

David Brinkley

-------------------------------------------------------


From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of chorlton_c_hardy
Sent: Friday, 14 October 2005 06:15
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] Help with creating 2 Momentum Indicators

 


Thanks for the reply Tim,

This may sound like a stupid question but how do I apply the code
that you have written into the Price Oscillator?

I have tried to enter it into the Indicator Builder but it returns
an error message as its expecting a "   ??!!??

Sorry is this is basic stuff but my knowledge of Metastock is very
limited.

Many Thanks,

Chorlton


--- In equismetastock@xxxxxxxxxxxxxxx, "Tim" <prez@xxxx> wrote:
>
> Hi Cholrton,

> The indictor that you are describing is called a Price Oscillator
and is
> available stock standard in Metastock.
> The only thing you can't do with it is apply a moving average to
the Price
> Oscillator indicator output, that is unless you create your own
custom
> indicator.
> Below is some code that will allow you to achieve this.

> Pd1:=Input("Short MA Period",1,50,3);
> Pd2:=Input("Long MA Period",5,100,9);
> Pd3:=Input("Oscillator MA Period",5,100,16);
> Osc:=OscP(Pd1,Pd2,E,$);
> OMA:=Mov(Osc,PD3,E);
> Osc;OMA;

> Regards,
> Tim Hyder
> -------------------------------------------------------
> A successful man is one who can build a firm
> foundation with the bricks that others throw at him.

> David Brinkley
> -------------------------------------------------------
>   _____ 
>
> From: equismetastock@xxxxxxxxxxxxxxx
[mailto:equismetastock@xxxxxxxxxxxxxxx]
> On Behalf Of chorlton_c_hardy
> Sent: Friday, 14 October 2005 02:47
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] Help with creating 2 Momentum
Indicators

> Hi All,
>
> Can anyone help me !!!
>
> I want to create a new oscillator in Metastock, which will contain
2
> lines as momentum indicators and would welcome any help regarding
> creating these.
>
> The basic idea is that I want to plot a line, which is the result
of
> one Moving Average deducted from another Moving Average and plot
the
> net result (either a positive or negative number) as a line on the
> chart.
>
> The formula for the 1st line on the Oscillator should be:
>
> 3 day MA of closing price minus 9 day MA of closing price
>
> (if this is working properly then hopefully the line should rise
> above the horizontal 0, if the price over the last few days has
been
> moving up faster than the price for the last couple of weeks &
> obviously below it if it hasn't)
>
>
> The 2nd line on the Oscillator should be:
>
> 16 day MA of the 1st Oscillator line (which has just been plotted)
>
>
> Can anyone help me in putting this all together :-/  as my current
> knowledge of Metastock is limited.
>
>
> Many Thanks in advance,
>
> Chorlton
>
>
>
>
>
>
>
>
> SPONSORED LINKS
>
> Business
> <http://groups.yahoo.com/gads?
t=ms&k=Business+finance+course&w1=Business+fin
>
ance+course&w2=Business+finance+online+course&w3=Business+finance+cla
ss&w4=S
>
mall+business+finance&w5=Business+finance+schools&w6=Business+finance
+small+
> software&c=6&s=188&.sig=nRPueYPjT0eKqp0H3HgpPQ>  finance course
> Business
> <http://groups.yahoo.com/gads?
t=ms&k=Business+finance+online+course&w1=Busin
>
ess+finance+course&w2=Business+finance+online+course&w3=Business+fina
nce+cla
>
ss&w4=Small+business+finance&w5=Business+finance+schools&w6=Business+
finance
> +small+software&c=6&s=188&.sig=rQ15kUImgyjASvn6M3Z-Ng>  finance
online
> course
> Business
> <http://groups.yahoo.com/gads?
t=ms&k=Business+finance+class&w1=Business+fina
>
nce+course&w2=Business+finance+online+course&w3=Business+finance+clas
s&w4=Sm
>
all+business+finance&w5=Business+finance+schools&w6=Business+finance+
small+s
> oftware&c=6&s=188&.sig=Pgw5U7KuwyhhP2gVSIFRtA>  finance class
>
> Small
> <http://groups.yahoo.com/gads?
t=ms&k=Small+business+finance&w1=Business+fina
>
nce+course&w2=Business+finance+online+course&w3=Business+finance+clas
s&w4=Sm
>
all+business+finance&w5=Business+finance+schools&w6=Business+finance+
small+s
> oftware&c=6&s=188&.sig=a0l0fZNpYmsHHg4Zk5gTTQ>  business finance
> Business
> <http://groups.yahoo.com/gads?
t=ms&k=Business+finance+schools&w1=Business+fi
>
nance+course&w2=Business+finance+online+course&w3=Business+finance+cl
ass&w4=
>
Small+business+finance&w5=Business+finance+schools&w6=Business+financ
e+small
> +software&c=6&s=188&.sig=IM50ixKy6QQbNz_vp7RDUA>  finance schools
> Business
> <http://groups.yahoo.com/gads?
t=ms&k=Business+finance+small+software&w1=Busi
>
ness+finance+course&w2=Business+finance+online+course&w3=Business+fin
ance+cl
>
ass&w4=Small+business+finance&w5=Business+finance+schools&w6=Business
+financ
> e+small+software&c=6&s=188&.sig=Pko4X12Z-1fL2MUDge-XPA>  finance
small
> software

>   _____ 
>
> YAHOO! GROUPS LINKS

> *      Visit your group "equismetastock
> <http://groups.yahoo.com/group/equismetastock> " on the web.
>  
> *      To unsubscribe from this group, send an email to:
>  equismetastock-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:equismetastock-unsubscribe@xxxxxxxxxxxxxxx?
subject=Unsubscribe>
>  
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .

>   _____
>









SPONSORED LINKS
Business finance course Business finance online course Business finance class
Small business finance Business finance schools Business finance small software


YAHOO! GROUPS LINKS