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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X