当前位置:→ 公式网 > 飞狐公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是分时盘口分析(解盘公式)(无源码的请下载附件导入)

分时盘口分析(解盘公式)

AA1:=(1);
VAR1:=IF(((BUYVOL <= REF(ASKVOL(1),1)) AND (CLOSE = REF(ASKPRICE(1),1))),BUYVOL,0);
VAR2:=IF(((BUYVOL <= (REF(ASKVOL(1),1) + REF(ASKVOL(2),1))) AND (CLOSE = REF(ASKPRICE(2),1))),BUYVOL,0);
VAR3:=IF(((BUYVOL <= ((REF(ASKVOL(1),1) + REF(ASKVOL(2),1)) + REF(ASKVOL(3),1))) AND (CLOSE = REF(ASKPRICE(3),1))),BUYVOL,0);
VAR4:=IF((((CLOSE < REF(ASKPRICE(1),1)) AND (REF(BIDVOL(1),1) > 0)) AND (REF(ASKVOL(1),1) > 0)),BUYVOL,0);
VAR5:=IF((((BUYVOL > REF(ASKVOL(1),1)) AND (CLOSE > REF(ASKPRICE(1),1))) AND (CLOSE < REF(ASKPRICE(2),1))),BUYVOL,0);
VAR6:=IF((((BUYVOL > (REF(ASKVOL(1),1) + REF(ASKVOL(2),1))) AND (CLOSE > REF(ASKPRICE(2),1))) AND (CLOSE < REF(ASKPRICE(3),1))),BUYVOL,0);
VAR7:=IF(((SELLVOL <= REF(BIDVOL(1),1)) AND (CLOSE = REF(BIDPRICE(1),1))),SELLVOL,0);
VAR8:=IF(((SELLVOL <= (REF(BIDVOL(1),1) + REF(BIDVOL(2),1))) AND (CLOSE = REF(BIDPRICE(2),1))),SELLVOL,0);
VAR9:=IF(((SELLVOL <= ((REF(BIDVOL(1),1) + REF(BIDVOL(2),1)) + REF(BIDVOL(3),1))) AND (CLOSE = REF(BIDPRICE(3),1))),SELLVOL,0);
VARA:=IF((((CLOSE > REF(BIDPRICE(1),1)) AND (REF(ASKVOL(1),1) > 0)) AND (REF(BIDVOL(1),1) > 0)),SELLVOL,0);
VARB:=IF((((SELLVOL > REF(BIDVOL(1),1)) AND (CLOSE < REF(BIDPRICE(1),1))) AND (CLOSE > REF(BIDPRICE(2),1))),SELLVOL,0);
VARC:=IF((((SELLVOL > (REF(BIDVOL(1),1) + REF(BIDVOL(2),1))) AND (CLOSE < REF(BIDPRICE(2),1))) AND (CLOSE > REF(BIDPRICE(3),1))),SELLVOL,0);
VARD:=IF(((((REF(ASKVOL(1),1) + REF(ASKVOL(2),1)) + REF(ASKVOL(3),1)) = 0) AND (REF(BIDVOL(1),1) > 0)),BUYVOL,0);
VARE:=IF(((((REF(BIDVOL(1),1) + REF(BIDVOL(2),1)) + REF(BIDVOL(3),1)) = 0) AND (REF(ASKVOL(1),1) > 0)),SELLVOL,0);
VARF:=IF(((((ASKVOL(1) < REF(ASKVOL(1),1)) AND (ASKPRICE(1) = REF(ASKPRICE(1),1))) AND (CLOSE < REF(ASKPRICE(1),1))) AND ((REF(ASKVOL(1),1) - ASKVOL(1)) <> SELLVOL)),(REF(ASKVOL(1),1) - ASKVOL(1)),0);
VAR10:=IF((((ASKVOL(3) < REF(ASKVOL(3),1)) AND (ASKPRICE(3) = REF(ASKPRICE(3),1))) AND (CLOSE < REF(ASKPRICE(3),1))),(REF(ASKVOL(3),1) - ASKVOL(3)),0);
VAR11:=IF(((((((((REF(BIDVOL(1),1) + REF(BIDVOL(2),1)) + REF(BIDVOL(3),1)) = 0) AND (REF(ASKVOL(1),1) > 0)) AND ((REF(ASKVOL(1),1) - ASKVOL(1)) < SELLVOL)) AND (ASKVOL(1) < REF(ASKVOL(1),1))) AND (ASKPRICE(1) = REF(ASKPRICE(1),1))) AND (CLOSE < REF(ASKPRICE(1),1))),(REF(ASKVOL(1),1) - ASKVOL(1)),0);
VAR12:=IF((((ASKVOL(2) < REF(ASKVOL(3),1)) AND (ASKPRICE(2) = REF(ASKPRICE(3),1))) AND (CLOSE < REF(ASKPRICE(3),1))),(REF(ASKVOL(3),1) - ASKVOL(2)),0);
VAR13:=IF((((ASKVOL(3) < REF(ASKVOL(2),1)) AND (ASKPRICE(3) = REF(ASKPRICE(2),1))) AND (CLOSE < REF(ASKPRICE(2),1))),(REF(ASKVOL(2),1) - ASKVOL(3)),0);
VAR14:=IF(((((BIDVOL(1) < REF(BIDVOL(1),1)) AND (BIDPRICE(1) = REF(BIDPRICE(1),1))) AND (CLOSE > REF(BIDPRICE(1),1))) AND ((REF(BIDVOL(1),1) - BIDVOL(1)) <> BUYVOL)),(REF(BIDVOL(1),1) - BIDVOL(1)),0);
VAR15:=IF((((BIDVOL(3) < REF(BIDVOL(3),1)) AND (BIDPRICE(3) = REF(BIDPRICE(3),1))) AND (CLOSE > REF(BIDPRICE(3),1))),(REF(BIDVOL(3),1) - BIDVOL(3)),0);
VAR16:=IF(((((((((REF(ASKVOL(1),1) + REF(ASKVOL(2),1)) + REF(ASKVOL(3),1)) = 0) AND (REF(BIDVOL(1),1) > 0)) AND ((REF(BIDVOL(1),1) - BIDVOL(1)) < BUYVOL)) AND (BIDVOL(1) < REF(BIDVOL(1),1))) AND (BIDPRICE(1) = REF(BIDPRICE(1),1))) AND (CLOSE = REF(BIDPRICE(1),1))),(REF(BIDVOL(1),1) - BIDVOL(1)),0);
VAR17:=IF((((BIDVOL(2) < REF(BIDVOL(3),1)) AND (BIDPRICE(2) = REF(BIDPRICE(3),1))) AND (CLOSE > REF(BIDPRICE(3),1))),(REF(BIDVOL(3),1) - BIDVOL(2)),0);
VAR18:=IF((((BIDVOL(3) < REF(BIDVOL(2),1)) AND (BIDPRICE(3) = REF(BIDPRICE(2),1))) AND (CLOSE > REF(BIDPRICE(2),1))),(REF(BIDVOL(2),1) - BIDVOL(3)),0);
VAR19:=IF(((BUYVOL <= ((REF(ASKVOL(1),1) + REF(ASKVOL(2),1)) + REF(ASKVOL(3),1))) AND (CLOSE >= REF(ASKPRICE(3),1))),BUYVOL,0);
VAR1A:=IF(((SELLVOL <= ((REF(BIDVOL(1),1) + REF(BIDVOL(2),1)) + REF(BIDVOL(3),1))) AND (CLOSE <= REF(BIDPRICE(3),1))),SELLVOL,0);
撤卖:=CEILING(IF((((((VARF + VAR10) + VAR11) + VAR12) + VAR13) > BUYVOL),(((((VARF + VAR10) + VAR11) + VAR12) + VAR13) - BUYVOL),0));
撤买:=CEILING(IF((((((VAR14 + VAR15) + VAR16) + VAR17) + VAR18) > SELLVOL),(((((VAR14 + VAR15) + VAR16) + VAR17) + VAR18) - SELLVOL),0));
BB1:=(((CLOSE + OPEN) + (3 * LOW)) / 5);
BIAS1:=(((BB1 - MA(BB1,6)) / MA(BB1,6)) * 100);
BIAS2:=(((BB1 - MA(BB1,12)) / MA(BB1,12)) * 100);
BIAS3:=(((BB1 - MA(BB1,24)) / MA(BB1,24)) * 100);
MM:=(((BIAS1 + (2 * BIAS2)) + (3 * BIAS3)) / 6);
MN:=EMA(MM,1);
AA:=BUYVOL;
BB:=SELLVOL;
主买:=CEILING(IF((((VAR1 + VAR2) + VAR3) > 0),((VAR1 + VAR2) + VAR3),AA));
主卖:=CEILING(IF((((VAR7 + VAR8) + VAR9) > 0),((VAR7 + VAR8) + VAR9),BB));
主动买:SUM(主买,0),colorFF00FF;
主动卖:SUM(主卖,0);
对敲买:=CEILING(SUM(((VAR4 + VAR5) + VAR6),0));
对敲卖:=CEILING(SUM(((VARA + VARB) + VARC),0));
A1号:=SUM(IF((BUYVOL >= 100),VOL,0),0);
A2号:=SUM(IF((SELLVOL >= 100),VOL,0),0);
A3号:=SUM(IF((BUYVOL >= 150),



关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识