MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DKX1:=(5*MID+4*REF(MID,1)+3*REF(MID,2)+2*REF(MID,3)+1*REF(MID,4))/15;
DKX2:=(4*MID+3*REF(MID,5)+2*REF(MID,15)+1*REF(MID,45))/10;
DKMA:(MID-DKX2)*6.18,COLORSTICK;{股票指标网}
红柱持仓:IF((MID-DKX1)>0,DKMA,DRAWNULL),LINETHICK3,COLORRED;
绿柱持币:IF((MID-DKX1)<0,DKMA,DRAWNULL),LINETHICK3,COLORGREEN;