Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

There is mistake in help guide!

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

    There is mistake in help guide!

    Look at this page https://ninjatrader.com/support/help..._practices.htm
    Open the section Performance practices and look at this header Restricting OnRender() calculations to visible ChartBars

    The loop "for" is endless in this case because the condition "ChartBars.FromIndex <= ChartBars.ToIndex" is always true! To make it working, It needs change It like this

    before:
    for (int barIndex = ChartBars.FromIndex; ChartBars.FromIndex <= ChartBars.ToIndex; barIndex++)

    after:
    for (int barIndex = ChartBars.FromIndex; barIndex <= ChartBars.ToIndex; barIndex++)
    Handlar
    NinjaTrader Ecosystem Vendor - Handlar

    #2
    Hello handlar,

    Thank you for your post.

    I will forward this to our Product Management team.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sofortune, Today, 10:28 AM
    4 responses
    9 views
    0 likes
    Last Post sofortune  
    Started by Haiasi, 04-25-2024, 06:53 PM
    6 responses
    82 views
    0 likes
    Last Post joselube001  
    Started by gaz0001, Today, 10:09 AM
    1 response
    7 views
    0 likes
    Last Post Red_70
    by Red_70
     
    Started by DawnTreader, 05-08-2024, 05:58 PM
    11 responses
    41 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by tkaboris, Today, 06:27 AM
    4 responses
    13 views
    0 likes
    Last Post tkaboris  
    Working...
    X