JJ:=(H+L+C)/3;QJ0:=VOL/IF(H=L,4,H-L);
JB:="KDJ.J";
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(C,O)),QJ0*(MIN(O,C)-L));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJ-MIN(C,O)));
QJ3:=QJ0*(H-MAX(O,C));QJ4:=QJ0*(MAX(C,O)-JJ);
QJ5:=QJ1+QJ2;QJ6:=QJ3+QJ4;DDB:=(QJ5-QJ6)/(QJ5+QJ6)*100;
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100;DDZ:=DDB*17;
DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
弄点钱玩:CROSS(JB,0) AND ((DDX>0 AND DDY>0) OR DDZ>400);
九毛八公式解读
JJ赋值:(最高价+最低价+收盘价)/3 QJ0赋值:成交量(手)/如果最高价=最低价,返回4,否则返回最高价-最低价 JB赋值:"KDJ的J" QJ1赋值:如果当前流通股本(手)=0,返回QJ0*(JJ-收盘价和开盘价的较小值),否则返回QJ0*(开盘价和收盘价的较小值-最低价) QJ2赋值:如果当前流通股本(手)=0,返回QJ0*(开盘价和收盘价的较小值-最低价),否则返回QJ0*(JJ-收盘价和开盘价的较小值) QJ3赋值:QJ0*(最高价-开盘价和收盘价的较大值) QJ4赋值:QJ0*(收盘价和开盘价的较大值-JJ) QJ5赋值:QJ1+QJ2 QJ6赋值:QJ3+QJ4 DDB赋值:(QJ5-QJ6)/(QJ5+QJ6)*100 DDX赋值:((QJ1+QJ2)-(QJ3+QJ4))/成交量(手)的10日累和*100 DDZ赋值:DDB*17 DDY赋值:((QJ2+QJ4)-(QJ1+QJ3))/成交量(手)的10日累和*100 输出弄点钱玩:JB上穿0 AND ((DDX>0 AND DDY>0) OR DDZ>400)