参数值:=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,COLORBROWN;
藏龙线:MACDB3,COLORLIMAGENTA,DOTLINE;
MACDB4:=EMA(MACDB3,10),COLORBROWN,LINETHICK2;
STICKLINE(藏龙线>MACDB4,藏龙线,MACDB4,0,1),COLORLIMAGENTA;
藏龙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),COLORLIMAGENTA;