改文华,谢谢202226 [文华财经]
-
咨询内容:
笔参数:=5;段参数:=6;笔低A:=LOW<=LLV(LOW,笔参数),NODRAW;笔高A:=HIGH>=HHV(HIGH,笔参数),NODRAW;笔低:=笔低A AND 笔高A=0,NODRAW;笔高:=笔高A AND 笔低A=0,NODRAW;VP1:=BACKSET(笔高,BARSLAST(笔低)+1);VP2:=BACKSET(笔低,BARSLAST(笔高)+1);VP3:=(笔低A AND VP2 AND VP1) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(笔低A)+1),0.5));VP4:=(VP1 AND 笔高A AND VP2) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(笔高A)+1),0.5));DRAWLINE1(VP3,LOW,VP4,HIGH,0),COLORRED,LINETHICK2; DRAWLINE1(VP4,HIGH,VP3,LOW,0),COLORGREEN,DOT,LINETHICK7;
段低A:=LOW<=LLV(LOW,段参数*笔参数),NODRAW;段高A:=HIGH>=HHV(HIGH,段参数*笔参数),NODRAW;段低:=段低A AND 段高A=0;段高:=段高A AND 段低A=0;
VP5:=BACKSET(段高,BARSLAST(段低)+1);VP6:=BACKSET(段低,BARSLAST(段高)+1);VP7:=(段低A AND VP6 AND VP5) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(段低A)+1),0.5));VP8:=(VP5 AND 段高A AND VP6) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(段高A)+1),0.5));DRAWLINE1(VP7,LOW,VP8,HIGH,0),COLORRED,LINETHICK5;DRAWLINE1(VP8,HIGH,VP7,LOW,0),COLORCYAN,DASHDOTDOT;
DRAWICON(VP7,L,5),VALIGN0;DRAWICON(VP8,H,4),VALIGN2;
只保留箭头而且上下能调谢谢来源:程序化99
-
文华技术人员:
箭头的调整设置为参数N 数值越大,距离越远,参考:
N:=3; 笔参数:=5; 段参数:=6; 笔低A:=LOW<=LLV(LOW,笔参数),NODRAW; 笔高A:=HIGH>=HHV(HIGH,笔参数),NODRAW; 笔低:=笔低A AND 笔高A=0,NODRAW; 笔高:=笔高A AND 笔低A=0,NODRAW; VP1:=BACKSET(笔高,BARSLAST(笔低)+1); VP2:=BACKSET(笔低,BARSLAST(笔高)+1); VP3:=(笔低A AND VP2 AND VP1) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(笔低A)+1),0.5)); VP4:=(VP1 AND 笔高A AND VP2) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(笔高A)+1),0.5)); //DRAWLINE1(VP3,LOW,VP4,HIGH,0),COLORRED,LINETHICK2; //DRAWLINE1(VP4,HIGH,VP3,LOW,0),COLORGREEN,DOT,LINETHICK7;
段低A:=LOW<=LLV(LOW,段参数*笔参数),NODRAW; 段高A:=HIGH>=HHV(HIGH,段参数*笔参数),NODRAW; 段低:=段低A AND 段高A=0; 段高:=段高A AND 段低A=0;
VP5:=BACKSET(段高,BARSLAST(段低)+1); VP6:=BACKSET(段低,BARSLAST(段高)+1); VP7:=(段低A AND VP6 AND VP5) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(段低A)+1),0.5)); VP8:=(VP5 AND 段高A AND VP6) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(段高A)+1),0.5)); //DRAWLINE1(VP7,LOW,VP8,HIGH,0),COLORRED,LINETHICK5; //DRAWLINE1(VP8,HIGH,VP7,LOW,0),COLORCYAN,DASHDOTDOT;
DRAWICON(VP7,L-N*MINPRICE,5),VALIGN0; DRAWICON(VP8,H+N*MINPRICE,4),VALIGN2;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容