Re: [amibroker] Count Occurances based on a Condition

 

Hello,

Just use this:

  Sum( upbar <= 2, 60 );

Best regards,
Tomasz Janeczko
amibroker.com

On 2016-05-02 21:30, meanomalist@yahoo.com [amibroker] wrote:
I have a variable upbar with Ordinal values as 1, 2, 3, 4

Is there a function that tells me the Occurances of upbar <= 2 in past 60 days?

Hypothetical example: CountIf(upbar <= 2, 60);

Is there any function to do this?



__._,_.___

Posted by: Tomasz Janeczko <groups@amibroker.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)

Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon