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 funk10101, Today, 11:35 AM
    0 responses
    0 views
    0 likes
    Last Post funk10101  
    Started by samish18, Today, 11:26 AM
    0 responses
    1 view
    0 likes
    Last Post samish18  
    Started by Trader146, 03-29-2024, 01:22 PM
    2 responses
    14 views
    0 likes
    Last Post Trader146  
    Started by tsantospinto, 04-12-2024, 07:04 PM
    7 responses
    127 views
    0 likes
    Last Post aligator  
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Working...
    X