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

Re: Ela help



PureBytes Links

Trading Reference Links

>I am using TS6.0 and would like to create a  50 period simple moving average
>of the %R (Williams % R)...the moving average would be based upon the %R not
>price.

Why don't you post the code you have tried to implement?

Here's how I'd do it.

Var: pctR(0), av(0);
pctR = WilliamsPctR(...);  {I don't know what it's called offhand}
av = Average(pctR, 50);

-- 
  ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
 // +__>   Director of Research and Development
 //  \ 
 // __)    Unicorn Research Corporation -- http://unicorn.us.com