红柱:IF("macd.MacD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORRED;
绿柱:IF("MACD.MACD"[
STICK,COLORYELLOW;]
抄底:Abs((crOSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;
DIF:"MACD.DIF",COLORWHITE;
DEA:"MACD.DEA",COLORYELLOW;
强度1:IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
强度2:IF(DEA
DRAWTEXT(ABS(抄底)>0,抄底*1.20,' 抄底'),COLORYELLOW;
DRAWICON(ABS(抄底)>0,抄底*1.10,4);
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);
VAR8:=vol>2*MA(VOL,30);
VAR9:="dmi.ADX"(10,6);
VARA:="DMI.ADXR"(10,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BArslAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,15,0),COLORF00FF0;
STICKLINE(FILTER(VARF=1,5),50,0,6,0),COLORYELLOW;
DRAWTEXT(FILTER(VARF=1,3),25,'大量★买入'),COLORRED ;
STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.95,0),COLORRED;