請老師改成博易指標(biāo) [博易POBO]
咨詢內(nèi)容:
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
DRAWTEXT(SS,LOW,'買入');
DRAWTEXT(XX,HIGH,'賣出');
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),8,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),8,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),8,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),8,1),COLORGREEN;
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150)),COLORRED;
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150)),COLORGREEN;
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150)),COLORRED;
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),COLORCYAN;
DRAWTEXT(SS,LOW,'買入');
DRAWTEXT(XX,HIGH,'賣出'); 謝謝老師,請問知道這個(gè)上下影線消失是什么原因嗎,另外麻煩老師把漲跌的顏色對調(diào)以下,謝謝,辛苦 來源 程序化久久網(wǎng)
請老師改成博易指標(biāo)
S:=CROSS(CLOSE,EMA2(HIGH,30));X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
DRAWTEXT(SS,LOW,'買入');
DRAWTEXT(XX,HIGH,'賣出');
?
?來源:程序化99網(wǎng)( www.tumamayizhan.com )
博易技術(shù)人員: S:=CROSS(CLOSE,EMA2(HIGH,30));X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),8,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),8,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),8,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),8,1),COLORGREEN;
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150)),COLORRED;
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150)),COLORGREEN;
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150)),COLORRED;
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),COLORCYAN;
DRAWTEXT(SS,LOW,'買入');
DRAWTEXT(XX,HIGH,'賣出'); 謝謝老師,請問知道這個(gè)上下影線消失是什么原因嗎,另外麻煩老師把漲跌的顏色對調(diào)以下,謝謝,辛苦 來源 程序化久久網(wǎng)
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號:cxh99cxh99 進(jìn)行 有償收費(fèi) 編寫!
(怎么收費(fèi),代編流程等詳情請點(diǎn)擊閱讀!)
(注:由于人數(shù)限制,QQ或微信請選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請簡單備注下您的需求,否則無法通過。謝謝您!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容