VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
FILTER(REF(VAR2,1) 20 AND VAR2 REF(VAR2,1),5);
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);
STICKLINE(CROSS(BIAS,乖离) AND 乖离 -9.5,0.75,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,高)))),COLORRED;