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

[amibroker] 5 Daily bars compressed into one.........



PureBytes Links

Trading Reference Links

What I am trying to do is come up with a routine to list all the 
symbols of stocks on a given day, where the low extended beneath the 
the lower Bollinger band. I think  I am close. When I scan the 
following on the Nasdaq 100 stocks, I can get it to count the number 
and make an addtocomposite file, but when I to make a list, it lists 
all 100 stocks.

I am using the following code. What corrections do I need to make?

a=BBandTop( C, Prefs( 4 ), Prefs(8)/100 );
b=BBandBot( C, Prefs(4), Prefs(8)/100 );

E = IIf (L<=b,1,0);

Buy =1;

Thanks

Clyde





Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/