Var02:=LLV(LOW,5);
Var03:=HHV(HIGH,10);
动力线:EMA((CLOSE-Var02)/(Var03-Var02)*4,13)*30,colorwhite,linethick2;
Var1:=CLOSE-REF(CLOSE,1);
Var2:=IF(CLOSE-REF(CLOSE,1)>=0,Var1,0);
Var3:=REF(CLOSE,1)-CLOSE;
Var4:=IF(CLOSE-REF(CLOSE,1)<=0,Var3,0);
Var5:=SUM(Var2,8)/SUM(Var4,8);
Var6:=(1-1/(1+Var5))*100;
Var7:=LLV(LOW,50);
Var8:=HHV(HIGH,50);
Var9:=EMA(CLOSE,2);
VARB:=EMA((Var9-Var7)/(Var8-Var7)*100,13);
天线: 70, POINTDOT,linethick2,color0099ff;
地线: 20, POINTDOT,linethick2,colorcc9966;
中线:45,pointdot,linethick2,colorgreen;
Var13:=(REF(HIGH,1)+REF(LOW,1))/2;
Var14:=MA(CLOSE,20)+2*STD(CLOSE,20);
Var15:=FILTER(CROSS(Var13,Var14),4)*200;
DRAWTEXT(Var15,65,'短逃'),color00ff00;
Var16:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
Var17:=FILTER(CROSS(Var16,13),4);
Var18:=IF(Var16>90,50,100);
Var19:=FILTER(CROSS(Var18,Var16),4)*235;
DRAWTEXT(Var19,80,'见顶'),colorf0f000;
红色买:STICKLINE(varb>ref(varb,1) and varb>20,varb,varb*1.05,6,0),colorred;
黄色关注:STICKLINE(varb<20,varb,varb*1.05,6,0),coloryellow;
STICKLINE(varb<ref(varb,1),varb,varb*1.05,6,0),colorff9900;