VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,23,1);
VARA1:=3*VAR8-2*SMA(VAR8,13,1);
趋势:=-(100-VARA1)+100,COLOR0099FF,LINETHICK2;
VARA:=(2*CLOSE+HIGH+LOW)/4;
VARB:=LLV(LOW,23);
VARC:=HHV(HIGH,23);
VARD:=EMA((VARA-VARB)/(VARC-VARB)*100,13);
VARE:=EMA(0.778*REF(VARD,1)+0.222*VARD,1);
STICKLINE(VARD-VARE>0,VARD,VARE,8,0),COLORRED;
STICKLINE(VARD-VARE<0,VARD,VARE,8,0),COLORGREEN;
TOP_VARB:=PEAKBARS(3,15,1)<10;
TOP_VAR:=IF(TOP_VARB=1,2,0);
TOP:=IF(TOP_VAR=2,2,0);
TOP_F:=IF(TOP>REF(TOP,1),50,150),COLORGREEN,LINETHICK2;
DRAWTEXT(TOP_F=50,73,"← 卖出"),COLORGREEN;
STICKLINE(TOP_F=50,90,65,8,0),COLORGREEN;
做多能量线:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORFF00FF;
做空能量线:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),LINETHICK2;
底部区域:20,COLORGREEN;
进入加速:70, COLORMAGENTA;
高位警告:90,COLORRED;
顶部区别:99, COLORGREEN;