• 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 Lisa Marshall, 01-25-2020, 04:17 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by HiddenPhilosopher, Yesterday, 11:24 PM
    0 responses
    2 views
    0 likes
    Last Post HiddenPhilosopher  
    Started by akuntysh, 01-25-2020, 08:42 AM
    2 responses
    12 views
    0 likes
    Last Post akuntysh  
    Started by nailz420, Yesterday, 09:15 PM
    0 responses
    1 view
    0 likes
    Last Post nailz420  
    Started by ATMtrader0001, Yesterday, 01:27 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X