通达信百日地量指标公式

通达信变幻色条KDJ指标公式

通达信百日地量指标公式:
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),COLORRED,LINETHICK2;

强: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),COLORGREEN,LINETHICK2;

势:IF(CLOSE>VAR9 AND CLOSE<REF(CLOSE,VARA),REF(CLOSE,VARA),REF(CLOSE,VARA)),COLORYELLOW,POINTDOT;

STICKLINE(CLOSE>VAR9 AND CLOSE<REF(CLOSE,VARA),REF(CLOSE,VARA),LOW*1.02,0,1),COLORYELLOW;

垂帘休息: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),COLORWHITE,LINETHICK2;

{www.zhibiaow.com 指标网_通达信股票指标公式}

沉: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,LINETHICK2;

{STICKLINE(C<O,H,L,0,0),COLORFFFF52,LINETHICK2;

{STICKLINE(C>=O,C,O,4,1),COLORRED,LINETHICK2;

STICKLINE(C<O,C,O,4,0),COLORFFFF52;}

X5:HHV((REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4))/4,5),LINETHICK3,COLOR00FF00;

X10:HHV((REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/4,10),LINETHICK3,COLORYELLOW;

X20:HHV((REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/4,20),LINETHICK3,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.03,4,0),COLORYELLOW;}

DRAWTEXT(BY OR BH,L-0.12,'●操作'),COLORYELLOW;

{DDC:=CROSS(X5,C) AND CROSS(X10,C) AND CROSS(X20,C);

DRAWTEXT(DDC,H+0.15,'●'),COLORYELLOW;}VAR2:=0.1*AMOUNT;

MA1:=0.1*MA(AMOUNT,5);

MA2:=0.1*MA(AMOUNT,10);

百日地量:LLV(VAR2,25)=VAR2,STICK,COLORRED,LINETHICK4;

DRAWTEXT(百日地量,0.3,'地量'),COLORRED;

通达信双均线变色主图指标公式