变量错误请老师修改 [博易POBO]
咨询内容:
IF(神奇线>REF(神奇线,1),神奇线,DRAWNULL),COLORRED,LINETHICK2;
MA21:MA(CLOSE,21);
MA34:MA(CLOSE,34);
MA120:MA(CLOSE,120);
AA1:=COUNT(MA(C,20)<REF(MA(C,20),1),20)>10;
AA2:=MA(C,20)>=REF(MA(C,20),1);
AA3:=AA1 AND AA2;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));
STICKLINE(CCI>=0,O,C,4,1),COLORRED;
STICKLINE(CCI>=0,O,L,0.1,0),COLORRED;
STICKLINE(CCI>=0,C,H,0.1,0),COLORRED;
STICKLINE(CCI<0,O,C,4,0),COLORCYAN;
STICKLINE(CCI<0,O,H,0.1,0),COLORCYAN;
STICKLINE(CCI<0,C,L,0.1,0),COLORCYAN;
DRAWTEXT(CROSS(CCI,-200) AND CCI>REF(CCI,1),L,'平空'),COLORGREEN;
DRAWTEXT(CROSS(200,CCI) AND CCI<REF(CCI,1),H,'平多'),COLORYELLOW;
DRAWTEXT(CROSS(CCI,100) AND CCI>REF(CCI,1),L,'加多'),COLORYELLOW;
DRAWTEXT(CROSS(-100,CCI) AND CCI<REF(CCI,1),H,'加空'),COLORGREEN;
变量错误请老师修改
神奇线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;IF(神奇线>REF(神奇线,1),神奇线,DRAWNULL),COLORRED,LINETHICK2;
MA21:MA(CLOSE,21);
MA34:MA(CLOSE,34);
MA120:MA(CLOSE,120);
AA1:=COUNT(MA(C,20)<REF(MA(C,20),1),20)>10;
AA2:=MA(C,20)>=REF(MA(C,20),1);
AA3:=AA1 AND AA2;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));
STICKLINE(CCI>=0,O,C,4,1),COLORRED;
STICKLINE(CCI>=0,O,L,0.1,0),COLORRED;
STICKLINE(CCI>=0,C,H,0.1,0),COLORRED;
STICKLINE(CCI<0,O,C,4,0),COLORCYAN;
STICKLINE(CCI<0,O,H,0.1,0),COLORCYAN;
STICKLINE(CCI<0,C,L,0.1,0),COLORCYAN;
DRAWTEXT(CROSS(CCI,-200) AND CCI>REF(CCI,1),L,'平空'),COLORGREEN;
DRAWTEXT(CROSS(200,CCI) AND CCI<REF(CCI,1),H,'平多'),COLORYELLOW;
DRAWTEXT(CROSS(CCI,100) AND CCI>REF(CCI,1),L,'加多'),COLORYELLOW;
DRAWTEXT(CROSS(-100,CCI) AND CCI<REF(CCI,1),H,'加空'),COLORGREEN;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 这个公式可以正常使用,可能您的版本比较低,您可以看下菜单帮助里的关于,看下版本号,5.5以下版本不支持。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容