请修改的公式,怎么颜色不对呢?请帮忙修改一下 [文华财经]
-
咨询内容:
M5:EMA(CLOSE,5),COLORWHITE;{白色}M8:EMA(CLOSE,8),COLORGRAY;{深灰色}M13:EMA(CLOSE,13),COLORYELLOW,LINETHICK2;{黄色}M21:EMA(CLOSE,21),COLORMAGENTA;{洋红色}M34:EMA(CLOSE,34),COLORGREEN ;{绿色}M55:EMA(CLOSE,55),COLORRED,POINTDOT,LINETHICK4;{生命线,红色}M89:EMA(CLOSE,89),COLORCYAN;{青色}M144:EMA(CLOSE,144),COLORCYAN;{棕色}M233:EMA(CLOSE, 233),COLORBLUE,LINETHICK3;{蓝色}
顶部:M34+2*STD(CLOSE,55),COLORYELLOW,POINTDOT,LINETHICK2;底部:M34-2*STD(CLOSE,55),COLORYELLOW,POINTDOT,LINETHICK2;
DRAWICON(CROSS(ZIGZAG(C,10,1),REF(ZIGZAG(C,10,1),1)),LOW*0.98,1);DRAWICON(CROSS(REF(ZIGZAG(C,10,1),1),ZIGZAG(C,10,1)),HIGH*1.02,2);
DRAWTEXT(REF(C,2)/REF(O,2)<0.95 AND (REF(C,2)<REF(C,3)) AND REF(O,1)<REF(C,2) ANDREF(C,1)>REF(C,2) AND REF(C,1)>(REF(C,2)+REF(O,2))/2 AND (C>REF(C,1)) AND(LLV(LOW,13)=REF(LOW,1)),LOW*0.98,'曙光', COLORYELLOW;DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND (REF(OPEN,1)<REF(CLOSE,2)) AND(ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03) AND(CLOSE/OPEN>1.05) AND (CLOSE>REF(CLOSE,2)),LOW*0.98,'早晨',COLORYELLOW;DRAWICON(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND (REF(OPEN,1) < REF(CLOSE,2)) AND(ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03) AND (CLOSE/OPEN>1.05) AND(CLOSE>REF(CLOSE,2)),C*1.02,9);
文件名:360截图20220205034731300.jpg来源:程序化99
-
文华技术人员:
这样看下:
M5:EMA(CLOSE,5),COLORWHITE;//{白色} M8:EMA(CLOSE,8),COLORGRAY;//{深灰色} M13:EMA(CLOSE,13),COLORYELLOW,LINETHICK2;//{黄色} M21:EMA(CLOSE,21),COLORMAGENTA;//{洋红色} M34:EMA(CLOSE,34),COLORGREEN ;//{绿色} M55:EMA(CLOSE,55),COLORRED,POINTDOT,LINETHICK4;//{生命线,红色} M89:EMA(CLOSE,89),COLORCYAN;//{青色} M144:EMA(CLOSE,144),RGB(128,64,64);//{棕色} M233:EMA(CLOSE, 233),COLORBLUE,LINETHICK3;//{蓝色}
顶部:M34+2*STD(CLOSE,55),COLORYELLOW,POINTDOT,LINETHICK2; 底部:M34-2*STD(CLOSE,55),COLORYELLOW,POINTDOT,LINETHICK2;
DRAWICON(CROSS(ZIGZAG(C,10,1),REF(ZIGZAG(C,10,1),1)),LOW*0.98,1); DRAWICON(CROSS(REF(ZIGZAG(C,10,1),1),ZIGZAG(C,10,1)),HIGH*1.02,2);
DRAWTEXT(REF(C,2)/REF(O,2)<0.95 AND (REF(C,2)<REF(C,3)) AND REF(O,1)<REF(C,2) AND REF(C,1)>REF(C,2) AND REF(C,1)>(REF(C,2)+REF(O,2))/2 AND (C>REF(C,1)) AND (LLV(LOW,13)=REF(LOW,1)),LOW*0.98,'曙光', COLORYELLOW; DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND (REF(OPEN,1)<REF(CLOSE,2)) AND (ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03) AND (CLOSE/OPEN>1.05) AND (CLOSE>REF(CLOSE,2)),LOW*0.98,'早晨',COLORYELLOW; DRAWICON(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND (REF(OPEN,1) < REF(CLOSE,2)) AND (ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03) AND (CLOSE/OPEN>1.05) AND (CLOSE>REF(CLOSE,2)),C*1.02,9);
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容