Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom template hours issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom template hours issue

    Hello,

    I'm trying to create a split template for trading hours, mixing bith electronic ans real time sessions.

    I've got with gold and crude when trying to reflect the actual tragin hours of each session.
    The issue is rasing by a crontrol from Ninja that doesnt look legitimate here :

    Click image for larger version

Name:	image.png
Views:	110
Size:	19.0 KB
ID:	1239472

    I will get this error :

    Click image for larger version

Name:	image.png
Views:	94
Size:	16.3 KB
ID:	1239473

    if, for Friday, I change 16:00 to 14:30, I don't have the issue. But I miss 1:30 trading hour​ !


    Many thanks in advance for your help.

    Pmat

    #2
    Hello Pmat,

    Unfortunately this is as expected. A trading day can't exceed 24 hours. The last trading day in your screenshot exceeds 24 hours, so it generates the error.

    If you use an End time of 16:00 instead of 15:00 for the first 4 trading days, (like the 5th trading day), you will not get the error. I suggest to use a start time of 17:00 for the last 4 trading days as well (like the first trading day). The GC and CL futures trade between 5:00PM to 4:00PM the next day US Central time.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    60 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    39 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X