源码
{波段之王2}
Var1:=(CLOSE+HIGH+LOW+OPEN)/4;
Var2:=SUMBARS(VOL,CAPITAL)*10/10;
Var3:=HHV(Var1,Var2);
Var4:=LLV(Var1,Var2);
Var5:=(Var1-Var4)/(Var3-Var4);
专用: IF(Var1>=Var3,(2*Var1-Var4-REF(Var3,1))/(Var3-Var4),Var5), , COLORRED;
IF(Var1<=Var4,(2*Var1-Var4-REF(Var4,1))/(Var3-Var4),Var5), , COLORMAGENTA;
Var6:=IF(Var1>=Var3,(2*Var1-Var4-REF(Var3,1))/(Var3-Var4),Var5);
天1: (100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20)))/100, , COLORYELLOW;
Var7:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
人: MA(Var7,6)/100, , COLORBLUE;
Var8:=MA(Var1,34);
Var9:=(Var1-Var8)/Var8*10;
VarA:=HHV(CLOSE,20);
VarB:=0.6*VOL/WINNER(CLOSE);
买进: IF(VarB>=1000000 AND Var9<-1.618,0.88,0), , COLORRED;
DRAWICON(VarB>=1000000 AND Var9<-1.618,0.88,0);
DRAWICON(Var6<=0,0,0);
DRAWICON(Var6>=1,1.1,3);
地: 0, , COLORYELLOW;
天: 1, , COLORBLUE;