飞狐理想组合副图指标
-
相关简介:飞狐理想组合副图指标 源码 Var1:=(2*C+H+L)/4; Var2:=LLV(L,34); Var3:=HHV(H,34); Var4:=REF(CLOSE,1); Var5:=SMA(MAX(CLOSE-Var4,0),6,1)/SMA(ABS(CLOSE-Var4),6,1)*100; Var6:=EMA(C,3); 低位区:20,pointdot,colorwhite,linethick3; 高位区:70,pointdot,colorwhite,linethick3; 趋势线:EM
-
文章来源:股海网作者:股海网发布时间:2016-06-19浏览次数:
飞狐理想组合副图指标
源码
Var1:=(2*C+H+L)/4;
Var2:=LLV(L,34);
Var3:=HHV(H,34);
Var4:=REF(CLOSE,1);
Var5:=SMA(MAX(CLOSE-Var4,0),6,1)/SMA(ABS(CLOSE-Var4),6,1)*100;
Var6:=EMA(C,3);
低位区:20,pointdot,colorwhite,linethick3;
高位区:70,pointdot,colorwhite,linethick3;
趋势线:EMA((Var1-Var2)/(Var3-Var2)*100,30),colorBLUE,LINETHICK2;
A1:=EMA((Var1-Var2)/(Var3-Var2)*100,9);
A2:=EMA((0.667*REF(A1,1)+0.333*A1),2);
A3:=C/REF(C,1)>1.045;
A4:=C/HHV(H,34)<0.7;
A5:=MAX(FORCAST(COST(24)/L,3),SMA(COST(24)/L,3,1))>1.526 ;
理想:IF(A1>=A2,A1,A2),linethick1,COLORRED;
组合:IF(A2-A1,A2,A1),COLORGREEN;
var7:(CROSS(70,Var5))*80,stick,LINETHICK3,colorred ;
var8:(CROSS(Var5,13)AND (Var1>Var6))*80,stick,LINETHICK3,colorgreen;
var9:=REF(CLOSE,2);
var10:=SMA(MAX(CLOSE-var9,0),7,1)/SMA(ABS(CLOSE-var9),7,1)*100;
var11:(if(var10<13,20,0)and(c<var6 and(c>ref(c,3))))*80,stick,LINETHICK3,colorwhite;
var12:(llv(l,3)=llv(l,120) and c/ref(c,1)>=1.06)*80,stick,LINETHICK2;
var13:(A3 AND A4 AND A5)*80,stick,colorf00ff0,LINETHICK2;
drawtext(var7,80,'卖'),colorred;
drawtext(var8,80,'买1'),colorgreen;
drawtext(var11,80,'买2'),colorwhite;
drawtext(var12,80,'买3'),coloryellow;
drawtext(var13,80,'买4'),colorf00ff0;