Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ZigZag bug, wrong results!

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

    ZigZag bug, wrong results!

    Hello,

    As I see from the release notes the ZigZag has been modified recently.

    Unfortunately it still does not work correctly:

    Take the following example:
    FDAX, 14jan2010 time 14:30

    using a ZigZag(FDAX 03-10(1 Min),Percent,0.1,False):
    on the attached picture you can see that a ZigZagLow has been drawn @14.30. This is currently bar number 1.

    Hence a call to the function
    i=ZigZag(Percent,0.1,false).LowBar(0,1,2);
    should return a value of 1 indicating a Low at bar 1.

    But the return is -1.

    How come?
    This is obviously a bug. Please investigate

    Attached a tesstrategy and the zigzag picture
    You can run a marketreplay , run the teststrategy, it should print the ZigZagLows to the Output window, but LowBar(...) does return only -1 until about 2 bars later.
    Attached Files
    Last edited by zweistein; 01-15-2010, 05:54 AM.

    #2
    Thanks, we will look into this.
    RayNinjaTrader Customer Service

    Comment


      #3
      pls refer to the pics.

      when scrolled back the ZZ exhibit one ZZ low. but when reinitialized it %$#% up.

      no such issues in NT6.5
      Attached Files

      Comment


        #4
        Thanks for the write up bukkan. We will get back to you at a later point in time.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        344 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        557 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X