VAR2:=(3)*(SMA(((OPEN - LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN - LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1),15,1));
VAR3:=VAR2 - 100;
VAR5:=CLOSE-LOW;
VAR6:=HIGH-LOW;
VAR7:=CLOSE-HIGH;
VAR8:=IF(CLOSE>=0,(VAR5/VAR6+VAR7/VAR6)*VOL,(VAR7/VAR6+VAR5/VAR6)*VOL);
主力控盘力度: SUM(VAR8,10)/10000, COLOR006AFF,LINETHICK2,STICK;
RSV:=(C-LLV(L,21))/(HHV(H,21) - LLV(L,21))*100;
趋势:MA((3*SMA(RSV,6,1)-2*SMA(SMA(RSV,5,1),5,1)),2),LINETHICK1,COLORYELLOW;
反线性:FORCAST(-1*VAR3,21),LINETHICK1,COLORFF00FF;
DRAWTEXT((CROSS(趋势,反线性)),反线性,'黑马出现'),COLORRED;