PureBytes Links
Trading Reference Links
|
I wrote this AFL implementation of Stochastic RSI as used at
www.stockcharts.com
per=14;
top=rsi(per) - llv(rsi(per),per);
bot=hhv(rsi(per),per) - llv(rsi(per),per);
stochrsi = top/bot * 100;
//stochrsi = top/bot;
graph0 = stochrsi;
The results are supposed to range from 0 to 1, however again we cannot
place grid lines at .20 and .80, so I multiplied by 100 to allow the
correct grid lines.
Remove the commented line to get correct results with incorrect grid lines.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|