Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to use Swing(High/Low) indicator

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

    How to use Swing(High/Low) indicator

    How does one use the Swing High/Low indicator in a strategy? It's not really "bar-based" as an indicator, since it signals pivots that vary in the number of bars between value changes.

    So if I wanted to say "If the current bar has a Swing High value change and it's lower than the last Swing High value, then open a short position".. how do you do that in the Strategy Wizard?
    cassb
    NinjaTrader Ecosystem Vendor - Logical Forex

    #2
    Unfortunately you cannot do this in the Strategy Wizard, but in NT6.5 we have exposed properties that you can access programmatically to acquire the desired values.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by Josh View Post
      Unfortunately you cannot do this in the Strategy Wizard, but in NT6.5 we have exposed properties that you can access programmatically to acquire the desired values.
      OK, that's fine -- I can unlock the code. So do you have an example of how to do this? If not, where can I find the list of properties I can use to get these values?

      Thanks!
      Bryan
      cassb
      NinjaTrader Ecosystem Vendor - Logical Forex

      Comment


        #4
        Go to the file sharing section and download the Automatic Trend Line detection indicator to get an idea of how Swing() indicator is used.
        RayNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Ray View Post
          Go to the file sharing section and download the Automatic Trend Line detection indicator to get an idea of how Swing() indicator is used.
          OK got it. So, this just draws an extended line in the direction of the current trend, as defined by the last few swing pivots? How many bars does it take to establish a swing point -- as in, is the Swing an indicator that lags by <strength> bars? I of course want to know immediately when a swing point occurs (within 1 bar) so that I can open a position.

          Is that article from Sept '07 online somewhere?

          Thanks Ray!
          Last edited by cassb; 03-05-2008, 10:39 PM.
          cassb
          NinjaTrader Ecosystem Vendor - Logical Forex

          Comment


            #6
            If you review the code of the Swing indicator you can fully understand its inner workings. Briefly speaking, the Swing indicator "lags" behind the chart that is why it looks so good.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by rhyminkevin, Today, 04:58 PM
            1 response
            38 views
            0 likes
            Last Post Anfedport  
            Started by iceman2018, Today, 05:07 PM
            0 responses
            5 views
            0 likes
            Last Post iceman2018  
            Started by lightsun47, Today, 03:51 PM
            0 responses
            7 views
            0 likes
            Last Post lightsun47  
            Started by 00nevest, Today, 02:27 PM
            1 response
            14 views
            0 likes
            Last Post 00nevest  
            Started by futtrader, 04-21-2024, 01:50 AM
            4 responses
            49 views
            0 likes
            Last Post futtrader  
            Working...
            X