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

[amibroker] Re: To all you amibroker guru's



PureBytes Links

Trading Reference Links

Thanks Herman.

And what exactly does atcFlagResetValues ?  I didn't understand its 
ramifications based on the help file.

HB

--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> Perhaps something like this:
> 
> Buy=Sell=Short=Cover=0;
> Filter = 1;
> LowestDateNumber = 1010102; // Modify to meet your date 
requirements
> HighestDateNumber = 1040102; // Modify to meet your date 
requirements
> DateQualifier = DateNum() >= LowestDateNumber AND DateNum() <=
> HighestDateNumber;
> AddToComposite(IIf(DateQualifier,C,0),"~MyComposite","X");
> 
> At this time I think composite can only be updated as an array, an 
add-on
> bars as needed is not offered. You could implement this using bar 
addressing
> in a loop however I am not sure there would be a speed advantage 
and you may
> encounter unforeseen problems. The Atc is pretty fast as is.
> 
> happy trading,
> 
> herman
> 
>  -----Original Message-----
> From: hmab1 [mailto:hmab@x...]
> Sent: Thursday, July 08, 2004 10:39 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] AddtoComposite date range & atcFlagResetValues
> 
> 
> 
>   Hello,
> 
>   With AddtoComposite, whenever I specify a certain date range, it
>   adds to the composite for all quotes.  How do I get it to only do
>   the dates I want ?
> 
>   Also, whenever I want to update my composites and if I only want 
it
>   to update new quotes should I remove the atcFlagResetValues 
flag ?
>   Is that what this flag is used for ?
> 
>   Thanks,
>   HB
> 
> 
> 
>   Check AmiBroker web page at:
>   http://www.amibroker.com/
> 
>   Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
> 
> -------------------------------------------------------------------
---------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service.



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