Pattern recognition using swing segments.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #194532 quote
    blackwing
    Participant
    New

    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.

    Conversion TradingView to ProRealtime – Higher Highs and Lower Lows

    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.

    #194533 quote
    Nicolas
    Keymaster
    Master

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

    https://www.prorealcode.com/topic/zigzag-loi-de-dow/#post-193423

    #194534 quote
    blackwing
    Participant
    New

    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)
  • You must be logged in to reply to this topic.

Pattern recognition using swing segments.


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
blackwing @blackwing1 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by blackwing
3 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/03/2022
Status: Active
Attachments: No files
Logo Logo
Loading...