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

Re: [amibroker] Re: is Chande/Kroll stochastic RSI (StochRSI) indicator available in Amibroker?



PureBytes Links

Trading Reference Links

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 <timesarrow@xxxxxxxxxxxxx> 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" <reinsley@xxxxxxxx>
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
> **
> */
>
> 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
amibroker@xxxxxxxxxxxxxxx, "sailorvea" <perl168@xxx> 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
>>
>
>
>
> ------------------------------------
>
> 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/
>
> For other support material please check also:
>
http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:amibroker-digest@xxxxxxxxxxxxxxx
>   
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> To unsubscribe from this group, send an email to:
>   
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/
>
>
>
> --
> 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
>
>


__._,_.___

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/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___