PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxxxxx> 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
*********************************
__,_._,___
|