Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

zigzag redraw

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

    zigzag redraw

    Hi,

    Does anyone know if the zigzag indicator redraws (re adjusts) its points?

    i'm developing a strategy that uses the zigzag and i've had some unexpected results.

    i started logging the zigzag highs and lows and i can see when my strategy runs that a high was logged but it doesn't show on the chart when i put the indicator on.

    so i tried to replicate this with the sim datafeed but i can't get it to redraw points.

    #2
    pipsalottle, yes I would generally expect indicators such as the Zigzag, Swing and Darwas to recalculate their values as new data comes available. They are tools for more visual support to isolate swings and overall market structure.

    Were you testing on CalculateOnBarClose = false here?

    Comment


      #3
      yes i'm calculating on bar close.

      basically the strategy uses the zigzag to determine higher highs and higher lows.

      i was under the impression that when the zigzag draws a swing high or swing low (calculate on barclose true) that point is set. (which is usually 3 or more bars back ).

      Ive tried testing this using the sim data feed and i can't get it to recalculate swing highs or swing lows, meaning once it draws a line it never redraws it.. even after crazy readjusting the trend setting bar. but my strategy is telling me otherwise, because at certain points i will log the previous two swing highs, and previous two swing lows.

      for example if on bar 09/25/2014 i log the previous swing high, it will be bar 09/20/2014. but then i will go look at the chart and then look at the bar for 09/25/2014, and trace back when the previous swing high was.. its another date, for example 09/15/2014.

      Comment


        #4
        Thanks, apologies - you are correct the plots would be seen once the strength # of bars is seen for the pivot to be determinable.

        Have you doublechecked all the settings used for the differences seen?

        The strategy would per default have a BarsRequired of 20, only then OnBarUpdate() would be called - perhaps that's changing your initial starting point calcs and thus you get a slightly different outcome comparing?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        548 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        549 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X