| 
 PureBytes Links 
Trading Reference Links 
 | 
> What does the MetaStock PERCENT rate of change convert to in
> easylanguage? roc(close,12,%) in MetaStock = what in easylanguage? 
That would be the built-in TS function RateOfChange:
Inputs: Price(NumericSeries), Length(NumericSimple);
If Price[Length] <> 0 Then 
	RateOfChange = (Price / Price[Length] - 1) * 100
Else
	RateOfChange = 0 ;
Basically just dividing Price/Price[Length], then turning it into a 
percentage.  roc(close,12,%)  ==  RateOfChange(Close,12).
> Likewise what does the MetaStock POINT rate of change convert to
> in ELA? roc(close,12,$) in MS = what in ELA? 
Percentage is dividing, point change is subtraction.  TS provides a 
Momentum function for that, though it's hardly necessary:
Inputs: Price(NumericSeries), Length(NumericSimple);
Momentum = Price[0] - Price[Length];
roc(close,12,$)  ==  Momentum(Close,12).  Or you could just use 
(Close-Close[12]).
Gary
 
 |