C/C++ 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,precis3;
- 大户买:=(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,precis3;
- 买入单数:= order(1);
- 卖出单数:= order(2);
- 单数比:卖出单数/买入单数,LINETHICK0,precis3;
- 外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;
- 内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;
- 主动率:(外盘-内盘)/(内盘+外盘)*100,precis3,LINETHICK0;
- 买入:=BIGORDER(1,2)*AMOUNT;
- 卖出:=BIGORDER(2,2)*AMOUNT;
- 净额:=买入-卖出;
- 通吃率:净额/amount*100,precis3,LINETHICK0;
C/C++ 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,precis3;
C/C++ Code复制内容到剪贴板
- BBD
-
- 大户买:=(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,precis3;
C/C++ Code复制内容到剪贴板
- 单数比
-
- 买入单数:= order(1);
- 卖出单数:= order(2);
- 单数比:卖出单数/买入单数,LINETHICK0,precis3;
C/C++ Code复制内容到剪贴板
- 主动率
-
- 外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;
- 内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;
- 主动率:(外盘-内盘)/(内盘+外盘)*100,precis3,LINETHICK0;
C/C++ Code复制内容到剪贴板
- 通吃率
-
- 买入:=BIGORDER(1,2)*AMOUNT;
- 卖出:=BIGORDER(2,2)*AMOUNT;
- 净额:=买入-卖出;
- 通吃率:净额/amount*100,precis3,LINETHICK0;
输精度出控制符
PRECISx,用逗号隔开放置在输出语句后,用于设定指标数值精确到小数点后多少位,x可以为0-6。
例如:
CLOSE,PRECIS6;表示收盘价线显示6位小数精度