Code for an forward MACD indicator

Discussion in 'Technical Analysis' started by mk2005, Aug 9, 2005.

  1. mk2005

    mk2005

    here is an EasyTrader code for an Forward indicator. It turns earlier than the ordinary MACD.


    DIFF:=(C-MA(CLOSE,13))*10;
    k:EMA(MA(DIFF,7),1),COLOR00ffff;
    d:EMA(k,7),COLORff33ff;
    MACD: (k-d),colorstick;