通达信突破天量最高价波罗特版主图选股公式幅图
{主图}
T:=BARSLAST(H=HHV(H,100) AND V=HHV(V,500));
HT:=BARSLAST(H=HHV(H,T+1));
HT1:=BARSLAST(EVERY(H<REF(H,HT),HT) AND CROSS(HT>=80,0.5))NODRAW;
天量最高价:DRAWLINE(HT=0,REF(H,HT),HT1=0,REF(H,HT),1),DOTLINE,COLORMAGENTA;
TT:=BARSLAST(CROSS(天量最高价>=0,0.5));
XG:=COUNT(CROSS(C>=天量最高价,0.5),TT+1)=1 AND CROSS(C>=天量最高价,0.5);
DRAWICON(XG,L*0.98,1);
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0,0),COLORYELLOW;
{幅图}
T:=BARSLAST(H=HHV(H,100) AND V=HHV(V,500));
HT:=BARSLAST(H=HHV(H,T+1));
HT1:=BARSLAST(EVERY(H<REF(H,HT),HT) AND CROSS(HT>=80,0.5));
EXT:=DRAWLINE(HT=0,REF(H,HT),HT1=0,REF(H,HT),1);
TT:=BARSLAST(CROSS(EXT>=0,0.5));
XG:=COUNT(CROSS(C>=EXT,0.5),TT+1)=1 AND CROSS(C>=EXT,0.5);
STICKLINE(XG,0,8,1.5,0),COLORMAGENTA;
{选股}
T:=BARSLAST(H=HHV(H,100) AND V=HHV(V,500));
HT:=BARSLAST(H=HHV(H,T+1));
HT1:=BARSLAST(EVERY(H<REF(H,HT),HT) AND CROSS(HT>=80,0.5));
EXT:=DRAWLINE(HT=0,REF(H,HT),HT1=0,REF(H,HT),1);
TT:=BARSLAST(CROSS(EXT>=0,0.5));
TJA:COUNT(CROSS(C>=EXT,0.5),TT+1)=1 AND CROSS(C>=EXT,0.5);
- 上一篇公式:通达信跟庄启动副图指标公式源码
- 下一篇公式:通达信三号主图指标