请帮助修改完善一下 MACD [博易POBO]
咨询内容:
帮助修改MACD
<!-- 咨询内容:
DEA:EMA(DIF,9),COLOR00FFFF,LINETHICK1;
MACD:=2*(DIF-DEA);
FILLRGN2(DIF,DEA,DIF>DEA,COLOR501E96,DIF<DEA,COLOR006400);
关注:ABS((CROSS(DIF,DEA) AND DEA<=-0.07)*DIF)*1.50,COLORMAGENTA;
PARTLINE(DIF>DEA,DIF),COLORRED,LINETHICK2;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORRED;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORRED;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF); 来源 程序化久久网
请帮助修改完善一下 MACD
帮助修改MACD
<!-- 咨询内容:
附件 :
--> macd.docx
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORFFFFFF,LINETHICK1;DEA:EMA(DIF,9),COLOR00FFFF,LINETHICK1;
MACD:=2*(DIF-DEA);
FILLRGN2(DIF,DEA,DIF>DEA,COLOR501E96,DIF<DEA,COLOR006400);
关注:ABS((CROSS(DIF,DEA) AND DEA<=-0.07)*DIF)*1.50,COLORMAGENTA;
PARTLINE(DIF>DEA,DIF),COLORRED,LINETHICK2;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORRED;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORRED;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF); 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 或微信号:cxh99cxh99 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容