最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信攻击线源码主图

    正文概述    2024-04-07 19:30:23  

    前期本人在论坛下载一个指标,通过一段时间使用发现股价当日收盘价突破攻击线就会有很好的短线机会。求哪位大神帮帮忙改为选股指标,拜托了

    以下源码,主图,可以加入主图公式中,


    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,LINETHICK2;
    DRAWTEXT(ISLASTBAR, T3HIGH, '攻击线')LINETHICK2,COLOR00FFFF;

    选股

    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));

    XG:CLOSE T3HIGH AND BARSLAST(REF(CLOSE T3HIGH,1))


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信攻击线源码主图 加入收藏