Thanks for all the replies. > I haven't personally made use of those indicators. But, the on line > help does not indicate them to be forward looking. Are you perhaps > using the LastValue function somewhere? Other functionality that >can cause future leaks are time frame expansion, and the Zig >function.
I have several LastValue functions in my formual, but none refer to the MacD or Stochastic. The refer to buy, sell, short, and cover plus some debug code. >MACD and Stochastics do not look into the future, unless you use >them with lower times frames and in certain ways. I just use them in my 3 bars a day with out anything fancy. >Both indicators use "Close" value in their calculation. as "Close" >changes signals change too. I didn't think that the close would change once the bar closed and a new bar opened. Why would the close change if the bar is closed? >Since you are using real time data, you must be sure to have a large >enough array to have at least 1 full day of data, so the data does >not drop off at beginning of array. I have about 9 months of data so I would think that would be enough. Thanks again, Tom
