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 carnitron, Today, 08:42 PM
    0 responses
    6 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Today, 07:51 PM
    0 responses
    8 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,974 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    9 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    58 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Working...
    X