Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Swing Indicator

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

    Swing Indicator

    On the "Swing" indicator, is it possible to extend the line out? I see it goes out a few bars.
    Thank you.

    #2
    Hello Trader17,

    Thanks for your post.

    There is no option within the indicator to extend the length. This could be accomplished through custom coding.

    Alternatively, you may be interested in an indicator in the downloads section that does extend the unbroken swing line to the right edge. Here is a link to the download: https://ninjatrader.com/support/foru...d=7&linkid=915
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Like that one too. So no way to leave it running to the right like a ray whether touched or not? Is it too difficult to code the indicator to draw a ray instead of a few dots to the right?
      Thanks.

      Comment


        #4
        Hello Trader17,

        Thanks for your reply.

        Correct, as previously advised there are no options in the standard Swing indicator to extend the dots. The dots end when a new swing is formed. You are welcome to make a copy of the indicator and perform any modifications you wish. If you would like this done for you, we can provide references to 3rd party programmers.

        The SwingRays indicator previously referenced uses the swing indicator and draws the rays instead of the dots and the rays extend to the right which is what you mentioned you were looking for. You can select to show both broken and unbroken lines if you wish. You are also welcome to make a copy of this indicator and modify to your needs. If you would like this done for you, we can provide references to 3rd party programmers.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          I like the indicator you referenced but would like for the old lines to stay on the chart, not end when touched.
          Thanks.

          Comment


            #6
            Hello Trader17,

            Thanks for your reply.

            Then you would simply check the option to "Keep broken lines".
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              When I checked the box the broken lines end when touched by price at some point. Can that be modified to plot as an extended ray instead of a line?
              Thanks.

              Comment


                #8
                Hello Trader17,

                Thanks for your reply and clarification.

                You are also welcome to make a copy of this indicator and modify to your needs. If you would like this done for you, we can provide references to 3rd party programmers.
                Paul H.NinjaTrader Customer Service

                Comment


                  #9
                  Hi NinjaTrader_PaulH Thank you for posting this indicator. I've used it to good success. I noticed that the minimum number of bars it calculates a swing off is two bars. Is it possible to reduce this down to one bar? Entering 1 currently doesn't work. Thanks.

                  Comment


                    #10
                    Hello oldporkchops,

                    Thanks for your post.

                    The NT8 version is a courtesy conversion of the NT7 swingrays posted in the forum.

                    The original logic was not modified. It may be possible but we do not provide modification services.

                    You are welcome to make a copy and modify as you wish.
                    Paul H.NinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by oldporkchops View Post
                      Hi NinjaTrader_PaulH Thank you for posting this indicator. I've used it to good success. I noticed that the minimum number of bars it calculates a swing off is two bars. Is it possible to reduce this down to one bar? Entering 1 currently doesn't work. Thanks.
                      Simply open the SwingRay2 indicator in editor and change the range from 2 to 1 for Strength under properties (I think is line 200).

                      Change: [Range(2, int.MaxValue)]
                      To : [Range(1, int.MaxValue)]

                      Cheers!

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Mizzouman1, Today, 07:35 AM
                      4 responses
                      18 views
                      0 likes
                      Last Post Mizzouman1  
                      Started by philmg, Today, 01:17 PM
                      1 response
                      4 views
                      0 likes
                      Last Post NinjaTrader_ChristopherJ  
                      Started by cre8able, Today, 01:01 PM
                      1 response
                      6 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by manitshah915, Today, 12:59 PM
                      1 response
                      3 views
                      0 likes
                      Last Post NinjaTrader_Erick  
                      Started by ursavent, Today, 12:54 PM
                      1 response
                      4 views
                      0 likes
                      Last Post NinjaTrader_Jesse  
                      Working...
                      X