PureBytes Links
Trading Reference Links
|
Cross(RSI(14),50)
You can have more than one filter using Filter = cond1 OR cond2 OR cond3 ;
etc
Just make certain in the columns that you identify which condition is being
reported
Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: gillesdeprez [mailto:gillesdeprez@xxxxxxxxx]
Sent: Monday, 28 April 2003 1:29 PM
To: amibroker@xxxxxxxxxxxxxxx
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 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
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 http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/O10svD/Me7FAA/AG3JAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/
|