[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ROR Rate of return indicator



PureBytes Links

Trading Reference Links

Hi intersting i tossed Jose convestion of Super chart code into ms ? 
what a messy looking indicator 
Jose is a excellent coder in MS so I dont know but there is the info 
Alan sent me..



Metastock Indicator Formulas

The following indicators have been adapted from the Supercharts 
formulas for use on Metastock by Simon Sherwood 
(ActVest@xxxx) Whilst they have been derived from the 
Supercharts formulas, they do not return identical values. All 
Indicator formulas and explorations are for use on weekly charts 
only. (RoR and RoD do not switch ON and OFF and do not check 
liquidity.)

Rate of Return, Rate of Decline and Sector Rate of Return Indicators
200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C

Exploration - Rate of Return
Rate of Return > 25

Exploration - Rate of Decline
Rate of Decline < -25

Range Indicator - Rising Equities

Central Cord 
LinearReg(C,13);

Lower Deviation
If(LinearReg(C,13)>PREV,If(LinearReg(C,13)-(ATR(13)*2.5)
>PREV,LinearReg(C,13)-(ATR(13)*2.5),PREV),LinearReg(C,13));

Upper Deviation
LinearReg(C,13)+(ATR(13)*3);

Range Indicator - Falling Equities

Central Cord 
LinearReg(C,13);

Lower Deviation
LinearReg(C,13)-(ATR(13)*3);

Upper Deviation
If(LinearReg(C,13)<PREV,If(LinearReg(C,13)+(ATR(13)*2.5)
<PREV,LinearReg(C,13)+
(ATR(13)*2.5),PREV),LinearReg(C,13));

MMA Charts
Metastock users can either build MMA indicators or create an MMA 
template.

Short term group of exponential moving averages - 3, 5, 7, 9, 11 & 13

Long term group of exponential moving averages - 21, 24, 27, 30, 33 
& 36



--- In amibroker@xxxx, "thelunit" <thelunit@xxxx> wrote:
> --- In amibroker@xxxx, "dtholz" <dtholz@xxxx> wrote:
> > After Taking to Alan her is the ms Version when I convert it to 
AB 
> > the dont seem to plot the same ..
> > also how do i plot a line for the 25 % and 40 % postions on the 
chart
> > my AB version 
> > Graph1 = 200*(LinRegSlope(C,52)-Ref(LinRegSlope(C,52),-26))/C;
> > 
> > 
> > MS version 
> > 200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C
> > 
> > David
> 
> 
> Hi David
> 
> You mention that you've contacted Alan Hull and presumably got 
confirmation that the MS formula for his LinROR indicator is:
> 
> 200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C
> 
> I'm a bit confused about this in the light of a couple of past 
Stockcentral threads I've read at:
> 
> 
http://www.stockcentral.com.au/forum/machine/Forum3/HTML/000687.html
> 
http://www.stockcentral.com.au/forum/machine/Forum2/HTML/000638.html
> 
> How does the one-line formula above compare with the 'bloat-outs' 
mentioned in the threads? Any thoughts?
> 
> Thanks
> Paul