ROAR indicator by Alan Hull

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #45932 quote
    Kelvin
    Participant
    Junior

    I am wondering if anyone has done any coding on the ROAR indicator by Alan Hull.  I know it is on some other platforms, however I do not see any mention of it on Pro Real Time.  Anyone can help in this matter please.

    #45976 quote
    Fr7
    Participant
    Master

    The following formula for the Hull ROAR Indicator (Active Investing style) is for MetaStock but it can be easily adapted for use with other charting programs that are capable of custom indicator construction.

    Hull ROAR Indicator formula (Active Investing style)

    Cutoff:=Input(“Cutoff”,0,200,20);
    If((200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C)<Cutoff,0,200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C);

    Traslate to prorealtime….please

    #46122 quote
    Kelvin
    Participant
    Junior

    Hello Nicolas

    Any chance you can help in the above matter please, or give directions on how appropriate to change. TIA

    #46462 quote
    Nicolas
    Keymaster
    Master

    I made this code translation this morning about the Hull ROAR indicator, could you confirm it is the same as other platform with comparison with the same instrument please?

    Cutoff=5
    
    a = 200*(LinearRegression[52]-LinearRegression[52][26])/Close
    
    if a<Cutoff then
    ROAR=0
    else
    ROAR=a
    endif
    
    RETURN ROAR
    #46590 quote
    Kelvin
    Participant
    Junior

    Hi Nicolas,

    Thank you for your valuable contribution. I have done some further research into the Hull ROAR indicator

    Hull ROAR Indicator formula (Active Investing style)

    200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C)

    Exploration-rate of return

    Rate of return>20

    Exploration-rate of decline

    Rate of Decline<-20

    The above has been taken directly from his publication ‘Active style investing’ the object of the indicator is to show a line of rate of return over a given period (often 12 months)

    in his publication the indicator just shows a single line.

    I hope I have explained myself in enough detail.

    TIA

    Kevin

    #46604 quote
    Nicolas
    Keymaster
    Master

    The version you gave the first time is different, it has a cutoff to generate signals. With your last example, the indicator show its full oscillation:

    a = 200*(LinearRegression[52]-LinearRegression[52][26])/Close
    
    RETURN a, 0 style(point)
    #46624 quote
    Kelvin
    Participant
    Junior

    Hi Nicolas

    Once again thank you for your valuable contribution.

    The first version was kindly  provided by someone else. However, I did some extra digging and bought the Alan Hull book to get the correct original coding.

    Unfortunately his coding has all been written for metastock.

    Let me now see how I get on with your new contribution.

    Thanks once again

    Kevin

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

ROAR indicator by Alan Hull


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Kelvin @kevin Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/11/2017
Status: Active
Attachments: 2 files
Logo Logo
Loading...