• 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

How to ID the bumps?

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

    How to ID the bumps?

    Hi,

    I'm looking for some advice on how to best accomplish this. Using the attached screenshot I simply want to be able to identify the existence of the "bump" between the points labeled A and B (where the red dot is). Comparing that to points C and D, where there is no "bump" but rather a straight upwards/downwards line between the points.

    Basically I want to be able to determine if the line between the two points is "straight" or has been interrupted by a bump formation...I've played around with MRO and MAX/MIN but am having some difficulty...thanks in advance.
    Attached Files

    #2
    You may want to look into Rising() and Falling(). If it is falling the whole way between pt A and pt B then there is no bump.
    JoshNinjaTrader Customer Service

    Comment


      #3
      OK, thanks. So I guess I'd have to get the # of bars between the points and then run some sort of routine to check the rising/falling for each of those points then...

      Comment


        #4
        A loop should work nicely for you.
        JoshNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by seagraph, Today, 03:27 PM
        0 responses
        11 views
        0 likes
        Last Post seagraph  
        Started by dedouglas, Today, 02:54 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by elkhatabi, 08-01-2019, 06:36 PM
        5 responses
        53 views
        0 likes
        Last Post NinjaTrader_RyanL  
        Started by mr_trade, Today, 01:01 PM
        4 responses
        19 views
        0 likes
        Last Post mr_trade  
        Started by Renorail, Today, 12:31 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X