请改写下在博弈上用 [博易POBO]
咨询内容:
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
NN:=BARSLAST(CROSSDOWN(MACD,0))+1;
DC:=BACKSET(CROSS(MACD,0),LLVBARS(L,NN)+1);
DRAWTEXT(CROSS(DC=1,0.5),L,'底背离');
NN1:=BARSLAST(CROSS(MACD,0))+1;
DC1:=BACKSET(CROSSDOWN(MACD,0),HHVBARS(H,NN1)+1);
DRAWTEXT(CROSS(DC1=1,0.5),H,'顶背离'),RGB(0,0,255);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
NN:=BARSLAST(CROSS(0,MACD))+1;
DC:=BACKSET(CROSS(MACD,0),LLVBARS(L,NN)+1);
DRAWTEXT(CROSS(DC=1,0.5),L,'底背离');
NN1:=BARSLAST(CROSS(MACD,0))+1;
DC1:=BACKSET(CROSS(0,MACD),HHVBARS(H,NN1)+1);
DRAWTEXT(CROSS(DC1=1,0.5),H,'顶背离'),colorblue; 来源 程序化久久网
请改写下在博弈上用
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
NN:=BARSLAST(CROSSDOWN(MACD,0))+1;
DC:=BACKSET(CROSS(MACD,0),LLVBARS(L,NN)+1);
DRAWTEXT(CROSS(DC=1,0.5),L,'底背离');
NN1:=BARSLAST(CROSS(MACD,0))+1;
DC1:=BACKSET(CROSSDOWN(MACD,0),HHVBARS(H,NN1)+1);
DRAWTEXT(CROSS(DC1=1,0.5),H,'顶背离'),RGB(0,0,255);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
NN:=BARSLAST(CROSS(0,MACD))+1;
DC:=BACKSET(CROSS(MACD,0),LLVBARS(L,NN)+1);
DRAWTEXT(CROSS(DC=1,0.5),L,'底背离');
NN1:=BARSLAST(CROSS(MACD,0))+1;
DC1:=BACKSET(CROSS(0,MACD),HHVBARS(H,NN1)+1);
DRAWTEXT(CROSS(DC1=1,0.5),H,'顶背离'),colorblue; 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 或微信号:cxh99cxh99 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容