请老师帮我加个大于0和小于0的箭头 [文华财经]
- 咨询内容:
DIFF :EMA(CLOSE,8) - EMA(CLOSE,21);
DEA : EMA(DIFF,13),NODRAW;
MACD:2*(DIFF-DEA),COLORSTICK;
DRAWCOLORLINE(DEA>REF(DEA,1),DEA,COLORRED,COLORGREEN),LINETHICK3;
STICKLINE(MACD>0&&MACD>REF(MACD,1),MACD,0,COLORRED,0);
STICKLINE(MACD>0&&MACD<REF(MACD,1),MACD,0,COLORYELLOW,0);
STICKLINE(MACD<0&&MACD>REF(MACD,1),MACD,0,COLORGREEN,0);
STICKLINE(MACD<0&&MACD<REF(MACD,1),MACD,0,COLORBLUE,0);DIFF大于0用红箭头表示,小于0用绿箭头表示,谢谢!
- 文华技术人员:
DIFF :EMA(CLOSE,8) - EMA(CLOSE,21);
DEA : EMA(DIFF,13),NODRAW;
MACD:2*(DIFF-DEA),COLORSTICK;
DRAWCOLORLINE(DEA>REF(DEA,1),DEA,COLORRED,COLORGREEN),LINETHICK3;
STICKLINE(MACD>0&&MACD>REF(MACD,1),MACD,0,COLORRED,0);
STICKLINE(MACD>0&&MACD<REF(MACD,1),MACD,0,COLORYELLOW,0);
STICKLINE(MACD<0&&MACD>REF(MACD,1),MACD,0,COLORGREEN,0);
STICKLINE(MACD<0&&MACD<REF(MACD,1),MACD,0,COLORBLUE,0);
DRAWICON(DIFF>0,DIFF,'ICO4');DRAWICON(DIFF<0,DIFF,'ICO5');
仅供参考;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容