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

RE: RSI of Stochastics



PureBytes Links

Trading Reference Links

I just might frame this code.....
it potentially could be the most horrifically, inefficiently coded piece of
Easy Language in the history of ...
Tradestation.

(See what I meant Alex...about few really good coders out there ?)


> -----Original Message-----
> From: rghstocks@xxxxxxx [mailto:rghstocks@xxxxxxx]
> Sent: Tuesday, July 30, 2002 2:43 PM
> To: omega-list@xxxxxxxxxx
> Subject: Re: RSI of Stochastics
>
>
> Here is one that works for TS6.  Should work for yours.
>
> Randy
>
>
> Input: Price(close),RSILen(5),Length(3);
> Var:StochRSI1(0), Value2(0), Value3(0);
> {StochRSI1 =
>     (Summation(RSI(Price, RSILen) -
>     Lowest(RSI(Price, RSILen), Length),3)) /
>     (Summation(Highest(RSI(Price, RSILen), Length) -
>     Lowest(RSI(Price, RSILen), Length),3));}
> Value2=(Summation(RSI(Price, RSILen) -
>     Lowest(RSI(Price, RSILen), Length),3));
> Value3=(Summation(Highest(RSI(Price, RSILen), Length) -
>     Lowest(RSI(Price, RSILen), Length),3));
> StochRSI1 = Iff(Value2=0,0,Value2/Value3);
>
> Plot1(StochRSI1 *100,"StochRSI");
> Plot2(80);
> Plot3(20);
>
>