Login Page - Create Account

Support Board


Date/Time: Tue, 14 Jan 2025 23:25:55 +0000



Post From: sc.IsDateTimeInSession always return 1

[2017-05-12 22:31:16]
User612903 - Posts: 51
Hi,

I'm trying to use this function that I found in the doc.

I've set session time, for the test I even tried a session that start at 9.00 am and finish at 9.01am.

But this :


  int IsInSession = sc.IsDateTimeInSession(sc.BaseDateTimeIn[sc.Index]);

Always return 1. Should it not return 0/false when it's not in the se[/code]ssion time defined in the Chart Settings ?

Thanks for your help,

Regards