Log file times in BarZone

Posted By: Zheka

Log file times in BarZone - 03/26/22 13:29

BarZone is the time zone of bars.

Yet, bar end times in the log are in UTC - which is grossly inconvenient when quickly prototyping/ debugging a strategy.
Posted By: Petra

Re: Log file times in BarZone - 03/29/22 12:09

printf(strdate(HMS,ldate(BarZone,0)));
Posted By: Zheka

Re: Log file times in BarZone - 03/29/22 13:16

I know how to use printf(); that's beside the point.

Why do YOU, Petra, want to see UTC times in the log?
Posted By: Petra

Re: Log file times in BarZone - 03/29/22 15:47

I just answer questions. I couldnt care less if the log has UTC times or not.
Posted By: Zheka

Re: Log file times in BarZone - 04/04/22 12:00

Originally Posted by Petra
I couldnt care less if the log has UTC times or not.
That explains a lot.
Don't you use Zorro for development/trading? How do you debug?
© 2024 lite-C Forums