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

Re: code question



PureBytes Links

Trading Reference Links

Hi, John,
The function XAverage(Price, Length) only takes two parameters, not three. It returns the weighted moving average of the PRICEs of the last LENGTH bars.
-- Harrison
www.HarrisonProgramming.com

john Davis wrote:

(XAverage(price, length34, 10)); I have removed the space between xaverage and (.
let me rephrase . Does this say xaverage 34 within the last 10 bars? I am probably writing
it wrong. (LinearRegValueFC(Price, Length34, 10)); this is the same and it works.