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.gupang.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);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。