您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信知识>>正文内容

哪个老师能把这个预警公式优化,现在测试通不过,谢谢 [通达信]

  • 咨询内容: X_1:=MACD.MACD#WEEK; X_2:=MACD.DIF#WEEK; X_3:=BARSLAST(X_1!=REF(X_1,1)); X_4:=MACD.MACD; HIGH; X_5:=REF(CLOSE,X_3+1); X_6:=KDJ.K#WEEK; X_7:=KDJ.D#WEEK; X_8:=X_6>X_7; X_9:=IF(X_10),100))/MIN(BARSSINCE(CLOSE>0),100)); X_10:=REF(VOL#WEEK,X_3+1); X_11:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))); X_12:=MOD(FROMOPEN,X_11); X_13:=IF(X_12<0.5,X_11,X_12); X_14:=IF(CURRBARSCOUNT=1 AND="AND" DYNAINFO(8)>1,VOL*X_11/X_13,DRAWNULL); X_15:=X_14>REF(X_10,1); X_16:=(REF(CLOSE,3)+REF(CLOSE,5)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,13)+REF(CLOSE,21))/6; X_17:=SMA(X_16,5,1); X_18:=IF(WEEKDAY=1,REF(X_9,BARSLAST(X_9>1)),REF(X_9,X_3+1)); X_19:=(HIGH+LOW+CLOSE)/3; X_20:=(X_19-MA(X_19,14))/(0.015*AVEDEV(X_19,14)); X_21:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH; X_22:=NOT(X_21) OR X_21=0; ☆涨停预警☆:X_9-REF(X_18,1)>0.7 AND CROSS(CLOSE,X_5) AND CLOSE>OPEN AND HY_INDEXC>HY_INDEXO AND X_20>=REF(HHV(X_20,3),X_3+1) AND X_15 AND X_22,COLORRED;

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容