Login Page - Create Account

Support Board


Date/Time: Wed, 05 Feb 2025 14:08:03 +0000



Post From: No Trades generated when using 'Bar Based Back Testing'

[2020-03-15 21:09:22]
HAB-User115006 - Posts: 38
I found the problem in case otheres are having a similar problem, it was in my Time code:
I was using sc.GetCurrentDateTime().GetTime();, it works in Replay and Live but not in Bar based back testing
Changed the Time code to - int Time = SCDateTimeMS(sc.GetEndingDateTimeForBarIndex(sc.Index)).GetTime();

We are good now...