N:=6;
A1:=KDJ.J<100;
A2:=CROSS(DMI.pdi(7,7),DMI.mdi(7,7)) ANDTRIX.TRIX(3,3)>TRIX.MATRIX(3,3);
A4:=CAPITAL/1000000<50 ;
A3:=C>SAR.sarAND (C-SAR.SAR)/SAR.SAR*100>1 AND (C-SAR.SAR)/SAR.SAR*100<=N;
A5:=SUM(HSL,10)<19 ANDMACD.macd>REF(MACD.MACD,1) AND MACD.DIF>REF(MACD.DIF,2);
A6:=IF(C<O,REF(C<O,1),C>O);
A7:=MTM.MTM+0.05>=MTM.MTMMA;
XG:A1 AND A2 AND A4 AND A3 AND A5 AND A7 AND A6;
九毛八公式解读
N赋值:6 A1赋值:KDJ的J<100 A2赋值:DMI的PDI(7,7)上穿DMI的MDI(7,7) AND 三重指数平均线的TRIX(3,3)>三重指数平均线的MATRIX(3,3) A4赋值:当前流通股本(手)/1000000<50 A3赋值:收盘价>抛物转向.抛物转向 AND (收盘价-抛物转向.抛物转向)/抛物转向.抛物转向*100>1 AND (收盘价-抛物转向.抛物转向)/抛物转向.抛物转向*100<=N A5赋值:换手线的10日累和<19 AND 平滑异同平均线的MACD>1日前的平滑异同平均线的MACD AND 平滑异同平均线的DIF>2日前的平滑异同平均线的DIF A6赋值:如果收阴线,返回1日前的收阴线,否则返回收阳线 A7赋值:动量线的MTM+0.05>=动量线的MTMMA 输出XG:A1 AND A2 AND A4 AND A3 AND A5 AND A7 AND A6