麻煩老師修改一下指標才能用,謝謝你 [博易POBO]
咨询内容:
N:=0.4; //
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK,NODRAW;//
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
DRAWCOLORKLINE(MA5>=MA10&&MACD>0,COLORRED,0);
DRAWCOLORKLINE(MA5<MA10&&MACD>0,COLORGREEN,0);
DRAWCOLORKLINE(MA5>=MA10&&MA5>=MA20&&MACD>0,COLOR000062,0);//
DRAWCOLORKLINE(MA5>=MA10&&MACD<0,COLORRED,0);
DRAWCOLORKLINE(MA5<MA10&&MACD<0,COLORGREEN,0);
DRAWCOLORKLINE(MA5<MA10&&MA5<MA20&&MACD<0,COLOR006000,0);//
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK,NODRAW;//
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
DRAWKLINEEX(MA5>=MA10&&MACD>0,H,O,L,C),COLORRED;
DRAWKLINEEX(MA5<MA10&&MACD>0,H,O,L,C),COLORGREEN;
DRAWKLINEEX(MA5>=MA10&&MA5>=MA20&&MACD>0,H,O,L,C),COLOR000062;//
DRAWKLINEEX(MA5>=MA10&&MACD<0,H,O,L,C),COLORRED;
DRAWKLINEEX(MA5<MA10&&MACD<0,H,O,L,C),COLORGREEN;
DRAWKLINEEX(MA5<MA10&&MA5<MA20&&MACD<0,H,O,L,C),COLOR006000;// 来源 程序化久久网
麻煩老師修改一下指標才能用,謝謝你
麻煩老師修改一下指標才能用,謝謝你//均線KD交叉成K棒變化顔色深淺N:=0.4; //
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK,NODRAW;//
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
DRAWCOLORKLINE(MA5>=MA10&&MACD>0,COLORRED,0);
DRAWCOLORKLINE(MA5<MA10&&MACD>0,COLORGREEN,0);
DRAWCOLORKLINE(MA5>=MA10&&MA5>=MA20&&MACD>0,COLOR000062,0);//
DRAWCOLORKLINE(MA5>=MA10&&MACD<0,COLORRED,0);
DRAWCOLORKLINE(MA5<MA10&&MACD<0,COLORGREEN,0);
DRAWCOLORKLINE(MA5<MA10&&MA5<MA20&&MACD<0,COLOR006000,0);//
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: N:=0.4; //DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK,NODRAW;//
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
DRAWKLINEEX(MA5>=MA10&&MACD>0,H,O,L,C),COLORRED;
DRAWKLINEEX(MA5<MA10&&MACD>0,H,O,L,C),COLORGREEN;
DRAWKLINEEX(MA5>=MA10&&MA5>=MA20&&MACD>0,H,O,L,C),COLOR000062;//
DRAWKLINEEX(MA5>=MA10&&MACD<0,H,O,L,C),COLORRED;
DRAWKLINEEX(MA5<MA10&&MACD<0,H,O,L,C),COLORGREEN;
DRAWKLINEEX(MA5<MA10&&MA5<MA20&&MACD<0,H,O,L,C),COLOR006000;// 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容