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

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

老師 你好 麻煩改一下指標 謝謝 [博易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.kzuj.com.cn )

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

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或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 成人福利在线 | 天天狠狠 | 日韩午夜网站 | 国产91网 | 小明永久播放平台领域2015 | 欧美日韩视频一区二区 | 国产21区 | 精品91自产拍在线观看一区 | 亚洲综合小视频 | 午夜免费影院 | 亚洲九九 | 国产玖玖 | 天天综合色网 | 精品亚洲综合在线第一区 | 全黄性高视频 | 精品一区一区三区新区乱码 | 亚洲一区二区三区中文字幕 | 韩国三级伦理片床在线播放 | 草草视频在线观看 | 欧美成人免费全网站大片 | 又粗又硬又大久久久 | 99久久中文字幕伊人 | 中国在线播放精品区 | 中文字幕在线视频免费 | 黄色三级a| 黄色在线观看免费 | 亚洲欧美日韩成人一区在线 | 色费女人18毛片a级视频在线 | 手机在线观看黄色网址 | 黄色在线观看免费 | 日日碰狠狠添天天爽对白 | 91久久青青草原线免费 | 国产精品一区二区不卡 | 色狠狠色综合久久8狠狠色 色狠狠成人综合网 | 亚洲第一区在线 | 精品亚洲成a人片在线观看 精品亚洲成a人在线播放 | aa毛片免费全部播放完整 | 理论福利午夜 | 精品一区二区三区在线观看 | 伊人网久久网 | 亚洲第一中文字幕 |