Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

open [0] intra tick or bar

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

    open [0] intra tick or bar

    i have a strategy that states in a group open [0] greater than bollinger line low and open [0] less than bollinger line high as one of my conditions. i have the strategy updating on tick update. but its a 15 minute time frame. does the open [0] pertain to the 15 minute candle that's active at the moment it opened (is what i want) or the intra bar of the 15 minute candle like the way close [0] is intra bar.

    #2
    Hello SteveReiza,

    Thank you for your post.

    Open[0] will always be the opening price of the current bar. Since you are using Calculate.OnEachTick, Open[0] is the opening price of the currently forming bar.

    Only the Close, High and Low values change as the price changes in the currently forming bar until it closes.



    Please let us know if you have any further questions. ​
    Gaby V.NinjaTrader Customer Service

    Comment


      #3
      thanks for the reply. okay sweeeet. that's what i was hoping. appreciate the guidance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      6 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      6 views
      0 likes
      Last Post quantismo  
      Started by AttiM, 02-14-2024, 05:20 PM
      8 responses
      166 views
      0 likes
      Last Post jeronymite  
      Started by cre8able, Today, 04:22 PM
      0 responses
      8 views
      0 likes
      Last Post cre8able  
      Started by RichStudent, Today, 04:21 PM
      0 responses
      5 views
      0 likes
      Last Post RichStudent  
      Working...
      X