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

老师好,是否可以将下面指标改成预警选股 [通达信]

  • 咨询内容:
    T1:=CONST(LLVBARS(LOW,10));
     T1HIGH:=CONST(REF(HIGH,T1));
     MM:=CONST(CURRBARSCOUNT);
     T2:=CONST(BARSLAST(CURRBARSCOUNT>MM+T1 AND H>T1HIGH));
     T2HIGH:=CONST(REF(HIGH,T2));
     T3:=CONST(BARSLAST(CURRBARSCOUNT>MM+T2 AND HIGH>T2HIGH));
     T3HIGH:=CONST(REF(HIGH,T3));
     攻击线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH,1),COLOR00FFFF,LINETHICK1;
     {DRAWTEXT(ISLASTBAR, T3HIGH, '攻击线')LINETHICK1,COLOR00FFFF;}
     A0:=(L+H+C*2)/4;
     DRAWNUMBER(ISLASTBAR,攻击线,攻击线),COLORYELLOW;
    把收盘价上穿攻击线作为选股,谢谢!

     

  • 通达信技术部: T1:=CONST(LLVBARS(LOW,10));
    T1HIGH:=CONST(REF(HIGH,T1));
    T2:=CONST(BARSLAST(CURRBARSCOUNT>1+T1 AND H>T1HIGH));
    T2HIGH:=CONST(REF(HIGH,T2));
    T3:=CONST(BARSLAST(CURRBARSCOUNT>1+T2 AND HIGH>T2HIGH));
    T3HIGH:=CONST(REF(HIGH,T3));
    Cross(c,T3High);

     

  • 通达信客服: 谢谢老师!

 

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

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容