您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:免费用户可用的分笔四线和【DDE四线】 (源码,副团,附图)

免费用户可用的分笔四线和【DDE四线】 (源码,副团,附图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-03-17 09:12:00
公式简介:

发一个免费用户可用的分笔四线来源于分笔数据,我用的门限的大小和正版DDE的分类不同【每一分笔】【20手按相当于2万元----即每股按10元计算】【小单:<20手】【中单:2---100手】【大单:100---500手】【特大单;>500手】如果对比正版DDE四线【每一单】差别还不小,不过每分钟都可以看到,不必等盘后就是了,你如果是宁缺毋滥还是不用的好,要是滥竽充数还可参考着用,
关键是它们的统计方法有区别,所以数据也不同,老实讲DDE的数据也不是完全没毛病【庄家就老是在DDE上钻空子】,确切的说还是逐笔比它们都精确,你用不用自己决定,我仅提供个方法,多一条思路,多一个心眼,不是吗?
需引入分笔数据------
{01分笔}
小单买:sum(if(buyvol<20,vol,0),0),linethick1; {【每一分笔】20手按相当于2万元----即每股按10元计算}
小单卖:sum(if(sellvol<20,vol,0),0),linethick1;
中单买:sum(if((buyvol>=20 and buyvol<100),vol,0),0),linethick1;
中单卖:sum(if((sellvol>=20 and sellvol<100),vol,0),0),linethick1;
大单买:sum(if((buyvol>=100 and buyvol<500),vol,0),0),linethick1;
大单卖:sum(if((sellvol>=100 and sellvol<500),vol,0),0),linethick1;
特单买:sum(if(buyvol>=500 ,vol,0),0),linethick1;
特单卖:sum(if(sellvol>=500 ,vol,0),0),linethick1;
再发分时用的--------
{四条分笔}
DRAWRECTABS(0,0 ,1300 ,999 , rgb(0,0,10)),LAYER7;
a1:="01分笔.特单买#tick";
a2:="01分笔.特单卖#tick";
a3:="01分笔.大单买#tick";
a4:="01分笔.大单卖#tick";
a5:="01分笔.中单买#tick";
a6:="01分笔.中单卖#tick";
a7:="01分笔.小单买#tick";
a8:="01分笔.小单卖#tick";
a9:=a1+a2+a3+a4+a5+a6+a7+a8;

a10:=a7 - a8;
a11:=a5 - a6;
a12:=a3 - a4;
a13:=a1 - a2;
a14:=(a1 - a2)+(a3 - a4);

a15:=(100 * a7) / a9;
a16:=(100 * a8) / a9;
a17:=(100 * a5) / a9;
a18:=(100 * a6) / a9;
a19:=(100 * a3) / a9;
a20:=(100 * a4) / a9;
a21:=(100 * a1) / a9;

散户筹码:A10,linethick2,colorGreen,LAYER1;
中户筹码:A11,linethick1,colorGreen,LAYER1,DOTLINE;
大户筹码:A12,linethick3,colorYellow,LAYER1;
机构筹码:A13,linethick3,ColorFF9900,LAYER1;
主力筹码:A14,linethick2,colorRed,LAYER1;

FILLRGN(散户筹码,0),Color001a00,LAYER6;;
FILLRGN(主力筹码,0),Color000C30,LAYER6;;
a22:=(100 * a2) / a9;
a23:=(100 * (a1 + a3)) / a9;
a24:=(100 * (a2 + a4)) / a9;
a25:=(100 * a10) / a9;
a26:=(100 * a11) / a9;
a27:=(100 * a12) / a9;
a28:=(100 * a13) / a9;
a29:=(100 * a14) / a9;

a30:=(a1);
a31:=(a2);
a32:=(a3);
a33:=(a4);
a34:=(a5);
a35:=(a6);
a36:=(a7);
a37:=(a8);
a38:=(a1 + a3);
a39:=(a2 + a4);
a40:=(a10);
a41:=500 / (MAX(a30,a31,a32,a33,a34,a35,a36,a37,a40,中户筹码,大户筹码,机构筹码));
a42:=550 / (MAX(a38,a39,主力筹码));
a43:=600 - (a30 * a41);
a44:=600 - (a31 * a41);
a45:=600 - (a32 * a41);
a46:=600 - (a33 * a41);
a47:=600 - (a34 * a41);
a48:=600 - (a35 * a41);
a49:=600 - (a36 * a41);
a50:=600 - (a37 * a41);
a51:=600 - (a38 * a42);
a52:=600 - (a39 * a42);
a53:=600 - (a40 * a41);
a54:=600 - (中户筹码 * a41);
a55:=600 - (大户筹码 * a41);
a56:=600 - (机构筹码 * a41);
a57:=600 - (主力筹码 * a42);

DRAWRECTREL(50,a49,65,600,180),color0000FF,LINETHICK2;
DRAWRECTREL(70,a50,85,600,9213440),colorYellow;
DRAWRECTREL(90,a53,105,600,(IF((a10 >= 0),3289855,8584960))),colorYellow,LINETHICK2;
DRAWRECTREL(160,a47,175,600,180),color0000FF,LINETHICK2;
DRAWRECTREL(180,a48,195,600,9213440),colorYellow;
DRAWRECTREL(200,a54,215,600,(IF((a11 >= 0),3289855,8584960))),colorYellow,LINETHICK2;
DRAWRECTREL(270,a45,285,600,180),color0000FF,LINETHICK2;
DRAWRECTREL(290,a46,305,600,9213440),color00FF00,LINETHICK2;
DRAWRECTREL(310,a55,325,600,(IF((a12 >= 0),3289855,8584960))),colorYellow,LINETHICK2;
DRAWRECTREL(380,a43,395,600,180),color0000FF,LINETHICK2;
DRAWRECTREL(400,a44,415,600,9213440),color00FF00,LINETHICK2;
DRAWRECTREL(420,a56,435,600,(IF((a13 >= 0),3289855,8584960))),colorYellow,LINETHICK2;

DRAWRECTREL(925,a51,940,600,180),color0000FF,LINETHICK2;
DRAWRECTREL(945,a52,960,600,9213440),color00FF00,LINETHICK2;
DRAWRECTREL(965,a57,980,600,(IF((a14 >= 0),3289855,8584960))),colorYellow,LINETHICK2;
DRAWRECTREL(30,600,560,604,255),colorWhite;
DRAWRECTREL(910,600,990,604,255),colorWhite;
DRAWTEXTREL(90,200,'散户'),Color00FF00,LINETHICK4;
DRAWTEXTREL(90,300,''+NUMTOSTRN(a25,2)+'%'),Color11FFFF,LINETHICK2;
DRAWTEXTREL(200,200,'中户'),ColorDDFF00,LINETHICK4;
DRAWTEXTREL(200,300,''+NUMTOSTRN(a26,2)+'%'),Color11FFFF,LINETHICK2;
DRAWTEXTREL(310,200,'大户'),Color00FFFF,LINETHICK4;
DRAWTEXTREL(310,300,''+NUMTOSTRN(a27,2)+'%'),Color000FFF,LINETHICK2;
DRAWTEXTREL(420,200,'机构'),ColorFF9900,LINETHICK4;
DRAWTEXTREL(420,300,''+NUMTOSTRN(a28,2)+'%'),Color00FFFF,LINETHICK2;
DRAWTEXTREL(965,200,'主力'),Color0000FF,LINETHICK4;
DRAWTEXTREL(965,300,''+NUMTOSTRN(a29,2)+'%'),Color00FFFF,LINETHICK4;
0,COLOR00EEff,DOTLINE;
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/18383.html][B]免费用户可用的分笔四线和【DDE四线】 (源码,副团,附图)[/B][/url]