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

您現(xiàn)在的位置:程序化交易>> 期貨公式>> 文華財經(jīng)>> 文華財經(jīng)知識>>正文內(nèi)容

這個能幫 我寫成文華程序嗎 [文華財經(jīng)]

  • 咨詢內(nèi)容:  

    通達(dá)信的程序
    0;
    SJV:=FINANCE(34);{每股凈資產(chǎn)}
    市凈率:C/SJV,NODRAW,COLOR00FF00;
    每股稅后利潤:=(FINANCE(1)/FINANCE(29));
    市盈率:C/FINANCE(33),NODRAW,COLORFFFF00;
    DIF:=EMA(CLOSE,10)-EMA(CLOSE,22);
    DE:=EMA(DIF,7.5);
    MACDA:=2*(DIF-DE),;
    HZL:=CROSS(MACDA,0);
    LZH:=CROSS(0,MACDA);
    BC:=BARSLAST(HZL OR LZH)+1;
    ZGHZ:=IF(MACDA>0,HHV(MACDA,BC),0);
    ZGLZ:=IF(MACDA<0,LLV(MACDA,BC),0);
    DRAWBAND(ZGHZ,RGB(105,77,77),0,RGB(77,77,77));
    DRAWBAND(ZGLZ,RGB(80,0,0),0,RGB(66,88,66));
    DIFF:EMA(CLOSE,10)-EMA(CLOSE,22),COLORFFFFFF;
    DEA:EMA(DIFF,7.5),COLOR00FFFF;
    MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK0;
    STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,1.5,1),COLORRED;
    STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR90FF00;
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.5,1),COLOREFFF00;
    STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,1.5,0),COLORFFAAFF;
    :TROUGHBARS(3,3,1),COLOR0000FF,NODRAW;
    :PEAKBARS(3,3,1),COLOR00FF00,NODRAW;

    <!--EndFragment-->

     

  • 文華技術(shù)人員:  低:IF(=0,DIFF,IF(<,TROUGH(3,3,1),REF(TROUGH(3,3,1),1))),COLOR00FFFF,NODRAW;
    高:IF(=0,DIFF,IF(<,PEAK(3,3,1),REF(PEAK(3,3,1),1))),COLOR00FF00,NODRAW;
    STICKLINE(=0 AND DIFF<0 AND DIFF<DEA,0,DIFF,0,0),COLORFFAAFF;
    STICKLINE(=0 AND DIFF>0 AND DIFF>DEA,DIFF,0,0,0),COLOR00FF00;
    DRAWTEXT(=0 AND DIFF<0 AND DIFF<DEA,DIFF,'低'),COLORFFAAFF;
    DRAWTEXT(=0 AND DIFF>0 AND DIFF>DEA,DIFF,'高'),COLOR00FF00;
    低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
    二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
    AA1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    底背離:=(REF(L,AA1+1)>L OR REF(C,AA1+1)>C) AND (L,DIFF)>REF((L,DIFF),AA1+1) AND CROSS(DIFF,DEA);
    DRAWLINE(AA1=0,DEA,底背離,DEA,0),COLOR0000FF,LINETHICK1;
    AA2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    頂背離:=(REF(C,AA2+1)<C OR REF(H,AA2+1)<H) AND REF((H,DIFF),AA2+1)>(H,DIFF) AND CROSS(DEA,DIFF);
    DRAWLINE(AA2=0,DEA,頂背離,DEA,0),COLORGREEN,LINETHICK1;
    DRAWICON(CROSS(DIFF,DEA) AND DIFF>0,DEA,36);
    DRAWICON(CROSS(DEA,DIFF) AND DIFF>0,DEA,37);
    DRAWICON(CROSS(DIFF,DEA) AND DIFF<0,DEA,1);
    DRAWICON(二次金叉,DEA*0.9,36) ;
    解盤1:=CONST(IF(MACD>0,1,0));
    解盤2:=CONST(IF(MACD<0,1,0));
    解盤A:=IF(解盤1=1,'【精華8個字 買小賣小,縮頭縮腳】 當(dāng)股價一波比一波高時,反而紅柱的堆,
    一堆比一堆小,證明產(chǎn)生了頂背離現(xiàn)象,應(yīng)該及時賣出',
    IF(解盤2=1,'【精華8個字 買小賣小,縮頭縮腳】 當(dāng)股價一波比一波低時,
    反而綠柱的堆一堆比一堆小,證明產(chǎn)生了底背離,應(yīng)該買進(jìn)',
    DRAWNULL));
    DRAWTEXT_FIX((解盤1=1 OR 解盤2=1),0.16,0,0,解盤A),COLORFFEE00;

     

  • 文華客服:

    抱歉 您模型中用到的

     

    SJV:=FINANCE(34);{每股凈資產(chǎn)}
    市凈率:C/SJV,NODRAW,COLOR00FF00;
    每股稅后利潤:=(FINANCE(1)/FINANCE(29));
    市盈率:C/FINANCE(33),NODRAW,COLORFFFF00;
     

     

    等股票中的概念 目前暫無可代替函數(shù) 從而暫無法實現(xiàn)改寫 我們會在未來考慮增加函數(shù)來實現(xiàn)更多想法

     

  • 網(wǎng)友回復(fù):  按照這個思路運用到期貨橡膠中來,把那同個指標(biāo)去掉,根據(jù)這個思路,行不行。

     

  • 網(wǎng)友回復(fù):

    兩個軟件函數(shù)差別較大 改寫后會有較大差別 您酌情使用

    DIF:=EMA(CLOSE,10)-EMA(CLOSE,22);
    DE:=EMA(DIF,7.5);
    MACDA:=2*(DIF-DE);
    HZL:=CROSS(MACDA,0);
    LZH:=CROSS(0,MACDA);
    BC:=BARSLAST(HZL OR LZH)+1;
    ZGHZ:=IF(MACDA>0,HHV(MACDA,BC),0);
    ZGLZ:=IF(MACDA<0,LLV(MACDA,BC),0);
    DIFF:EMA(CLOSE,10)-EMA(CLOSE,22);
    DEA:EMA(DIFF,7.5);
    MACD:2*(DIFF-DEA),COLORSTICK;
    STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,COLORRED,1);
    STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,COLORGREEN,0);
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,COLORGREEN,1);
    STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,COLORRED,0);
    SHANG:TROUGHBARS(C,3,1,1),NODRAW;
    XIA:PEAKBARS(C,3,1,1),NODRAW;
    DI:IF(SHANG=0,DIFF,IF(XIA<SHANG,TROUGH(C,3,1,1),REF(TROUGH(C,3,1,1),1))),NODRAW;
    GAO:IF(XIA=0,DIFF,IF(SHANG<XIA,PEAK(C,3,1,1),REF(PEAK(C,3,1,1),1))),NODRAW;
    STICKLINE(SHANG=0 AND DIFF<0 AND DIFF<DEA,0,DIFF,COLORGREEN,0);
    STICKLINE(XIA=0 AND DIFF>0 AND DIFF>DEA,DIFF,0,COLORRED,0);
    DRAWTEXT(SHANG=0 AND DIFF<0 AND DIFF<DEA,DIFF,'低');
    DRAWTEXT(XIA=0 AND DIFF>0 AND DIFF>DEA,DIFF,'高');
    DWJC:=CROSS(DIFF,DEA) AND DIFF<-0.1;
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
    ECJC:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
    AA1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    DBL:=(REF(L,AA1+1)>L OR REF(C,AA1+1)>C) AND L>REF(L,AA1+1) &&DIFF>REF(DIFF,AA1+1) AND CROSS(DIFF,DEA);
    AA2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    DINGBL:=(REF(C,AA2+1)<C OR REF(H,AA2+1)<H) AND REF(H,AA2+1)>H &&REF(DIFF,AA2+1)>DIFF AND CROSS(DEA,DIFF);
    DRAWICON(CROSS(DIFF,DEA) AND DIFF>0,DEA,'ICO36');
    DRAWICON(CROSS(DEA,DIFF) AND DIFF>0,DEA,'ICO37');
    DRAWICON(CROSS(DIFF,DEA) AND DIFF<0,DEA,'ICO1');
    DRAWICON(ECJC,DEA*0.9,'ICO36') ;

     

    模型僅供參考

 

