[求助]请老师帮我成文华的,最好用EMA方式计算谢谢! [文华财经]
-
咨询内容:
DRAWTEXT(T=0,H*1.02,Ƈ#39),colorgreen;
DRAWTEXT(N,H*1.02,ƈ#39),colorgreen;
DRAWTEXT(N1,H*1.02,Ɖ#39),colorgreen;
DRAWTEXT(N2,H*1.02,Ɗ#39),colorgreen;
DRAWTEXT(N3,H*1.02,Ƌ#39),colorgreen;
DRAWTEXT(N4,H*1.02,ƌ#39),colorgreen;
DRAWTEXT(N5,H*1.02,ƍ#39),colorgreen;
DRAWTEXT(N6,H*1.02,Ǝ#39),colorgreen;
DRAWTEXT(N7,H*1.02,Ə#39),coloryellow;
DRAWICON(N7,H*1.04,1),colorgreen;
DRAWTEXT(M,H*1.02,Ƈ#39),colorblack;
DRAWTEXT(M1,H*1.02,ƈ#39),colorblack;
DRAWTEXT(M2,H*1.02,Ɖ#39),colorblack;
DRAWTEXT(M3,H*1.02,Ɗ#39),colorblack;
DRAWTEXT(M4,H*1.02,Ƌ#39),colorblack;
DRAWTEXT(M5,H*1.02,ƌ#39),colorblack;
DRAWTEXT(M6,H*1.02,ƍ#39),colorblack;
DRAWTEXT(M7,H*1.02,Ǝ#39),colorblack;
B1:=C<=REF(C,4);
B:=C>REF(C,4);
BB:=C>REF(C,4) AND REF(B1,1);
T1:=BARSLAST(BB),NODRAW;
M111:=(T1=0 AND REFX(&T1=1 AND NOT(B),1)) OR (REFX(&T1=2 AND NOT(B),2)) OR (REFX(&T1=3 AND NOT(B),3)) OR (REFX(&T1=4 AND NOT(B),4)) OR (REFX(&T1=5 AND NOT(B),5))
OR (REFX(&T1=6 AND NOT(B),6)) OR (REFX(&T1=7 AND NOT(B),7)) OR (REFX(&T1=8 AND NOT(B),8));
M11:=T1=1 AND REFX(&T1=2 AND NOT(B),1) OR (REFX(&T1=3 AND NOT(B),2)) OR (REFX(&T1=4 AND NOT(B),3)) OR (REFX(&T1=5 AND NOT(B),4)) OR (REFX(&T1=6 AND NOT(B),5))
来源:程序化99
-
文华技术人员:
您给出的代码不全,先按现有代码改写如下。
如需完整改写,请重新发全部代码给我们。
DRAWTEXT(T=0,H*1.02,Ƈ#39),COLORGREEN;//代码不全,T没有给出定义,请自行定义下
DRAWTEXT(N,H*1.02,ƈ#39),COLORGREEN;
DRAWTEXT(N1,H*1.02,Ɖ#39),COLORGREEN;
DRAWTEXT(N2,H*1.02,Ɗ#39),COLORGREEN;
DRAWTEXT(N3,H*1.02,Ƌ#39),COLORGREEN;
DRAWTEXT(N4,H*1.02,ƌ#39),COLORGREEN;
DRAWTEXT(N5,H*1.02,ƍ#39),COLORGREEN;
DRAWTEXT(N6,H*1.02,Ǝ#39),COLORGREEN;
DRAWTEXT(N7,H*1.02,Ə#39),COLORYELLOW;
DRAWICON(N7,H*1.04,1),COLORGREEN;
DRAWTEXT(M,H*1.02,'1',COLORBLACK;
DRAWTEXT(M1,H*1.02,'2',COLORBLACK;
DRAWTEXT(M2,H*1.02,'3',COLORBLACK;
DRAWTEXT(M3,H*1.02,'4',COLORBLACK;
DRAWTEXT(M4,H*1.02,'5',COLORBLACK;
DRAWTEXT(M5,H*1.02,'6',COLORBLACK;
DRAWTEXT(M6,H*1.02,'7',COLORBLACK;
DRAWTEXT(M7,H*1.02,'8',COLORBLACK;
B1:=C<=REF(C,4);
B:=C>REF(C,4);
BB:=C>REF(C,4) AND REF(B1,1);
T1:=BARSLAST(BB),NODRAW;
M111:=(T1=0 AND REFX(T1=1 AND NOT(B),1)) OR (REFX(T1=2 AND NOT(B),2)) OR (REFX(T1=3 AND NOT(B),3)) OR (REFX(T1=4 AND NOT(B),4)) OR (REFX(T1=5 AND NOT(B),5)) OR (REFX(T1=6 AND NOT(B),6)) OR (REFX(T1=7 AND NOT(B),7)) OR (REFX(T1=8 AND NOT(B),8));
M11:=T1=1 AND REFX(T1=2 AND NOT(B),1) OR (REFX(T1=3 AND NOT(B),2)) OR (REFX(T1=4 AND NOT(B),3)) OR (REFX(T1=5 AND NOT(B),4)) OR (REFX(T1=6 AND NOT(B),5));
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容