• 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

Self-Adjusting Oscillator Levels - Ideas and Help Wanted

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

    Self-Adjusting Oscillator Levels - Ideas and Help Wanted

    I want to draw a horizontal line at the local high and low respectively on an oscillator. In other words, I want to mark the highest and lowest points of an oscillator over a given look-back period using horizontal lines. The goal is to create self-adjusting oscillator levels.

    To this end, I've set Swing High/Low to draw horizontal lines using the oscillator as input in the same panel. This is partially effective, the Swing high/low lines disappear and are redrawn during the regular operation of the Swing indicator. To remedy this, I put EMAs set to draw a horizontal line on the Swing High and Low respectively. The result is less than perfect - the line doesn't track well, it's performance is highly dependent on the length of the EMA, otherwise erratic, etc.

    Does anyone know of a solution?

    Thank you,

    Ninjatrader Crew

    #2
    Hello Tagliareni,

    Thanks for your post.

    Can you clarify this, "the Swing high/low lines disappear and are redrawn during the regular operation of the Swing indicator."? The Ninjatrader swing indicator by default draws dots and these do not disappear so I am confused on your statement.

    Can you provide a screenshot of a chart(s) that shows an example of what you are trying to accomplish or what the swing indicator is doing for you currently?
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      I set the draw function of the Swing high-low to draw horizontal lines, not dots. Regardless of dots or horizontal lines, during the regular operation of the Swing indicator the lines/dots disappear and are redrawn. For example, when price breaks a local high or low, that line or series of dots disappears and is then redrawn after price pivots and forms a new high or low. To correct that quirk of the swing indicator, I put an EMA set to draw a horizontal line on the swing high and low respectively. This solution however does not accurately track the local highs and lows of the oscillator.
      Basically I'm looking for another way to mark the highs and lows on an oscillator. Is the swing indicator the only option? I'm sure there's something I'm not thinking of that would do the trick.

      Thanks!

      Comment


        #4
        Hello Tagliareni,

        Thanks for your reply.

        The NinjaTrader swing indicator requires a certain amount of bars after a swing point is detected before the dots are drawn and this is directly related to the strength setting. In the case of a strength setting of 5, the swing dots are not drawn until the 5th bar after the swing point is detected at which point the swing point is "confirmed" and will not be redrawn or removed. I've attached a screen shot of the swing indicator on 5 minute bars with a strength of 5. None of these were removed. This is the normal function of the swing indicator.


        Click image for larger version

Name:	SwingExample.PNG
Views:	37
Size:	36.5 KB
ID:	1102761

        The swing indicator will provide the high and low swing points, based on the strength setting used.

        The issue you are facing is that a High or Low point cannot be known until subsequent values are less than the High or more than the low.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Tomass, Yesterday, 11:52 PM
        0 responses
        3 views
        0 likes
        Last Post Tomass
        by Tomass
         
        Started by J_o_s, Yesterday, 11:31 PM
        0 responses
        7 views
        0 likes
        Last Post J_o_s
        by J_o_s
         
        Started by kirkvan, Yesterday, 09:03 PM
        0 responses
        8 views
        0 likes
        Last Post kirkvan
        by kirkvan
         
        Started by hedgeplay, Yesterday, 08:35 PM
        0 responses
        5 views
        0 likes
        Last Post hedgeplay  
        Started by jaboo, Yesterday, 06:38 PM
        0 responses
        12 views
        0 likes
        Last Post jaboo
        by jaboo
         
        Working...
        X