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

老師把這個指標改文華用 [文華財經(jīng)]

  • 咨詢內容: ?N:=5;

    C增比:=C/REF(C,1);
    C均增比:=(C增比+REF(C增比,1)+REF(C增比,2)+REF(C增比,3)+REF(C增比,4))/5;
    YC:=C*C均增比;
    強弱:=COUNT(YC>REF(YC,1),10)/COUNT(YC<REF(YC,1),10);
    A:=EMA(EMA(EMA(EMA(強弱,2),2),2),2);
    B:=EMA(EMA(EMA(EMA(強弱,5),5),5),5);
    快線紅:EMA(EMA(EMA(EMA(YC,2),2),2),2),COLORRED,LINETHICK2;
    慢線綠:EMA(EMA(EMA(EMA(YC,5),5),5),5),COLORGREEN,LINETHICK2;
    STICKLINE(快線紅>慢線綠,快線紅,慢線綠,1,0),COLORRED;
    STICKLINE(快線紅<慢線綠,快線紅,慢線綠,1,0),COLOR00CC00;
    VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR3:=REF(VAR2,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR5:=REF(VAR4,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR7:=REF(VAR6,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR9:=REF(VAR8,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VARB:=REF(VARA,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
    VARE:=REF(VARD,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR10:=REF(VARF,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR12:=REF(VAR11,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR14:=REF(VAR13,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR16:=REF(VAR15,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR18:=REF(VAR17,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
    STICKLINE(VAR19,L-0.03,L-0.03,15,0),LINETHICK3,COLORMAGENTA;
    VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
    VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
    STICKLINE(VAR1A,H*1.001,H,15,0),COLOR00FF00{98FD};
    {股旁網(wǎng)-股票公式網(wǎng)站 www.guPang.com}
    MTM:=C-REF(C,1);
    DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N);
    買1:=IF(LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2)),1,0);
    賣1:=IF(HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1),1,0);
    DRAWTEXT(filter(賣1=1,5),high*1.02, '',color00ff00,ALIGN1;
    DRAWTEXT(filter(買1=1,5),low*0.99, '',colorRED,ALIGN1;
    DRAWICON(filter(買1=1,5),low*0.99,7),ALIGN1;
    DRAWICON(filter(賣1=1,5),high*1.04, 8),ALIGN1;  

    ?

    ?來源:程序化99

  • 文華技術人員: 請參考:
    ?來源:程序化99
  • 文華技術人員:?N:=5;

    ?來源:程序化99

  • 文華技術人員: C 增比:=C/REF(C,1);
    C
    均增比:=(C增比+REF(C增比,1)+REF(C增比,2)+REF(C增比,3)+REF(C增比,4))/5;
    YC:=C*C
    均增比;
    強弱:=COUNT(YC>REF(YC,1),10)/COUNT(YC<REF(YC,1),10);
    A:=EMA(EMA(EMA(EMA(
    強弱,2),2),2),2);
    B:=EMA(EMA(EMA(EMA(
    強弱,5),5),5),5);
    快線紅:EMA(EMA(EMA(EMA(YC,2),2),2),2),COLORRED,LINETHICK2;
    慢線綠:EMA(EMA(EMA(EMA(YC,5),5),5),5),COLORGREEN,LINETHICK2;
    STICKLINE(
    快線紅>慢線綠,快線紅,慢線綠,1,0),COLORRED;
    STICKLINE(
    快線紅<慢線綠,快線紅,慢線綠,1,0),COLOR00CC00;
    VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR3:=REF(VAR2,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR5:=REF(VAR4,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR7:=REF(VAR6,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR9:=REF(VAR8,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VARB:=REF(VARA,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
    VARE:=REF(VARD,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR10:=REF(VARF,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR12:=REF(VAR11,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR14:=REF(VAR13,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR16:=REF(VAR15,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR18:=REF(VAR17,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
    STICKLINE(VAR19,L-0.03,L-0.03,15,0),LINETHICK3,COLORMAGENTA;
    VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
    VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
    STICKLINE(VAR1A,H*1.001,H,15,0),COLOR00FF00{98FD};
    {股旁網(wǎng)-股票
    公式網(wǎng)站?www.guPang.com}
    MTM:=C-REF(C,1);
    DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N);
    1:=IF(LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2)),1,0);
    1:=IF(HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1),1,0);
    DRAWTEXT(filter(
    1=1,5),high*1.02, '',color00ff00,ALIGN1;
    DRAWTEXT(filter(
    1=1,5),low*0.99, '',colorRED,ALIGN1;
    DRAWICON(filter(
    1=1,5),low*0.99,7),ALIGN1;
    DRAWICON(filter(
    1=1,5),high*1.04, 8),ALIGN1;

    ?

    ?來源: www.tumamayizhan.com

  • 文華客服: ?老師,能不能把它改成圖啊?還有上下的箭頭

    <!--[endif]-->  

    ?

  • 網(wǎng)友回復: 請參考:
    ?N:=5; C增比:=C/REF(C,1); C均增比:=(C增比+REF(C增比,1)+REF(C增比,2)+REF(C增比,3)+REF(C增比,4))/5; YC:=C*C均增比; 強弱:=COUNT(YC>REF(YC,1),10)/COUNT(YC<REF(YC,1),10); A:=EMA(EMA(EMA(EMA(強弱,2),2),2),2); B:=EMA(EMA(EMA(EMA(強弱,5),5),5),5); 快線紅:EMA(EMA(EMA(EMA(YC,2),2),2),2),COLORRED,LINETHICK2; 慢線綠:EMA(EMA(EMA(EMA(YC,5),5),5),5),COLORGREEN,LINETHICK2; STICKLINE(快線紅>慢線綠,快線紅,慢線綠,1,0),COLORRED; STICKLINE(快線紅<慢線綠,快線紅,慢線綠,1,0),COLOR00CC00; VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; STICKLINE(VAR19,L-0.03,L-0.03,15,0),LINETHICK3,COLORMAGENTA; VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD; STICKLINE(VAR1A,H*1.001,H,15,0),COLOR00FF00{98FD}; MTM:=C-REF(C,1); DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N); 買1:=IF(LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2)),1,0); 賣1:=IF(HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1),1,0); DRAWICON(FILTER(買1=1,5),LOW*0.99,4),ALIGN1; DRAWICON(FILTER(賣1=1,5),HIGH*1.04, 5),ALIGN1;

    ?

  • 網(wǎng)友回復: ?把紅色和綠綠色交叉點的更改后,再補上當出現(xiàn)紅色色條時,在色塊上加上買多,綠色就在色塊下面買空;再次麻煩老師了;


    文件名:贏順截圖20171123100120.jpg

 

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 成人夜色视频网站在线观看| 欧美爽爽爽爽爽爽视频| 国产精品jizz在线观看直播| 丁香花高清在线观看完整版| 曰本视频网络www色| 亚洲精品免费视频| 美女张开腿让男人桶的动态图| 国产特级毛片AAAAAA| 99精品在线视频观看| 新婚熄与翁公李钰雯| 亚洲av无码专区在线观看成人 | 孩交精品xxxx视频视频| 久久精品一区二区三区不卡| 欧美激情xxxx性bbbb| 免费视频爱爱太爽了| 贱妇汤如丽全篇小说| 国产精品亚洲成在人线| a级片视频在线观看| 扒开两腿猛进入爽爽视频| 亚洲AV无码乱码麻豆精品国产| 波多野结衣不卡| 免费黄色欧美视频| 色狠狠一区二区三区香蕉| 国产无遮挡又黄又爽免费网站 | 成人欧美一区二区三区的电影| 久操视频免费观看| 欧美日韩动态图| 人妻无码一区二区三区AV| 欧美日韩一道本| 在线观看国产小视频| 三级视频中文字幕| 日本永久免费a∨在线视频| 伊人影院中文字幕| 色婷婷亚洲十月十月色天| 国产特级毛片aaaaaa| 91在线国内在线播放老师| 女人扒下裤让男人桶到爽| 久久精品无码免费不卡| 欧美成人精品第一区二区三区| 伊人久久精品亚洲午夜| 精精国产XXXX视频在线播放 |