N:=14;MM:=6;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);线:=DMP*100/MTR;线:=DMM*100/MTR;AA:=OSS(多头线,空头线) AND CROSS(多头线,30);BB:=多头线-REF(多头线,1)>10 AND 多头线-空头线>8;CC:=C/REF(C,1)>=1.05;XG:AA AND BB AND CC ;