• 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

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.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by zulok, Today, 05:02 PM
    0 responses
    1 view
    0 likes
    Last Post zulok
    by zulok
     
    Started by Andreas M., Today, 04:42 PM
    0 responses
    2 views
    0 likes
    Last Post Andreas M.  
    Started by sidlercom80, Today, 12:29 PM
    2 responses
    23 views
    0 likes
    Last Post fx.practic  
    Started by itrader46, Today, 02:49 PM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by m94306, Today, 03:01 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Heath  
    Working...
    X