PureBytes Links
Trading Reference Links
|
RSICross50 = Cross(RSI(period),50); //Crosses
RSI from below to above 50 See Functions in help section
Use any number of filters you want:
FinalFilter = Filter1 AND Filter2 AND Filter3
...etc
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=gillesdeprez@xxxxxxxxx
href="">gillesdeprez
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, April 27, 2003 10:29
PM
Subject: [amibroker] Re: RSI Scan -
Impossible AFL?
Hello!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 <A
href="">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.>
> <A
href="">http://search.yahoo.comSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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.
|