您現在的位置:程序化交易>> 期貨公式>> 博易大師>> 博易大師知識>>正文內容

老師 你好 麻煩改一下指標 謝謝 [博易POBO]

咨詢內容:

老師 你好 麻煩改一下指標 謝謝


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

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

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

MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;

KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;

RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;

MACD頂背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;

KDJ頂背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;

RSI頂背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;

STICKLINE(B1>0,-0.1,0,2,0),COLORRED;

STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;

STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;

STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;

STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;

STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORRED;

STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORYELLOW;

STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORCYAN;

STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORMAGENTA;

STICKLINE(C>0,0,0,50,1),COLORBLUE;
DIFF,COLORGREEN;

DEA,COLORYELLOW;

強:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK3;

弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK3;

DRAWICON(CROSS(DIFF,DEA),DEA,26);

DRAWICON(CROSS(DEA,DIFF),DEA,27);

A:=REF(DIFF,1)<REF(DIFF,2) AND REF(DIFF,2)<REF(DIFF,3) AND DIFF>REF(DIFF,1);

B:=REF(DIFF,1)>REF(DIFF,2) AND REF(DIFF,2)>REF(DIFF,3) AND DIFF<REF(DIFF,1);

DRAWICON(A,DIFF,1);

DRAWICON(B,DIFF,2);

?

?來源:程序化99網( www.tumamayizhan.com )

博易技術人員: 上個源碼不對? ?是 這個? ?謝謝?

DIFF:EMA(CLOSE,7) - EMA(CLOSE,19);

DEA:EMA(DIFF,9);

MACD:2*(DIFF-DEA),COLORSTICK;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);

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

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

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

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

C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));

D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);

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

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

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

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

MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;

KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;

RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;

MACD頂背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;

KDJ頂背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;

RSI頂背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;

STICKLINE(B1>0,-0.1,0,2,0),COLORRED;

STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;

STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;

STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;

STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;

STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORRED;

STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORYELLOW;

STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORCYAN;

STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORMAGENTA;

STICKLINE(C>0,0,0,50,1),COLORBLUE;
DIFF,COLORGREEN;

DEA,COLORYELLOW;

強:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK3;

弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK3;

DRAWICON(CROSS(DIFF,DEA),DEA,26);

DRAWICON(CROSS(DEA,DIFF),DEA,27);

A:=REF(DIFF,1)<REF(DIFF,2) AND REF(DIFF,2)<REF(DIFF,3) AND DIFF>REF(DIFF,1);

B:=REF(DIFF,1)>REF(DIFF,2) AND REF(DIFF,2)>REF(DIFF,3) AND DIFF<REF(DIFF,1);

DRAWICON(A,DIFF,1);

DRAWICON(B,DIFF,2); DIFF:EMA(CLOSE,7)-EMA(CLOSE,19);

DEA:EMA(DIFF,9);

MACD:2*(DIFF-DEA),COLORSTICK;
KDJK:=STKINDI('',6,'KDJ.K',9,3,3);
KDJD:=STKINDI('',6,'KDJ.d',9,3,3);
RSI11:=STKINDI('',6,'RSI.RSI1',6,12,24);
RSI22:=STKINDI('',6,'RSI.RSI2',6,12,24);

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

B1:=REF(C,A1+1)>CANDREF(DIFF,A1+1)<DIFFANDCROSS(DIFF,DEA);

A2:=BARSLAST(REF(CROSS(KDJK,KDJD),1));

B2:=REF(C,A2+1)>CANDREF(KDJK,A2+1)<KDJKANDCROSS(KDJK,KDJD);

A3:=BARSLAST(REF(CROSS(RSI11,RSI22),1));

B3:=REF(C,A3+1)>CANDREF(RSI11,A3+1)<RSI11ANDCROSS(RSI11,RSI22);

C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));

D1:=REF(C,C1+1)<CANDREF(DIFF,C1+1)>DIFFANDCROSS(DEA,DIFF);

C2:=BARSLAST(REF(CROSS(KDJD,KDJK),1));

D2:=REF(C,C2+1)<CANDREF(KDJK,C2+1)>KDJKANDCROSS(KDJD,KDJK);

C3:=BARSLAST(REF(CROSS(RSI22,RSI11),1));

D3:=REF(C,C3+1)<CANDREF(RSI11,C3+1)>RSI11ANDCROSS(RSI22,RSI11);

MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;

KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;

RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;

MACD頂背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;

KDJ頂背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;

RSI頂背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;

STICKLINE(B1>0,-0.1,0,2,0),COLORRED;

STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;

STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;

STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;

STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;

STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;

STICKLINE(MACD>REF(MACD,1)ANDMACD>0,0,MACD,0,0),COLORRED;

STICKLINE(MACD<=REF(MACD,1)ANDMACD>0,0,MACD,0,0),COLORYELLOW;

STICKLINE(MACD<REF(MACD,1)ANDMACD<0,0,MACD,0,0),COLORCYAN;

STICKLINE(MACD>=REF(MACD,1)ANDMACD<0,0,MACD,0,0),COLORMAGENTA;

STICKLINE(C>0,0,0,50,1),COLORBLUE;
DIFF,COLORGREEN;

DEA,COLORYELLOW;

強:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK3;

弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK3;

DRAWICON(CROSS(DIFF,DEA),DEA,26);

DRAWICON(CROSS(DEA,DIFF),DEA,27);

A:=REF(DIFF,1)<REF(DIFF,2)ANDREF(DIFF,2)<REF(DIFF,3)ANDDIFF>REF(DIFF,1);

B:=REF(DIFF,1)>REF(DIFF,2)ANDREF(DIFF,2)>REF(DIFF,3)ANDDIFF<REF(DIFF,1);

DRAWICON(A,DIFF,1);

DRAWICON(B,DIFF,2); 來源 程序化久久網

 

有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

怎么收費,代編流程等詳情請點擊閱讀!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 99精品国产高清一区二区麻豆| 又爽又黄又无遮挡的视频在线观看| 久久午夜夜伦鲁鲁片免费无码影视| 糟蹋顶弄挣扎哀求np| 女人18**毛片一级毛片| 亚洲午夜电影在线观看| 久久久香蕉视频| 精品综合久久久久久99| 在线看免费毛片| 久青草无码视频在线观看| 老师你的兔子好软水好多作文高清| 天天躁日日躁狠狠躁av中文| 亚洲另类春色国产精品| 蜜桃97爱成人| 大学生久久香蕉国产线看观看 | 最近最好最新2018中文字幕免费| 国产igao为爱做激情| 99久久国产综合精品swag| 日韩成人免费aa在线看| 免费无码成人av在线播放不卡| 1819sextub欧美中国| 无码人妻精品一区二| 亚洲精品你懂的| 里番牝教师~淫辱yy608| 在线视频这里只有精品| 久久精品无码一区二区三区不卡| 精品久久久久久中文字幕女| 国产精品成人亚洲| 中文字幕无线码中文字幕免费 | 精品人妻系列无码一区二区三区| 国产精品林美惠子在线观看| 亚洲精品午夜在线观看| 黄色录像大片毛片aa| 少妇人妻av无码专区| 亚洲av日韩av无码av| 精品人妻无码区二区三区| 国产激情电影综合在线看| 中国在线观看免费的www| 欧美在线暴力性xxxx| 国产日韩av免费无码一区二区| 两个人看的www视频免费完整版|