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.
Fr7Participant
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
Hello Nicolas
Any chance you can help in the above matter please, or give directions on how appropriate to change. TIA
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
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
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)
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