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

RE: [amibroker] Re: Stochastic Rsi



PureBytes Links

Trading Reference Links




<SPAN 
class=934062422-25072003>Daniel,
I see 
no reason why you could not. Simply create a composite ticker called spread that 
is constructed with the data you have outlined. then bring up the new ticker and 
apply the indicator to it.
<SPAN 
class=934062422-25072003> 
<SPAN 
class=934062422-25072003>Another way may be to rename the closing data to 
spread,
<SPAN 
class=934062422-25072003> 
<SPAN 
class=934062422-25072003>c=spread
<SPAN 
class=934062422-25072003> 
I 
believe that the math for RSI is derived from closing data so if that is the 
case than simply add the lines 
<SPAN 
class=934062422-25072003> 
spread 
= Foreign("EDZ03", "C") - Foreign("EDU03", "C" 
);c=spread;
<SPAN 
class=934062422-25072003> 
and 
you should have the StoRSI of Spread. I checked the site TA A-Z and found the 
formula for RSI to be 
<SPAN 
class=934062422-25072003> 

The RSI is a fairly 
simple formula, but is difficult to explain without pages of examples. Refer to 
Wilder's book for additional calculation information. The basic formula 
is:
<IMG height=83 
src="gif00430.gif" width=116>
Where:
<IMG height=45 
src="gif00431.gif" width=303>
<SPAN 
class=934062422-25072003>I would interpret that to be closing data. Try 
it!!
Regards, 
Jayson
 
<FONT face=Tahoma 
size=2>-----Original Message-----From: traderix2003 
[mailto:d.adam@xxxxxxxxxx]Sent: Friday, July 25, 2003 12:43 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
Stochastic RsiHi, Jason,I would like to use 
your Stochastic Rsi formula for Spreads.Is it possible to adapt it 
?spread = Foreign("EDZ03", "C") - Foreign("EDU03", "C" 
);Thxs a lot for your help.Daniel > 
period=Param("Periods",6,5,50);> smooth= 5;> storsi =( ( RSI( 
period) - LLV( RSI(period) ,period) ) />  HHV( RSI(period) ,period) 
) - LLV(RSI(period),period) ) );> > 
Plot(EMA(storsi,5),EncodeColor(colorWhite)+"Sto Rsi",colorBlue,1);> 
Plot(EMA(EMA(storsi,5),smooth),"5 DMA",colorYellow,1);> 
Plot(.30,"",colorRed,1);> Plot(.80,"",colorGreen,1);> > 
Buy=Cross(EMA(storsi,5),EMA(EMA(storsi,5),smooth));> 
Sell=Cross(EMA(EMA(storsi,5),smooth),EMA(storsi,5));> > 
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone) 
,colorBrightGreen,0,Graph0,-15);> 
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,Graph1,-15);> 
> > Regards,> Jayson> -----Original 
Message-----> From: mleonsprint [mailto:mleonsprint@xxxx]> Sent: 
Thursday, July 24, 2003 1:45 AM> To: amibroker@xxxxxxxxxxxxxxx> 
Subject: [amibroker] Stochastic Rsi> > > Does anyone have 
the formula to the Stochastic Rsi?> > Thanks for your help> 
Mark> > >       Yahoo! Groups 
Sponsor>             
ADVERTISEMENT> > > > > Send BUG REPORTS to 
bugs@xxxx> Send SUGGESTIONS to suggest@xxxx> 
-----------------------------------------> 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 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
<img
src="" width=300 height=250 border=0>










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.

Attachment: Description: ""

Attachment: Description: ""