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

通達信代碼轉換成博奕大師指標 [博易POBO]

咨詢內容:

通達信代碼轉換成博奕大師指標

DIFF:EMA(CLOSE,10)-EMA(CLOSE,26),NODRAW;
DEA:EMA(DIFF,9),NODRAW;MACD:(DIFF-DEA),NODRAW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
CURR:=CURRBARSCOUNT;

RM5:IF(CURR>3,REFX(DIFF,3),DRAWNULL),COLORRED;??
RM10:IF(CURR>3,REFX(DEA,3),DRAWNULL),COLORWHITE;??
ABSM5:=CONST(IF(DIFF-REF(DIFF,1)>0,ABS(DIFF-REF(DIFF,1)),0-ABS(DIFF-REF(DIFF,1))));??
?ABSM10:=CONST(IF(DEA-REF(DEA,1)>0,ABS(DEA-REF(DEA,1)),0-ABS(DEA-REF(DEA,1))));??
?R2M5:=IF(CURR=3,CONST(DIFF)+ABSM5,DRAWNULL);??
?R2M10:=IF(CURR=3,CONST(DEA)+ABSM10,DRAWNULL);??
?R1M5:=IF(CURR=2,CONST(DIFF)+2*ABSM5,DRAWNULL);??
?R1M10:=IF(CURR=2,CONST(DEA)+2*ABSM10,DRAWNULL);??
?R0M10:=IF(ISLASTBAR,CONST(DEA)+3*ABSM10,DRAWNULL);??
?DRAWLINE(CURR=4,RM5,CURR=3,R2M5,0),COLOR0000FF,DOTLINE;??

?DRAWLINE(CURR=4,RM10,CURR=3,R2M10,0),COLOR00FFFF,DOTLINE;??
?DRAWLINE(CURR=3,R2M10,CURR=2,R1M10,0),COLOR00FFFF,DOTLINE;?
?DRAWLINE(CURR=3,R2M5,CURR=2,R1M5,0),COLOR0000FF,DOTLINE;??


IF(RM5>RM10,RM5,DRAWNULL),COLORRED,LINETHICK2;
IF(RM5<RM10,RM5,DRAWNULL),COLORGREEN,LINETHICK2;
IF(RM5<0 AND RM5<RM10,RM5,DRAWNULL),COLORCC6600,LINETHICK2;
IF(RM5>0 AND RM5>RM10,RM5,DRAWNULL),LINETHICK2,COLORMAGENTA;

?

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

博易技術人員: DIFF:EMA(CLOSE,10)-EMA(CLOSE,26),NODRAW;
DEA:EMA(DIFF,9),NODRAW;MACD:(DIFF-DEA),NODRAW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
CURR:=DATACOUNT;

RM5:IF(CURR>3,REFX(DIFF,3),DRAWNULL),COLORRED; ?
RM10:IF(CURR>3,REFX(DEA,3),DRAWNULL),COLORWHITE; ?
ABSM5:=IF(DIFF-REF(DIFF,1)>0,ABS(DIFF-REF(DIFF,1)),0-ABS(DIFF-REF(DIFF,1))); ?
?ABSM10:=IF(DEA-REF(DEA,1)>0,ABS(DEA-REF(DEA,1)),0-ABS(DEA-REF(DEA,1))); ?
?R2M5:=IF(CURR=3,DIFF+ABSM5,DRAWNULL); ?
?R2M10:=IF(CURR=3,DEA+ABSM10,DRAWNULL); ?
?R1M5:=IF(CURR=2,DIFF+2*ABSM5,DRAWNULL); ?
?R1M10:=IF(CURR=2,DEA+2*ABSM10,DRAWNULL); ?
?R0M10:=IF(ISLASTBAR,DEA+3*ABSM10,DRAWNULL); ?
?DRAWLINE(CURR=4,RM5,CURR=3,R2M5,0),COLOR0000FF,POINTDOT; ?

?DRAWLINE(CURR=4,RM10,CURR=3,R2M10,0),COLOR00FFFF,POINTDOT; ?
?DRAWLINE(CURR=3,R2M10,CURR=2,R1M10,0),COLOR00FFFF,POINTDOT;?
?DRAWLINE(CURR=3,R2M5,CURR=2,R1M5,0),COLOR0000FF,POINTDOT; ?


AA1:IF(RM5>RM10,RM5,DRAWNULL),COLORRED,LINETHICK2;
AA2:IF(RM5<RM10,RM5,DRAWNULL),COLORGREEN,LINETHICK2;
AA3:IF(RM5<0 AND RM5<RM10,RM5,DRAWNULL),COLORCC6600,LINETHICK2;
AA4:IF(RM5>0 AND RM5>RM10,RM5,DRAWNULL),LINETHICK2,COLORMAGENTA; 你好,好像顯示不了虛線部份 來源 程序化久久網

 

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

可聯系技術人員 QQ: 511411198  點擊這里給我發消息或微信:cxhjy888 進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 久久婷婷电影网| 国产在线精品一区二区夜色 | 免费国产剧情视频在线观看| 91精品国产91久久久久久青草 | 5g影讯5g探花多人运视频 | 嘟嘟嘟www在线观看免费高清 | 欧美另类videosgratis妇| 国产主播福利在线观看| 99久久精品国产一区二区三区| 日韩美女hd高清电影| 免费网站看v片在线香蕉| h无遮挡男女激烈动态图| 成人欧美一区二区三区视频| 亚洲最大视频网站| 色婷婷综合久久久久中文字幕| 国内自产少妇自拍区免费| 久久久午夜精品福利内容| 波多野结衣办公室jian情| 国产午夜鲁丝片av无码免费| 99精品国产成人a∨免费看| 日韩成人在线免费视频| 人成精品视频三区二区一区| 麻豆国产在线观看免费| 大臿蕉香蕉大视频成人| 久久免费观看国产精品| 污视频免费在线观看网站| 国产一级成人毛片| 4399影视免费观看高清直播| 无码国产成人午夜电影在线观看| 亚洲精品国产肉丝袜久久| 色综合久久久久无码专区| 国产精品视频全国免费观看| 中文字幕久久网| 欧美jizz18性欧美| 俺来也俺去啦久久综合网| 香港特级a毛片免费观看| 国内精品久久久久久无码不卡| 中文字幕日本最新乱码视频| 欧美一区视频在线| 伊人色综合久久天天人手人婷| 野花社区视频www|