联系方式 Contact

云指标公式网

翔博软件:www.xiangbosoft.com

电话:18020657357

微信:332879389

Q Q:287762038

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

通达信双阳复盖主图指标

2016-12-7 22:14:38点击:
A:=NDAY(C,O,2) AND C>REF(C,1);
阳:=A AND HHV(H,2)=HHV(H,4) AND LLV(L,2)=LLV(L,4);
收阳:=阳 AND REFX(阳,1)<1;
高1:=HHV(H,2)*收阳;
低1:=LLV(L,2)*收阳;
测距:=BARSNEXT(收阳)+1,NODRAW;
高2:=REFX(高1,测距-1);
低2:=REFX(低1,测距-1);
高值:=IF(H<=高2,高2,DRAWNULL),NODRAW;
低值:=IF(L>=低2,低2,DRAWNULL),NODRAW;
有效:=(H<=高1 AND L>=低1) OR ( L>=低值 AND H<=高值) ,NODRAW;
距:=BARSNEXT(收阳=1)+1,NODRAW;
A2:=有效 AND 距;
距今:=BARSNEXT(收阳 OR 有效 AND REFX(有效!=1,1))+1,NODRAW;
A3:=距今=距,NODRAW;
AW1:=A3+A2=2;
AW2:=AW1 AND (收阳 OR REFX(AW1,1) OR REF(AW1,1));
STICKLINE(AW2,高值,低值,3.5,0),COLORLIGRAY;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);