请老师帮忙修改 [博易POBO]
咨询内容:
指标测试能通过但图形乱了,请老师看看帮忙修改,谢谢!
HH:=HHV(HIGH,7);
LL:=LLV(LOW,7);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
A:=IFELSE((HH1 < LL1),1,IFELSE((HH1 > LL1),-1,0));
AA:IFELSE(A>=0,LL,HH),COLORYELLOW;
DRAWTEXT(CROSS(HH1,LL1),HH,'开空');
DRAWTEXT(CROSS(LL1,HH1),LL,'开多');
DRAWLINE(HH1>LL1,HIGH,HH1>LL1,OPEN,COLORCYAN);
DRAWLINE(HH1>LL1,LOW,HH1>LL1,CLOSE,COLORCYAN);
DRAWLINE(HH1<=LL1,HIGH,HH1<=LL1,CLOSE,COLORRED);
DRAWLINE(HH1<=LL1,LOW,HH1<=LL1,OPEN,COLORRED);
STICKLINE(HH1>LL1,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(HH1<=LL1,OPEN,CLOSE,COLORRED,1);
LL:=LLV(LOW,7);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
A:=IFELSE((HH1 < LL1),1,IFELSE((HH1 > LL1),-1,0));
AA:IFELSE(A>=0,LL,HH),COLORYELLOW;
DRAWTEXT(CROSS(HH1,LL1),HH,'开空');
DRAWTEXT(CROSS(LL1,HH1),LL,'开多');
DRAWLINE(HH1>LL1,HIGH,HH1>LL1,OPEN,0),COLORCYAN;
DRAWLINE(HH1>LL1,LOW,HH1>LL1,CLOSE,0),COLORCYAN;
DRAWLINE(HH1<=LL1,HIGH,HH1<=LL1,CLOSE,0),COLORRED;
DRAWLINE(HH1<=LL1,LOW,HH1<=LL1,OPEN,0),COLORRED;
STICKLINE(HH1>LL1,OPEN,CLOSE,8,0),COLORCYAN;
STICKLINE(HH1<=LL1,OPEN,CLOSE,8,1),COLORCYAN; 来源 程序化久久网
请老师帮忙修改
老师好!!指标测试能通过但图形乱了,请老师看看帮忙修改,谢谢!
HH:=HHV(HIGH,7);
LL:=LLV(LOW,7);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
A:=IFELSE((HH1 < LL1),1,IFELSE((HH1 > LL1),-1,0));
AA:IFELSE(A>=0,LL,HH),COLORYELLOW;
DRAWTEXT(CROSS(HH1,LL1),HH,'开空');
DRAWTEXT(CROSS(LL1,HH1),LL,'开多');
DRAWLINE(HH1>LL1,HIGH,HH1>LL1,OPEN,COLORCYAN);
DRAWLINE(HH1>LL1,LOW,HH1>LL1,CLOSE,COLORCYAN);
DRAWLINE(HH1<=LL1,HIGH,HH1<=LL1,CLOSE,COLORRED);
DRAWLINE(HH1<=LL1,LOW,HH1<=LL1,OPEN,COLORRED);
STICKLINE(HH1>LL1,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(HH1<=LL1,OPEN,CLOSE,COLORRED,1);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: HH:=HHV(HIGH,7);LL:=LLV(LOW,7);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
A:=IFELSE((HH1 < LL1),1,IFELSE((HH1 > LL1),-1,0));
AA:IFELSE(A>=0,LL,HH),COLORYELLOW;
DRAWTEXT(CROSS(HH1,LL1),HH,'开空');
DRAWTEXT(CROSS(LL1,HH1),LL,'开多');
DRAWLINE(HH1>LL1,HIGH,HH1>LL1,OPEN,0),COLORCYAN;
DRAWLINE(HH1>LL1,LOW,HH1>LL1,CLOSE,0),COLORCYAN;
DRAWLINE(HH1<=LL1,HIGH,HH1<=LL1,CLOSE,0),COLORRED;
DRAWLINE(HH1<=LL1,LOW,HH1<=LL1,OPEN,0),COLORRED;
STICKLINE(HH1>LL1,OPEN,CLOSE,8,0),COLORCYAN;
STICKLINE(HH1<=LL1,OPEN,CLOSE,8,1),COLORCYAN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容