I am building a strategy that enters the market at a very precise time. For example at exactly 8:29:55 AM.
I have tried this:
if (ToTime(Time[0]) >= ToTime(8, 29, 55) { EnterLong(); }
It executes at 8:29:00 instead of 8:29:55.
Is there way to precisely compare times down to the second (or even millisecond)?
I tried with CalculateOnBarClose set to both true and false.
Comment