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

[amibroker] Question: No highs for 20 day period before today



PureBytes Links

Trading Reference Links

Hi,

I'm having a brain cramp on this.  I have code to find a close that is
the highest in 20 days, ala:

C > Ref ( HHV ( C, 20 ), -1 )

How do I now set a condition that the 20 days prior to today did not
have any close that resulted in the condition above over that period?
I thought this was trivial, but I guess not for me. Any help would be
appreciated.  Thanks,

Bret






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

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