Higher High and Lower Low tracking

Forums ProRealTime English forum ProBuilder support Higher High and Lower Low tracking

Viewing 15 posts - 16 through 30 (of 34 total)
  • #171098

    That’s what I expected, a detailed explanation of how those tags are born and their progression.

    Pics are not important, as they change and form different patterns each time. Only text can set the rules (pics may help, though).

    That’s a good start, despite it’s seems not to be the same rules that have formed the pics. The rules you posted DO NOT produce the patterns in your pics, there’s more rules that are missing, I guess.

    As you can see at some points there are NO MORE higher highs and NO MORE lower lows, so those tags are likely to sit there for a long time (pic X).

    Moreover, they do not appear to behave the way your pics do, they are much similar to a ladder (pic Y).

    I am waiting for additional rules to make the code adhere to your pics.

    1 user thanked author for this post.
    #171162

    Thank you Roberto,

    I understand and it is quite difficult to elicit the requirements in words. Leave this with me for a while and I will try to figure out all the if statements and nested if statements to try and achieve what I am trying to do. I am away for a few days but will respond as soon as I have some additions. Thanks again for your time and help on this, I am starting to see how powerful this platform can be and really appreciate it.

    Have a great weekend.

    1 user thanked author for this post.
    #171277

    Hi Roberto,

    I hope you had a good weeeknd, I will try and explain further the logic.

    Only when there is a new L1 after the previous H1, the new H1 is recorded and the previous H1 becomes H2 (see pic 1 – slide 8)

    Only when there is a new H1 after the previous L1, the new L1 is recorded and the previous L1 becomes L2 (see pic 2 – slide 11)

    The pictures attached are based on the close price of each period and as can be seen in pic 2 – slide 11 L1 is at a higher price than L2, this is ok and it is fine to have a higher low just as fine to have a lower high for H1.

    I hope that this clarifies the remaining logic, please let me know any questions remaining?

    Thanks again for your time on this.

     

     

    #171323

    As you can see from the attached pic, it now plots a new Hn tag after there’s been a Ln occurrence and viceversa.

    The result is that after L1 there is a new lower low, but it isn’t plotted because there hasn’t been any new high in between.

    The same occurs with H1, as the nexr new high is not recorded as  there was no new low in between.

     

    #171343

    I wrote this version based on the indicator https://www.prorealcode.com/prorealtime-indicators/pivot-support-resistance-zones/:

    the first one plots LL and HH tags alternatevely:

    the second one is the same, as above, but it plots tags as they occur:

    #171359

    Hi Roberto,

    I think I may have identified where I have not been clear. I have copied your response form above and will highlight where I think the confusion has come from.

    Your message;As you can see from the attached pic, it now plots a new Hn tag after there’s been a Ln occurrence and viceversa.
    The result is that after L1 there is a new lower low, but it isn’t plotted because there hasn’t been any new high in between.

    My comment – There has been new high (close at a higher price than the lower low), there has not been a new highest high and we do not need to evaluate on highest high. If you can evaluate that in the code then this will be working as expected.

    The same occurs with H1, as the next new high is not recorded as  there was no new low in between. – as above comment – we dont need to evaluate against new lowest low, we need to evaluate at any close less than h1 has happened.

    I hope that makes sense, it is really difficult to explain these things sometimes but I think we are there now.

    Thanks agan for taking time to help on this.

    #171360

    I have used your example chart to illustrate what I mean by marking up a few examples of the highs and lows and explain a bit more here;

    on each close we are evaluating for a higher close (not the highest close).

    if the close is a higher close then that has the H1 label

    same for each close evaluation so it is quite possible to have several bars where the H1 just goes on each new bar which close is > prev close. Once the close is lower than previous close then it has the L1 label and if the next close < prev close then L1 and so on.

    In your examples you mention Pivot points, is this where the market changes direction from mini down trend to mini uptrend?

    Thanks, I hope this makes things clearer.

     

    #171374

    Sorry, but the Highs you marked in blue are NOT higher than H2 and H1 on the left side of the chart. The one higher than H2 (and showing a new Low in between) is H3 on the right.

    What I am asking you is not pics, because CODE cannot deal with pics., it has to follow plain text rules. That’s the only thing I need, the rules that I can turn into code.

     

     

    #171507

    Hi Roberto, I will try to explain only with words as requested.

    A high does not have to be higher than the last highest high.

    You can have a higher high and you can also have a lower high.

    A low does not need to be lower than the lowest low

    You can have a higher low and a lower low

    I am trying to identify and label every high and low that fits the 4 criteria below;

    Where a close is higher than the previous close and higher than the previous high it is a higher high

    Where a close is higher than the previous close and lower than the previous high it is a lower high

    Where a close is lower than the previous close and lower than the previous low it is a lower low

    Where a close is lower than the previous close and higher than the previous low it is a higher low

    I hope that clarifies the requirement.

    Many thanks

     

    #171550

    There you go (you may want to test it on a 5 or 10-second TF to see how it changes quickly):

    1 user thanked author for this post.
    #171594

    Thanks Roberto, I think it looks like it is calculating the right levels now but I don’t see the values on the respective bars any longer (1 minute chart), they all seem to be at the far right of the screen as shown in the attachment. Is this a config setting on my system possibly?

     

    #171647

    I’ll have a look at it next early week.

     

    #171834

    This is going to plot a little better, but it seems not possible to plot perfectly:

    1 user thanked author for this post.
    #171854

    I have a picture that shows  LL1 thereafter LH4, HL4 …. LH1, HL1(see attachement)

    What’s next? because LL1 and HH1 is to far away.

    #171856

    Rules are in comment lines 4-8, as requested by lazybaby.

    The rules are that CLOSE be used, not High/Low.

    HH is when a High is higher than the last one, so when there is an absolute high, until it’s broken there will be no higher highs for a long time. This could be avoided by resetting everything every, say, 200 bars.

    The reverse is true for LL’s.

    LH is when there are new highs that are lower than the last HH.

    The reverse is true for HL’s.

     

Viewing 15 posts - 16 through 30 (of 34 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login