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

Re: Creating Filter for stock meeting several criterion in past X-days



PureBytes Links

Trading Reference Links

Best to read the manual Baja.

It looks like you will want to use the and statement, to link two conditons
to give a true.

perhaps;( H> ref(H,-1) )  { which is condition 1}  AND
 LLV(rsi(14),30)<70) {which is conditon 2}, but you would need to check my
syntax and commas and brackets and so on against the manual.

Dive in and you will find it is not too difficult.

Simon


-----Original Message-----
From: BAJAJ2001 <bajaj2001@xxxxxxxxxxxx>
To: metastock@xxxxxxxxxxxxxxxxxx <metastock@xxxxxxxxxxxxxxxxxx>;
metastock-digest@xxxxxxxxxxxxxxxxxx <metastock-digest@xxxxxxxxxxxxxxxxxx>
Date: 10 November 2001 16:02
Subject: Creating Filter for stock meeting several criterion in past X-days


>can someone suggest how to write a formula for exploring stocks which met
>2-3 different criteria sometime in the past say 30 days on different days?
>
>For example how can I write a filter which picks stocks in last 30 days
>meeting the following criterion:
>
>- price today is hgher than yesterday, plus
>- sometime in tha past 30 days RSI (14) was <70.
>
>
>BAJAJ2001.
>
>