- 金币:
-
- 奖励:
-
- 热心:
-
- 注册时间:
- 2007-9-30
|
|
根据赢富数据和老师发布的每日增减数据结合135均线做了一个简单的主图公式:
{解盘}
if DISPSTATUS=2 then drawtextrel(0,20,'赢富: '),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,20,'散户户数: '+ NUMTOSTRN(SELFDATA('散户户数TV'),0) +' '
+'中户户数: '+NUMTOSTRN(SELFDATA('中户户数TV'),0) +' '
+'大户户数: '+NUMTOSTRN(SELFDATA('大户户数TV'),0) +' '
+'超大户数: '+NUMTOSTRN(SELFDATA('超大户数TV'),0) +' '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,60,'帐户总数: '+ NUMTOSTRN(SELFDATA('帐户总数TV'),0) +' '
+'七日增减比率: '+NUMTOSTRN(SELFDATA('总帐户七日增减比率TV'),3) +'% '
+'散户七日增减比率: '+NUMTOSTRN(SELFDATA('散户七日增减比率TV'),3) +'%'
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,100,'散户持仓率: '+ NUMTOSTRN(SELFDATA('散户持仓率TV'),3) +'% '
+'中户持仓率: '+NUMTOSTRN(SELFDATA('中户持仓率TV'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,140,'大户持仓率: '+ NUMTOSTRN(SELFDATA('大户持仓率TV'),3) +'% '
+'法人机构持仓率: '+NUMTOSTRN(SELFDATA('法人机构持仓率TV'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,180,'基金机构持仓率: '+ NUMTOSTRN(SELFDATA('基金机构持仓率TV'),3) +'% '
+'七日增减比率: '+NUMTOSTRN(SELFDATA('基金机构七日增减比率TV'),3)+'% '
+'机构总持仓率: '+NUMTOSTRN(SELFDATA('机构总持仓率TV'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(0,220,'依然: '),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,220,'机构当日增仓量: '+ NUMTOSTRN(SELFDATA('机构当日增仓量'),3) +'手 '
+'机构当日增仓率: '+NUMTOSTRN(SELFDATA('机构当日增仓率'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,260,'机构三日增仓量: '+ NUMTOSTRN(SELFDATA('机构三日增仓量'),3) +'手 '
+'机构三日增仓率: '+NUMTOSTRN(SELFDATA('机构三日增仓率'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,300,'机构五日增仓量: '+ NUMTOSTRN(SELFDATA('机构五日增仓量'),3) +'手 '
+'机构五日增仓率: '+NUMTOSTRN(SELFDATA('机构五日增仓率'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,340,'机构十日增仓量: '+ NUMTOSTRN(SELFDATA('机构十日增仓量'),3) +'手 '
+'机构十日增仓率: '+NUMTOSTRN(SELFDATA('机构十日增仓率'),3)+'% '
),VALIGN0,COLORCYAN;
if DISPSTATUS=2 then drawtextrel(40,380,'机构廿日增仓量: '+ NUMTOSTRN(SELFDATA('机构廿日增仓量'),3) +'手 '
+'机构廿日增仓率: '+NUMTOSTRN(SELFDATA('机构廿日增仓率'),3)+'% '
),VALIGN0,COLORCYAN;
ema13:ema(c,13),colorblue,linethick2;
ema17:ema(c,17),colorred,linethick2;
ema34:ema(c,34),colorgreen;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),colorffcc66;
ar1:=ema55>ema34 and ema34>ema13;
ar2:=BARSLAST((c-ema13)/ema13*100<-6);
ar3:=ema13>=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'红杏出墙'),coloryellow;
stickline(ar6,h,l,0.5,1),coloryellow;
stickline(ar6,o,c,6,1),linethick2,coloryellow;
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2;
br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) or ref(c,5)<ref(ema55,5));
br4:=br1 and br2 and br3;
drawtext(br4 and filter(br4,10),l-0.09,'蚂蚁上树'),color00C5FF;
stickline(br4 and filter(br4,10),h,l,0.5,1),color00C5FF;
stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00C5FF;
cr1:=(c-ref(c,1))/ref(c,1)*100>0.5;
cr2:=v>ma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema55<0.03;
cr5:=ema55<=ema120 and ema55>=ref(ema55,1);
cr6:=FILTER(cr1 and cr2 and cr3 and cr4 and cr5,2);
stickline(cr6,h,l,0.5,1),colorf00ff0;
stickline(cr6,o,c,6,1),linethick2,colorf00ff0;
drawtext(cr6,l-0.09,'红衣侠女'),colorf00ff0;
dr1:=ema13>ema34 and ema34<ema55;
dr2:=BARSLAST(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(o>c and c<ref(c,1) and c>ema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=c>ref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and FILTER(dr7 ,10);
drawtext(dr8,l-0.09,'黑客点击'),colord6ba63;
stickline(dr8,h,l,0.5,1),colord6ba63;
stickline(dr8,o,c,6,1),linethick2,colord6ba63;
er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55);
DRAWTEXT(er,l-0.09,'均线互换'),color0099ff;
stickline(er,h,l,0.5,1),color0099ff;
stickline(er,o,c,6,1),linethick2,color0099ff;
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34);
DRAWTEXT(fr,l-0.09,'梅开二度'),colorwhite;
stickline(fr,h,l,0.5,1),colorwhite;
stickline(fr,o,c,6,1),linethick2,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
drawtext(gr6 and gr7,h+0.13,'*'),color00ff00;
stickline(gr6 and gr7,h,h+0.09,4,0),color00ff00;
hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;
stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,colorFFC8FF;
收盘价:c;
------------------------------------------
赢富数据(0928-1113)
有哪位朋友有全的中户户数、大户户数、超大户数的数据麻烦上传一下
有没有朋友知道批量导入自定义数据的方法,要不然每天导入几十个数据需要太长时间了,前面朋友上传的那个大智慧飞狐自定义数据批量转换工具导入时报错! |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
-
| 参与人数 1 | 奖励 +50 |
时间 |
理由
|
lymanqun
| + 50 |
2007-11-17 09:05 |
帖子很棒,加分鼓励,期待您更多优秀帖 ... |
查看全部评分
|
|