Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLong() and EnterShort

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

    EnterLong() and EnterShort

    hi,

    during back testing does the EnterLong() and EnterShort() methods use the the following bar's opening price as the trade price?

    #2
    That is correct. When you are backtesting, because you are evaluating conditions at the end of each bar this means that the bar is already closed and there is no tradeable location on that bar. The next tradeable location is on the open of the next bar.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks josh!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      368 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      571 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X