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

RE: [EquisMetaStock Group] Re: McClellan



PureBytes Links

Trading Reference Links

Hi Lionel,
 
I added the Max() functions to remove any divide by zero errors that came up.  If there were no zeros in the data, these additions would not be needed.  Reuters data is not perfect, so these changes were needed.
 
The X.security name is the exact spelling of the symbol that I am looking for.  I don't understand why the NASDAQ / NYSE volume / breadth data starts X.symbol, but it does.
 
Cheers,
 
Cameron






To: equismetastock@xxxxxxxxxxxxxxx
From: lissen@xxxxxxxxxxxxx
Date: Tue, 9 Sep 2008 11:06:44 -0500
Subject: RE: [EquisMetaStock Group] Re: McClellan


Cameron:

 

Thanks for this code. Can you clarify the code or point me in the right direction to find it.?

For example why “Max”?

Why “X.security name” I am not familiar with the X. being needed.

 

Thanks

 

Lionel

 

From: equismetastock@yahoogroups.com [mailto:equismetastock@xxxxxxxxxxxxcom] On Behalf Of Cameron Reid
Sent: Tuesday, September 09, 2008 10:36 AM
To: equismetastock@yahoogroups.com
Subject: RE: [EquisMetaStock Group] Re: McClellan

 

This is the code that I use to create the McClellan Summation Index.  This indicator can be plotted on any chart.
 
 
 
A1:=Max(Security("C:\MetaStock Data\BM DATA\X.NYSE-A",O),1);
D1:=Max(Security("C:\MetaStock Data\BM DATA\X.NYSE-D",O),1);
A2:= ((A1-D1)/(Max(1,A1+D1)))*1000;
M5:=Mov(A2,39,E);
M10:=Mov(A2,19,E);
Cum(M10-M5)

Cheers,
 
Cameron





To: equismetastock@yahoogroups.com
From: lissen@xxxxxxxxxxnet
Date: Mon, 8 Sep 2008 18:11:25 -0500
Subject: RE: [EquisMetaStock Group] Re: McClellan

Preston:

Thanks for this information. I am amazed at how rapidly you replied.

 

I am trying to set up a composite security for (advances-declines), should be easy enough. When I try to set up the composite and enter a name for it, the program automatically assigns the ticker symbol for advances to the composite and simply plots the advances. I tried to change the symbol and got a message that this can’t be done with a composite.

 

In the past, when using earlier versions of Metastock, I had no trouble creating and using composites.

 

Lionel

 

From: equismetastock@yahoogroups.com [mailto:equismetastock@xxxxxxxxxxxxcom] On Behalf Of pumrysh
Sent: Sunday, September 07, 2008 10:07 PM
To: equismetastock@yahoogroups.com
Subject: [EquisMetaStock Group] Re: McClellan

 

Lionel,

Check messages 15048, 15049, 19275, and 27356. Also check the May
2005 issue if MSTT.

Preston

--- In equismetastock@yahoogroups.com, "Lionel Issen" <lissen@xxx>
wrote:
>
> V 9 only allows two items to be linked: the ratio adjusted McClellan
> oscillator and summation index each require 3 items to be linked.
The basic
> formulation is (advances -declines)/(advances +declines).
>
>
>
> (advances - declines) form one composite
>
> (advances + declines) form a second composite
>
> (advances -declines)/ (advances + declines) form a third composite
> This is the ratio adjusted McClellan oscillator.
>
>
>
> Is there a way of writing a code in Metastock to calculate the ratio
> adjusted McClellan oscillator?
>
>
>
> Lionel Issen
>

 

 


Stay up to date on your PC, the Web, and your mobile phone with Windows Live. See Now




Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now __._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___