有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友

可聯(lián)系技術(shù)人員 QQ: 1145508240  點擊這里給我發(fā)消息進(jìn)行 有償 編寫!不貴!點擊查看價格!


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

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 亚洲成人第一 | 国产精品亚洲片在线观看不卡 | 久热精品男人的天堂在线视频 | 色视频在线观看免费 | 国内一级野外a一级毛片 | 一级做a爰片久久毛片人呢 一级做a爰片久久毛片免费看 | 日韩特级毛片免费观看视频 | 在线观看黄a | 国产色爽女小说免费看 | 波多野结衣与老人公gvg在线 | 香蕉色香蕉在线视频 | www日本黄色 | 黄色片免费在线观看 | 深夜a | 欧美色图日韩色图 | 天天拍夜夜添久久精品中文 | 国产精品成久久久久三级 | 最近日本中文字幕免费完整 | 亚洲日本一区二区三区在线 | 国产一区二区三区在线观看视频 | 亚洲欧美日韩精品在线 | 我把寡妇日出水好爽视频 | av福利导导航 | 女bbbbxxxx毛片视频 | 国产综合精品在线 | 亚洲不卡视频在线观看 | 亚洲视频免费在线看 | 日韩三级一区二区 | 一级毛毛片毛片毛片毛片在线看 | 中国一级特黄真人毛片 | 日韩啪| 综合色吧 | 国产成a人片在线观看视频 国产成人91 | 麻豆国产一区 | 69黄在线看片免费视频 | 18岁免费网站 | 玖玖香蕉| 操操操网| 免费观看亚洲视频 | 久久亚洲精品成人综合 | 精品400部自拍视频在线播放 |