• 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

for loop barIndex of a for loop

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

    #16
    Hello francduc,

    Thank you for your reply.

    You can't link the index to a specific bar within OnRender. You wouldn't be able to refer to a data series like closePrice[i] and expect that it has any relation to a specific bar. You'd need to make that assignment in OnBarUpdate.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by asmmbillah, Today, 09:08 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Selina D, Today, 08:59 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by daqu40, Today, 09:03 AM
    0 responses
    4 views
    0 likes
    Last Post daqu40
    by daqu40
     
    Started by forrestang, Today, 07:46 AM
    0 responses
    13 views
    0 likes
    Last Post forrestang  
    Started by rainbow47, Today, 06:10 AM
    6 responses
    23 views
    0 likes
    Last Post rainbow47  
    Working...
    X