*Try this one , not mine do not know who wrote it ,but looks to me this is
what you want.*
*m ashraf*
**

*period=Param("Periods",14,5,50,1**);

StochasticRSI=( ( RSI( period) - LLV( RSI**(period) ,period) ) / ( (
HHV( RSI(period) ,period) ) - LLV(RSI**(period),period) ) );

Plot(EMA(StochasticRSI ,5),EncodeColor(colorBlue**)
+"StoRsi",colorBlue,1**);
*


On 02/04/2008, wavemechanic <[EMAIL PROTECTED]> wrote:
>
>    *Note that any indicator can be used to produce a stochRSI type
> indicator by plugging the indicator into the stochastic formula.  For
> example, besides RSI CCI is often used to produce stochCCI.*
> **
> *Bill*
>  **
> *----- Original Message ----- * *From: "reinsley" <[EMAIL PROTECTED]<[EMAIL 
> PROTECTED]>
> *>*
> *To: <[EMAIL PROTECTED] <[email protected]>*>*
> *Sent: Wednesday, April 02, 2008 2:09 AM*
> *Subject: [amibroker] Re: is Chande/Kroll stochastic RSI (StochRSI)
> indicator available in Amibroker?*
> *
> *
> *> hi,
> >
> > I don't know the author...
> >
> > reinsley
> >
> > /*
> > The very known indicator created by Robert Miner based on StochRSI.
> > Use it as a Stochastic or to help
> > you counting waves. Set MAType=1 if you want the simple version, or
> > MAType=2 for exponential.
> > */
> > /* DT Oscillator
> > **
> > ** AFL translation by X-Trader
> > ** **http://www.x-trader.net* <http://www.x-trader.net/>
> *> **
> > */
> >
> > PeriodRSI= Param("PeriodRSI", 13, 1, 250, 1);
> > PeriodStoch=Param("PeriodStoch", 8, 1, 250, 1);
> > MAType=Param("MAType", 1, 1, 2, 1);
> > PeriodSK=Param("PeriodSK", 5, 1, 250, 1);
> > PeriodSD=Param("PeriodSD", 3, 1, 250, 1);
> > Upper=Param("Upper", 70, 50, 100, 1);
> > Lower=Param("Lower", 30, 0, 50, 1);
> >
> >
> > StoRSI= 100*(( RSI( PeriodRSI) - LLV( RSI( PeriodRSI ) , PeriodStoch )
> > ) / ( (
> > HHV( RSI( PeriodRSI) , PeriodStoch ) ) - LLV(RSI( PeriodRSI ),
> > PeriodStoch ) ));
> >
> > if(MAType==1)
> >   {
> >      SK=MA(StoRSI,PeriodSK);
> >      SD=MA(SK,PeriodSD);
> >   }
> >
> > if(MAType==2)
> >   {
> >      SK=EMA(StoRSI,PeriodSK);
> >      SD=EMA(SK,PeriodSD);
> >   }
> >
> > Plot(SK,"DTOscSK",ParamColor( "ColorSK", colorBlueGrey ),styleLine);
> > Plot(SD,"DTOscSD",ParamColor( "ColorSD", colorWhite ),styleDashed);
> > Plot(0,"ZeroLine",ParamColor( "ColorZero", colorWhite ),styleLine);
> > Plot(Upper,"Upper",ParamColor( "ColorUpper", colorRed ),styleLine);
> > Plot(Lower,"Lower",ParamColor( "ColorLower", colorGreen ),styleLine);
> >
> >
> >
> >
> >
> > --- In [EMAIL PROTECTED] <[email protected]>*,
> "sailorvea" <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi all,
> >>
> >> Sorry for asking a newbie question. Do you know if the stochastic RSI
> >> (stochrsi) indicator as defined by stockcharts.com (see link below),
> >> which is invented by Chande and Kroll, is available in AB package
> >> without needing to program it?  If it isn't available, is there code
> >> for it available for download or sharing?  Thank you!
> >>
> >>
> > **
> http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:stochrsi
> *<http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:stochrsi>
> *>>
> >
> >
> >
> > ------------------------------------
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > **http://www.amibroker.com/devlog/* <http://www.amibroker.com/devlog/>
> *>
> > For other support material please check also:
> > **http://www.amibroker.com/support.html*<http://www.amibroker.com/support.html>
> *> Yahoo! Groups Links
> >
> >
> >    **mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> *>
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG.
> > Version: 7.5.519 / Virus Database: 269.22.3/1354 - Release Date:
> 4/1/2008 5:38 AM
> >
> >*
>
> 
>

Reply via email to