Var1D:=EMA(CLOSE,2)-EMA(CLOSE,89);Var1E:=EMA(Var1D,30);Var1F:=2*(Var1D-Var1E)*10;Var20:=POW(Var1F,3)*0.1+POW(Var1F,2);Var25:=IF(Var1F>0.015,Var20,0)/45/4;JJ:=(C*2+H+L)/4;买进线:(EMA(JJ,13)-EMA(JJ,21))*180,colorred,linethick2;卖出线:EMA(买进线,2),colorwhite,linethick2;多方:=(买进线-卖出线)*0.001,colorred,linethick0;空方:=-1*(买进线-卖出线)*0.001,color33FF33,linethick0;dx:REF(C,1),colorwhite;MAV:=(2*C+H+L)/4;SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8,colorred;SD:=EMA(SK,2),colorgreen;SJ:=2.8*SK-1.8*SD,coloryellow;s2:=SMA(C,3,1);s6:=SMA(C,5,1);dk:=2*(s2-s6)*15*4*1.5;STICKLINE(sk>sd AND dk<dx OR dk=dx,dx,dx+dk,3,0),colorred;STICKLINE(dk>0 AND sk>sd ,dx,dx+dk,4,0),COLOR6633CC;STICKLINE(dk>0 AND sk<sd ,dx,dx+dk,4,0),COLORFFAA66;STICKLINE(dk>0 AND 多方<空方,dx,dx+dk,4,0),COLOR33FF33;STICKLINE(CROSS(多方,空方),dx,dx+dk,4,0),coloryellow;STICKLINE(CROSS(空方,多方),dx,dx+dk,4,0),COLOR33FF33;STICKLINE(dk<0 AND 多方<空方 AND sk<sd,dx,dx+dk,2,0),COLOR33FF33;