大智慧分笔成交直观主动买卖盘(源码,副图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-05-31 08:31:00
公式简介:
该指标引用了夏卫东老师的大资金流副图的样式以及坐标,这里谢谢夏卫东老师
主动性的买卖盘是股票上涨的最直接的推手,软件上的内外盘只能反映一个笼统的主动买卖盘,但不太明细,不能明晰的反映出主动性买卖的大小单,这个公式可以
反映出各个区段的主动性买卖的手数,差额以及主动性买卖盘的笔数差额
说明一下,小单是指主动买卖盘100手一下的,一三是指主动性买卖盘100手到300手之间的,最上面的信息是买卖笔数的净差
希望对大家有用
注明,要在分笔成交的状态下来看
小单买:=sum(if(buyvol<100,vol,0),0);
小单卖:=sum(if(sellvol<100,vol,0),0);
壹叁买:=sum(if((buyvol>=100 and buyvol<300),vol,0),0);
壹叁卖:=sum(if((sellvol>=100 and sellvol<300),vol,0),0);
叁伍买:=sum(if((buyvol>=300 and buyvol<500),vol,0),0);
叁伍卖:=sum(if((sellvol>=300 and sellvol<500),vol,0),0);
伍千买:=sum(if((buyvol>=500 and buyvol<1000),vol,0),0);
伍千卖:=sum(if((sellvol>=500 and sellvol<1000),vol,0),0);
千上买:=sum(if(buyvol>=1000,vol,0),0);
千上卖:=sum(if(sellvol>=1000,vol,0),0);
小于一百买:=sum(buyvol<100,0);
小于一百卖:=sum(sellvol<100,0);
一百到三百买:=sum(buyvol>=100 and buyvol<300,0);
一百到三百卖:=sum(sellvol>=100 and sellvol<300,0);
三百到五百买:=sum(buyvol>=300 and buyvol<500,0);
三百到五百卖:=sum(sellvol>=300 and sellvol<500,0);
五百到一千买:=sum(buyvol>=500 and buyvol<1000,0);
五百到一千卖:=sum(sellvol>=500 and sellvol<1000,0);
大于一千买:=sum(buyvol>=1000,0);
大于一千卖:=sum(sellvol>=1000,0);
小于一百净:小于一百买-小于一百卖;
一百到三百净:一百到三百买-一百到三百卖;
三百到五百净:三百到五百买-三百到五百卖;
五百到一千净:五百到一千买-五百到一千卖;
大于一千净:大于一千买-大于一千卖;
小单净:=小单买-小单卖;
壹叁净:=壹叁买-壹叁卖;
叁伍净:=叁伍买-叁伍卖;
伍千净:=伍千买-伍千卖;
千上净:=千上买-千上卖;
最大值:=400/(MAX(小单买,小单卖,壹叁买,壹叁卖,叁伍买,叁伍卖,伍千买,伍千卖,千上买,千上卖));
千买:=600-(千上买*最大值);
千卖:=600-(千上卖*最大值);
千五买:=600-(伍千买*最大值);
千五卖:=600-(伍千卖*最大值);
三五买:=600-(叁伍买*最大值);
三五卖:=600-(叁伍卖*最大值);
一三买:=600-(壹叁买*最大值);
一三卖:=600-(壹叁卖*最大值);
小买:=600-(小单买*最大值);
小卖:=600-(小单卖*最大值);
DRAWRECTREL(245,千买,270,610,RGB(200,0,0)),COLOR000000,LAYER5;{千买}
DRAWRECTREL(270,千卖,295,610,RGB(0,200,0)),COLOR000000,LAYER5;{千卖}
DRAWRECTREL(245,612,297,640,(IF((千上净 >= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{横彩条};
DRAWRECTREL(410,千五买,430,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(430,千五卖,450,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(410,612,450,640,(IF((伍千净 >= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{横彩条};
DRAWRECTREL(540,三五买,560,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(560,三五卖,580,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(540,612,580,640,(IF((叁伍净 >= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{横彩条}
DRAWRECTREL(670,一三买,690,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(690,一三卖,710,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(670,612,710,640,(IF((壹叁净 >= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{横彩条}
DRAWRECTREL(800,小买,820,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(820,小卖,840,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(800,612,840,640,(IF((小单净 >= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;;{横彩条};
{显示文字}
DRAWTEXTREL(170,450,'一'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(195,450,'千'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(170,580,'以'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(195,580,'上'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(360,450,'千'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(360,580,'五'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(490,450,'三'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(490,580,'五'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(620,450,'一'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(620,580,'三'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(750,450,'小'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(750,580,'单'),LINETHICK2,ColorDDFFFF;
DRAWTEXTREL(70,680,'买入(手):'),colorred;
DRAWTEXTREL(70,750,'卖出(手):'),Color00FF00;
DRAWTEXTREL(70,890,'净买(手):'),COLOR00FFFF;
{显示数据}
DRAWTEXTREL(260,680,NUMTOSTRN(千上买,2)),colorred;
DRAWTEXTREL(260,750,NUMTOSTRN(千上卖,2)),COLOR00FF00;
DRAWTEXTREL(260,890,NUMTOSTRN(千上净,2)),COLOR00FFFF;
DRAWTEXTREL(410,680,NUMTOSTRN(伍千买,2)),colorred;
DRAWTEXTREL(410,750,NUMTOSTRN(伍千卖,2)),COLOR00FF00;
DRAWTEXTREL(410,890,NUMTOSTRN(伍千净,2)),COLOR00FFFF;
DRAWTEXTREL(540,680,NUMTOSTRN(叁伍买,2)),colorred;
DRAWTEXTREL(540,750,NUMTOSTRN(叁伍卖,2)),COLOR00FF00;
DRAWTEXTREL(540,890,NUMTOSTRN(叁伍净,2)),COLOR00FFFF;
DRAWTEXTREL(670,680,NUMTOSTRN(壹叁买,2)),colorred;
DRAWTEXTREL(670,750,NUMTOSTRN(壹叁卖,2)),COLOR00FF00;
DRAWTEXTREL(670,890,NUMTOSTRN(壹叁净,2)),COLOR00FFFF;
DRAWTEXTREL(800,680,NUMTOSTRN(小单买,2)),colorred;
DRAWTEXTREL(800,750,NUMTOSTRN(小单卖,2)),COLOR00FF00;
DRAWTEXTREL(800,890,NUMTOSTRN(小单净,2)),COLOR00FFFF;
[url=http://www.goodgupiao.com/gupiaogongshi/14006.html][B]大智慧分笔成交直观主动买卖盘(源码,副图)[/B][/url]