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 jeronymite, 04-12-2024, 04:26 PM
        3 responses
        44 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        179 views
        0 likes
        Last Post jeronymite  
        Started by ghoul, Today, 06:02 PM
        0 responses
        10 views
        0 likes
        Last Post ghoul
        by ghoul
         
        Started by DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Working...
        X