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

修改指標用于搏易大師.謝謝! [博易POBO]

咨詢內容:

修改指標用于搏易大師.謝謝!

{}
A11:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0);
B31:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0);
A32:DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0),COLORCYAN;
B32:DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0);
A3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0);
B3:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0);
A4:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0);
B4:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0);
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);
買1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
賣1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
DRAWICON(FILTER(買1=1,5),LOW*0.99,7),COLORRED;
STICKLINE(FILTER(買1=1,5),C,O,1,0),COLORRED;
DRAWICON(FILTER(賣1=1,1),H*1.01,8),COLOR00FF00;
STICKLINE(FILTER(賣1=1,1),C,O,1,0),COLOR00FF00;
{}
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
壓力:= REF(HIGH,BARSLAST(VAR2222));
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
支撐:= REF(LOW,BARSLAST(VAR4444));
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;
下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RRRSV:=SMA(下檔線,3,1);
KKK:=SMA(RRRSV,3,1);
DDD:=((3 * RRRSV) - (2 * KKK));
JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(JJ12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
壓力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;
壓力位:=IF(ISLASTBAR,壓力2,DRAWNULL);
STICKLINE(ISLASTBAR ,壓力位,壓力位,120,0),LINETHICK4,COLORFFFFFF;
底部:=LLV(HIGH,30),COLOR00FF00;
底部位:=IF(ISLASTBAR,底部,DRAWNULL);
STICKLINE(ISLASTBAR ,底部位,底部位,100,0),LINETHICK4,COLOR00FF00;
{}AA:BBI;
IF(AA>=REF(AA,1),AA,0),LINETHICK2,COLORYELLOW,CIRCLEDOT;
IF(AA<REF(AA,1),AA,0),LINETHICK2,COLORFF9900,CIRCLEDOT;
STICKLINE(C>AA,L,H,0.1,1),COLORRED;
STICKLINE(C>AA,C,O,4,1),COLORRED;
STICKLINE(C>AA,C,O,4,1),COLORRED;
STICKLINE(C<AA,C,O,4,1),COLORFFFF00;
STICKLINE(C<AA,C,O,4,1),COLOR00FF00;
STICKLINE(C<AA,L,H,0.1,1),COLOR00FF00;
{}
TY309:=C;
HD309:=FILTER(BACKSET(FILTER(REF(TY309,10)=HHV(TY309,2*10+1),10),10+1),10);
LD309:=FILTER(BACKSET(FILTER(REF(TY309,10)=LLV(TY309,2*10+1),10),10+1),10);?
A309:=REF(C,BARSLAST(HD309));
B309:=REF(C,BARSLAST(LD309));
T1309:=BARSLAST(HD309)<BARSLAST(LD309) AND NOT(HD309) ;
T2309:=BARSLAST(HD309)>BARSLAST(LD309) AND NOT(LD309);
波浪頂:IF(T1309,A309,A309),COLORCYAN,POINTDOT,LINETHICK2;
波浪底:IF(T2309,B309,B309),COLORMAGENTA,POINTDOT,LINETHICK2;
?
?
?

?

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

博易技術人員: DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0);
DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0);
DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0),COLORCYAN;
DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0);
DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0);
DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0);
DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0);
DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0);
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);
買1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
賣1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
DRAWICON(FILTER(買1=1,5),LOW*0.99,7),COLORRED;
STICKLINE(FILTER(買1=1,5),C,O,1,0),COLORRED;
DRAWICON(FILTER(賣1=1,1),H*1.01,8),COLOR00FF00;
STICKLINE(FILTER(賣1=1,1),C,O,1,0),COLOR00FF00;
{}
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
壓力:= REF(HIGH,BARSLAST(VAR2222));
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
支撐:= REF(LOW,BARSLAST(VAR4444));
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;
下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RRRSV:=SMA(下檔線,3,1);
KKK:=SMA(RRRSV,3,1);
DDD:=((3 * RRRSV) - (2 * KKK));
JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(JJ12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
壓力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;
壓力位:=IF(ISLASTBAR,壓力2,DRAWNULL);
STICKLINE(ISLASTBAR ,壓力位,壓力位,120,0),LINETHICK4,COLORFFFFFF;
底部:=LLV(HIGH,30),COLOR00FF00;
底部位:=IF(ISLASTBAR,底部,DRAWNULL);
STICKLINE(ISLASTBAR ,底部位,底部位,100,0),LINETHICK4,COLOR00FF00;
{}

AA:STKINDI('',0,'BBI');
IF(AA>=REF(AA,1),AA,0),LINETHICK2,COLORYELLOW,CIRCLEDOT;
IF(AA<REF(AA,1),AA,0),LINETHICK2,COLORFF9900,CIRCLEDOT;
STICKLINE(C>AA,L,H,0.1,1),COLORRED;
STICKLINE(C>AA,C,O,4,1),COLORRED;
STICKLINE(C>AA,C,O,4,1),COLORRED;
STICKLINE(C<AA,C,O,4,1),COLORFFFF00;
STICKLINE(C<AA,C,O,4,1),COLOR00FF00;
STICKLINE(C<AA,L,H,0.1,1),COLOR00FF00;
{}
TY309:=C;
HD309:=FILTER(BACKSET(FILTER(REF(TY309,10)=HHV(TY309,2*10+1),10),10+1),10);
LD309:=FILTER(BACKSET(FILTER(REF(TY309,10)=LLV(TY309,2*10+1),10),10+1),10);?
A309:=REF(C,BARSLAST(HD309));
B309:=REF(C,BARSLAST(LD309));
T1309:=BARSLAST(HD309)<BARSLAST(LD309) AND NOT(HD309) ;
T2309:=BARSLAST(HD309)>BARSLAST(LD309) AND NOT(LD309);
波浪頂:IF(T1309,A309,A309),COLORCYAN,POINTDOT,LINETHICK2;
波浪底:IF(T2309,B309,B309),COLORMAGENTA,POINTDOT,LINETHICK2;

請老師在修改一下,n1出錯,如圖 來源 程序化久久網

 

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

可聯系技術人員 QQ: 1145508240  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,謝謝您!)

