• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Numbering Bars in Strategy

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

    Numbering Bars in Strategy

    While working in Strategy Builder is "0" the current bar being formed and then "1" is the most recent bar that closed and "2" before it and so on?
    Thank you.

    #2
    Hello Trader17,

    Thank you for the post.

    This would depend on the Calculate property if it is set to OnBarClose or not.

    If you are using Calculate.OnbarClose 0 would refer to the most recent Closed bar and not the Building bar. If you are using Calculate.OnEachTick, 0 would be the Last price or building bars price and then 1 would be the most recent Closed bar.

    http://ninjatrader.com/support/helpG.../calculate.htm

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by saltminer, Today, 05:19 PM
    0 responses
    3 views
    0 likes
    Last Post saltminer  
    Started by martyn73, Today, 04:18 PM
    0 responses
    2 views
    0 likes
    Last Post martyn73  
    Started by aprendiz, Today, 03:42 PM
    0 responses
    2 views
    0 likes
    Last Post aprendiz  
    Started by 1001111, Today, 09:10 AM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by usero86, Today, 06:02 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X