LD:=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD 0 AND HD LD,HD,0),28);
DMM:=EMA(IF(LD 0 AND LD HD,LD,0),28);
VZH:=EMA(DMP/10,28);
VZL:=EMA(DMM/10,28);
MA1:=EMA((CLOSE+HIGH+LOW)/3,2);
VAR1:=MAX((DYNAINFO(3)),EMA(DYNAINFO(5),5));
VAR2:=MIN((DYNAINFO(3)),EMA(DYNAINFO(6),5));
HHS:=(COST(95)+DYNAINFO(11))/2;
LLS:=(COST(5)+DYNAINFO(11))/2;
VAR3:=CONST((VAR1+HHS)/2);
VAR4:=CONST((VAR2+LLS)/2);
VAR5:=(VAR3+VAR4)/2;
VAR6:=(VAR4+VAR5)-VAR3;
VAR7:=(VAR4+VAR6)/2;
VAR8:=(VAR6+VAR7)/2;
DIF:=((EMA(CLOSE,24)-EMA(CLOSE,52))*4)+VAR5;
DEA:=EMA(DIF,18);
MCD:=((DIF-DEA)*2)+VAR5;
VAR10:=(3*SMA((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)),3,1)-2*SMA(SMA((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)),3,1),3,1));{www.9m8.cn 九毛八公式指标网}
VAR11:=MEMA(VAR10,10);
VAR12:=EMA(VAR11,10);
VAR13:=IF(EXIST(CROSS(VAR3,MA1),5) AND EXIST(C VAR3,10) AND VAR11 HHV(VAR11,10) AND VAR12 REF(VAR12,1),1,0);
VAR14:=IF(EXIST(CROSS(MA1,VAR4),5) AND EXIST(C VAR4,10) AND VAR11 LLV(VAR11,10) AND VAR12 REF(VAR12,1),1,0);
买:VAR14=1 AND REF(VAR14,1)=0;