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 cmoran13, Yesterday, 01:02 PM
        0 responses
        29 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        21 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        160 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        95 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        148 views
        2 likes
        Last Post CaptainJack  
        Working...
        X