通达信买卖交易主图指标公式

通达信黄金柱成交量指标公式

JJ:=(CLOSE+HIGH+LOW)/3;

A:=EMA(JJ,10);

B:=REF(A,1);

stICKLINE(A>B,A,B,5,0),COLORYELLOW;

STICKLINE(A<B,A,B,5,0),COLORBLUE;

MM1:=EMA(CLOSE,5);

MM2:=EMA(CLOSE,8);

MM3:=EMA(MM2,13);

MM4:=EMA(MM2,55);

VVAR1:=EMA(MM3,55);

MM5:=EMA(MM4,81), COLORRED,LINETHICK2;

{指标网-股票公式网站 www.GupaNg.com}

VVAR2:=(REF(HIGH,1)+REF(LOW,1))/2;

VVAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);

DRAWICON(crOSS(VVAR2,VVAR3),HIGH*1.035,2);

DRAWTEXT(CROSS(VVAR2,VVAR3),HIGH*1.02,'卖出'), COLORGREEN;

VVAR4:=REF(CLOSE,1);

VVAR5:=SMA(MAX(CLOSE-VVAR4,0),7,1)/SMA(Abs(CLOSE-VVAR4),7,1)*100;

VVAR6:=CROSS(79,VVAR5);

VVAR7:=FILTER(VVAR6,4);

DRAWICON(VVAR7,HIGH*1.035,2);

DRAWTEXT(VVAR7,HIGH*1.02,'卖出'), COLORGREEN;

VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);

VAR22:=8;

QQ:=CROSS(VAR21,VAR22);

DRAWTEXT(QQ,L*0.98,'买入!'),COLOR0099FF;

MA5:MA(C,5);

MA10:MA(C,10);

MA20:MA(C,20);

MA60:MA(C,60);

MA120:MA(C,120);

MA240:MA(C,240);

通达信冲关主图指标公式