PureBytes Links
Trading Reference Links
|
At 2:54 PM -0400 5/11/98, Peter Gibson wrote:
>Has anyone worked through the examples in Bill Blau's book "Momentum,
>Direction and Divergence"?
>
>At page 121 he defines a user function MDI as:
>
>MDI=XAverage(XAverage(Price-XAverage(Price,r),s),u);
>
>(four inputs)
>
>On page 122 he uses this function in an indicator as follows:
>
>Value1=MDI(Close,r,5);
>
>this doesn't work because MDI is expecting 4 inputs.
>
>Anyone figured out the correct way to write the function on page 121 and the
>indicator on page 122?
Some places he uses double smoothing in the text but wrote the indicators
for triple smoothing. Just insert "1" for the missing input since
Xaverage(Price, 1) = no smoothing.
Value1=MDI(Close,r,5,1);
Confusing.
Bob Fulks
|