請老師修改,先謝了 [博易POBO]
咨詢內(nèi)容:
STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGRAY;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLICYAN;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGREEN;
抄底:ABS((CROSS("MACD.DIF","MACD.DEA") && "MACD.DEA"<=-0.07)*"MACD.DIF")*1.28,COLORLIMAGENTA,LINETHICK2,STICK;
QA:"MACD.DIF",COLORWHITE,LINETHICK2;
QB:"MACD.DEA",COLORCYAN;
上漲:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(QA<QB,QA,DRAWNULL),COLORLIGREEN,LINETHICK2;
NOTEXTWB:IF(QB<QA,QB,DRAWNULL),COLORMAGENTA,LINETHICK1;
NOTEXTAAA:0,DOTLINE,COLORGRAY;
KKK:="MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0 AND REF("MACD.MACD",1)<REF("MACD.MACD",2);
激進份子沖:KKK,COLORMAGENTA,NODRAW;
STICKLINE(KKK,0,"MACD.MACD",0.2,0),COLORMAGENTA;
MACDDIFF:=STKINDI('',0,'MACD.DIFf',12,26,9);
MACDDEA:=STKINDI('',0,'MACD.DEA',12,26,9);
STICKLINE(MACDMACD>REF(MACDMACD,1) AND MACDMACD>0,MACDMACD,0,0,1),COLORRED;
STICKLINE(MACDMACD>REF(MACDMACD,1) AND MACDMACD<0,MACDMACD,0,0,1),COLORGRAY;
STICKLINE(MACDMACD<REF(MACDMACD,1) AND MACDMACD>0,MACDMACD,0,0,1),COLORCYAN;
STICKLINE(MACDMACD<REF(MACDMACD,1) AND MACDMACD<0,MACDMACD,0,0,1),COLORGREEN;
抄底:ABS((CROSS(MACDDIFF,MACDDEA) && MACDDEA<=-0.07)*MACDDIFF)*1.28,COLORMAGENTA,LINETHICK2,STICK;
QA:MACDDIFF,COLORWHITE,LINETHICK2;
QB:MACDDEA,COLORCYAN;
上漲:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(QA<QB,QA,DRAWNULL),COLORGREEN,LINETHICK2;
NOTEXTWB:IF(QB<QA,QB,DRAWNULL),COLORMAGENTA,LINETHICK1;
NOTEXTAAA:0,POINTDOT,COLORGRAY;
KKK:=MACDMACD>REF(MACDMACD,1) AND MACDMACD<0 AND REF(MACDMACD,1)<REF(MACDMACD,2);
激進份子沖:KKK,COLORMAGENTA,NODRAW;
STICKLINE(KKK,0,MACDMACD,0.2,0),COLORMAGENTA; 來源 程序化久久網(wǎng)
請老師修改,先謝了
STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLIRED;STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGRAY;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLICYAN;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGREEN;
抄底:ABS((CROSS("MACD.DIF","MACD.DEA") && "MACD.DEA"<=-0.07)*"MACD.DIF")*1.28,COLORLIMAGENTA,LINETHICK2,STICK;
QA:"MACD.DIF",COLORWHITE,LINETHICK2;
QB:"MACD.DEA",COLORCYAN;
上漲:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(QA<QB,QA,DRAWNULL),COLORLIGREEN,LINETHICK2;
NOTEXTWB:IF(QB<QA,QB,DRAWNULL),COLORMAGENTA,LINETHICK1;
NOTEXTAAA:0,DOTLINE,COLORGRAY;
KKK:="MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0 AND REF("MACD.MACD",1)<REF("MACD.MACD",2);
激進份子沖:KKK,COLORMAGENTA,NODRAW;
STICKLINE(KKK,0,"MACD.MACD",0.2,0),COLORMAGENTA;
?
?來源:程序化99網(wǎng)( www.kzuj.com.cn )
博易技術人員: MACDMACD:=STKINDI('',0,'MACD.MACD',12,26,9);MACDDIFF:=STKINDI('',0,'MACD.DIFf',12,26,9);
MACDDEA:=STKINDI('',0,'MACD.DEA',12,26,9);
STICKLINE(MACDMACD>REF(MACDMACD,1) AND MACDMACD>0,MACDMACD,0,0,1),COLORRED;
STICKLINE(MACDMACD>REF(MACDMACD,1) AND MACDMACD<0,MACDMACD,0,0,1),COLORGRAY;
STICKLINE(MACDMACD<REF(MACDMACD,1) AND MACDMACD>0,MACDMACD,0,0,1),COLORCYAN;
STICKLINE(MACDMACD<REF(MACDMACD,1) AND MACDMACD<0,MACDMACD,0,0,1),COLORGREEN;
抄底:ABS((CROSS(MACDDIFF,MACDDEA) && MACDDEA<=-0.07)*MACDDIFF)*1.28,COLORMAGENTA,LINETHICK2,STICK;
QA:MACDDIFF,COLORWHITE,LINETHICK2;
QB:MACDDEA,COLORCYAN;
上漲:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(QA<QB,QA,DRAWNULL),COLORGREEN,LINETHICK2;
NOTEXTWB:IF(QB<QA,QB,DRAWNULL),COLORMAGENTA,LINETHICK1;
NOTEXTAAA:0,POINTDOT,COLORGRAY;
KKK:=MACDMACD>REF(MACDMACD,1) AND MACDMACD<0 AND REF(MACDMACD,1)<REF(MACDMACD,2);
激進份子沖:KKK,COLORMAGENTA,NODRAW;
STICKLINE(KKK,0,MACDMACD,0.2,0),COLORMAGENTA; 來源 程序化久久網(wǎng)
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術人員 QQ: 262069696 或微信號:cxh99cxh99 進行 有償收費 編寫!
(注:由于人數(shù)限制,QQ或微信請選擇方便的一個聯(lián)系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內(nèi)容