五色解盘主图指标 (源码)

2012-03-07 08:58:00来源:本站整理浏览:115

大智慧五色解盘主图指标公式股票软件源码如下:

N:=5;
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,8,0),COLOR888800;
STICKLINE(a2,o,c,5,0),COLORaaaa00;
STICKLINE(a2,o,c,3,0),COLORcccc00;
弱于大盘:STICKLINE(a5,h,l,0,0),COLORGREEN;
STICKLINE(a5,o,c,8,0),COLOR008800;
STICKLINE(a5,o,c,5,0),COLOR00aa00;
STICKLINE(a5,o,c,3,0),COLOR00cc00;
超弱大盘:STICKLINE(a6,h,l,0,0),COLORFF0000;
STICKLINE(a6,o,c,8,0),COLOR880000;
STICKLINE(a6,o,c,5,0),COLORaa0000;
STICKLINE(a6,o,c,3,0),COLORcc0000;
领先大盘:STICKLINE(a1,h,l,0,0),COLORFF00FF;
STICKLINE(a1,o,c,8,0),COLOR880088;
STICKLINE(a1,o,c,5,0),COLORaa00aa;
STICKLINE(a1,o,c,3,0),COLORcc00cc;
强于大盘:STICKLINE(a3,h,l,0,0),COLOR0000FF;
STICKLINE(a3,o,c,8,0),COLOR000088;
STICKLINE(a3,o,c,5,0),COLOR0000aa;
STICKLINE(a3,o,c,3,0),COLOR0000cc;
超强大盘:STICKLINE(a4,h,l,0,0),COLOR00FFFF;
DRAWTEXTABS(5,5,'股票软件下载网 www.gpxiazai.com'),linethick1,COLOR00EEff;
STICKLINE(a4,o,c,8,0),COLOR008888;
STICKLINE(a4,o,c,5,0),COLOR00aaaa;
VAR1:=EMA((LOW*0.9*VOL+REF(LOW,1)*0.9*(CAPITAL-VOL))/CAPITAL,N);
IF(CLOSE< VAR1,VAR1*1.02,VAR1);
VAR2: EMA((HIGH*1.1*VOL+REF(HIGH,1)*1.1*(CAPITAL-VOL))/CAPITAL,15);
检钱区: STICKLINE(COUNT(CLOSE< VAR1,3)>=2,OPEN,CLOSE,5,0), COLORWHITE;
跟进: DRAWTEXT(CROSS(CLOSE,VAR1),VAR1,'跟进');
MA(CLOSE,5);

大智慧五色解盘主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式