龙听期货论坛's Archiver

龙听 发表于 2018-12-24 15:49

大智慧顶牛增强指标公工式源码[大智慧公式]

[code]
{顶牛增强}
小单差:(1-BIGORDER(1,1)-(1-BIGORDER(2,1)))*100,colorgreen,LINETHICK0,precis2;
特大差:(BIGORDER(1,3)-BIGORDER(2,3))*100,LINETHICK0,coloryellow,precis2;
大单差:((BIGORDER(1,2)-BIGORDER(2,2))-(BIGORDER(1,3)-BIGORDER(2,3)))*100,LINETHICK0,ColorFF00FF,precis2;
大户买:=(BIGORDER(1,2)-BIGORDER(1,3))*AMOUNT/1000000;
大户卖:=(BIGORDER(2,2)-BIGORDER(2,3))*AMOUNT/1000000;
大户:=(大户买-大户卖)*100;
特大买:=BIGORDER(1,3)*AMOUNT/1000000;
特大卖:=BIGORDER(2,3)*AMOUNT/1000000;
特大:=(特大买-特大卖)*100;
BBD:大户+特大,color3d,precis2;
买入单数:= order(1);
卖出单数:= order(2);
单数比:卖出单数/买入单数,LINETHICK0,precis2;
外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;
内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;
主动率:(外盘-内盘)/(内盘+外盘)*100,precis2,LINETHICK0;
买入:=BIGORDER(1,2)*AMOUNT;
卖出:=BIGORDER(2,2)*AMOUNT;
净额:=买入-卖出;
通吃率:净额/AMOUNT*100,precis2,LINETHICK0;
[/code]

页: [1]