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

RE: [amibroker] Help With McClellan Osc



PureBytes Links

Trading Reference Links

Howard,  I appreciate the help, but am getting a syntax error, maybe someone with eSignal can assist?

 

Thanks,  Larry

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Howard B
Sent: Tuesday, January 13, 2009 2:26 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Help With McClellan Osc

 

Hi Lary --

The McClellan Oscillator is based on the number of advancing issues minus the number of declining issues.  Subtract a slower exponential moving average of that from a faster moving average of that.

Looking at this web site:
http://forum.esignalcentral.com/showthread.php?s=91481c8fcaafc0edeb1c5fabc4d5e53c&postid=96971
for eSignal tickers, the ticker for the NASDAQ Number of Advancing Issues minus Number of Declining Issues is $ADDQ.

So, the AmiBroker code for the McClellan Oscillator for the NASDAQ is probably this:

McCQ = EMA($ADDQ,19) - EMA($ADDQ,39);

For the NYSE:
McC = EMA($ADD,19) - EMA($ADD,39);


You do not need the ADVISSUES function because eSignal has taken care of that for you.

I may be on thin ice here because I do not subscribe to eSignal and cannot run the code.  Let us all know if this worked.

Thanks,
Howard


On Tue, Jan 13, 2009 at 8:41 AM, larypowell <larypowell@xxxxxxxxl.net> wrote:

I am trying to get McClellan Osc to work with eSignal data

 

The following formula does not seem to work, any advice would be appreciate.

 

/*

McClellan Oscillator

*/

 

 

Graph0 = EMA( AdvIssues("$advq",(C))-DecIssues("$declq",(C)), 19 ) - EMA( AdvIssues("$advq",(C))-DecIssues("$declq",(C)), 39 );

 

 

Thanks,  Larry

 

__._,_.___

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************




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

__,_._,___