Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to catch the BarOpen ?

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

    How to catch the BarOpen ?

    Hello,
    i have a strategy that sends a buyorder if for example stochastik turns up.
    its running via "calc on barclose" mode.
    So it measures the Stoch-value of Close[0]
    I want to enter immediately with a limitorder at the Open of the new bar .
    This new Bar then is just started (means still running) at the moment the signal comes. How do i define this bars OpenValue ?
    is it possbile although the strategy is running "calc on BarClose" ?

    Thanks for help
    max-td

    #2
    Hello,

    If you place your order from where you are doing it currently, you will be fine since it will be placed at the earliest time possible which is the next bar's open.

    You cannot get the open bar value unless you wait for the open of a new bar plus on tick and you set CalculateOnBarClose to false.
    DenNinjaTrader Customer Service

    Comment


      #3
      i see
      thanks Ben

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      607 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      353 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
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X