using HULL ma in a code for an indicator

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #100216 quote
    robertogozzi
    Moderator
    Master

    There’s no difference in v10.3 because 7 and 8, as from documentation, are not supported, while ProBuilder returns an error message.

    v11 will support the HULL and other averages, but only when using their correct name, not AVERAGE, at least at present.

    reb thanked this post
    #100229 quote
    GraHal
    Participant
    Master

    no difference with a “normal ” average

    Yeah well I remembered after, I got the Simple Average also … I then added the 8 to give the Hull Average.

    #100234 quote
    GraHal
    Participant
    Master

    I raised a Topic on this anomaly a few weeks ago … follow the link below.

    Simplified Creation does not create the correct code for … No 7 Zero Lag Exponential and No 8 – Hull

    Suzu Yuk thanked this post
    #100298 quote
    robertogozzi
    Moderator
    Master

    With some rounding modifications this code works perfectly, exactly the same as the native HULL average on v11:

    //         HullMA, the Hull Moving Average (same as v11):
    //
    Period = 14
    p1     = round(sqrt(Period) - 0.5)
    p2     = round((Period/2) - 0.5)
    inner  = (2*weightedaverage[p2](close)) - weightedaverage[Period](close)
    S      = weightedaverage[p1](inner)
    return S
    #100302 quote
    GraHal
    Participant
    Master

    are not supported, while ProBuilder returns an error message.

    I don’t get an error message using Hull Average as Average [14, 8]  … even on Demo Forward Test (using Real data).

    #100303 quote
    robertogozzi
    Moderator
    Master

    I always got an error messager on ProBuilder.

    ProOrder should run smoothly, but I think you’ll get the same result as “0” (I did not test it, though).

    #100323 quote
    reb
    Participant
    Master

    Thanks mates for your help

    #100335 quote
    GraHal
    Participant
    Master

    Deffo not the same as the Simple MA.

    Attached lower curve is the Average [14, 8] then I duplicated the System and changed to Average [14, 0] and the top curve is the result.

    I think PRT have implemented the Hull average ahead of time into v 10.3

    Hull-vs-Simple.jpg Hull-vs-Simple.jpg
Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.

using HULL ma in a code for an indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Mert @mert Participant
Summary

This topic contains 22 replies,
has 4 voices, and was last updated by GraHal
6 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 06/08/2019
Status: Active
Attachments: 3 files
Logo Logo
Loading...