大智慧卷帘主图指标
-
相关简介:大智慧卷帘主图指标 源码 Var2:=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30); Var3:=EMA(Var2,3); Var4:=EMA(Var3,3); Var5:=EMA(Var4,3); Var6:=EMA(Var5,3); Va7:=EMA(Var6,3); VAR7:=EMA(Va7,3); VA8:=EMA(VAR7,3); Var8:=EMA(VA8,3); Var9:=EMA(Var8,3); VarA:=BARSLAST(CROSS(C
-
文章来源:股海网作者:股海网发布时间:2016-03-29浏览次数:
大智慧卷帘主图指标
源码
Var2:=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30);
Var3:=EMA(Var2,3);
Var4:=EMA(Var3,3);
Var5:=EMA(Var4,3);
Var6:=EMA(Var5,3);
Va7:=EMA(Var6,3);
VAR7:=EMA(Va7,3);
VA8:=EMA(VAR7,3);
Var8:=EMA(VA8,3);
Var9:=EMA(Var8,3);
VarA:=BARSLAST(CROSS(CLOSE,Var9));
VarB:=BARSLAST(CROSS(Var9,CLOSE));
卷帘操作:IF(CLOSE>Var9 AND CLOSE>REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),COLORFFC8FF,POINTDOT;
STICKLINE(CLOSE>Var9 AND CLOSE>REF(CLOSE,VarA),REF(CLOSE,VarA),LOW*1,00,1),COLORFFC8FF;
强:IF(CLOSE<Var9 AND CLOSE<REF(CLOSE,VarB),REF(CLOSE,VarB),REF(CLOSE,VarB)),COLOR0099FF,POINTDOT;
STICKLINE(CLOSE<Var9 AND CLOSE<REF(CLOSE,VarB),REF(CLOSE,VarB),HIGH*1,0,1),COLORFFCCCC;
势:IF(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),COLORWHITE,POINTDOT;
STICKLINE(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),LOW*1.02,0,1),COLORFFCCCC;
垂帘休息:IF(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),COLORFFCCCC,POINTDOT;
STICKLINE(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA),6,1),COLORFFCCCC;
沉:IF(CLOSE<Var9,REF(CLOSE,VarB),REF(CLOSE,VarB)),ColorB3B3B3,POINTDOT;
STICKLINE(CLOSE<Var9,REF(CLOSE,VarB),REF(CLOSE,VarB),16,0),ColorB3B3B3,linethick2;
STICKLINE(CLOSE>Var9,REF(CLOSE,VarA),REF(CLOSE,VarA),16,0),COLORBLUE,linethick2;
STICKLINE(C>=O,H,L,0,0),colorred;
STICKLINE(C<O,H,L,0,0),colorFFFF52;
STICKLINE(C>=O,C,O,4,1),colorred;
STICKLINE(C<O,C,O,4,0),colorFFFF52;
x5:HHV((REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4))/4,5),COLOR00FF00;
x10:HHV((REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/4,10),COLORyellow;
x20:HHV((REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/4,20),COLORFF00FF;
BY:=CROSS(C,X5) AND CROSS(C,X10) AND CROSS(C,X20) AND C/REF(C,1)>1.015;
BH:=CROSS(X5,X10) AND C>O;
STICKLINE(BY OR BH,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(BY OR BH,L-0.12,'操作'),COLORYELLOW;
DDC:=CROSS(X5,C) AND CROSS(X10,C) AND CROSS(X20,C);