指标里面没有MACD数值 [博易POBO]
咨询内容:
DEA :EMA(DIFF,9),COLORYELLOW;
MACD:=2*(DIFF-DEA);
DRAWICON(CROSS(DIFF,DEA),DIFF,14);
DRAWICON(CROSS(DEA,DIFF),DEA,3);
DRAWTEXT(CROSS(DIFF,0),-0.05,'买入'),COLORRED;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR008888;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR000088;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLOR883388;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLOR008800;
指标里面没有MACD数值
DIFF:EMA(C,12)-EMA(C,26);DEA :EMA(DIFF,9),COLORYELLOW;
MACD:=2*(DIFF-DEA);
DRAWICON(CROSS(DIFF,DEA),DIFF,14);
DRAWICON(CROSS(DEA,DIFF),DEA,3);
DRAWTEXT(CROSS(DIFF,0),-0.05,'买入'),COLORRED;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR008888;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR000088;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLOR883388;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLOR008800;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 把第三行“2”前面的“=”去掉。 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容