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

[amibroker] Re: AmiBroker 4.60.3 official release ADWARE Problem ?



PureBytes Links

Trading Reference Links

Hi Dave,

A Filter statement is required for Explorations, not Scans.

Scans are required to populate the pseudo tickers generated by
AddToComposite. Scans, in turn, require at least one of these:

    Buy=0;
    Sell=0;
    Short=0;
    Cover=0;

-john

----- Original Message ----- 
From: "davelansing2004" <d.ankrapp@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, August 05, 2004 5:44 PM
Subject: [amibroker] Re: Composite Index Help


--- In amibroker@xxxxxxxxxxxxxxx, "sgfuchs" <sgfuchs@xxxx> wrote:
Hi Stefan,

Thank you for the code... it works great! One question, what's the
purpose of having the "Filter = 1" code? I ran several scans on a few
industry groups with and without the code, and the composites looked
the same.. also, in my original code I included the line "Buy = 0",
but you have "Buy=Sell=Short=Cover=0"... what am I missing in my
understanding of the AddToComposite function? Thanks again!

> For Industrygroup composites use :
> sym="~"+IndustryID(1);
> AddToComposite(L,sym,"L");
> AddToComposite(O,sym,"O");
> AddToComposite(H,sym,"H");
> AddToComposite(C,sym,"C");
> AddToComposite(V,sym,"V");
> Buy=Sell=Short=Cover=0;
> Filter=1;





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/