您現在的位置:程序化交易>> 股票公式>> 通達信>> 通達信知識>>正文內容

這各公式新版本無法通過 [通達信]

  • 咨詢內容: 黑馬主圖公式,老版本可以顯示主圖,最新版本無法顯示主圖。

    請高手幫助一下。

    ?

  • 通達信技術部:
    V1:=(C*2+H+L)/4*10;
    VV2:=EMA(V1,13)-EMA(V1,34);
    VV3:=EMA(VV2,5);
    V4:=2*(VV2-VV3)*100;
    V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
    V6:=EMA(3*V5-2*SMA(V5,18,1),5);
    V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
    V8:=(INDEXC*2+INDEXH+INDEXL)/4;
    V9:=EMA(V8,13)-EMA(V8,34);
    VA:=EMA(V9,3);VB1:=(V9-VA)/2;
    V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
    趨勢線:=EMA(V11,3);
    當日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);
    瘋牛線:EXPMEMA(當日成本,3),LINETHICK1;
    龍頭線:EXPMEMA(當日成本,8),LINETHICK2;
    慢牛線:EXPMEMA(當日成本,25),LINETHICK2;
    生命線:EXPMEMA(當日成本,79),LINETHICK3;
    牛熊線:EXPMEMA(當日成本,248),LINETHICK3;
    V2:=EMA(當日成本,13)-EMA(當日成本,34);
    V3:=EMA(V2,5);
    CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
    CYC34:=0.01*EXPMA(AMOUNT,34)/EXPMA(VOL,34);
    CYS13:=(CLOSE-CYC13)/CYC13*100;
    CYS34:=(CLOSE-CYC34)/CYC34*100;
    CYC5:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);
    CYS5:=(CLOSE-CYC5)/CYC5*100;
    DIVE:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);
    CYR5:=(DIVE/REF(DIVE,1)-1)*100;
    DRAWTEXT((CROSS(EXPMEMA(當日成本,25),L) AND MA(C,5)>MA(C,30) AND HHV(CYS13,15)>10 AND HHV(CYS34,18)>18 AND EXPMEMA(當日成本,8)>EXPMEMA(當日成本,25)),LOW*0.975,'◆回馬槍B'),COLORYELLOW;
    VAR1:=(UPNDAY(慢牛線,4) AND EXPMEMA(當日成本,3)>EXPMEMA(當日成本,5) AND EXPMEMA(當日成本,5)>EXPMEMA(當日成本,7) AND MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7));
    VAR2:=(REF(VAR1,2)<0.5 AND REF(VAR1,3)<0.5 AND MA(C,5)>REF(MA(C,5),1) AND CROSS(VAR1,0.5) AND FILTER(CROSS(VAR1,0.5),7)) OR ((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)) AND FILTER((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),7) AND 瘋牛線>REF(瘋牛線,1)) AND MA(VOL,3)>MA(VOL,10) AND V2>=V3;
    DIVE1:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
    CYR:=(DIVE1/REF(DIVE1,1)-1)*100;
    MACYR:=MA(CYR,5);
    DRAWTEXT((REF(CLOSE/REF(CLOSE,1),3)>1.099 OR REF(CLOSE/REF(CLOSE,1),6)>1.099 OR REF(CLOSE/REF(CLOSE,1),4)>1.099 OR REF(CLOSE/REF(CLOSE,1),5)>1.099 OR REF(CLOSE/REF(CLOSE,1),2)>1.099) AND CROSS(龍頭線,LOW) AND UPNDAY(慢牛線,3),LOW*0.97,'◆回馬槍A'),COLORMAGENTA;
    DPRPY:=(INDEXC-LLV(INDEXC,240 ))/(HHV(INDEXC,240 )-LLV(INDEXC,240 ))*100;
    RPY:=(C-LLV(C,240 ))/(HHV(C,240 )-LLV(C,240 ))*100;
    CBW:=100*(COST(99.5)-COST(0.5))/COST(99.5);
    ASR10:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;
    ASR20:=(WINNER(C*1.2)-WINNER(C*0.8))/WINNER(HHV(H,0))*100;
    ASR30:=(WINNER(C*1.3)-WINNER(C*0.7))/WINNER(HHV(H,0))*100;
    DRAWTEXT((CLOSE/REF(CLOSE,1)>1.03 AND VOL/CAPITAL*100>2.5 AND 瘋牛線>龍頭線 AND 瘋牛線>慢牛線 AND C>瘋牛線 AND (WINNER(C-C*0.01/100)-WINNER(C-C*20/100))*100>50 AND CYR>1) OR (CYS>11 AND CYS<30 AND CYR>1 AND CLOSE/REF(CLOSE,1)>1.03),LOW,'◆黑馬營'),COLORWHITE;
    此主題相關圖片如下微信截圖_20170506192552.png:

    ?

  • 通達信客服: 7.18版本顯示無誤,最新的7.331無法顯示。

    ?

  • 網友交流: 嵌套次數過多,建議公式中間先賦值再第二次嵌套。

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 511411198  點擊這里給我發消息進行 有償 編寫!不貴!點擊查看價格!


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 97碰视频人人做人人爱欧美| 久久天天躁狠狠躁夜夜网站| 精品露脸国产偷人在视频7| 国产精品自产拍在线观看| 中国国语毛片免费观看视频| 最近中文字幕国语免费完整| 亚洲视频在线观看网站| 草莓视频未满十八岁| 国产精品免费大片| h片在线播放免费高清| 日本免费小视频| 亚洲人成在线播放网站| 特级黄色免费片| 又色又爽又黄的视频女女高清| 91九色视频无限观看免费| 国产高清美女一级毛片图片| 一级毛片在线观看免费| 日本韩国一区二区| 亚洲午夜精品一区二区| 狠狠色综合网站久久久久久久高清 | 小嫩妇又紧又嫩好紧视频| 久久精品九九亚洲精品| 欧美激情一区二区三区中文字幕| 十七岁高清在线观看| 青青草99热这里都是精品| 国产精品亚洲视频| 99久久精品这里只有精品| 性xxxxx大片免费视频| 久久亚洲中文字幕精品一区| 欧美一卡2卡3卡4卡公司| 亚洲精品高清国产一久久| 精品国产一区二区三区无码| 国产主播一区二区三区| 精品国产无限资源免费观看| 国产视频第一页| app草莓视频| 婷婷五月在线视频| 中文字幕在线视频免费观看| 日韩三级在线电影| 亚洲av成人无码久久精品老人| 欧美日韩第一区|