通达信六六大顺主图公式源码K线图
-
相关简介:通达信公式六六大顺主图 N:=10; N2:=6; N3:=3; N4:=-26; Var2:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; Var3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; MA1: MA(CLOSE,5), ,COLORWHITE; MA2: MA(CLOSE,10), ,COLORYELLOW; MA3: MA(CLOSE,20), , COLORMAGENTA; MA4: MA(CLOSE,60),
-
文章来源:股海网作者:股海网发布时间:2019-06-18浏览次数:
通达信公式六六大顺主图
N:=10;
N2:=6;
N3:=3;
N4:=-26;
Var2:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
Var3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
MA1: MA(CLOSE,5), ,COLORWHITE;
MA2: MA(CLOSE,10), ,COLORYELLOW;
MA3: MA(CLOSE,20), , COLORMAGENTA;
MA4: MA(CLOSE,60), , COLORGREEN;
Var4:=(HIGH+LOW+CLOSE)/3;
Var5:=MA(Var4-MA(Var4,14),1)/(0.015*AVEDEV(Var4,14));
Var6:=MA(Var5,2);
Var7:=SMA(Var5,N2,1);
Var8:=SMA(Var5,N2,1);
Var9:=SMA(Var7,N3,1);
VarA:=3*Var7-2*Var9;
VarB:=DRAWTEXT(CROSS(Var6,Var5) AND Var6>150 AND Var2>N,HIGH,"<---头部");
VarC:=DRAWTEXT(CROSS(Var5,-100) AND Var2<N4 AND Var3>N3,LOW,"<---底部");
DRAWTEXT(CROSS(MA2,MA1) AND Var2>N,HIGH,"<---头部"), , COLORYELLOW;