Closed this issue 3 years ago · 2 comments
There was an errors in
SMA
SMMA
those return NaN to me.
changing for(q in pl) average += pl[q];
to for(q in pl) average += Number(pl[q]);
is worked.
Are you inputting your values as strings?
I think so. It is working good now.