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;
低买区:(COUNT(能量<ref(能量,1),7)=7 and="" 主力线<="45)*80,LINETHICK2,COLORCYAN;<br">
DRAWTEXT(低买区>0,40,'★注意低吸'),LINETHICK2, COLORCYAN;
高抛区:(COUNT(能量>REF(能量,1),6)=6 AND 主力线>=65)*80,LINETHICK2,COLOR7800FF;
DRAWTEXT(高抛区>0,70,'★注意高抛'),LINETHICK2, COLOR7800FF;
stICKLINE(能量>REF(能量,1),0,能量,2.5,0),COLOR7800FF;
STICKLINE(能量<ref(能量,1),0,能量,2.5,0),colorcyan;< p="">
标签:HIGH,HHV,LLV,低吸,通达信,源码,LOW,100,能量 From: https://www.cnblogs.com/zhibiao/p/17990440