Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Swing Indicator.

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

    Swing Indicator.

    Can I plot lines from the the Swing Indicator on say a 5 minute chart but use a 30 minute or hourly chart for its calculation? Can it plot lines extended to the right and stop the lines after X number of days?
    Thanks.

    #2
    Hello Trader17,

    Thanks for your post.

    Yes, you can plot swings from a 30 minute bars onto 5 minute data. I've created an example chart where I have added a hidden 30 minute data series and then applied it to the swing indicator using the default colors. To contrast, on the next example, I have also added the swing indicator to the 5 minute bars (with light blue and orange-red dots).

    The dots will plot to the right until a new swing high or low has been determined.

    You may want to look at an indicator called swingrays2 that will plot to the right edge and can remove (or maintain) the lines when price touches them. Here is a link: https://ninjatrader.com/support/foru...d=7&linkid=915
    Attached Files

    Comment


      #3
      Thanks. How exactly do I replicate what you did with the hidden data series? Can I leave them on the chart even if touched? Maybe a brief video on how to create it would be great!!
      Thanks.

      Comment


        #4
        Can Swingray Indicator plot from a different time frame too?
        Thanks.

        Comment


          #5
          Hello Trader17,

          Thanks for your replies.

          Yes, using the techniques shown here you can apply an indicator to either of the data series on the chart. https://Paul-ninjaTrader.tinytake.co...gwN182ODQ0MzA4

          Comment


            #6
            Thank you very much. And the strength only looks for the input number on each side of the bar, correct? So a strength of 3 would mean look for 3 bars on either side with lower highs or higher lows, correct? Can it also be made to look for lower highs and lower lows AND higher highs and higher lows?
            Thanks.

            Comment


              #7
              Hello Trader17,

              Thanks for your post.

              Here is the definition from the help guide: "The Swing indicator will plot lines that represent the swing points based on the strength (number of bars to the left and right of the swing point) parameter provided, it's mostly a visual tool and not meant to be predictive in nature. Only after the strength number of bars has passed since the extreme point, the swing return value could be definitely set, thus the indicator updates it's calculations as new incoming data warrants so." Reference: https://ninjatrader.com/support/help...-us/?swing.htm

              Comment


                #8
                Thanks. Can the SwingRay plot past the bar that breaks it?
                Thanks.

                Comment


                  #9
                  Hello Trader17,

                  Thanks for your reply.

                  The only options are to show the broken lines or not, so no, it does not show broken lines beyond the bar that breaks it.

                  Comment


                    #10
                    Can you include in the code for SwingRay to extend past when broken please?
                    Thanks.

                    Comment


                      #11
                      Hello Trader17,

                      Thanks for your reply.

                      We converted many indicators from NT7 to NT8 for the convenience of all. However, please note that in the support department at NinjaTrader we do not create, debug, or modify code for our clients.

                      You are more than welcome to make a copy of the indicator and modify to your personal preferences.

                      Alternatively, if you would like this done for you, we can provide references to 3rd party providers that can program to your needs.

                      Comment


                        #12
                        Originally posted by NinjaTrader_Paul View Post
                        Hello Trader17,

                        Thanks for your replies.

                        Yes, using the techniques shown here you can apply an indicator to either of the data series on the chart. https://Paul-ninjaTrader.tinytake.co...gwN182ODQ0MzA4
                        Hi Paul,

                        Perhaps the SwingRay2 indicator can easily and more efficiently be modified for MTF with a user input for indicator time frame without the need to have a second data series chart overlaid in background (transparent). This will certainly make life easier and uses less computing resources.

                        Cheers!

                        Comment


                          #13
                          Originally posted by aligator View Post
                          Hi Paul,

                          Perhaps the SwingRay2 indicator can easily and more efficiently be modified for MTF with a user input for indicator time frame without the need to have a second data series chart overlaid in background (transparent). This will certainly make life easier and uses less computing resources.

                          Cheers!
                          Nice idea with extending the lines!!

                          Comment


                            #14
                            So in the default Swing Indicator how many bars out does it go? Can it be made an input to make it user specified?
                            Thanks.

                            Comment


                              #15
                              Hello Trader17,

                              Thanks for your post.

                              The swing indicator plots until a new swing is determined.

                              There are no means with the standard swing indicator to stop the plots duration.

                              You are welcome to make a copy of the swing indicator and modify it for your needs. If you would like this done for you, we can provide references to 3rd party coders.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              62 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              40 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              21 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              23 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              51 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X