股民大家庭

标题: [飞狐]飞狐精简分笔源码公式 [打印本页]

作者: 我是一个兵    时间: 2009-11-17 20:27
标题: [飞狐]飞狐精简分笔源码公式
飞狐精简分笔源码公式:
流通:=FINANCE(7)/10000;
门限1:=CAPITAL/6000;门限2:=CAPITAL/8000;
门限3:=CAPITAL/10000;门限4:=CAPITAL/12000;
门限5:=CAPITAL/14000;门限6:=CAPITAL/16000;
门限7:=CAPITAL/18000;门限8:=CAPITAL/20000;
XS:=(IF(流通<1,门限1,IF(流通>=1 AND 流通<5,门限2,IF(流通>=5 AND 流通<10,门限3,IF(流通>=10
AND 流通<20,门限4,IF(流通>=20 AND 流通<40,门限5,IF(流通>=40 AND 流通<60,门限6,IF(流通>=60
AND 流通<=100,门限7,IF(流通>=100,门限8,0)))))))))*1.854;
A1:=SUM(IF(BUYVOL>=XS,BUYVOL,0),0);
B1:=SUM(IF(SELLVOL>=XS,SELLVOL,0),0);
A2:=SUM(IF(BUYVOL<XS,BUYVOL,0),0);
B2:=SUM(IF(SELLVOL<XS,SELLVOL,0),0);
大单:(A1-B1)/10000,PRECISION2;
小单:(A2-B2)/10000,PRECISION2;




欢迎光临 股民大家庭 (https://gupiao168.com/) Powered by Discuz! X3.2