通达信强弱K线主图指标公式

通达信专业逃顶指标公式

pv:=INDEXV;

lb1:=v/ref(ma(v,5),1);lb2:=pv/ref(ma(pv,5),1);

a1:=lb1>lb2;a2:=lb1<lb2;

a3:=lb1>1.3*lb2 and lb1<=2*lb2;a4:=lb1>2*lb2;

a5:=lb2>1.3*lb1 and lb2<=2*lb1;a6:=lb2>2*lb1;

低于大盘:stICKLINE(a2,h,l,0,0),COLORDDDD00;

STICKLINE(a2,o,c,3,0),COLOR888800;

STICKLINE(a2,o,c,1.5,0),COLORaaaa00;

STICKLINE(a2,o,c,1,0),COLORcccc00;

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

弱于大盘:STICKLINE(a5,h,l,0,0),COLORGREEN;

STICKLINE(a5,o,c,3,0),COLOR008800;

STICKLINE(a5,o,c,1.5,0),COLOR00aa00;

STICKLINE(a5,o,c,1,0),COLOR00cc00;

超弱大盘:STICKLINE(a6,h,l,0,0),COLORFF0000;

STICKLINE(a6,o,c,3,0),COLOR880000;

STICKLINE(a6,o,c,1.5,0),COLORaa0000;

STICKLINE(a6,o,c,1,0),COLORcc0000;

领先大盘:STICKLINE(a1,h,l,0,0),COLORFF00FF;

STICKLINE(a1,o,c,3,0),COLOR880088;

STICKLINE(a1,o,c,1.5,0),COLORaa00aa;

STICKLINE(a1,o,c,1,0),COLORcc00cc;

强于大盘:STICKLINE(a3,h,l,0,0),COLOR0000FF;

STICKLINE(a3,o,c,3,0),COLOR000088;

STICKLINE(a3,o,c,1.5,0),COLOR0000aa;

STICKLINE(a3,o,c,1,0),COLOR0000cc;

超强大盘:STICKLINE(a4,h,l,0,0),COLOR00FFFF;

STICKLINE(a4,o,c,3,0),COLOR008888;

STICKLINE(a4,o,c,1.5,0),COLOR00aaaa;

STICKLINE(a4,o,c,1,0),COLOR00cccc;

m1:ma(c,5);m2:ma(c,10);m3:ma(c,22);m4:ma(c,60);m5:ma(c,120);

通达信终极顶底指标公式