• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 TonyParisi, Today, 07:38 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by tgn55, 09-24-2019, 06:34 AM
      12 responses
      47 views
      0 likes
      Last Post tgn55
      by tgn55
       
      Started by jasphere, Today, 07:37 AM
      4 responses
      20 views
      0 likes
      Last Post jasphere  
      Started by w0lverine, Today, 07:06 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by aslane, Today, 07:17 AM
      3 responses
      9 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X