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

RE: [amibroker] Re: RSI Scan - Impossible AFL?



PureBytes Links

Trading Reference Links










AND means all conditions must be met

OR means any conditions can be met

You can also nest them

Filter = (Cond1 AND Cond2 ) OR (Cond3 AND Cond4);

 



<font size=3 color=teal
face="Times New Roman">Cheers,
Graham

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia



<span
>-----Original Message-----
From: Ara Kaloustian
[mailto:ara1@xxxxxxxxxx] 
Sent: Monday, 28 April 2003 1:37
PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: RSI
Scan - Impossible AFL?

<font size=2
face="Times New Roman"> 



<span
>RSICross50 =
Cross(RSI(period),50);  //Crosses RSI from below to above 50 See Functions
in help section





<font size=2
face="Times New Roman"> 





<span
>Use any number of filters you want:





<span
>FinalFilter = Filter1 AND Filter2
AND Filter3 ...etc







<span
>----- Original Message ----- 





<font
size=2 face=Arial>From: <a
href="" title="gillesdeprez@xxxxxxxxx">gillesdeprez






<span
>To:<font
face=Arial> <a
href="" title="amibroker@xxxxxxxxxxxxxxx">amibroker@xxxxxxxxxxxxxxx






<span
>Sent:<font
face=Arial> Sunday, April 27, 2003 10:29 PM





<span
>Subject:<font
face=Arial> [amibroker] Re: RSI Scan -
Impossible AFL?





<font size=2
face="Times New Roman"> 



<font size=2
face="Courier New">Hello!<font
face="Courier New">
I do have a similar problem, maybe you'll be kind
enough to help me: 
how would you write the code if the RSI is
crossing above the 50 line?
And another question would be: can I use multiple
filters in the same 
scan? Can't find the answer in the tutorial...
Any help will be highly appreciated!
Thanks in advance,
Gilles



--- In amibroker@xxxxxxxxxxxxxxx,
"amiabilityy" <amiabilityy@xxxx> 
wrote:
>  This may give you a few ideas.
> 
>   This exploration is an rsi 20
that is above the 50 line and stays 
> above for 20 days
> 
>  use as an  exploration .
> 
> 
> 
> 
> RSIx=IIf(RSI(20)>50,1,0);
> rsixcount=BarsSince(RSIx==0);
> RSIbars=RSIxcount==20;
> 
> 
> Filter=1;
> AddColumn(RSIx,"rsix");
> AddColumn(RSIxcount,"RSIxcount");
> AddColumn(RSIbars,"RSIbars");
> 
> 
> Peter.
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, Bill
Pritchard <billpritjr@xxxx> 
> wrote:
> > Hey everybody-
> > 
> > Here is "what I want to
do"....maybe someone much
> > smarter than me can help me with an AFL
to do this.
> > 
> > I would like to scan the entire NYSE and
NASDAQ
> > universe for those stocks whose 20-day
RSI penetrates
> > thru (up or down, either way) the
50-index (middle
> > line) and after penetration, STAYS on
the that side of
> > the 50-index line for at least 4 weeks,
without ever
> > touching the mid-line, or in other
words, during the 4
> > week period, the RSI never hits 50.0
value.  This
> > behavior would have occurred over the
last 12 months.
> > 
> > This screen in and of itself may be a
little hard to
> > create, but to make things worse, I
would like to
> > screen the above AND also simultaneously
screen for
> > the stocks whose price penetrates their
20-day SMA (up
> > or down, either way), and after
penetration, never
> > touch their 20-day again until another
positive
> > penetration.  
> > 
> > I would settle for the RSI screen at
this point.
> > 
> > Graphically speaking, the following
stocks charts are
> > an example of the stocks I want to look
for:
> > 
> > (20-day RSI, 20-day SMA)
> > 
> > MRX, OSTK, OSI, VRSN, WCN, YHOO
> > 
> > ideally, I want to assemble a watchlist
of maybe 20
> > stocks to monitor, which meet the above
criteria.  
> > 
> > not to be sarcastic, but this screen
might be called
> > "Easy Trend Following off SMA and
RSI for Dumb
> > Traders"
> > 
> > any ideas, help, appreciated
> > 
> > BILL
> > 
> > billpritjr@xxxx
> > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier.
Bingo.
> > http://search.yahoo.com



Send BUG REPORTS to bugs@xxxxxxxxxxxxx<font
face="Courier New">
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.




<font size=2
face="Times New Roman">



Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<span
>
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.











Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.