V1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
V2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
V3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
V4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
V5:=(V2+2*V3+3*V4)/7;
V6:=MA(V5,1);
底部:STICKLINE(V6<=-8,0.40,0,10,0),COLORYELLOW;
A1:=REF(CLOSE,1);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
FILTER(REF(A2,1)< 20 AND A2>REF(A2,1),5),LINETHICK2,COLORWHITE;
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,5);
STICKLINE(CROSS(BIAS,乖离) AND 乖离< -9.5,0.85,0,1,0),COLORRED;
VF1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)/10;
高:="DMI.PDI"(14,6)>33 AND "DMI.MDI"(14,6)< 10 AND "DMI.ADX"(14,6)>40 AND "DMI.ADXR"(14,6)>45,STICK;
危险:=HHV(VF1,4)>0.38 OR VF1>0.25 AND 高,STICK;
可买:=IF(高=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,13)*0.4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)< -0.03,-0.50,0),STICK;
调整:=IF(高=0 AND HHV(高,5)>0,-0.5,0),STICK;
可卖:=IF(危险=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE< OPEN*1.01,-0.75,0),STICK;
卖出:=IF(危险=0 AND HHV(危险,3)>0,-1,0),STICK;
遇警:IF(可卖=-0.75,-0.75,IF(卖出< 0,-1,IF(危险>0,1,IF(调整< 0,-0.5,高)))),COLORSTICK;
操盘手联盟:IF(可卖=-0.75,-0.75,IF(卖出< 0,-1,IF(危险>0,1,IF(调整< 0,-0.5,高)))),LINETHICK1,COLORFFFF80;