通达信一线打天下主图指标公式

通达信徐大师CCI指标公式

通达信一线打天下主图指标公式:

VAR0:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100,LINETHICK2;

0;

MB1:=EMA(VAR0,5);

MB2:=EMA(MB1,2);

MB3:=EMA(MB2,2);

MB4:=EMA(MB3,2);

MB5:=EMA(MB4,2);

MB6:=EMA(MB5,2);

MB7:=EMA(MB6,2);

MB8:=EMA(MB7,2);

MB9:=EMA(MB8,2),COLORBLUE;

MB10:=EMA(MB9,2),COLORBLUE;

MB11:=EMA(MB10,2),COLORBLUE;

MB12:=EMA(MB11,2),COLORBLUE;

MB13:=EMA(MB12,2),COLORBLUE;

MB14:=EMA(MB13,2),COLORBLUE;

N:=5;

VAR2:MB1,COLORMAGENTA,LINETHICK2;

VAR3:DRAWLINE(VAR2>=HHV(VAR2,N)=1,VAR2,VAR2<=LLV(VAR2,N)=1,VAR2,1),COLORGREEN;

XGD:=REF(VAR2,1)=REF(VAR3,1) AND VAR2>REF(VAR2,1);

stICKLINE(VAR2=VAR3 AND VAR2<MB4,VAR2,VAR2+10,1,0)COLORYELLOW;

STICKLINE(XGD,VAR2,VAR2+10,1,0),COLORRED;

VAR4:DRAWLINE(VAR2<=LLV(VAR2,N)=1,VAR2,VAR2>=HHV(VAR2,N)=1,VAR2,1),COLORRED;

XGG:=REF(VAR2,1)=REF(VAR4,1) AND VAR2<REF(VAR2,1);

STICKLINE(VAR2=VAR4 AND VAR2>MB4,VAR2+10,VAR2,1,0)COLORWHITE;

STICKLINE(XGG,VAR2,VAR2+10,1,0),COLORGREEN;

通达信准确率较高主图指标公式