参数值:=REF(EMA(C,10),1);
MACDB1:=(EMA(C,10)-参数值)/参数值*100;
侦测:=IF(MACDB1 =0,REF(EMA(C,10),BARSLAST(CROSS(MACDB1,0))+1),DRAWNULL);
MACDB2:=EMA(侦测,10);
MACDB3:100*(参数值-MACDB2),COLORSTICK,COLORGRAY;
藏龙线:MACDB3,COLORMAGENTA,DOTLINE;
MACDB4:=EMA(MACDB3,10),COLORGRAY,LINETHICK2;
STICKLINE(藏龙线 MACDB4,藏龙线,MACDB4,0,1),COLORMAGENTA;
藏龙1:=MA(CLOSE,10);
藏龙2:=HHV(藏龙1,5);
藏龙3:=藏龙1-(藏龙2-藏龙1);
CDD:=CLOSE REF(CLOSE,1) AND MA(CLOSE,5) MA(CLOSE,10) AND MA(CLOSE,20) MA(CLOSE,60) AND REF(MA(CLOSE,20),1) REF(MA(CLOSE,60),1) AND MA(CLOSE,60) REF(MA(CLOSE,60),1) AND 藏龙2 MA(CLOSE,60) AND 藏龙3 MA(CLOSE,60) AND 藏龙2=藏龙3 AND REF(藏龙2,1) REF(藏龙3,1);
STICKLINE(CDD,0,MACDB4*3,5,0),COLORMAGENTA;