ZF:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(DYBLOCK, ),HYBLOCK), ),GNBLOCK), ),FGBLOCK); DRAWTEXT_FIX(ISLASTBAR,0,0,0,ZF),COLORYELLOW; DIF:=EMA(CLOSE,9)-EMA(CLOSE,21); DEA:=EMA(DIF,5);{www.tzj123.com} MACD:=(DIF-DEA)*2; 吸:XLPL.NOTEXT吸,NODRAW; 拉:XLPL.NOTEXT拉,NODRAW; 派:XLPL.NOTEXT派,NODRAW; 落:XLPL.NOTEXT落,NODRAW; AAW:=IF(吸!=DRAWNULL,DIF,DRAWNULL),COLORLIRED,LINETHICK2; BBW:=IF(拉!=DRAWNULL,DIF,DRAWNULL),COLORRED,LINETHICK2; CCW:=IF(派!=DRAWNULL,DIF,DRAWNULL),COLORGREEN,LINETHICK2; DDW:=IF(落!=DRAWNULL,DIF,DRAWNULL),COLORWHITE,LINETHICK2; STICKLINE(AAW,LOW,HIGH,0,0),COLORLIRED; STICKLINE(AAW,C,O,3,1),COLORLIRED; STICKLINE(BBW,LOW,HIGH,0,0),COLORRED; STICKLINE(BBW ,C,O,3,1),COLORRED; STICKLINE(CCW,LOW,HIGH,0,0),COLORGREEN; STICKLINE(CCW,C,O,3,1)COLORGREEN; STICKLINE(DDW,LOW,HIGH,0,0),COLORWHITE; STICKLINE(DDW,C,O,3,1),COLORWHITE; DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND EXPMA(C,12)>EXPMA(C,50),L*0.995,起爆),COLORWHITE;
|