I've got the following in my code :
// debug
if (Historical)
{
Print(Time[0]+" "+Position.MarketPosition+" historical is "+Historical);
}
On the ES this acts as you would expect, stopping printing on the final bar and never printing anything during live ticks.
On the YM, it keeps on printing every live tick (the strategy is CalculateOnBarClose = false).
This seems wrong. I get no message in the log about YM being delayed data. (I get a message like that for the TF.) Even if my data was delayed, surely the code should receive live ticks as Historical = false.
sample of output on 1 minute data:
25/10/2011 7:36:00 PM Short historical is True
25/10/2011 7:37:00 PM Short historical is True
25/10/2011 7:38:00 PM Short historical is True
25/10/2011 7:39:00 PM Short historical is True
25/10/2011 7:40:00 PM Short historical is True
25/10/2011 7:41:00 PM Short historical is True
25/10/2011 7:42:00 PM Short historical is True
25/10/2011 7:43:00 PM Short historical is True
25/10/2011 7:44:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:45:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
25/10/2011 7:46:00 PM Short historical is True
Kinitick data. Ninja 7.0.1000.7
Cheers,
saltminer
Comment