Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

break high zigzag

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

    break high zigzag

    Hi,
    I am trying to accomplish the following:
    If price makes a lower high of a certain strength - and price breaks above that high - do something
    I was working on that with zigzag, I have some basics, but it does not really do what I want.
    What is the best way to do that?
    Attached Files

    #2
    Hello Keepsimple,

    Thank you for your note.

    You would want to create the logic in the strategy to find these points in the high or low values. You would then store them in a either a double variable or DataSeries for an indexed collection of the values.

    Your first condition would define the first high value then look for when you have another low high that would meet the condition and strength factor that you are looking for.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      KeepSimple
      I think the routine your trying to create has List written all over it. By relegating all the parameters about each swing create by the zigzag to a each item in the list you can access any of the swings at any point to compare Highs , Lows Number of bars what ever parameters you wish to save.

      J~

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      648 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      369 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      572 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      574 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X