飞狐底与加速副图指标
-
相关简介:飞狐底与加速副图指标 源码 var1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100); var2:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100); var3:=((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100); var4:=(var1+var2+var3)/(3); var5:=EMA(var4,5); MACD:(EMA(EMA(var1,5),5))*(3),ColorFF0
-
文章来源:股海网作者:股海网发布时间:2016-04-09浏览次数:
飞狐底与加速副图指标
源码
var1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
var2:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
var3:=((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100);
var4:=(var1+var2+var3)/(3);
var5:=EMA(var4,5);
MACD:(EMA(EMA(var1,5),5))*(3),ColorFF00FF,ColorStick,Linethick2;
var6:=IF((var4<=(-20)),10,0);
var7:=HHV(var6,10);
STICKLINE((var6=10),20,10,1,0),Color0000FF;
底:if((var6=10),10,0);
DRAWTEXT((var6=10),LOW,'底'),ColorFFFFFF;
varA:=IF(var7 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:(EMA(var5,5))*(2),ColorFFFF00;
D:EMA(K,5),Color0000FF;
J:(K)*(3)-(D)*(2),Color00FFFF;
var8:=(HIGH+LOW+CLOSE)/(3);
var9:=(var8-MA(var8,14))/((0.015)*(AVEDEV(var8,14)));
var10:=(var8-MA(var8,70))/((0.015)*(AVEDEV(var8,70)));
var11:=IF((var9>=150) AND (var9<200) AND (var10>=150) AND (var10<200),10,0);
var12:=IF((var9<=(-150)) AND (var9>(-200)) AND (var10<=(-150)) AND (var10>(-200)),(-10),var11);
var13:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);
var14:=100-ABS(var13);
var15:=IF((var14<90),var14,100);
var16:=IF((var10>=200) AND (var9>=150),15,IF((var10<=(-200)) AND (var9<=(-150)),(-15),var12))+60;
var17:=(var16>60) AND (var15<150);
加速:if(var17 AND (COUNT(var17,20)=1),10,0);
DRAWTEXT(var17 AND (COUNT(var17,20)=1),10,'加速'),ColorFFFFFF ;