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

Re: No QP2 / metastock calculation differences



PureBytes Links

Trading Reference Links

Alain.Jossart@xxxxxxxxxx writes:
> 3* The algorithm is (the Equis doc says that no integer periods can 
> accurately
>  match
>  the Appel MACD, other ?).

Alain: That's the reason (No. 3) they don't match if you use MACD(). 

But you can't vary the periods with that function. You can either use the
Price Oscillator to vary the periods (as Metastock suggests in the help file)
or this formula:

period1:=13;
period2:=34;
period3:=89;
Mov(C,period1,E) - Mov(C,period2,E);
Mov((Mov(C,period1,E) - Mov(C,period2,E)),period3,E)

If you use the Price Oscillator or the above formula, you'll get values equal
to those in Quotes Plus (to five decimal places).

Brooke