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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        169 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        324 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        250 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        353 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        180 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X