I figured it out; I had to go to Symbol > Calculate Composites and calculate
the advance/decline stats. I don't remember having to do that in earlier
versions - I don't think I ever did it, but everything worked.

 

-Ed

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Ed Cottrell
Sent: Sunday, December 09, 2007 12:17 PM
To: [email protected]
Subject: RE: [amibroker] AdvIssues + DecIssues not working?

 

Sorry, I meant there is no output in that column - I have the Filter
statement, and there is output in every other column of my exploration. This
is just a snippet of a larger AFL script.

 

Thanks,

Ed

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Ara Kaloustian
Sent: Sunday, December 09, 2007 12:06 PM
To: [email protected]
Subject: Re: [amibroker] AdvIssues + DecIssues not working?

 

Youneed this statement BEFORE AddColumn:

 

Filter = 1;

----- Original Message ----- 

From: Ed Cottrell <mailto:[EMAIL PROTECTED]>  

To: [email protected] 

Sent: Sunday, December 09, 2007 9:47 AM

Subject: [amibroker] AdvIssues + DecIssues not working?

 

Hello all,

 

I am trying to calculate the STIX indicator in an exploration using the
following code:

 

Period = 21;

Out_STIX = EMA(100 * AdvIssues()/( AdvIssues() + DecIssues() ), Period);

AddColumn(Out_STIX, "STIX");

 

AmiBroker says this is okay, but this isn't generating any output, at all,
regardless of which or how many stock symbols I run the exploration over.
Can anyone tell me what is wrong?

 

Thanks,

Ed

 

 

 

 

 

Reply via email to