Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

If I wanted to find the lowest bar in a series of bars

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

    If I wanted to find the lowest bar in a series of bars

    and I would like to exclude the current bar from that series, how would i do that?

    #2
    Originally posted by kaywai View Post
    and I would like to exclude the current bar from that series, how would i do that?
    Query the "Swing" indicator with a swing strength of 1.

    ref: http://www.ninjatrader.com/support/h...html?swing.htm

    Comment


      #3
      Hi Koganam,

      The swing indicator would only work under certain conditions, no?

      If my series of bars are comparing close vs close[bars ago] and i am using those counts to ascertain the lowest low of that series, but wanting to exclude the current bar, would the swing indicator work?


      Regards

      Kay Wai

      Comment


        #4
        Originally posted by kaywai View Post
        Hi Koganam,

        The swing indicator would only work under certain conditions, no?

        If my series of bars are comparing close vs close[bars ago] and i am using those counts to ascertain the lowest low of that series, but wanting to exclude the current bar, would the swing indicator work?
        Your question leaves me a bit lost. I cannot see what a close to close comparison has to do with the lowest low.

        The lowest low is an absolute, so yes, the swing low point, determined from the Swing indicator, indexed to start at the bar before the current bar, will give you the lowest point in the lookback period, as by indexing to the prior bar, the current bar is automatically excluded.

        Comment


          #5
          Hi Koganam,

          Sorry for the confusion.

          As I am using a quasi-****** indicator which compares Close vs Close[barsago] and using those counts to determine the lowest low in the entire setup. By setting a flag to indicate the end of the setup, and checking for the lowest low based on the setup counts, there have been occassions where the lowest low is the CurrentBar. This is why I asked how could I determine the lowest low of a series of bars which excludes the CurrentBar.

          Anyhoo, I have resolved the issue using a series of CurrentBar variables. Thanks for helping though. Appreciate it.

          Kay Wai

          Comment


            #6
            Do you have the Perl Book on the ****** indicators?

            You will find that you are imposing an additional constraint on TDST that is not really there. There is no requirement anywhere that the current bar must not have the lowest low of the setup.

            Comment


              #7
              You are correct on that Koganam. I'm doing so to decide which trades to enter and which trades to ignore and it's not really related to the TDST line....My rules and counts are not conventional, which is why the code is different.

              As TD says on occassion, it's not only about the 9s....

              Comment


                #8
                Originally posted by kaywai View Post
                You are correct on that Koganam. I'm doing so to decide which trades to enter and which trades to ignore and it's not really related to the TDST line....My rules and counts are not conventional, which is why the code is different.

                As TD says on occassion, it's not only about the 9s....
                Ah. My rules are different too, BTW. i.e., I do not trade the TDSeq the way it is described in the book either. LOL

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                582 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                338 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                103 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                554 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                552 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X