Var1=(CLOSE*2+HIGH+LOW)/4;
能量: EMA(Var1,3)-EMA(Var1,10)*1.008 ,colorlired,LINETHICK2;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
进: 2*2*(VAR2-VAR3)*3.8 ,coloryellow,LINETHICK1;
出: 2*(-2)*(VAR2-VAR3)*3.8 ,colorgreen,LINETHICK1;
中心: 0 ,colorgray,POINTDOT;
买:=CROSS(进,出) AND 出<中心 ,coloryellow;
DRAWTEXT(买,-0.1,'↖买') ,colorgray;
JCCOUNT:=COUNT(CROSS(进,出),BARSLAST(进>=0.1));
放量金叉=CROSS(进,出) AND 进<0.1 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(放量金叉,-0.3*0.30,1) ;
A1=BARSLAST(REF(CROSS(能量,中心),1));
底背离=REF(CLOSE,A1+1)>CLOSE AND 能量>REF(能量,A1+1) AND CROSS(能量,中心);
底背=DRAWLINE(A1=0,中心,底背离,中心,0) ,colorgray,LINETHICK1;
DRAWTEXT(底背离,-0.8,' ╩') ,colorgray;
有 = MA(CLOSE,1);
钱 = (LOW+HIGH+CLOSE)/3;
就 = MA(钱,5);
好 = HHV(就,10);
清 = IF(HHV((有<好),10),100,90),colorgreen;
仓 = IF(HHV((有<好),10),99,95),colorwhite;
清仓 = CROSS(清,仓) AND 清 > 仓;
清仓1 = CROSS(仓,清) AND 清 < 仓;
DRAWTEXT(清仓,进,'↙清') ,colorligreen;
DRAWTEXT(清仓1,进,'↙╦') ,colorgray;