Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Based on Open[0]

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

    Order Based on Open[0]

    Please "forward to development for further consideration":

    To be able to place an order based on Open of current bar and to be able to backtest it.

    Something like Open[-1] when calculate on bar close == true.

    Thank you.

    #2
    Not sure I understand you properly. Right now when you backtest you are already placing the order at the open of the next bar. You can't place a trade on the current signal bar because you only have a snapshot in time of that bar. Your signals were generated based off of the snapshot of that bar when it was closed and being closed it is not possible to trade on that bar.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      Not sure I understand you properly. Right now when you backtest you are already placing the order at the open of the next bar. You can't place a trade on the current signal bar because you only have a snapshot in time of that bar. Your signals were generated based off of the snapshot of that bar when it was closed and being closed it is not possible to trade on that bar.
      I completely understand that.
      I dont want to trade on the signal bar.
      What I want is when signal bar is closed, I want to place a limit or stop order based on the open of the next bar.

      The opening tick actually closes the previous bar and I want to know the value of that tick. To access Open only after bar is closed is not enough.

      I understand about other values(high, low, close) - we don't know them until the bar is actually closed, but open is fixed and I need to access the value immediately - not after bar closed.

      Comment


        #4
        Got it. Thanks for the suggestion. I will forward it along.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        630 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        566 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X