DRAWGBK(C>0,RGB(246,202,234),RGB(12,110,101),0,' ',0),LINETHICK2;
VAR1:=REF(CLOSE,2);
能量线:SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORCYAN,LINETHICK2;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
VAR4:STICKLINE(能量线>85,75,85,2,0), COLORWHITE;
VAR5:STICKLINE(能量线>90,75,85,2,0), COLORRED;
危险线:75,COLORYELLOW,LINETHICK2;
安全线:25,COLORMAGENTA,LINETHICK2;
VAR6:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),20)+100;
VAR7:=-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))+100;
VAR8:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
STICKLINE(VAR8<12,25,15,2,0), COLORWHITE;
STICKLINE(VAR6<12,25,15,2,0), COLORRED;