• 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

Version 7.0 soursecode error (to NT developers)

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

    Version 7.0 soursecode error (to NT developers)

    If you add to code List<T>,
    then add OnBarUpdate value High[0](or Low) - it's normal...
    but if you add List.Add(Low[0]) again, The value of
    CurrentBar will CHANGE!!! (CurrentBar = Bars.Count/2),
    if you add one again CurrentBar will be Bars.Count/3.



    #2
    Hello Quant_Vadim,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    I have not run into this when using array lists, can you provide some code to reproduce this behavior?
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sgordet, Today, 10:31 PM
    0 responses
    1 view
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Ilpropio, Today, 09:45 PM
    0 responses
    2 views
    0 likes
    Last Post Ilpropio  
    Started by Revan, Today, 05:44 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by superg3, Today, 07:57 PM
    0 responses
    4 views
    0 likes
    Last Post superg3
    by superg3
     
    Started by Longhornmark, Today, 07:06 AM
    5 responses
    35 views
    0 likes
    Last Post nkhoi
    by nkhoi
     
    Working...
    X