Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies and an Indicator's Calculate on Bar Close

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

    Strategies and an Indicator's Calculate on Bar Close

    I think what I am about to ask is obvious, but just in case my obvious is not the same as NT's obvious I will ask anyway.

    If an indicator has the Calculate on bar close property set to True, then if checking for the indicators value in a strategy means I would be looking at 1 bar back (i.e,. not the bar index of of 0). Correct?

    #2
    mcatmull, correct setting this to true means you work with the last closed bar, not the currently developing / open one.

    Bar index 0 can actually have different meanings then depending on this setting.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Okay, so it is not so obvious then...

      So just to be clear, if the strategy initially had the property "Calculate on bar close" set to true, is the bar index 0 for the bar that is "closed" or the one that is currently being built?
      Last edited by mcatmull; 10-09-2014, 12:18 PM.

      Comment


        #4
        Hello mcatmull,

        The bar index 0 would be that last closed bar, not the one being built.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Working...
        X