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:	111
Size:	19.0 KB
ID:	1239472

    I will get this error :

    Click image for larger version

Name:	image.png
Views:	95
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 CarlTrading, Yesterday, 11:51 AM
    0 responses
    18 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, Yesterday, 11:48 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    27 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    21 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X