老鼠仓选股公式Word文件下载.docx
《老鼠仓选股公式Word文件下载.docx》由会员分享,可在线阅读,更多相关《老鼠仓选股公式Word文件下载.docx(31页珍藏版)》请在冰豆网上搜索。
CROSS(MA13,大盘)ANDMA(C,5)>
MA(C,13);
p1:
=bigorder(1,1)*vol;
mb:
bigorder(1,1)*100,COLOR000080;
p2:
=bigorder(1,2)*vol;
bb:
bigorder(1,2)*100,COLOR0000C0;
p3:
=bigorder(1,3)*vol;
sb:
bigorder(1,3)*100,color0000ff;
STICKLINE(1,0,vol-p1,3,400),COLOR000040;
STICKLINE(1,vol-p1,vol-p2,3,400),COLOR000080;
STICKLINE(1,vol-p2,vol-p3,3,400),COLOR0000C0;
STICKLINE(1,vol-p3,vol,3,400),COLOR0000FF;
n1:
=bigorder(2,1)*vol;
ms:
bigorder(2,1)*100,COLOR008000;
n2:
=bigorder(2,2)*vol;
bs:
bigorder(2,2)*100,color00C000;
n3:
=bigorder(2,3)*vol;
ss:
bigorder(2,3)*100,color00ff00;
STICKLINE(1,0,vol-n1,3,-400),COLOR004000;
STICKLINE(1,vol-n1,vol-n2,3,-400),COLOR008000;
STICKLINE(1,vol-n2,vol-n3,3,-400),COLOR00C000;
STICKLINE(1,vol-n3,vol,3,-400),COLOR00FF00;
variable:
p1=0;
c1:
=INTPART(cyc(5)*100*0.96)/100;
p2:
=intpart(ref(cyc(5),1)*100)/100;
=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:
=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
p40:
=intpart(maxcyc*100)/100;
p41:
=intpart(ref(MAXCYC,1)*100)/100;
p4:
=p1=0andc>
p2or(ref(vol/100,1)<
vvandc>
intpart(p2*0.98*100)/100andvol>
min(capital*0.05,ref(ma(vol,34),1)));
p5:
=p1=1andc<
min(p3,p41);
p1:
=if(p4=1,1,if(p5=1,0,ref(p1,1)));
STICKLINE(p1=1andc<
o,c,o,8,1),color5454ff,layer0;
o,c,o,6,0),colorffff54;
o,c,l,0.5,0),color5454ff;
o,h,o,0.5,0),color5454ff;
STICKLINE(p1=0andc>
o,c,o,8,1),colorffff54;
o,c,h,0.5,0),colorffff54;
o,l,o,0.5,0),colorffff54;
DRAWTEXT(cross(p1,0),l*0.9,'
B'
),coloryellow,LINETHICK3;
DRAWTEXT(cross(1,p1),h*1.05,'
S'
),COLORgreen,LINETHICK3;
DRAWFLAGTEXT(p1=0and(p2*0.98-c)/c>
0.1,c,'
持币'
);
DRAWFLAGTEXT(p1=0and(p2*0.98-c)/c<
=0.1andref(vol/100,1)<
vv,c,'
明日收盘价超过'
+str(p2)+'
;
或收盘价超过'
+str(intpart(p2*0.98*100)/100)+'
且成交量大于'
+str(vv)+'
买入'
=0.1andref(vol/100,1)>
=vv,c,'
买入'
DRAWFLAGTEXT(p1=1and(c-min(c1,p40))/min(c1,p40)>
0.1,c,'
持股'
DRAWFLAGTEXT(p1=1and(c-min(c1,p40))/min(c1,p40)<
=0.1,c,'
明日收盘价跌破
'
+str(min(c1,p40))+'
卖出'
TODAY:
="
ddx.ddx"
=0;
{判断是否有正版数据}
特大买入:
=if(TODAY,"
DDEDATA@BIGORDER"
(1,3),BIGORDER(1,3));
特大卖出:
(2,3),BIGORDER(2,3));
DD:
=(特大买入-特大卖出);
HS:
=vol/capital;
DT:
=HS*DD*100;
特大户:
=(DT*capital)*DYNAINFO(11)/10000;
DRAWMOVETEXT(1,'
当日资金流入特大:
'
+NUMTOSTRN(特大户,0)+'
万元'
),colorred;
HS1:
大买入:
=if(TODAY,"
(1,2),BIGORDER(1,2));
大卖出:
(2,2),BIGORDER(2,2));
=大买入-大卖出-DD;
DT1:
=HS1*DD1*100;
大户:
=(DT1*capital)*DYNAINFO(11)/10000;
中户买入:
(1,1),BIGORDER(1,1));
中户卖出:
(2,1),BIGORDER(2,1));
HS2:
dd2:
=(中户买入-中户卖出)-(大买入-大卖出);
DT2:
=HS2*DD2*100;
中户:
=(DT2*capital)*DYNAINFO(11)/10000;
HS3:
S买入:
S卖出:
dd3:
=-(S买入-S卖出);
DT3:
=HS3*DD3*100;
散户:
=(DT3*capital)*DYNAINFO(11)/10000;
HS4:
ZL买入:
=if(TODAY,”DDEDATA@BIGORDER"
ZL卖出:
DDEDATA@BIGORDER"
dd4:
=ZL买入-ZL卖出;
DT4:
=HS4*DD4*100;
主力:
=(DT4*capital)*DYNAINFO(11)/10000;
主力买入手数:
=(capital*DT4);
S1X:
=10;
S1Y:
=15;
DRAWTEXTABS(S1X,S1Y*1,'
特大资金进出'
DRAWTEXTABS(S1X,S1Y*3,'
3
日流入:
+NUMTOSTRN(sum(特大户,3),0)+'
DRAWTEXTABS(S1X,S1Y*4,'
5
+NUMTOSTRN(sum(特大户,5),0)+'
DRAWTEXTABS(S1X,S1Y*5,'
10
日流入:
+NUMTOSTRN(sum
(特大户
10),0)+'
万元
DRAWTEXTABS(S1X,S1Y*6,'
20
20),0)+'
DRAWTEXTABS(S1X,S1Y*7,'
30
30),0)+'
DRAWTEXTABS(S1X,S1Y*8,'
60
60),0)+'
DRAWTEXTABS(S1X,S1Y*2,'
1
+NUMTOSTRN(sum(特大户,1),0)+'
s2x:
=s1x+130;
s2y:
大户:
DRAWTEXTABS(s2X,S2Y*1,'
DRAWTEXTABS(S2X,S2Y*2,'
s3y:
中户:
+NUMTOSTRN(中户,0)+'
),colorgreen;
DRAWTEXTABS(S3X,S3Y*1,'
中户资金进出'
s4x:
=s3x+130;
s4y:
散户:
+NUMTOSTRN(散户,0)+'
DRAWTEXTABS(S4X,S4Y*1,'
散户资金进出'
DRAWTEXTABS(S4X,S4Y*2,'
1日流入:
+NUMTOSTRN(sum(散户,1),0)+'
DRAWTEXTABS(S4X,S4Y*3,'
3日流入:
+NUMTOSTRN(sum(散户,3),0)+'
s5y:
主力:
+NUMTOSTRN(主力,0)+'
+'
占流通盘:
+主力买入手数/CAPITAL+'
%'
+'
占成交量:
+主力买入手数/vol+'
DRAWTEXTABS(S5X,S5Y*1,'
主力资金进出(特大户+大户)'
DRAWTEXTABS(S5X,S5Y*