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 kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        33 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        29 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        36 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        33 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        141 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X