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

[求助]老版本可以为何新版本通不过呀 [通达信]

  • 咨询内容: DIF:EMA(CLOSE,9)-EMA(CLOSE,20); DEA:EMA(DIF,8); MACD1:(DIF-DEA)*2,STICK; MACD2:=REF(MACD1,1); MACD3:=REF(MACD1,2); STICKLINE(MACD1>0,0,MACD1,1,0),COLORRED; STICKLINE(MACD1<0,0,MACD1,1,0),COLORGREEN; STICKLINE(MACD1<0 AND="AND" MACD1="MACD1" >MACD2 AND MACD3>=MACD2 ,0,MACD1,1,0),COLORWHITE; STICKLINE(MACD1>=MACD2 AND MACD2>=MACD3 ,0,MACD1,1,0),COLORRED; STICKLINE(MACD1<=MACD2 ,0,MACD1,1,0),COLORGREEN; 红柱到今日天数:=BARSLASTCOUNT(MACD1>0), NODRAW,COLORCYAN; 八十日红柱数量:=COUNT(MACD1>0,80), NODRAW,COLORMAGENTA; 白柱到今日天数:=BARSLAST(MACD1<0 AND="AND" MACD1="MACD1" >MACD2 AND MACD3>MACD2)+1, NODRAW,COLORWHITE; 八十日绿柱数量:=COUNT(MACD1<0,80), NODRAW,COLORGREEN; 绿柱到今日天数:=BARSLASTCOUNT(MACD1<0), NODRAW,COLORCYAN; AA:="MACD.DIF#WEEK"; BB:="MACD.DEA#WEEK"; 周DIF:AA,COLORWHITE,LINETHICK1; 周DEA:BB,COLORMAGENTA,LINETHICK1;

     

  • 通达信技术部:

    DIF:EMA(CLOSE,9)-EMA(CLOSE,20);
    DEA:EMA(DIF,8);
    MACD1:(DIF-DEA)*2,STICK;
    MACD2:=REF(MACD1,1);
    MACD3:=REF(MACD1,2);
    STICKLINE(MACD1>0,0,MACD1,1,0),COLORRED;
    STICKLINE(MACD1<0,0,MACD1,1,0),COLORGREEN;
    STICKLINE(MACD1<0 AND MACD1=MACD1 >MACD2 AND MACD3>=MACD2 ,0,MACD1,1,0),COLORWHITE;
    STICKLINE(MACD1>=MACD2 AND MACD2>=MACD3 ,0,MACD1,1,0),COLORRED;
    STICKLINE(MACD1<=MACD2 ,0,MACD1,1,0),COLORGREEN;
    红柱到今日天数:=BARSLASTCOUNT(MACD1>0), NODRAW,COLORCYAN;
    八十日红柱数量:=COUNT(MACD1>0,80), NODRAW,COLORMAGENTA;
    白柱到今日天数:=BARSLAST(MACD1<0 AND MACD1=MACD1 >MACD2 AND MACD3>MACD2)+1, NODRAW,COLORWHITE;
    八十日绿柱数量:=COUNT(MACD1<0,80), NODRAW,COLORGREEN;
    绿柱到今日天数:=BARSLASTCOUNT(MACD1<0), NODRAW,COLORCYAN;
    AA:=MACD.DIF#WEEK; BB:=MACD.DEA#WEEK;
    周DIF:AA,COLORWHITE,LINETHICK1;
    周DEA:BB,COLORMAGENTA,LINETHICK1; 

     

 

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

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容