Should be something like:

IIf(Low < Ref(Low,-1) AND High > Ref(High,-1), AddToComposite( 1, "Name
of Candle Pattern", "C"),0);


Regards,

Duke Jones, CMT


voyager_3k wrote:
> Did look at CUM(), but that did not give me what I wanted.  I think
> AddToComposite(...) seems to be one possibility.
> TY ... AP
> --- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> wrote:
>  
>> Take a look at Cum()
>>   ----- Original Message -----
>>   From: voyager_3k
>>   To: [email protected]
>>   Sent: Tuesday, May 30, 2006 7:39 PM
>>   Subject: [amibroker] Help *counting* candle patterns
>>
>>
>>   I want to collect counts of the number of occurrences of certain
>>   candlestick chart patterns.  For example obtain a count of the
>>    
> number
>  
>>   of engulfing patterns found for that day over all stocks in my
>>    
> list:
>  
>>     Low < ref(low,-1) and High > ref(High,-1)
>>    
>>   I want to run this over several years to get a count for each
>>    
> trading
>  
>>   day.  I can then add other candle patterns and get a count for
>>    
> them
>  
>>   too.
>>
>>   Can someone suggest a way I can count this pattern and others
>>    
> for each
>  
>>   day? 
>>
>>   I've used the Explore using this formula and manually count
>>    
> them.  But
>  
>>   that is not practical to do that for each and every day,
>>    
> spanning
>  
>>   several years.
>>
>>   TY, ... AP
>>
>>
>>
>>
>>
>>
>>
>>   Please note that this group is for discussion between users only.
>>
>>   To get support from AmiBroker please send an e-mail directly to
>>   SUPPORT {at} amibroker.com
>>
>>   For other support material please check also:
>>   http://www.amibroker.com/support.html
>>
>>
>>
>>
>>
>>   SPONSORED LINKS Investment management software  Real estate
>>    
> investment software  Investment property software 
>  
>>         Software support  Real estate investment analysis
>>    
> software  Investment software 
>  
>> -------------------------------------------------------------------
>>    
> -----------
>  
>>   YAHOO! GROUPS LINKS
>>
>>     a..  Visit your group "amibroker" on the web.
>>      
>>     b..  To unsubscribe from this group, send an email to:
>>      [EMAIL PROTECTED]
>>      
>>     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms
>>    
> of Service.
>  
>> -------------------------------------------------------------------
>>    
> -----------
>  
>>
>>
>> -------------------------------------------------------------------
>>    
> -----------
>  
>>   No virus found in this incoming message.
>>   Checked by AVG Free Edition.
>>   Version: 7.1.394 / Virus Database: 268.8.0/352 - Release Date:
>>    
> 05/30/06
>  
>
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>

> Yahoo! Groups Links
>
>
>

>
>
>
>
>  


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




Reply via email to