The most unusual part of the problem is that I use NT7 on 2 PCs, one for development (PC#1) and one for live trading (PC#2). Using the exact same code, the problem only exists on PC#2.
Here's the detail:
BarsArray[1] = daily bars
BarsArray[0] = tick bars
function name = Moveup
I'm trying to call the first element in the array, Moveup(BarsArray[1],0)[0] into an intraday strategy but the intraday print log output I'm getting = 0.
Close 7/27 Moveup = +505 as of close
On 7/28 Moveup(BarsArray[1],0)[0] = +505 in the intraday print log as expected
Close 7/29 Moveup = +178 as of close
On 7/30 Moveup(BarsArray[1],0)[0] = 0 (This is wrong, we should have the +178 info in element[0] since element[0] should be the data from yesterday's close.
I'd be willing to send the file to you directly if you think it would help.
Thx,
Lou
Comment