Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Higher Low, Lower Highs and Breaks of Swing Highs and Lows of an Indicator

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

    Higher Low, Lower Highs and Breaks of Swing Highs and Lows of an Indicator

    Using Strategy Builder, is there a way where we can setup a condition when an indicator puts in a higher low or a lower high... or perhaps when the indicator's current value breaks the recent swing high or low of that indicator?

    I attached an image of a chart to demonstrate it.
    The horizontal line shows where the area of a recent near-term swing high or low was broken on the indicator... and the arrows kind of point the low and then the higher low as well as the high and the lower high on the indicator (not talking about price but talking about the actual indicator's plots/line).

    Also, how would I do this on price data too?
    Attached Files

    #2
    Hello TicksBandit,

    Thanks for your post.

    You can use the Swing indicator that comes with NinjaTrader to obtain the swing high or swing low values in the strategy builder. You should spend some time familiarizing yourself with the indicator and how it works by observing its real-time performance.

    I've created a short video of how you can apply the swing indicator on the chart to price or another indicator and similarly how to set that up in the strategy builder.

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Higher Swing Low

      Thanks... I got it to work. Is there any way to test for example... that the current swing low (with a strength of 2) is higher than the previous swing low (with a strength of 2)?

      This would show that the indicator is possibly showing a weakness in the downtrend.

      I have attached an image to show an example of what I'm talking about.
      Attached Files

      Comment


        #4
        Hello TicksBandit,

        Thanks for your reply.

        In one set you could compare the current bar [0] value of the swing high to the previous bar [1] and if not equal (meaning it just changed) you can then save the previous bar value [1] to a user-defined variable. By doing this in a separate set you'll catch the change as it happens which may be at a different point (time) than your entry conditions

        In your set of entry conditions you can then add the check to see if the current bar[0] swing high is greater than the previous swing high.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        27 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        32 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 04-23-2024, 09:53 PM
        2 responses
        49 views
        0 likes
        Last Post wzgy0920  
        Started by Kensonprib, 04-28-2021, 10:11 AM
        5 responses
        193 views
        0 likes
        Last Post Hasadafa  
        Started by GussJ, 03-04-2020, 03:11 PM
        11 responses
        3,235 views
        0 likes
        Last Post xiinteractive  
        Working...
        X