分时Z力
{分时超赢【雨杨数据】}
drawtextabs(0,3,'主力动向╰☆╮雨杨数据'),COLOR00FFFF;
HS:=vol/capital;
N:=100;
主力:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(AMOUNT,0)/10000;
大户:=(("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(1,3))-("DDEDATA@BIGORDERSCALE"(2,2)-"DDEDATA@BIGORDERSCALE"(2,3)))*SUM(AMOUNT,0)/10000;
机构:=("DDEDATA@BIGORDERSCALE"(1,3)-"DDEDATA@BIGORDERSCALE"(2,3))*SUM(AMOUNT,0)/10000;
主力流入:主力,LINETHICK1;
主买:=("DDEDATA@BIGORDERSCALE"(1,2))*AMOUNT/10000;
主卖:=("DDEDATA@BIGORDERSCALE"(2,2))*AMOUNT/10000;
主力现买:主买,colorYellow,LINETHICK0;
主力现卖:主卖,COLOR408000,LINETHICK0;
当时增减度:HS*100*(主买-主卖),linethick0,COLORRed;
现净额:(主买-主卖),COLOR0080FF,LINETHICK0;
DRAWTEXTABS(420,10,'大单流入:'+ NUMTOSTRN(大户,2)),COLOR11FFFF,LINETHICK4;
DRAWTEXTABS(220,10,'机构流入:'+ NUMTOSTRN(机构,2)),COLORFF0080,LINETHICK4;
DRAWTEXTABS(620,10,'主力流入:'+ NUMTOSTRN(主力流入,2)),COLORRed,LINETHICK4;
STICKLINE(当时增减度<0,主力流入,主力流入+当时增减度*n,6,0),COLORGreen;
STICKLINE(当时增减度>0,主力流入,主力流入+当时增减度*n,6,0),COLORRed;
---------------------------------------------------------------------------------------------------------------------
分时S户
{分时超赢【雨杨数据】}
drawtextabs(0,3,'散户动向╰☆╮雨杨数据'),COLOR00FFFF;
N:=100;
HS:=vol/capital;
散户:=("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(1,1))*SUM(AMOUNT,0)/10000;
中户:=(("DDEDATA@BIGORDERSCALE"(1,1)-"DDEDATA@BIGORDERSCALE"(1,2))-("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(2,2)))*SUM(AMOUNT,0)/10000;
小买:=("DDEDATA@BIGORDERSCALE"(2,1))*AMOUNT/10000;
小卖:=("DDEDATA@BIGORDERSCALE"(1,1))*AMOUNT/10000;
中买:=("DDEDATA@BIGORDERSCALE"(1,1)-"DDEDATA@BIGORDERSCALE"(1,2))*AMOUNT/10000;
中卖:=("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(2,2))*AMOUNT/10000;
散户流入:(散户+中户),colorYellow,LINETHICK1;
散户现买:(小买+中买),colorYellow,LINETHICK0;
散户现卖:(小卖+中卖),COLOR408000,LINETHICK0;
DRAWTEXTABS(420,10,'中单流入:'+ NUMTOSTRN(中户,2)),COLOR11FFFF,LINETHICK4;
DRAWTEXTABS(220,10,'小单流入:'+ NUMTOSTRN(散户,2)),COLORFF0080,LINETHICK4;
DRAWTEXTABS(620,10,'散户流入:'+ NUMTOSTRN(散户流入,2)),COLORRed,LINETHICK4;
当时增减度:HS*100*(散户现买-散户现卖),linethick0,COLORRed;
现净额:(散户现买-散户现卖),COLOR0080FF,LINETHICK0;
STICKLINE(当时增减度<0,散户流入,散户流入+当时增减度*n,6,0),COLORGreen;
STICKLINE(当时增减度>0,散户流入,散户流入+当时增减度*n,6,0),COLORRed;
--------------------------------------------------------------------------------------------------------------
分时Z金
{分时超赢【雨杨数据】}
drawtextabs(0,3,'资金动向╰☆╮雨杨数据'),COLOR00FFFF;
主买:=("DDEDATA@BIGORDERSCALE"(1,2))*AMOUNT/10000;
主卖:=("DDEDATA@BIGORDERSCALE"(2,2))*AMOUNT/10000;
主力净额:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(AMOUNT,0)/10000;
STICKLINE(主力净额>0,0,主买,6,410),colorred;
STICKLINE(主力净额<0,0,主卖,6,410),colorgreen;
HS:=vol/capital;
机构:=("DDEDATA@BIGORDERSCALE"(1,3)-"DDEDATA@BIGORDERSCALE"(2,3))*SUM(AMOUNT,0)/10000;
散户:=("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(1,1))*SUM(AMOUNT,0)/10000;
中户:=(("DDEDATA@BIGORDERSCALE"(1,1)-"DDEDATA@BIGORDERSCALE"(1,2))-("DDEDATA@BIGORDERSCALE"(2,1)-"DDEDATA@BIGORDERSCALE"(2,2)))*SUM(AMOUNT,0)/10000;
大户:=(("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(1,3))-("DDEDATA@BIGORDERSCALE"(2,2)-"DDEDATA@BIGORDERSCALE"(2,3)))*SUM(AMOUNT,0)/10000;
主力:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(AMOUNT,0)/10000;
主力流入:主力,linethick0,colorRed;
机构流入:机构,linethick0,ColorFF0000;
大户流入: 大户,linethick0,colorYellow;
中户流入:中户,linethick0,colorGreen;
散户流入:散户,linethick0,ColorFF00BE;
当时增减度:HS*100*(主买-主卖),linethick0,COLORRed;
本文仅仅提供源码
|