笔参数:=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),));
VP4:=(VP1 AND 笔高A AND VP2) OR (CROSS(BACKSET(BARSTATUS=2,BARSLAST(笔高A)+1),));
DRAWLINE1(VP3,LOW,VP4,HIGH,0),COLORGREEN,LINETHICK2;
DRAWLINE1(VP4,HIGH,VP3,LOW,0),COLORGREEN,LINETHICK2;
段低A:=LOW<=LLV(LOW,段参数*笔参数),NODRAW;
段高A:=HIGH>=HHV(HIGH,段参数*笔参数),NODRAW;
段低:=段低A AND 段高A=0;
段高:=段高A AND 段低A=0;
段8:=REF(HIGH,BARSLAST(BACKSET(ISLASTBAR,SUMBARS(段高,1)) AND REF(BACKSET(ISLASTBAR,SUMBARS(段高,1)),1)=0)),COLOR575757;
VP5:=BACKSET(段高,BARSLAST(段低)+1);
VP6:=BACKSET(段低,BARSLAST(段高)+1);
VP7:=(段低A AND VP6
文华财经指标公式源码WH6指标公式赢顺云逃顶指标通达信 来自淘豆网m.daumloan.com转载请标明出处.