飞狐做波段副图指标
-
相关简介:飞狐做波段副图指标 源码 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; s:IF(Var1=Var4,(2*Var1-Var
-
文章来源:股海网作者:股海网发布时间:2016-06-03浏览次数:
飞狐做波段副图指标
源码
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;
s:IF(Var1<=Var4,(2*Var1-Var4-REF(Var4,1))/(Var3-Var4),Var5),colorff00ff;
Var6:=IF(Var1>=Var3,(2*Var1-Var4-REF(Var3,1))/(Var3-Var4),Var5);
k:(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);
r:MA(Var7,6)/100,colorwhite;
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;
if(VarB>=1000000 AND Var9<-1.618,0.88,0);
if(Var6<=0,0,0);
if(Var6>=1,2.5,3),colorffaa00;