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

"Error adding price, date is less than previous date"



PureBytes Links

Trading Reference Links

Can someone please help track down this error?

It happens on 1 min data bars when using the Strategy Performance Report. 
2 min bars and higher are fine.

The obvious cause would seem to be, as the error says, that a date entry is 
less than an earlier date. There is too much data to check manually. I tried 
writing a couple of simple indicators:

if date<date[1] then plot....
if time<time[1] then plot...

but these revealed nothing.

However transferring these to signals:

if date<date[1] then Buy
if time<time[1] then Buy

and opening the Strategy report causes the error.

Can anyone help, please?

Cheers,
Ian