Support/Resistance for all timeframes

Forums ProRealTime English forum ProBuilder support Support/Resistance for all timeframes

Viewing 14 posts - 1 through 14 (of 14 total)
  • #86430

    Hello Nicolas and others,
    Is it possible to make an indicator that does the following on all timeframes.
    At a price bar preceded by 4 higher lows and followed by 2 higher lows, then display a green support line. It starts at the lowest low and stops until the line is later crossed or when a new support is formed later.

    The same for a red resistance line at a price bar with 4 lower Highs before and followed by 2 lower Highs.

    The 4 or 2 lower/higher bars do not have to have an order, the only criterion is lower / higher

    I hope you can help me, it turned out to be an excellent help in my previous software.

    #86442

    The lower highs or higher lows don’t have to be consecutive? If I understand well how they are plotted on your example.

    #86460

    Yes, Nicolas, that’s right. They don’t have to be consecutive lower or higher. Only higher or lower.

    #86502

    There you go:

    Pic X1 shows the outcome.

    If you prefer pic X2 just uncomment line 2.

     

    2 users thanked author for this post.
    #86510

    Thank you very much, Mr. Roberto Gozzi !!!
    This looks great!
    Very helpful for me, and maybe for others too.

    #97520

    Hi, would it be possible to extend the drawing of  support/resistance lines not just  until the next pivot but for a fixed length , like 100 bars  or so ?

    thanks

    #97528

    Uncommenting line 2 does a similar job easily, can this do?

    #97533

    Uncommenting line 2 does a similar job easily, can this do?

    Well , not exactly…if uncommenting line 2 it will just draw the latest S/R.  I mean I would like it to extend ALL the S/R lines for X bars .  Why you may ask? I work on the 15 min TF and I found that the S/R are usually valid for 1 or 2  days, that its like 100/200 bars in a 15m TF.  (pls check pic of the DAX today with hand drawn S/R)

    #97537

    Added the code to here Snippet Link Library

    1 user thanked author for this post.
    #97540

    PRT does not support arrays so it’s difficult to draw many lines in the past.

    I modified the above code to show, in addition to the most recent S & R lines, the previous ones too.

    You can add more if you need, with some coding effort.

     

     

    3 users thanked author for this post.
    #97546

    Ok, I get your idea, thanks Roberto!

    #146833

    Hallo,

    wenn ich diesen Code als meinen SL verwenden möchte, wo genau füge ich diese Bedingungen in meinen Code ein?

    Hi, if I want to use this code as my SL, where exactly do I put these conditions in my code?

    #146842

    Only post in the language of the forumthat you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.

    Thank you 🙂

    #146843

    As a common rule, I’d say:

    • If you go LONG below SupportPrice
    • If you go SHORT above ResistancePrice.

    How many pips is just a matter of personal choices and and risk aversion attitude.

     

Viewing 14 posts - 1 through 14 (of 14 total)

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