Wedge Pattern indicator, conversion code mq4 to prorealtime

Forums ProRealTime English forum ProBuilder support Wedge Pattern indicator, conversion code mq4 to prorealtime

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

    I would like to request conversion of the MetaTrader Wedge Pattern indicator for the purposes of building a screener around this specific pattern

    wedges
    Dependency on ATR (also attached)

    Code and examples here: https://www.mql5.com/en/code/13781

    Explanation of the logic here: https://www.mql5.com/en/blogs/post/648601

    #80106

    I’ll have a look. Do you know that a screener for detecting Wedge patterns is already available here: Wedge pattern screener

    #80108

    That’s an interesting way to find Wedge patterns. As described by the author, this is the method he’s using in the code:

    Explain about the logic ,step by step:

    1. plot the high & low point , trend line
    2. the points inside 0.5 Standard deviation ignore. [fig 1]
    3. calculation of the distance between  trend line and points . then ranking these. [fig 2]
    4. at the 1st point ,calculating slope from each points. and  calculating deviation of slope angle.
    5. the slope angle outside 1.2  Standard deviation ignore.
    6. choose the most outside line from those remaining. [fig 3]
    7. if not found does calculation at 2nd points

    step1
    fig.1

    fig2
    fig.2

    step3
    fig.3

    #80153

    As I expected, the original MT4 indicator uses a lot data arrays, with also specific mql4 instruction to sort/rank automatically the values. This is definitely not doable with ProBuilder 🙁
    But I think I can do something to find and plot wedge patterns with the original idea and the use of a linear regression channel, we’ll see.. 🙂

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