通达信捕获指标公式

通达信暴涨资金流向指标公式

通达信捕获指标公式:

CXH1:=(2*CLOSE+HIGH+LOW)/4;

CXH2:=EMA(CXH1,4);

CXH3:=EMA(CXH2,4);

CXH4:=EMA(CXH3,4);

VAR1:=(CXH4-REF(CXH4,1))/REF(CXH4,1)*1000;

VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;

VAR4:=EMA(VAR3,5);

操盘:=3*VAR3-2*VAR4;

A1:=crOSS(操盘,VAR3) AND VAR3<2.1 AND C>O;

捕获:A1,LINETHICK;

stICKLINE(A1,18,15,28,0),COLORLIRED;

STICKLINE(A1,18,18,18,0),COLORBLUE;

STICKLINE(A1,8,8,9,0),COLORFFFF00;

STICKLINE(A1,6,6,4,0),COLORFFFF00;

STICKLINE(A1,10,10,12,0),COLORFFFF00;

STICKLINE(A1,12,12,20,0),COLORFFFF00;

STICKLINE(A1,14,14,24,0),COLORFFFF00;

STICKLINE(A1,16,34,0.1,0),COLORC0C0C0;

STICKLINE(A1,33,18,3,0),COLORMAGENTA;

DRAWTEXT(A1,26,'←捕获'),COLOR0080FF;

DRAWICON(A1,36,5);

STICKLINE(VAR1>=0,VAR1,0,2,0),COLORRED;

STICKLINE(VAR1<0,VAR1,0,2,0),COLORGREEN;

GZ:=AMOUNT/vol/100;

ZBIao:=MA(GZ,13);

ZBIAO1:=EMA(VOL,13);

ZBIAO2:=EMA(AMOUNT,13);

ZBIAO3:=ZBIAO2/ZBIAO1/100;

ZBIAO4:=(CLOSE-ZBIAO3)/ZBIAO3*100;

ZBIAO5:=EMA(VOL/CAPITAL*100,13);

ZERO:0,COLORYELLOW;

STICKLINE(ZBIAO5>6.1 AND ZBIAO4>5,2,0,2,0),COLORGREEN;

STICKLINE(ZBIAO5>3.8 AND ZBIAO4>5,1.5,0,2,0),COLORYELLOW;

STICKLINE(ZBIAO5>2.1 AND ZBIAO4>5,1,0,2,0),COLORCYAN;

STICKLINE(ZBIAO5>1.8 AND ZBIAO4>5,0.5,0,2,0),COLORBLUE;

通达信农二十四节气主图指标公式