首发神仙指路3.2全套指标源码
-
相关简介:C/C++ Code 复制内容到剪贴板 {过渡} aa:extdata(17); gd:ma(aa,4)*1.2; hh:ref(C,1); MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); MA4:=MA(CLOSE,30); MA5:=MA(CLOSE,60); MA6:=MA(CLOSE,120); AA1:=COUNT((MA1MA2ANDMA2MA3AND
-
文章来源:择股网作者:股海网发布时间:2009-08-08浏览次数:
C/C++ Code复制内容到剪贴板
- {过渡}
- aa:extdata(17);
- gd:ma(aa,4)*1.2;
- hh:ref(C,1);
- MA1:=MA(CLOSE,5);
- MA2:=MA(CLOSE,10);
- MA3:=MA(CLOSE,20);
- MA4:=MA(CLOSE,30);
- MA5:=MA(CLOSE,60);
- MA6:=MA(CLOSE,120);
- AA1:=COUNT((MA1>MA2 AND MA2>MA3 AND MA3>MA4),5)>=5;
- BB1:=REF(C,1)>REF(C,2) AND REF(C,2)>REF(C,3);
- ---------------------------------------------------------
- {扩展15}
- p4:="macd.macd";
- 大波段:if( p4<0 and ref(p4,1)=llv(p4,10) and p4>ref(p4,1),1,0),stick,colorred;
- ---------------------------------------------------------
- {扩展16}
- AA:="过渡.gd#day";
- AA1:=AA*0.2;
- A2:=count(sellvol>AA1,0);
- A1:=count(buyvol>AA1,0);
- bb:=A1-A2;
- cc:llv(bb,0);
- ----------------------------------------------------
- {扩展17}
- aa:if(date<1290808,hhv(buyvol,0),0);
- ----------------------------------------------------
- {扩展18}
- if(Date<1290808,(单笔买量-单笔卖量)/cc,0);
- DRAWMOVETEXT(Date>1090710 ,'沽权天下'),colorgreen;
- DRAWGBK( Date>1090710),COLORred;
- --------------------------------------------------
- {扩展19}
- AA:=if(count(buyvol>0,0)<50,50,count(buyvol>0,0));
- BB:=if(count(sellvol>0,0)<50,50,count(sellvol>0,0));
- 均买单:=sum(buyvol,0)/AA;
- 均卖单:=sum(sellvol,0)/BB;
- 量变:=均买单-均卖单;
- 扩展19:sum(量变,0)/count(abs(量变)>0,0);
- ----------------------------------------------------
- {神仙指路}
- aa:=extdata(17);
- ee:=sum(aa,10)/count(aa>0,10);
- ff:=sum(aa,5)/count(aa>0,5);
- bb:ff/ee,colorred;
- dd:llv(bb,3),colorred;
- hh:=(c-ref(c,1))/c;
- FILLRGN(bb,dd,bb>dd and (hh>0.01 or ref(hh,1)>0.01) ,RGB(255,0,0),bb>dd,RGB(255,0,0));
- DRAWTEXT(ref(bb,1)=ref(dd,1) and ref(dd,1)=llv(bb,10),dd,'↑买');
- DRAWTEXT(ref(bb,1)=hhv(bb,10)and bb>1.1,bb,'↓卖');
- pp:=if(ref(bb,1)=ref(dd,1) and ref(dd,1)=llv(bb,10),1,0);
- vv:=if(ref(bb,1)=hhv(bb,10)and bb>1.1,1,0);
- 买:pp ,linethick0;
- 卖:vv ,linethick0;
- -------------------------------------------
- {主力意图}
- aa:= extdata(16);
- bb:= llv(aa,3);
- FILLRGN(bb,0,bb<-10,RGB(255,0,0),bb>5,RGB(0,255,0));
- DRAWFLAGTEXT(bb<-10,bb,'主力吸筹区');
- ls:if(bb<0,extdata(15)*10,0),STICK3D,COLORBLUE;
- DRAWFLAGTEXT(ls>0,10,'主力拉伸在即'),colorgreen;
- DRAWICON(ls>0,20,1);
- ------------------------------------------------
- {生命线}
- ee:="过渡.gd#day";
- xx:="神仙指路.买#day";
- 大单标准:ee,PRECIS0,linethick0;
- 大买次数:count(buyvol>=大单标准,0),linethick0;
- 大卖次数:count(sellvol>=大单标准,0),linethick0;
- 大买总量:sum(if(buyvol>=大单标准,buyvol,0),0),linethick0;
- 大卖总量:sum(if(sellvol>=大单标准,sellvol,0),0),linethick0;
- AA:=if(count(buyvol>0,0)<50,50,count(buyvol>0,0));
- BB:=if(count(sellvol>0,0)<50,50,count(sellvol>0,0));
- 均买单:=sum(buyvol,0)/AA;
- 均卖单:=sum(sellvol,0)/BB;
- 量变:=均买单-均卖单;
- 生命线:sum(量变,0)/count(abs(量变)>0,0);
- FILLRGN(生命线,0,生命线>0,RGB(255,0,0),生命线<0,RGB(0,255,0));
- DRAWTEXT(buyvol>=大单标准,生命线,'↑大买单');
- DRAWTEXT(sellvol>=大单标准,生命线,'↓大卖单'),coloryellow;
- -----------------------------------------------------
- {评分}
- AA:="过渡.gd#day";
- AA1:=AA*0.2;
- A2:=count(sellvol>AA1,0);
- A1:=count(buyvol>AA1,0);
- bb:=A1-A2;
- cc:hhv(bb,0);
- qq:=0;
- aa6:="过渡.hh#day";
- WW2:="过渡.CC#day";
- nn1:="生命线.生命线";
- nn3:=count(nn1>ref(nn1,2),300)>200;
- dd:=if(c>aa6 and WW2 AND NN3,1,0);
- qq:=hhv(dd,0);
- ww:qq,linethick0;
- DRAWTEXT(qq>ref(qq,1),3,'☆买入'),colorred;
- -------------------------------------------
- {综合预警}
- qq:=0;
- aa6:="过渡.hh#day";
- WW2:="过渡.CC#day";
- nn1:="生命线.生命线";
- nn3:=count(nn1>ref(nn1,2),300)>200;
- dd:=if(c>aa6 and WW2 AND NN3,1,0);
- qq:=hhv(dd,0);
- qq>0 and ref(qq,1)=0;
- cc:="vol#day"(1,1,1);
- 扩展18:(单笔买量-单笔卖量)/cc;
- --------------------------------
- {神仙预警}
- if time>93500 then begin
- aa:=sum(c,0)/count(c,0);
- bb:=sum(buyvol*c,0)/sum(buyvol,0);
- cc:=(bb-aa)/aa*100 ;
- dd:=cc>0.3 and ref(cc,5)<0.3 and aa>ref(aa,5) and "神仙指路.买#day"=1;
- dd=1;
- end;
- -------------------------
- {超卖选股}
- if time>93500 then begin
- aa:=sum(c,0)/count(c,0);
- bb:=sum(buyvol*c,0)/sum(buyvol,0);
- cc:=(bb-aa)/aa*100 ;
- dd:=cc>0.3 and ref(cc,5)<0.3 and aa>ref(aa,5) and "超卖.AA#day"<-20;
- dd=1;
- end;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|