ABCD pattern using arrays – help needed please

Forums ProRealTime English forum ProBuilder support ABCD pattern using arrays – help needed please

Viewing 4 posts - 1 through 4 (of 4 total)
  • #191229

    Hi there,

    I’ve been trying to find an open source ABCD pattern indicator on here for some time. I know Roberto has done an excellent job with the following indicator:

    https://www.prorealcode.com/prorealtime-indicators/abcd-pattern-indicator

    but I thought there must be a neater way of doing it utilising the new array functionality. Plus if you look at the first 35 mins price action today on the DAX after the market open at 8.00am (BST), whatever you set the parameter LMinBars to, it doesn’t seem to capture the ‘major’ 100% ABCD between 0812 and 0828 (in blue). It is valid as the retracement is just over 38.2% as per the text on the chart. I know Roberto’s indicator isn’t designed to capture ABCD extensions, but it would be great if an ABCD indicator could also capture the 127.2% extension in red. The attached picture shows those ABCDs marked on the chart plus Roberto’s outstanding indicator with LMinBars set to 2. I have coloured it orange to make it more visible.

    y97843978

    So I had a go myself, using Nicolas’s array-based double top/bottom code as a template (https://www.prorealcode.com/topic/array-variables-availability-in-prorealtime/page/2/#post-120721), but struggled – kept getting infinite loop errors.

    This is my attempt for what it’s worth:

    The only version that gets close to resembling what I’m looking for is this:

    but then take a look at this….

    y7079008943

    Oops…

    I suspect one has to use zig zags as opposed to pivots in arrays – at least that’s what harmonic indicators on other platforms seem to use. Anyway, I’m at the limit of my coding ability here, but I’ve tried not to cause annoyance by simply coming on here and asking straight up if someone can just do it for me…

    I know there is a harmonic collection available on the Marketplace courtesy of Ale, but I’m not ready to spend EUR200+ without a trial first. Plus I’m only really looking for ABCDs – I can dispense with the other patterns for now. Surely ABCDs can be made available open source…?

    Thanks in advance for your help,

    JM

     

     

     

    #191294

    Arrays make it easier to store multiple  patterns to be plotted, but they do not provide any help in coding the pattern.

    When I wrote it, it took me so long that I swore to myself that I wouldn’t approach harmonic patterns any more!

     

    1 user thanked author for this post.
    #191309

    OK thanks, Roberto. I wonder how Alessandro from Automatic Trading has done it…

    https://market.prorealcode.com/product/eurhythmic-patterns-v11/

    #191314

    Apart from fancier graphics, anyone who wants to code harmonic patterns has to detect all involved points doing all required calculations, then plot it when the pattern is complete.
    Instructions are the same for everybody, what’s different is the use anyone can do of them, but here’s not much to be done differently.
    Coding harmonic patterns is not an easy task.

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

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