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

請老師修改成博易大師能用 [博易POBO]

咨詢內容:

請老師修改成博易大師能用

H11:=HHV(HIGH,2);
L11:=LLV(LOW,2);
H1:=IFELSE(H11<REF(H11,1)&&L11<REF(L11,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,2)-CLOSE)>2,REF(H11,2),0);
L1:=IFELSE(L11>REF(L11,1)&&H11>REF(H11,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,2))>2,REF(L11,2),0);
H2:=VALUEWHEN(H1>0,H1);
L2:=VALUEWHEN(L1>0,L1);
K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IFELSE(K2=1,H2,L2),NODRAW;
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(L11>0,G1,G1,2,COLORCYAN);
TMP:=K2;
W1:=K2;
W2:=OPEN-CLOSE;
HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
DRAWLINE(W1=1,HIGH,W1=1,HT,COLORCYAN);
DRAWLINE(W1=1,LOW,W1=1,LT,COLORCYAN);
DRAWLINE(W1=-3,HIGH,W1=-3,HT,COLORRED);
DRAWLINE(W1=-3,LOW,W1=-3,LT,COLORRED);
STICKLINE(W1>0,OPEN,CLOSE,COLORCYAN,1);
STICKLINE(W1<=0,OPEN,CLOSE,COLORRED,1);
STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0);
STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0);
DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF(G,1),COLORCYAN);
DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF(TMP,1)=-3,REF(G,1),COLORRED);
DRAWSL(K2=1,G,0,1,0,COLORCYAN);
DRAWSL(K2=-3,G,0,1,0,COLORRED);
DRAWTEXT(CROSS(TMP,0),H11,'賣'),VALIGN0;
DRAWTEXT(CROSS(0,TMP),L11,'買'),VALIGN0;
MA55:=MA(CLOSE,55);
DRAWTEXT(CROSS(TMP,0)&&CLOSE<=MA55,H11,'賣↓'),VALIGN0;
DRAWTEXT(CROSS(0,TMP)&&CLOSE>=MA55,L11,'買↑'),VALIGN0;
O1:VALUEWHEN(DAYBARPOS=1,O),NODRAW;
漲跌幅:(C-O1)/O1*100,NODRAW;
M8:EMA(C,8),COLORGREEN;
MA65:MA(C,65),COLORYELLOW,LINETHICK2; <!-- 咨詢內容:

附件 :

-->

?

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

博易技術人員: H11:=HHV(HIGH,2);
L11:=LLV(LOW,2);
H1:=IFELSE(H11<REF(H11,1)&&L11<REF(L11,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,2)-CLOSE)>2,REF(H11,2),0);
L1:=IFELSE(L11>REF(L11,1)&&H11>REF(H11,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,2))>2,REF(L11,2),0);
H2:=VALUEWHEN(H1>0,H1);
L2:=VALUEWHEN(L1>0,L1);
K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IFELSE(K2=1,H2,L2),NODRAW;
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(L11>0,G1,G1,2),COLORCYAN;
TMP:=K2;
W1:=K2;
W2:=OPEN-CLOSE;
HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);

STICKLINE(W1>0,OPEN,CLOSE,10,1),COLORCYAN;
STICKLINE(W1<=0,OPEN,CLOSE,10,1),COLORRED;
STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,10,0),COLORRED;
STICKLINE(W2>0&&W1>0,OPEN,CLOSE,10,0),COLORCYAN;
DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF(G,1),0),COLORCYAN;
DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF(TMP,1)=-3,REF(G,1),0),COLORRED;
DRAWSL(K2=1,G,0,1,0),COLORCYAN;
DRAWSL(K2=-3,G,0,1,0),COLORRED;
DRAWTEXT(CROSS(TMP,0),H11,'賣'),VALIGN0;
DRAWTEXT(CROSS(0,TMP),L11,'買'),VALIGN0;
MA55:=MA(CLOSE,55);
DRAWTEXT(CROSS(TMP,0)&&CLOSE<=MA55,H11,'賣↓'),VALIGN0;
DRAWTEXT(CROSS(0,TMP)&&CLOSE>=MA55,L11,'買↑'),VALIGN0;
DAYBARPOS:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);
O1:VALUEWHEN(DAYBARPOS=1,O),NODRAW;
漲跌幅:(C-O1)/O1*100,NODRAW;
M8:EMA(C,8),COLORGREEN;
MA65:MA(C,65),COLORYELLOW,LINETHICK2; 你好,雖然可用,但圖形并不美觀,能否像文化里面的圖形 來源 程序化久久網

 

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

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

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 日本一区二区三区精品视频| 狠狠入ady亚洲精品| 国产精品久久久久久搜索| 一级毛片不卡片免费观看| 日韩精品无码免费专区网站| 亚洲精品无码久久久| 一级性生活毛片| 极品色αv影院| 国产xx在线观看| 爽爽影院在线看| 太粗太深了用力点视频| 久久九色综合九色99伊人| 欧美夫妇交换俱乐部在线观看| 北条麻妃作品在线观看| 香蕉精品高清在线观看视频| 国产精品视频一区二区噜噜| youjizz麻豆| 欧洲97色综合成人网| 人人妻人人爽人人澡欧美一区| 色综七七久久成人影| 天堂在线ww小说| 亚州人成网在线播放| 污软件app下载| 内裤奇缘电子书| 蜜桃AV噜噜一区二区三区| 在厨房被强行侵犯中文字幕| 中国videos性高清免费| 日韩三级小视频| 亚洲三级在线视频| 毛片免费vip会员在线看| 午夜在线观看福利| 邻居的又大又硬又粗好爽| 在线看欧美三级中文经典| 中国一级毛片免费看视频| 日本边添边摸边做边爱的视频 | 日本a级视频在线播放| 亚洲综合五月天欧美| 精品无码国产一区二区三区av| 国产伦精品一区二区三区无广告| 五月天国产视频| 国产精品视频第一区二区三区|