通达信穿越多条均线主图指标公式

通达信提前额指标公式

VAR15:=MA(CLOSE,5);

VAR16:=MA(CLOSE,10);

VAR17:=MA(CLOSE,20);

VAR18:=MA(CLOSE,30);

VAR19:=MA(CLOSE,60);

VAR20:=MA(CLOSE,120);

VAR21:=MA(CLOSE,250);

WW5:=RANGE(VAR15 ,O,C);

QQ10:=RANGE(VAR16 ,O,C);

GG20:=RANGE(VAR17 ,O,C);

DD30:=RANGE(VAR18 ,O,C);

WW60:=RANGE(VAR19 ,O,C);

TT120:=RANGE(VAR20 ,O,C);

GG250:=RANGE(VAR21 ,O,C);

JJBB:=WW5+QQ10+GG20+DD30+WW60+TT120+GG250;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

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

stICKLINE(JJBB>=3,O,C,0.5,0),COLORGREEN;

DRAWTEXT(JJBB=3,H*1.02,'3'),COLORWHITE;

DRAWTEXT(JJBB=4,H*1.02,'4'),COLORWHITE;

DRAWTEXT(JJBB=5,H*1.02,'5'),COLORWHITE;

DRAWTEXT(JJBB=6,H*1.02,'6'),COLORWHITE;

DRAWTEXT(JJBB=7,H*1.02,'7'),COLORWHITE;

M5:MA(CLOSE,5),LINETHICK1,COLORYELLOW ;

M10:MA(CLOSE,10)LINETHICK1,COLORMAGENTA;

M20:MA(CLOSE,20)LINETHICK1,COLORGREEN;

M30:MA(CLOSE,30)LINETHICK1,COLORBLUE;

M60:MA(CLOSE,60),LINETHICK1,COLOR0099FF;

M120:MA(CLOSE,120),LINETHICK2,COLORRED;

M250:MA(CLOSE,250),LINETHICK2,COLORWHITE ;

通达信风雷九州指标公式