S1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
S2:=SMA(S1,9,1)+100;S3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;S4:=SMA(S3,3,1);S5:=SMA(S4,3,1)+100;S6:=S5-S2;主力线:=IF(S6>45,S6-45,0);VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10;能量:=SMA(VAR2,5,1)/100,COLORRED;{股票指标网HTTP://}低买区:(COUNT(能量<REF(能量,1),7)=7 AND 主力线<=45)*40,LINETHICK2,COLORCYAN;DRAWTEXT(FILTER(低买区>0,5),30,'★注意低吸'),LINETHICK2, COLORGREEN;
高抛区:(COUNT(能量>REF(能量,1),6)=6 AND 主力线>=65)*60,LINETHICK2,COLORMAGENTA;DRAWTEXT(FILTER(高抛区>0,5),50,'★注意高抛'),LINETHICK2, COLOR7800FF;STICKLINE(能量>REF(能量,1),0,能量,2.5,0),COLOR7800FF;