• 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 liltr3d, Yesterday, 10:52 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by marekflys, Yesterday, 03:07 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by w0lverine, Today, 03:57 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by hundert, 02-24-2019, 07:55 AM
    2 responses
    43 views
    0 likes
    Last Post jpraema
    by jpraema
     
    Started by digibob, Today, 02:47 AM
    0 responses
    3 views
    0 likes
    Last Post digibob
    by digibob
     
    Working...
    X