怎么收費,代編流程等詳情請點擊閱讀,或QQ微信聯系我們!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 一级淫片免费看| 免费国产成人高清在线观看麻豆| avtt天堂在线| 日本妈妈xxxxx| 国产精品美女久久久久久久| 久久久久久久久久久久久久久 | 国产高清免费视频| 中文字幕无码视频专区| 欧洲精品一卡2卡三卡4卡乱码| 免费看美女脱衣服| 视频一本大道香蕉久在线播放| 国产精品成人第一区| www.com欧美| 无码精品久久久久久人妻中字| 亚洲午夜小视频| 特级做a爰片毛片免费看| 四虎永久免费地址ww484e5566 | aⅴ免费在线观看| 日本少妇高潮喷水xxxxxxx| 亚洲最大黄色网站| 精品人妻久久久久久888| 国产精品漂亮美女在线观看| 中国speakingathome宾馆学生| 日韩精品在线电影| 亚洲日韩av无码中文| 看一级毛片**直播在线| 国产h视频在线| 黄床大片30分钟免费看| 国产精品美女自在线观看免费| mm1313亚洲国产精品无码试看| 播播开心激情网| 亚洲综合av一区二区三区不卡| 翁房中春意浓王易婉艳| 国产愉拍精品视频手机| 1000部拍拍拍18勿入免费视频下载| 天天躁夜夜躁狠狠躁2021西西| 中文字幕人妻三级中文无码视频 | 久久夜色精品国产欧美乱| 精品久久国产字幕高潮| 国产剧情av麻豆香蕉精品| chinesehd国产刺激对白|