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

Re: [amibroker] Linear Regression Line With +1 & -1 SD



PureBytes Links

Trading Reference Links

Hi Jitu,

Thursday, January 22, 2004, 12:14:17 AM, you wrote:

j> Yuki, 

j> Calculate Buy and Short counts individually first, like you're doing
j> now. You can add it to the same composite's O and C fields. Then run
j> another scan on that newly created composite (by selecting as Current
j> Stock), check its O and C values, and if both are > 0, then add the
j> total count (or true) to yet another composite. That composite should
j> then have what you need...

This seems like a great way to go about it.  Unfortunately, I can't
make the last statement work:

IIf(Foreign("~Comp", "O") > O AND Foreign("~Comp", "C") > 0,
AddToComposite(Foreign("~Comp", "O") AND Foreign("~Comp", "C")),
"~both", "V");

Having already created ~Comp and making sure O and C are populated
there.

Yuki


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 Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/