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

RSI formula



PureBytes Links

Trading Reference Links

WORK IN PROGRESS:  HELP NEEDED!!!

Actually, I could use rate of change for the up and down changes as a&b.  
ROC(C,1,$)>0 or ROC(c,1,$)=0

Although according to the formula:        ema(a)/ema(a)*ema(b)

If it is an up day, b=0, therefore ema*a/ema*a would equal one, multiplied
by 100 would always give you 100 on up days. . . I'm confused.

Do I need the line:  if(ema *a = 0, and ema *b=0), RSI = 50?  Obviously
that formula is not correct, I was using it as a reference.


aaagh!