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

Re: Local variable initialization



PureBytes Links

Trading Reference Links

Bob,

What is wrong with the code then? You mentioned it as an example of an initialization error and said that Avg hundreds of bars to reach near the correct value.

	Thanks, Joel

On Mar 22, 2007, at 6:46 PM, Bob Fulks wrote:

No. If the MaxBarsBack setting on the indicator is set to "Auto" then the XAverage function only requires the previous bar so it will start plotting on the second bar of the data (MaxBarsBack = 1).

--
http://wagerlabs.com/