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

Re: [RT] determine a trend



PureBytes Links

Trading Reference Links

>I'm running TS4 and when verfiying the code below I get the message:
>"Word not recognized by Easylanguage" with CountIF being highlighted.
>Can you give me a workaround for this?

It seems to be a TS2000i function.

Here is the code.

Bob Fulks


{*******************************************************************
Description   : This Function returns CountIF
Provided By   : Omega Research, Inc. (c) Copyright 1999
********************************************************************}

Inputs: Criteria(TrueFalse), Length(Numeric);
Variables: Accum(0), Counter(0);

For Counter = 0 To Length - 1 Begin  
   If Criteria[Counter] Then
      Accum = Accum + 1;
End;

CountIF = Accum;
Accum = 0;

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Outsource Your Web Design & Development with Elance
Save Time & Money
Post Your Project for FREE
http://us.click.yahoo.com/jXNj8C/O.zDAA/cosFAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/