源码
低吸: 0, , COLORBLUE;
20, , COLORBLUE;
50, , COLORBLUE;
80, , COLORBLUE;
高抛: 100, , COLORBLUE;
Var1:=(HHV(HIGH,9)-LLV(LOW,9));
Var2:=(HHV(HIGH,9)-CLOSE);
Var3:=(CLOSE-LLV(LOW,9));
Var4:=Var2/Var1*100-70 ;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*C+H+L)/4;
Var7:=SMA((Var3/Var1*100),3,1);
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
Var10:= IF(Var9>100,Var9-100,0);
VarA:=HHV(HIGH,34);
防线B:=EMA((Var6-Var8)/(VarA-Var8)*100,8),COLORCYAN;
B1:=EMA(防线B,5);
STICKLINE(防线B-B1>0,防线B,B1,8,1),COLORCYAN;
STICKLINE(防线B-B1<0,防线B,B1,8,1),COLORRED;