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

Re: 3 bar moving average



PureBytes Links

Trading Reference Links

Ron:
>Can someone explain how to create a 3 bar moving average of the highs and a
>3 bar moving average of the lows.  Using TS 7.1.

avghi = average(high, 3);
avglo = average(low, 3);

There must be something else you really want, because what you
asked is trivial.  You want to plot them?  Do something else?

You can also insert one of TradeStation's moving average indicators
(simple or exponential), and replace the input value with high or
low (instead of close), and the length parameter with 3.

-Alex