人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 期貨公式>> 文華財經>> 文華財經知識>>正文內容

老師,下面這個如何改成在贏順云交易軟件中用 [文華財經]

  • 咨詢內容: ?N:=9;M1:=3;M2:=3;VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);MACD: VAR6*5,COLORSTICK ,LINETHICK2 ;提醒: STICKLINE(VAR6<=-6,0,-25,5,0), COLOR88B7EA ;關注: STICKLINE(VAR6<=-8,5,25,7,0), ;出擊: STICKLINE(VAR6<=-10,80,100,5,0), coloryellow;警戒雷達: IF(VAR6<-6,20,0),LINETHICK3 , COLORFF0000;引導雷達: STICKLINE(VAR6<=-10,65,35,4,0),;制導雷達: STICKLINE(VAR6<=-10,40,0,4,0), colorred;發射: STICKLINE(VAR6<=-10,80,30,3,0), colorgreen;導彈: STICKLINE(VAR6<=-10,80,60,3,0), colorwhite;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;K:SMA(RSV,M1,1),LINETHICK1;D:SMA(K,M2,1),LINETHICK1;J:3*K-2*D,COLORFF00FF,LINETHICK1;IF(J<0,J,DRAWNULL),colorgreen,LINETHICK2;IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;DRAWICON(CROSS(K,d),d,'uy';DRAWICON(CROSS(d,k),k,'ell';DRAWICON(CROSS(J,1),J,1);DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);底: 20,LINETHICK1 , COLOR77AA1A;中軸: 50,LINETHICK1 , colorcyan;入頂: 80,LINETHICK1 , COLOR9966FF;大頂: 100,LINETHICK1 ,COLOR22A6E6;多轉空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));空轉多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3)));DRAWICON(多轉空,MACD,2);DRAWICON(空轉多,MACD,1);DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);選股:CROSS(MACD>0,0.5);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);藍:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK3;紅: ?IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK2;黃: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD上拐:REF(DEA,2)>REF(DEA,1) AND REF(DEA,1)<DEA;過渡:IF(BBI,10,DRAWNULL),colorwhite,LINETHICK2;持股:IF(C>BBI AND BBI>REF(BBI,1),10,DRAWNULL), colorred,LINETHICK2;持幣:IF(C<=BBI AND BBI<=REF(BBI,1),10,DRAWNULL),colorgreen,LINETHICK2;

    ?

    ?來源:程序化99

  • 文華技術人員: ?您的問題已經在幫您分析了,請稍候參考原貼回復
    ?同一問題,您不用重復發帖的

    ?

    ?來源: www.kzuj.com.cn

  • 文華客服: 這個指標 在贏順通中不能導入

    ?

  • 網友回復:

    ?

    您的指標源碼中有多個變量重復定義或者是沒有定義,我們直接按照系統自帶的指標編寫和參數調整了,

    ?

    修改如下,僅供參考

    ?

    另外,不同軟件函數機制不同,效果可能有差異,請了解下

    ?

    N:=9;
    M1:=3;
    M2:=3;
    VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
    VAR6:=MA(VAR5,3);
    MACD1: VAR6*5,COLORSTICK ,LINETHICK2 ;
    STICKLINE(VAR6<=-6,0,-25,5,0), COLOR88B7EA ;
    STICKLINE(VAR6<=-8,5,25,7,0);
    STICKLINE(VAR6<=-10,80,100,5,0), COLORYELLOW;
    警戒雷達: IF(VAR6<-6,20,0),LINETHICK3 , COLORFF0000;
    STICKLINE(VAR6<=-10,65,35,4,0);
    STICKLINE(VAR6<=-10,40,0,4,0), COLORRED;
    STICKLINE(VAR6<=-10,80,30,3,0), COLORGREEN;
    STICKLINE(VAR6<=-10,80,60,3,0), COLORWHITE;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
    K:SMA(RSV,M1,1),LINETHICK1;
    D:SMA(K,M2,1),LINETHICK1;
    J:3*K-2*D,COLORFF00FF,LINETHICK1;
    IF(J<0,J,NULL),COLORGREEN,LINETHICK2;
    IF(K>90,K,NULL),COLOR0000FF,LINETHICK2;
    IF(D>85,D,NULL),COLORFFFF11,LINETHICK2;
    DRAWICON(CROSS(K,D),D,'UY';
    DRAWICON(CROSS(D,K),K,'ELL';
    DRAWICON(CROSS(J,1),J,1);
    DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
    底: 20,LINETHICK1 , COLOR77AA1A;
    中軸: 50,LINETHICK1 , COLORCYAN;
    入頂: 80,LINETHICK1 , COLOR9966FF;
    大頂: 100,LINETHICK1 ,COLOR22A6E6;
    多轉空:=((((LLV(MACD1,4)>0) AND (MACD1<REF(MACD1,1))) AND (REF(MACD1,1)>REF(MACD1,2))) AND (REF(MACD1,2)>REF(MACD1,3)));
    空轉多:=((((HHV(MACD1,4)<0) AND (MACD1>REF(MACD1,1))) AND (REF(MACD1,1)<REF(MACD1,2))) AND (REF(MACD1,2)<REF(MACD1,3)));
    DRAWICON(多轉空,MACD1,2);
    DRAWICON(空轉多,MACD1,1);
    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    選股:CROSS(MACD>0,0.5);
    MTM:=C-REF(C,1);
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
    藍:IF(FILTER(YXF=1,5),20,0),COLORLIGHTBLUE,LINETHICK3;
    紅:? IF(FILTER(YXF=1,5),10,0),COLORRED,LINETHICK2;
    黃: IF(FILTER(YXF=1,5),5,0),COLORYELLOW,LINETHICK1;
    MACD上拐:REF(DEA,2)>REF(DEA,1) AND REF(DEA,1)<DEA;
    BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;//求N1周期,N2周期,N3周期,N4周期收盤價均線的簡單平均

    過渡:IF(BBI,10,NULL),COLORWHITE,LINETHICK2;
    持股:IF(C>BBI AND BBI>REF(BBI,1),10,NULL), COLORRED,LINETHICK2;
    持幣:IF(C<=BBI AND BBI<=REF(BBI,1),10,NULL),COLORGREEN,LINETHICK2;

 

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 97在线公开视频 | 亚洲天堂成人在线 | 最近2019中文字幕免费大全5 | 日韩51| 亚洲日本va中文字幕在线不卡 | 亚洲欧美中文字幕在线网站 | 一级黄色性生活视频 | 亚洲一区欧美在线 | 成人污视频网站 | 人人人人干 | 亚洲视频在线网站 | 天天做天天爱夜夜爽毛片毛片 | 在线观看麻豆国产精品 | 可以免费看的黄色网址 | 亚洲福利视频网 | 成人3p视频免费 | a级片免费观看视频 | 精品视频一区二区 | 精品国产欧美一区二区最新 | 天天操天天干天天干 | 亚洲一区二区三区网站 | 国产a∨一区二区三区香蕉小说 | 一级毛片aaa片免费观看 | 黄色一级片黄色一级片 | 欧美成人网在线综合视频 | 欧洲一级做a爱在线观看 | 波多野结衣三区 | 丁香欧美 | 午夜视频黄色 | 中文日韩欧美 | 欧洲成人免费视频 | 成人抖音网站 | 成人免费动漫在线看网站 | 国产一区二区在线视频 | 免费黄色一级大片 | 日韩精品一区二区三区中文在线 | 国产人成精品免费视频 | 黄色成人在线 | 91久久偷偷做嫩草影院免 | 在线黄色免费 | 美女视频导航 |