请老师改成文华 [文华财经]
-
咨询内容:
short:=12;
long:=26;
mid:=9;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>0,MACD,0,0.01,0),COLORRED,,LINETHICK2;
STICKLINE(MACD<0,MACD,0,0.01,0),COLORCYAN;
STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<0,MACD,0,0.01,0),COLORYELLOW;
STICKLINE(MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND MACD>0,MACD,0,0.01,0),COLORGREEN;
STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND MACD<0,MACD,0,0.01,0),COLORGREEN;
STICKLINE(MACD<REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD>0,MACD,0,0.01,0),COLORYELLOW;来源:程序化99
-
文华技术人员:
参考:
SHORT:=12; LONG:=26; MID:=9; DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); IF(DIF>REF(DIF,1),DIF,NULL),COLORRED,LINETHICK2; IF(DEA>REF(DEA,1),DEA,NULL),COLORMAGENTA,LINETHICK2; MACD:(DIF-DEA)*2,COLORSTICK,NODRAW; STICKLINE(MACD>0,MACD,0,0.01,0),COLORRED,LINETHICK2; STICKLINE(MACD<0,MACD,0,0.01,0),COLORCYAN; STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<0,MACD,0,0.01,0),COLORYELLOW; STICKLINE(MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND MACD>0,MACD,0,0.01,0),COLORGREEN; STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND MACD<0,MACD,0,0.01,0),COLORGREEN; STICKLINE(MACD<REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD>0,MACD,0,0.01,0),COLORYELLOW;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容