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

RE: Consec code question



PureBytes Links

Trading Reference Links

Condition1= Countif(RSI(close,14)>70),N)=N
For N>4

So I the condition is true if RSI is OB for 5 days, 6 days, 7 days  etc etc

(Countif is a function in EL for TS8.X)

-----Original Message-----
From: unicorn@xxxxxxxxxxxxxxx [mailto:unicorn@xxxxxxxxxxxxxxx] On Behalf Of
Alex Matulich
Sent: Thursday, May 15, 2008 6:58 AM
To: omega-list@xxxxxxxxxx
Subject: Re: Consec code question

Chris Evans wrote:
>I need to have a condition where 
>
>Countif(Var1>0,N)=N where N>= X .. How would I do this without writing any
>"or" lines in the condition statement.

Countif() is an Excel function, not an EasyLanguage function (at
least not TS2000i).  The syntax you used above wouldn't work in
Excel either.  Can you explain more clearly what you are trying to
do?

-Alex