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

[amibroker] Re: Help With McClellan Osc



PureBytes Links

Trading Reference Links

Tomasz,  Thank you for the help.  Much appreciated - Larry

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
wrote:
>
> Hello,
> 
> Of course instead of ticker symbols alone you need to use FOREIGN 
function.
> 
> Graph0 = EMA( Foreign("$advq","C")-Foreign("$declq","C"), 19 ) - EMA
( Foreign("$advq","C")-Foreign("$declq","C"), 39 );
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
>   ----- Original Message ----- 
>   From: larypowell 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Wednesday, January 14, 2009 3:53 AM
>   Subject: RE: [amibroker] Help With McClellan Osc
> 
> 
>   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@xxx> 
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

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/