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

RE: [amibroker] compare two RSI



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Rik,
You 
are correct that relstrength uses close data rather than RSI. It can be a useful 
indicator however for finding if your base stock is leading or trailing the 
index. It is simple to read. If the line is rising the stock is out performing 
the index, if the line is falling the reverse is true. If the line is flat then 
the two are moving in harmony. Note that your stock may be in a steady climb but 
if the indicator is flat it is telling you that the index is steadily climbing 
as well. A move one way or the other from a flat period indicates a divergence 
is setting up. This can often lead to break out of a consolidation or a 
stalling of a trend.
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Rik Rasmussen 
[mailto:hrasmussen@xxxxxxxxx]Sent: Wednesday, December 03, 2003 11:21 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] 
compare two RSI
This 
plots a comparison but I am not exactly sure what it is showing 
me.
<SPAN 
class=569451504-04122003> 
<FONT 
size=1>
a = RelStrength<FONT 
face="Courier New" size=1>(<FONT face="Courier New" color=#ff00ff 
size=1>"^IXIC"); <FONT 
color=#0000ff size=1>
Plot ( a , <FONT color=#ff00ff 
size=1>"compare to IXIC", 
colorRed, styleLine);
<FONT 
color=#000000 size=1> 
Thanks 
Jayson
<FONT color=#000000 
size=1> 
Rik 
Rasmussen

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Jayson 
  [mailto:jcasavant@xxxxxxxxxxx]Sent: Wednesday, December 03, 2003 
  10:42 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] compare two RSI
  <FONT face=Arial color=#0000ff 
  size=2>Rik,
  <FONT face=Arial color=#0000ff 
  size=2> 
  You 
  could plot the two RSI values by calling rsia(foreign("^IXIC","C") and then 
  doing the math on the 2 values. Something like...
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT 
  size=2>x=RSI(14);<FONT 
  color=#282828>
  y=RSIa(Foreign("<SPAN 
  class=536582803-04122003>^IXIC","C")) ;<FONT 
  color=#282828>
  Plot<FONT color=#282828 
  size=2>(x-y,"Comparative"<FONT 
  color=#282828 size=2>,4<FONT 
  color=#282828 size=2>,1<FONT 
  color=#282828 size=2>);
  Title<FONT 
  color=#0000ff>="Base RSI "<FONT 
  size=2>+x+" Index RSI "<FONT 
  color=#282828 size=2>+y;
  <FONT face=Arial 
  color=#0000ff> 
  <FONT 
  color=#0000ff>Another alternative would be to simply 
  use..... 
  RelStrength<FONT 
  size=2>("<SPAN 
  class=536582803-04122003>^IXIC"<FONT 
  color=#282828>);
  <FONT 
  color=#0000ff> 
   
  Regards, 
  Jayson 
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Rik Rasmussen 
  [mailto:hrasmussen@xxxxxxxxx]Sent: Wednesday, December 03, 2003 
  9:46 PMTo: AmibrokerSubject: [amibroker] compare two 
  RSII would like to compare two RSI.I have 
  checked the library but did not find anything to do this.Example: 
  select ^NYA have an indicator that compares the RSI of the selected^NYA 
  with another index such as ^IXIC.Indicator would be a line turning up 
  if selected index has stronger RSI,down when other index has stronger 
  RSI.Goal is to compare RSI of two markets, NYSE vs 
  NASDAQ.Anyone have a code to do this?Rik 
  RasmussenSend 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. 
  Send 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. 
Send 
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


  ADVERTISEMENT 









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.