此处有隐藏内容--请扫描下方二维码查看
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
VAR3:=sar(125,1,7);
VAR4:=HHV(HIGH,20)*0.91;
VAR5:=EMA(WINNER(C)*90,5);
J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100,COLORSTICK;
D:MA(J,3);
K:MA(J,1);
M_A1:=BArslAST(REF(crOSS(K,D),1));
底背离:=REF(CLOSE,M_A1+1)>CLOSE AND K>REF(K,M_A1+1) AND CROSS(K,D);
DRAWTEXT(底背离,K,'底背'),COLORMAGENTA;
M_A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:=REF(CLOSE,M_A2+1)<CLOSE AND REF(K,M_A2+1)>K AND CROSS(D,K);
DRAWTEXT(顶背离,D,'顶背'),COLORCYAN;
DRAWICON(CROSS(K,D) AND macd.DIF>MacD.DEA AND MACD.DIF>0 AND MACD.DIF>REF(MACD.DIF,1) AND MACD.DEA>0,0,1);
DRAWICON(CROSS(C,"boll-M".UB) AND CROSS(VAR4,VAR3) AND VAR4>=REF(VAR4,1),0,23);
STICKLINE(VAR5<5,J,0,0.1,0),COLORYELLOW;