股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 2730|回复: 3
打印 上一主题 下一主题

请大神帮看看,哪里出错了,谢谢!!

[复制链接]

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
3
跳转到指定楼层
楼主
发表于 2016-9-8 17:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
30爱心果
预警:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK2,COLORGREEN;
操盘:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
趋势:EMA(操盘,25),LINETHICK2;
STICKLINE(操盘>LOW AND 操盘<HIGH,操盘,MIN(MIN(OPEN,CLOSE),操盘),4,0),COLORYELLOW;
STICKLINE(操盘>MIN(C,O) AND 操盘<MAX(C,O),操盘,MIN(OPEN,CLOSE),4,0),COLORYELLOW;
STICKLINE(操盘>HIGH,OPEN,CLOSE,4,0),COLORYELLOW;
STICKLINE(操盘>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)==LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=操盘>HIGH AND 回调买 AND L<=操盘;
DRAWTEXT(XG,L,'▲买入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IFF(HIGH==LOW,4,HIGH-LOW);
QJ1:=IFF(CAPITAL==0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IFF(HIGH==LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IFF(CAPITAL==0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IFF(HIGH==LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IFF(CAPITAL==0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IFF(HIGH==LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IFF(CAPITAL==0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IFF(HIGH==LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IFF(CAPITAL==0,10000,10000),COLOR00AAAA,LINETHICK1;
V2:=SMA(IFF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=ISLASTBAR==1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<预警;
DRAWTEXT(XG2 AND L<操盘,L,'暴涨'),COLORRED;
黄金坑:IFF(LOW<操盘,1,0),NODRAW,COLORYELLOW;
买入:IFF(XG,1,0),NODRAW,COLORRED;
暴涨:IFF(XG2 AND L<操盘,1,0),NODRAW,COLORRED;

提示如下错误:
错误句 :
黄金坑:IFF(LOW<操盘,1,0),NODRAW,COLORYELLOW
详细信息 : 不是指标画线公式,不能指定画线类型!
错误起始位置 : 1448 ; 长度: 8

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2

爵★★★爵★★★爵★★★

沙发
发表于 2016-9-8 18:33 | 只看该作者
预警:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK2,COLORGREEN;
操盘:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
趋势:EMA(操盘,25),LINETHICK2;
STICKLINE(操盘>LOW AND 操盘<HIGH,操盘,MIN(MIN(OPEN,CLOSE),操盘),4,0),COLORYELLOW;
STICKLINE(操盘>MIN(C,O) AND 操盘<MAX(C,O),操盘,MIN(OPEN,CLOSE),4,0),COLORYELLOW;
STICKLINE(操盘>HIGH,OPEN,CLOSE,4,0),COLORYELLOW;
STICKLINE(操盘>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)==LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=操盘>HIGH AND 回调买 AND L<=操盘;
DRAWTEXT(XG,L,'▲买入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IFF(HIGH==LOW,4,HIGH-LOW);
QJ1:=IFF(CAPITAL==0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IFF(HIGH==LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IFF(CAPITAL==0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IFF(HIGH==LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IFF(CAPITAL==0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IFF(HIGH==LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IFF(CAPITAL==0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IFF(HIGH==LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IFF(CAPITAL==0,10000,10000),COLOR00AAAA,LINETHICK1;
V2:=SMA(IFF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=ISLASTBAR==1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<预警;
DRAWTEXT(XG2 AND L<操盘,L,'暴涨'),COLORRED;
黄金坑:IF(LOW<操盘,1,0),NODRAW,COLORYELLOW;
买入:IF(XG,1,0),NODRAW,COLORRED;
暴涨:IF(XG2 AND L<操盘,1,0),NODRAW,COLORRED;
回复

使用道具 举报

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2

爵★★★爵★★★爵★★★

板凳
发表于 2016-9-8 18:38 | 只看该作者
截图
回复

使用道具 举报

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2

爵★★★爵★★★爵★★★

地板
发表于 2016-9-8 18:42 | 只看该作者

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?免费注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-11-24 05:57 , Processed in 0.147968 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表