同花顺做波段指标
-
相关简介:同花顺做波段指标 源码 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
-
文章来源:股海网作者:股海网发布时间:2016-06-08浏览次数:
同花顺做波段指标
源码
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;
Q1:IF(VarB>=1000000 AND Var9<-1.618,0.88,0);
Q2:IF(Var6<=0,0,0);
Q3:IF(Var6>=1,2.5,3),colorffaa00;
买入:IF(CROSS(s,r) AND (k>r) AND REF(k,3)>r,1,0),color00ff00;
注:含“未来函数”