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

Re:MACD Question



PureBytes Links

Trading Reference Links

If you have _AMA Create this function

{***********************_AMA_MACD*****************************}

Inputs: Price(NumericSeries), FastMA(NumericSimple), SlowMA(NumericSimple);

_AMA_MACD = _AMA(PRICE,FastMA) - _AMA(Price, SlowMA);



Then This indicator

{*************************_AMAMACD******************************}

Inputs: FastMA(12), SlowMA(26), MacdMA(9);

Plot1(_AMA_MACD(Close, FastMA, SlowMA), "AMAMACD");
Plot2(XAverage(_AMA_MACD(Close, FastMA, SlowMA), MacdMA), "AMAMACDAvg");
Plot3(Plot1 - Plot2, "AMAMADiff");




"When death's dark stream I ferry o'er
In heaven itself I'll ask no more
Than just a Highland welcome."
 Sentinel Trading
  rjbiii@xxxxxxxxx



____________________Reply Separator____________________
Subject: MACD Question
Author: James F. Anderson III
Date:  3/25/99 6:59 PM

Hello,

I'm having the following problem coding a statement into EL.  I am
attempting to substitute Kaufmann's Adaptive MA for the FASTMA which is
present in the MACD.  I have the code for both MACD and the Adaptive, but I
have not been able to combine the two into an indicator that I can verify.
Does anyone have any suggstions?

Thanks,
James Anderson