bias1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
乖深低:=IF(乖离<=-8,-0.35,0),LINETHICK1,COLORGREEN;
乖浅低:=IF(BETWEEN(BIAS,-2,-8),-0.2,0),LINETHICK1,COLORLIGRAY;
更:=(C-LLV(L,10))/(HHV(H,25)-LLV(L,10))*4,COLORMAGENTA;
高:="dmi.PDI"(14,6)>33 AND "DMI.mdi"(14,6)< 10 AND "DMI.ADX"(14,6)>40 AND "DMI.ADXR"(14,6)>45,COLORBROWN,LINETHICK2;
调:=IF(高=0 AND HHV(高,5)>0,-0.5,0),COLORGREEN,LINETHICK2;
KM:=REF(更<=LLV(更,10),1)AND 更>REF(更,1);
可买:FILTER((C-L>H-C AND V>HHV(V,13)*0.4 OR KM=1)AND(乖深低=-0.35 OR 乖浅低=-0.2 OR 调=-0.5),1);