伽利略动能区域
Var5:=LLV(LOW,75);
Var6:=HHV(HIGH,75);
Var7:=(Var6-Var5)/100;
Var8:=SMA((CLOSE-Var5)/Var7,23,1);
VarA:=3*Var8-2*SMA(Var8,13,1);
趋势:=-(100-VarA)+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,'←清'),coloryellow;
STICKLINE(top_f=50,90,65,8,0),coloryellow;
做多能量线:SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,colorred,LINETHICK2;
做空能量线:SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),colorgreen,LINETHICK2;
短线通道:30,colorblue;///www.88gs.com
强弱分界:45,coloryellow;
安全区:15,colorred;
风险区:85,colorcyan;
短线顶部:60,colorwhite;
VAR1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,13,8);
多方能量值:=SMA(VAR3,13,8),coloryellow;
空方能量值:=SMA(VAR1,21,8),colorcyan;
top_varbb:=TROUGHBARS(3,15,1)<10;
top_varr:=IF(top_varbb=1,2,0);
topp:=IF(top_varr=2,2,0);
top_ff:=IF(topp>REF(topp,1),50,150);
DRAWTEXT(top_ff=50,0,'←买'),colorwhite;
STICKLINE(top_ff=50,2,20,8,0),colorwhite;