Pattern recognition using swing segments.

Forums ProRealTime English forum ProOrder support Pattern recognition using swing segments.

Viewing 3 posts - 1 through 3 (of 3 total)
  • #194532

    Hello everyone.

    I am just getting started with PRT. So please excuse the long question. I have completed both sets of online tutorials but I come unstuck very quickly. Could someone point me in the direction of where I could find the solution to this.

    I am looking to use Higher Highs and Lower Lows but also Lower Highs and Higher Lows, without the use of zigzag or percentages. I then want to draw segments between them to create a swing chart.  This seems to be the nearest, but without the LH and HL and the segments.

    I then want to be able to identify the high and low points from the recent past and use them to recognise simple patterns and use them for trade entry and exits, for example a head and shoulders pattern. The exact patterns should be easy to construct later using the referred points. Something along the lines of the following, but I will change these in the code for various setups.

    point1 >point 2

    point3 > point 2

    point 4 < point 3

    point 5 > point 3

    I would then also like to have a stop system that was linked to these same swing points.

    My apologies if this is too general a question, but I seem to be stuck.

    Many thanks in advance.



    Recent code of HH HL LL LH without use of zigzag:



    Thank you Nicolas,

    That was fast!

    Please excuse my misunderstandings.

    The donchian element of this code seems to be an added complication. I would prefer to have zero variables apart from  price. Is there a way of doing it based purely on recent price action?

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

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