I tried the code, and the only error are spaces between 0. and 1 on the inputs
try this (no change to the code, just omitting the spaces):
x:=Input("number of periods for RSI",1,2000, 14);
k1:=Input("standard deviation constant",0. 1,5,1.8);
c1:=Input("SMA constant",0. 1,5,2);
m1:=Input("method <1=SD/2=SMA> ",1,2,1);
top:=If(m1=1,
50+(k1*Stdev( RSI(x),x) ),
50+(c1*Mov(Abs( RSI(x)-Mov( RSI(x),x, S)),x,S)) );
bottom:=If(m1= 1,
50-(k1*Stdev( RSI(x),x) ),
50-(c1*Mov(Abs( RSI(x)-Mov( RSI(x),x, S)),x,S)) );
RSI(x);
top;
bottom
Sugiharto
On Thu, Jan 29, 2009 at 8:45 PM, Alvin Yu <alvinyu2005@ yahoo.com. sg> wrote:
> Hi Patrick
> When I load them to " indicator builder" , it returns few errors .
> Can u adv ?
> rgds
>
> ____________
_________ _________ __
> From: Patrick Butler <pat494@xxxxxx net>
> To: equismetastock@ yahoogroups. com
> Sent: Wednesday, 14 January 2009 6:09:48
> Subject: Re: [EquisMetaStock Group] Re: New formula required Please
>
>
>
> Hi,
> This may be the formula details you are looking for
>
> x:=Input("number of periods for RSI",1,2000, 14);
> k1:=Input("standard deviation constant",0. 1,5,1.8);
> c1:=Input("SMA constant",0. 1,5,2);
> m1:=Input("method <1=SD/2=SMA> ",1,2,1);
> top:=If(m1=1,
> 50+(k1*Stdev( RSI(x),x) ),
> 50+(c1*Mov(Abs( RSI(x)-Mov( RSI(x),x, S)),x,S)) );
> bottom:=If(m1= 1,
>
50-(k1*Stdev( RSI(x),x) ),
> 50-(c1*Mov(Abs( RSI(x)-Mov( RSI(x),x, S)),x,S)) );
> RSI(x);
> top;
> bottom
>
> regards Pat
>
> ----- Original Message -----
> From: Alvin Yu
> To: equismetastock@ yahoogroups. com
> Sent: Sunday, January 11, 2009 2:28 PM
> Subject: Re: [EquisMetaStock Group] Re: New formula required Please
>
> Hi Ross
> Any formula that is available for this adaptive RSI system ? It look
> interesting to me
>
> rgds
>
> ____________ _________ _________ __
> From: jawjahtek <jawjahtek@xxxxxx com>
> To: equismetastock@ yahoogroups. com
> Sent: Sunday, 11 January 2009 9:41:08
> Subject: [EquisMetaStock Group] Re: New formula required Please
>
> Here is a link to an article that makes an RSI trading system adaptable
> to market conditions:
>
> Free article download:
Adaptive RSI system
>
> Through Wednesday, January 21, you can download the following article
> from the November 2005 issue of Active Trader magazine for
> free: "Trading System Lab: Adaptive RSI system (futures)." This system
> uses Bollinger Bands to create dynamic overbought and oversold levels
> for the Relative Strength Index. The strategy is tested on a portfolio
> of 20 futures contracts over a 10-year period. Click here to go to the
> article link in the Active Trader store:
> http://store. activetradermag. com/futures_ tsl1105.pdf
>
> Ross
>
> --- In equismetastock@ yahoogroups. com, Claud Baruch <claudba@xxx > wrote:
>>
>> Many thanks. The links don't work, but I've been using a variation of
> this
>> indicator which has produced some rather good results. It is
>
especially
>> useful for volatile stocks and indexes....AND. ......there really isn't
> much
>> of a lag the way I use it.
>> Thanks again Preston.
>>
>> Claud
>>
>
>
> ____________ _________ _________ __
> New Email names for you!
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
>
> ____________ _________ _________ __
> New Email names for you!
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!