老師能修改嗎? [博易POBO]
咨詢內容:
?DEA :=EMA(DIFF,3);?
MACD :=2*(DIFF-DEA);?
//綠柱消失買入: STICKLINE1(DIFF<0,0,DIFF,2,0),COLOR00FF00;
?//紅柱消失賣出: STICKLINE1(DIFF>=0,0,DIFF,2,0),COLORRED;?
STICKLINE1(DEA>=0,0,DEA,2,0),COLORBLUE;
?STICKLINE1(DEA<0,0,DEA,2,0),COLORYELLOW;?
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
?DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
?強1:IF(DIFF>DEA,DIFF,NULL),COLORRED,LINETHICK2;?
強2:IF(DEA<DIFF,DEA,NULL),COLORMAGENTA,LINETHICK2;
?抄底:=ABS((CROSS(DIFF,DEA)&&DEA<=-0.07)*DIFF)*1.09,COLORMAGENTA,LINETHICK2; DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
?DRAWICON(ABS(抄底)>0,抄底,9);
?DEA :=EMA(DIFF,3);?
MACD :=2*(DIFF-DEA);?
//綠柱消失買入: STICKLINE1(DIFF<0,0,DIFF,2,0),COLOR00FF00;
?//紅柱消失賣出: STICKLINE1(DIFF>=0,0,DIFF,2,0),COLORRED;?
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
?STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;?
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
?DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
?強1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;?
強2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
?抄底:=ABS((CROSS(DIFF,DEA)&&DEA<=-0.07)*DIFF)*1.09,COLORMAGENTA,LINETHICK2; DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
?DRAWICON(ABS(抄底)>0,抄底,9); 可以了,謝謝 來源 程序化久久網
老師能修改嗎?
DIFF :=( EMA(CLOSE,6) - EMA(CLOSE,13))*100;?DEA :=EMA(DIFF,3);?
MACD :=2*(DIFF-DEA);?
//綠柱消失買入: STICKLINE1(DIFF<0,0,DIFF,2,0),COLOR00FF00;
?//紅柱消失賣出: STICKLINE1(DIFF>=0,0,DIFF,2,0),COLORRED;?
STICKLINE1(DEA>=0,0,DEA,2,0),COLORBLUE;
?STICKLINE1(DEA<0,0,DEA,2,0),COLORYELLOW;?
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
?DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
?強1:IF(DIFF>DEA,DIFF,NULL),COLORRED,LINETHICK2;?
強2:IF(DEA<DIFF,DEA,NULL),COLORMAGENTA,LINETHICK2;
?抄底:=ABS((CROSS(DIFF,DEA)&&DEA<=-0.07)*DIFF)*1.09,COLORMAGENTA,LINETHICK2; DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
?DRAWICON(ABS(抄底)>0,抄底,9);
?
?來源:程序化99網( m.kzuj.com.cn )
博易技術人員: DIFF :=( EMA(CLOSE,6) - EMA(CLOSE,13))*100;?DEA :=EMA(DIFF,3);?
MACD :=2*(DIFF-DEA);?
//綠柱消失買入: STICKLINE1(DIFF<0,0,DIFF,2,0),COLOR00FF00;
?//紅柱消失賣出: STICKLINE1(DIFF>=0,0,DIFF,2,0),COLORRED;?
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
?STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;?
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
?DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
?強1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;?
強2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
?抄底:=ABS((CROSS(DIFF,DEA)&&DEA<=-0.07)*DIFF)*1.09,COLORMAGENTA,LINETHICK2; DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
?DRAWICON(ABS(抄底)>0,抄底,9); 可以了,謝謝 來源 程序化久久網
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信號:cxh99cxh99 進行 有償收費 編寫!
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容