ZFA:=(CLOSE/REF(CLOSE,1)-1)*100;
ZFB:=(CLOSE/OPEN-1)*100;
ZF:=MAX(ZFA,ZFB);
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DT:=SUM(0.97*DDX,0);
DT1:=SMA(DT,4,1);
LBM:=L2_AMO(0,0)/10000;
DBM:=L2_AMO(1,0)/10000;
ZBM:=L2_AMO(2,0)/10000;
SBM:=L2_AMO(3,0)/10000;
LSM:=(-L2_AMO(0,1))/10000;
DSM:=(-L2_AMO(1,1))/10000;
ZSM:=(-L2_AMO(2,1))/10000;
SSM:=(-L2_AMO(3,1))/10000;
LQM:=LBM+DBM+LSM+DSM;
DD:=LQM*100/SUM(VOL,10);
通吃:=LQM*100/(LBM-LSM+DBM-DSM);
V商度:=(LBM+DBM-LSM-DSM)*100/(2*(AMOUNT/10000));
LQMA:=LBM+LSM;
XT1:=SUM(LQMA,0);
XT2:=SMA(XT1,6,1);
XT3:=SMA(XT2,6,1);
MA3:=MA(CLOSE,3);
VA2:=(CLOSE+HIGH+LOW)/3;
VA3:=EMA(VA2,10);
VA4:=REF(VA3,1);
TDXSTEP159:IF(ZF =4 AND (XT1 XT2 AND XT2 REF(XT2,1) OR DT DT1) AND (DD 0.198 AND (通吃 20 OR V商度 35) OR (DD 0.3 AND V商度 30)) AND MA3 REF(MA3,1) AND VA3 VA4,1,0);
{-----------------------------------}