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

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

跨指標(biāo)修改 [文華財(cái)經(jīng)]

  • 咨詢內(nèi)容: 改成文華可用,謝謝
    A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));

    B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);

    分水嶺:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;

    操作線:分水嶺-(EMA(C,3)-分水嶺),COLOR00FFFF,LINETHICK2;

    PM:MA(C,5),COLORWHITE,LINETHICK2;

    IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;

    IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;

    IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;

    S:=(PM>操作線);

    DD:=分水嶺<REF(分水嶺,1);

    IF(DD,分水嶺,DRAWNULL),COLOR00FF00,LINETHICK2;

    IF(S,分水嶺,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4;

    DRAWICON(CROSS(分水嶺,操作線),分水嶺-0.1,1);{買入紅箭頭}

    A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));

    B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");

    DRAWTEXT(B1>0,L-0.02,'★M'),COLOR00FFFF;{MACD底背離}

    A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));

    B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");

    DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;{KDJ底背離}

    A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));

    B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");

    DRAWTEXT(B3>0,L-0.18,'◆R'),COLOR0000FF;{RSI底背離}

    C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));

    D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");

    DRAWTEXT(D1>0,H+0.16,'★M'),COLOR00FF00;{MACD頂背離}

    C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));

    D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");

    DRAWTEXT(D2>0,H+0.08,'◎K'),COLORFFFFCC;{KDJ頂背離}

    C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));

    D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");

    DRAWTEXT(D3>0,H+0.04,'◆R'),COLORFF9900;{RSI頂背離};?

    ?

    ?來源:程序化99

  • 文華技術(shù)人員: ?改寫需要時間,周一給您回復(fù)

    ?

    ?來源: www.kzuj.com.cn

  • 文華客服: 謝謝

    ?

  • 網(wǎng)友回復(fù): ? A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); 分水嶺:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2; 操作線:分水嶺-(EMA(C,3)-分水嶺),COLOR00FFFF,LINETHICK2; PM:MA(C,5),COLORWHITE,LINETHICK2; IF(PM>REF(PM,1),PM,NULL),COLORRED,LINETHICK2; IF(PM=REF(PM,1),PM,NULL),COLORRED; IF(PM<REF(PM,1),PM,NULL),COLORFF9900,LINETHICK2; S:=(PM>操作線); DD:=分水嶺<REF(分水嶺,1); IF(DD,分水嶺,NULL),COLOR00FF00,LINETHICK2; IF(S,分水嶺,NULL),COLOR00FF00,POINTDOT,LINETHICK4; DRAWICON(CROSS(分水嶺,操作線),分水嶺-0.1,1); LC := REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
    DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA? : =EMA(DIFF,9); MACD:=2*(DIFF-DEA),COLORSTICK; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;//收盤價與N周期最低值做差,N周期最高值與N周期最低值做差,兩差之間做比值。 K:=SMA(RSV,3,1);//RSV的移動平均值 D:=SMA(K,3,1);//K的移動平均值 J:=3*K-2*D; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); DRAWTEXT(B1>0,L-0.02,'M',COLOR00FFFF; A2:=BARSLAST(REF(CROSS(K,D),1)); B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D); DRAWTEXT(B2,L-0.10,'K',COLORFF00FF; A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1)); B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2); DRAWTEXT(B3>0,L-0.18,'R',COLOR0000FF; C1:=BARSLAST(REF(CROSS(DEA,DIFF),1)); D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF); DRAWTEXT(D1>0,H+0.16,'M',COLOR00FF00; C2:=BARSLAST(REF(CROSS(D,K),1)); D2:=REF(C,C2+1)<C AND REF(K,C2+1)>K AND CROSS(D,K);
    DRAWTEXT(D2>0,H+0.08,'K',COLORFFFFCC;
    C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
    D3:=REF(C,C3+1)<C AND REF(RSI1,C3+1)>RSI1 AND CROSS(RSI2,RSI1);
    DRAWTEXT(D3>0,H+0.04,'R',COLORFF9900;

    ?

  • 網(wǎng)友回復(fù): 老師,能否幫助我把上面的指標(biāo)每一句加個翻譯備注一下,謝謝

 

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

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


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

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 日本三级久久 | 2019av在线视频 | 1024香蕉国产在线视频 | 一个人看www在线观看免费视频 | 国产精品1234区 | 日韩精品中文字幕在线 | 最近2019免费中文字幕视频三 | 欧美日韩高清不卡一区二区三区 | 欧美亚洲国产视频 | 久99re视频9在线观看 | 被黄漫网站视频在线观看 | 手机在线国产精品 | 青青草国产97免久久费观看 | 日韩三级视频在线观看 | 在线播放亚洲精品富二代91 | np多肉高h被强 | 91国内精品久久久久免费影院 | 又色又爽又黄的视频网站 | 免费看的夫妻生活片 | 先锋影音在线资源669 | 国产免费黄 | bbixx在线 | 成人午夜小视频手机在线看 | www.黄免费 | 黄网在线免费观看 | 天天综合在线视频 | 在线免费观看黄色网址 | 欧美同性videos可免费 | 日日夜夜国产 | 波霸欧美性猛交xxxxxx | 在线视免费频观看韩国aaa | 麻豆一区二区大豆行情 | 日韩国产欧美一区二区三区在线 | 日韩中文字幕一在线 | 天天做天天爱夜夜爽女人爽宅 | 黄色α片 | 成人在线观看不卡 | 黑人精品videossex黑人 | 欧美性一区二区三区 | 中文日韩亚洲欧美制服 | avtt亚洲一区中文字幕 |