[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

Cholrton,

 

As the indicator is displayed as two separate items (MADifference and MASignal), each of these can have different attributes such as colour, style etc.

To change them right click on one of the lines, select the properties menu item, and then select the “Colour/Style” tab.

 

Adding a Zero “0” line can be done two ways, firstly by adding into the code a 0 (see below).

Secondly you do the steps above to display the properties box and this time select the “Horizontal lines” tab.

 

{Custom Oscillator}
MADifference:=Mov(C,3,E) - Mov(C,9,E);
MASignal:=Mov(MADifference,16,E);
MADifference; MASignal;

0; {Zero Line}

 

Hope this helps.

 

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 05:11
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] Help with creating 2 Momentum Indicators

 


Thanks Roy for the quick reply,

May I ask 2 further questions?

How could I change the colour / style of the lines, so I know which
one is which?

Finally, what is the easiest way to add a horizontal line at 0 (in
the graph) so that I can see the differences easier?

Thanks,

Chorlton




--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
wrote:
>
> Hi Chorlton
>
>
> I think this is what you are asking for.
>
> {Custom Oscillator}
> MADifference:=Mov(C,3,E) - Mov(C,9,E);
> MASignal:=Mov(MADifference,16,E);
> MADifference; MASignal;
>
>
> Regards
>
> Roy
> www.metastocktips.co.nz
>

> ----- Original Message -----
> From: chorlton_c_hardy
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Friday, October 14, 2005 7:47 AM
> 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
>
>
>
>
>
>
>
>
> -------------------------------------------------------------------
-------------
> YAHOO! GROUPS LINKS
>
>   a..  Visit your group "equismetastock" on the web.
>    
>   b..  To unsubscribe from this group, send an email to:
>    equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>    
>   c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
> -------------------------------------------------------------------
-------------
>









YAHOO! GROUPS LINKS