Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intraday Order Handling With Daily Strategy

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

    Intraday Order Handling With Daily Strategy

    Hello,

    I have a strategy that trades SI futures based on daily indicators/bars. It currently calculates entry signals at the end of the day that are executed at the next day's open at 8:30 AM. This isn't the behavior I want.

    I would like to change the order execution from the next day's open at 8:30 AM to the start of the next futures session, which for SI would be 5:00 PM central time. How do I accomplish this type of execution? And, can I run simulations with this type of execution?

    Thanks,
    Mike

    #2
    Hi Mike,

    Bar availability for multiseries scripts varies whether you're accessing historically or real time with CalculateOnBarClose = false, and the time stamps of the bars relative to each series.

    I suggest reviewing the following link, in the section How Bar Data is Referenced


    It's also useful to print all series time stamps so you can see how they relate. Example of this for first three series
    if (BarsInProgress == 0)
    Print("BIP0 " + Time[0] + " BIP1 " + Times[1][0] + " BIP2 " + Times[2][0]);

    For order submission to a specific series you need to use the advanced overload that allows this. Example:
    EnterLong(int barsInProgressIndex, int quantity, string signalName)
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks

      This has helped. Thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      69 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      42 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      24 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      27 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      54 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X