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 junkone, Yesterday, 07:17 AM
      4 responses
      39 views
      0 likes
      Last Post junkone
      by junkone
       
      Started by Atomic, Yesterday, 11:14 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by cre8able, 04-17-2024, 04:16 PM
      3 responses
      33 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by irinakhoi, Yesterday, 09:15 AM
      2 responses
      20 views
      0 likes
      Last Post irinakhoi  
      Started by Irukandji, Today, 04:33 AM
      1 response
      9 views
      0 likes
      Last Post Irukandji  
      Working...
      X